Skip to content

Commit 69351f2

Browse files
authored
Merge pull request #139 from stanford-centaur/version/v0.3.7
chore: Update to version v0.3.7
2 parents aa43452 + 95f4776 commit 69351f2

5 files changed

Lines changed: 18 additions & 18 deletions

File tree

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "src"]
22
path = src
33
url = https://github.com/leanprover/Pantograph.git
4-
branch = fixed/v4.21.0
4+
branch = dev

examples/Example/lake-manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "",
8-
"rev": "8ff27701d003456fd59f13a9212431239d902aef",
8+
"rev": "1256a18522728c2eeed6109b02dd2b8f207a2a3c",
99
"name": "aesop",
1010
"manifestFile": "lake-manifest.json",
11-
"inputRev": "v4.21.0",
11+
"inputRev": "v4.22.0",
1212
"inherited": false,
1313
"configFile": "lakefile.toml"},
1414
{"url": "https://github.com/leanprover-community/batteries",
1515
"type": "git",
1616
"subDir": null,
1717
"scope": "",
18-
"rev": "8d2067bf518731a70a255d4a61b5c103922c772e",
18+
"rev": "e96b5eca4fcfe2e0e96a1511a6cd5747515aba82",
1919
"name": "batteries",
2020
"manifestFile": "lake-manifest.json",
21-
"inputRev": "v4.21.0",
21+
"inputRev": "v4.22.0-rc4",
2222
"inherited": true,
2323
"configFile": "lakefile.toml"}],
2424
"name": "Example",

examples/Example/lakefile.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Lake
22
open Lake DSL
33

44
require aesop from git
5-
"https://github.com/leanprover-community/aesop.git" @ "v4.21.0"
5+
"https://github.com/leanprover-community/aesop.git" @ "v4.22.0"
66

77
package Example
88

pantograph/server.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ async def goal_load_async(self, path: str) -> GoalState:
478478

479479
goal_load = to_sync(goal_load_async)
480480

481-
async def tactic_invocations_async(self, file_name: Union[str, Path]) -> List[CompilationUnit]:
481+
async def tactic_invocations_async(self, file_name: Union[str, Path]) -> list[CompilationUnit]:
482482
"""
483483
Collect tactic invocation points in file, and return them.
484484
"""
@@ -638,7 +638,7 @@ def test_version(self):
638638
"""
639639
NOTE: Update this after upstream updates.
640640
"""
641-
self.assertEqual(get_version(), "0.3.6")
641+
self.assertEqual(get_version(), "0.3.7")
642642

643643
def test_server_init_del(self):
644644
import warnings
@@ -755,12 +755,12 @@ def test_have(self):
755755
state1 = server.goal_tactic(state0, tactic=TacticHave(branch="2 = 1 + 1", binder_name="h"))
756756
self.assertEqual(state1.goals, [
757757
Goal(
758-
"_uniq.257",
758+
"_uniq.255",
759759
variables=[],
760760
target="2 = 1 + 1",
761761
),
762762
Goal(
763-
"_uniq.259",
763+
"_uniq.257",
764764
variables=[Variable(name="h", t="2 = 1 + 1")],
765765
target="1 + 1 = 2",
766766
),
@@ -772,13 +772,13 @@ def test_let(self):
772772
state0, tactic=TacticLet(branch="2 = 1 + 1", binder_name="h"))
773773
self.assertEqual(state1.goals, [
774774
Goal(
775-
"_uniq.257",
775+
"_uniq.255",
776776
variables=[],
777777
name="h",
778778
target="2 = 1 + 1",
779779
),
780780
Goal(
781-
"_uniq.259",
781+
"_uniq.257",
782782
variables=[Variable(name="h", t="2 = 1 + 1", v="?h")],
783783
target="1 + 1 = 2",
784784
),
@@ -798,13 +798,13 @@ def test_conv_calc(self):
798798
state2 = server.goal_tactic(state1b, "1 + a + 1 = a + 1 + 1")
799799
self.assertEqual(state2.goals, [
800800
Goal(
801-
"_uniq.381",
801+
"_uniq.372",
802802
variables,
803803
target="1 + a + 1 = a + 1 + 1",
804804
name='calc',
805805
),
806806
Goal(
807-
"_uniq.400",
807+
"_uniq.391",
808808
variables,
809809
target="a + 1 + 1 = a + b",
810810
mode=TacticMode.CALC,
@@ -916,15 +916,15 @@ def test_load_sorry(self):
916916
state1b = server.goal_tactic(state0, tactic=TacticDraft("by\nhave h1 : Or p p := sorry\nsorry"))
917917
self.assertEqual(state1b.goals, [
918918
Goal(
919-
"_uniq.16",
919+
"_uniq.17",
920920
[Variable(name="p", t="Prop")],
921921
target="p ∨ p",
922922
),
923923
Goal(
924-
"_uniq.18",
924+
"_uniq.19",
925925
[
926926
Variable(name="p", t="Prop"),
927-
Variable(name="h1", t="p ∨ p"),
927+
Variable(name="h1", t="p ∨ p", v="?m.17"),
928928
],
929929
target="p → p",
930930
),

0 commit comments

Comments
 (0)