@@ -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\n have h1 : Or p p := sorry\n sorry" ))
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