diff --git a/stage0/src/Init/Data/Array/Basic.lean b/stage0/src/Init/Data/Array/Basic.lean index a333445404..0aa19fa240 100644 --- a/stage0/src/Init/Data/Array/Basic.lean +++ b/stage0/src/Init/Data/Array/Basic.lean @@ -52,11 +52,6 @@ def getD (a : Array α) (i : Nat) (v₀ : α) : α := abbrev getLit {α : Type u} {n : Nat} (a : Array α) (i : Nat) (h₁ : a.size = n) (h₂ : i < n) : α := a.get ⟨i, h₁.symm ▸ h₂⟩ -@[extern "lean_array_fset"] -def set (a : Array α) (i : @& Fin a.size) (v : α) : Array α := { - data := a.data.set i v -} - theorem sizeSetEq (a : Array α) (i : Fin a.size) (v : α) : (set a i v).size = a.size := List.lengthSetEq .. @@ -70,11 +65,6 @@ theorem sizePushEq (a : Array α) (v : α) : (push a v).size = a.size + 1 := def uset (a : Array α) (i : USize) (v : α) (h : i.toNat < a.size) : Array α := a.set ⟨i.toNat, h⟩ v -/- "Comfortable" version of `fset`. It performs a bound check at runtime. -/ -@[extern "lean_array_set"] -def set! (a : Array α) (i : @& Nat) (v : α) : Array α := - if h : i < a.size then a.set ⟨i, h⟩ v else panic! "index out of bounds" - @[extern "lean_array_fswap"] def swap (a : Array α) (i j : @& Fin a.size) : Array α := let v₁ := a.get i diff --git a/stage0/src/Init/Data/List/Basic.lean b/stage0/src/Init/Data/List/Basic.lean index 453b3dd72d..eb5201d6eb 100644 --- a/stage0/src/Init/Data/List/Basic.lean +++ b/stage0/src/Init/Data/List/Basic.lean @@ -71,11 +71,6 @@ def isEmpty : List α → Bool | [] => true | _ :: _ => false -def set : List α → Nat → α → List α - | a::as, 0, b => b::as - | a::as, n+1, b => a::(set as n b) - | [], _, _ => [] - @[specialize] def map (f : α → β) : List α → List β | [] => [] | a::as => f a :: map f as diff --git a/stage0/src/Init/Meta.lean b/stage0/src/Init/Meta.lean index c1a60b0723..c060538ac7 100644 --- a/stage0/src/Init/Meta.lean +++ b/stage0/src/Init/Meta.lean @@ -231,10 +231,6 @@ def mkCIdentFrom (src : Syntax) (c : Name) : Syntax := def mkCIdent (c : Name) : Syntax := mkCIdentFrom Syntax.missing c -def mkAtomFrom (src : Syntax) (val : String) : Syntax := - let info := src.getHeadInfo.getD {} - Syntax.atom info val - def Syntax.identToAtom (stx : Syntax) : Syntax := match stx with | Syntax.ident info _ val _ => Syntax.atom info (toString val.eraseMacroScopes) diff --git a/stage0/src/Init/Notation.lean b/stage0/src/Init/Notation.lean index 12f252491a..b0be3e21c3 100644 --- a/stage0/src/Init/Notation.lean +++ b/stage0/src/Init/Notation.lean @@ -142,16 +142,29 @@ syntax rwRuleSeq := "[" sepBy1T(rwRule, ", ") "]" syntax[rewrite] "rewrite " rwRule (location)? : tactic syntax[rewriteSeq, 1] "rewrite " rwRuleSeq (location)? : tactic +syntax[erewrite] "erewrite " rwRule (location)? : tactic +syntax[erewriteSeq, 1] "erewrite " rwRuleSeq (location)? : tactic syntax[rw] "rw " rwRule (location)? : tactic -macro_rules - | `(tactic| rw $rule:rwRule) => `(tactic| rewrite $rule:rwRule) - | `(tactic| rw $rule:rwRule $loc:location) => `(tactic| rewrite $rule:rwRule $loc:location) - syntax[rwSeq, 1] "rw " rwRuleSeq (location)? : tactic -macro_rules - | `(tactic| rw $rule:rwRuleSeq) => `(tactic| rewrite $rule:rwRuleSeq) - | `(tactic| rw $rule:rwRuleSeq $loc:location) => `(tactic| rewrite $rule:rwRuleSeq $loc:location) +syntax[erw] "erw " rwRule (location)? : tactic +syntax[erwSeq, 1] "erw " rwRuleSeq (location)? : tactic + +@[macro rw] +def expandRw : Macro := + fun stx => return stx.setKind `Lean.Parser.Tactic.rewrite |>.setArg 0 (mkAtomFrom stx "rewrite") + +@[macro rwSeq] +def expandRwSeq : Macro := + fun stx => return stx.setKind `Lean.Parser.Tactic.rewriteSeq |>.setArg 0 (mkAtomFrom stx "rewrite") + +@[macro erw] +def expandERw : Macro := + fun stx => return stx.setKind `Lean.Parser.Tactic.erewrite |>.setArg 0 (mkAtomFrom stx "erewrite") + +@[macro erwSeq] +def expandERwSeq : Macro := + fun stx => return stx.setKind `Lean.Parser.Tactic.erewriteSeq |>.setArg 0 (mkAtomFrom stx "erewrite") syntax:2[orelse] tactic "<|>" tactic:1 : tactic diff --git a/stage0/src/Init/Prelude.lean b/stage0/src/Init/Prelude.lean index 8041380948..04e0cf8781 100644 --- a/stage0/src/Init/Prelude.lean +++ b/stage0/src/Init/Prelude.lean @@ -873,6 +873,11 @@ def List.foldl {α β} (f : α → β → α) : (init : α) → List β → α | a, nil => a | a, cons b l => foldl f (f a b) l +def List.set : List α → Nat → α → List α + | cons a as, 0, b => cons b as + | cons a as, Nat.succ n, b => cons a (set as n b) + | nil, _, _ => nil + def List.lengthAux {α : Type u} : List α → Nat → Nat | nil, n => n | cons a as, n => lengthAux as (Nat.succ n) @@ -991,6 +996,15 @@ def Array.push {α : Type u} (a : Array α) (v : α) : Array α := { data := List.concat a.data v } +@[extern "lean_array_fset"] +def Array.set (a : Array α) (i : @& Fin a.size) (v : α) : Array α := { + data := a.data.set i.val v +} + +@[extern "lean_array_set"] +def Array.set! (a : Array α) (i : @& Nat) (v : α) : Array α := + dite (Less i a.size) (fun h => a.set ⟨i, h⟩ v) (fun _ => @panic _ ⟨a⟩ "index out of bounds at 'Array.set!'") + -- Slower `Array.append` used in quotations. protected def Array.appendCore {α : Type u} (as : Array α) (bs : Array α) : Array α := let rec loop (i : Nat) (j : Nat) (as : Array α) : Array α := @@ -1538,6 +1552,21 @@ def getArgs (stx : Syntax) : Array Syntax := | Syntax.node _ args => args | _ => Array.empty +def getNumArgs (stx : Syntax) : Nat := + match stx with + | Syntax.node _ args => args.size + | _ => 0 + +def setArgs (stx : Syntax) (args : Array Syntax) : Syntax := + match stx with + | node k _ => node k args + | stx => stx + +def setArg (stx : Syntax) (i : Nat) (arg : Syntax) : Syntax := + match stx with + | node k args => node k (args.set! i arg) + | stx => stx + /-- Retrieve the left-most leaf's info in the Syntax tree. -/ partial def getHeadInfo : Syntax → Option SourceInfo | atom info _ => some info @@ -1559,6 +1588,11 @@ def getPos (stx : Syntax) : Option String.Pos := end Syntax +def mkAtomFrom (src : Syntax) (val : String) : Syntax := + match src.getHeadInfo with + | some info => Syntax.atom info val + | none => Syntax.atom {} val + /- Parser descriptions -/ inductive ParserDescr where diff --git a/stage0/src/Lean/Elab/Tactic/Rewrite.lean b/stage0/src/Lean/Elab/Tactic/Rewrite.lean index 8cef19f4a5..55dc5eb46f 100644 --- a/stage0/src/Lean/Elab/Tactic/Rewrite.lean +++ b/stage0/src/Lean/Elab/Tactic/Rewrite.lean @@ -14,56 +14,67 @@ open Meta @[builtinMacro Lean.Parser.Tactic.rewriteSeq] def expandRewriteTactic : Macro := fun stx => let seq := stx[1][1].getSepArgs let loc := stx[2] - pure $ mkNullNode $ seq.map fun rwRule => Syntax.node `Lean.Parser.Tactic.rewrite #[mkAtomFrom rwRule "rewrite ", rwRule, loc] + return mkNullNode <| seq.map fun rwRule => Syntax.node `Lean.Parser.Tactic.rewrite #[mkAtomFrom rwRule "rewrite ", rwRule, loc] -def rewriteTarget (stx : Syntax) (symm : Bool) : TacticM Unit := do +@[builtinMacro Lean.Parser.Tactic.erewriteSeq] def expandERewriteTactic : Macro := fun stx => + let seq := stx[1][1].getSepArgs + let loc := stx[2] + return mkNullNode <| seq.map fun rwRule => Syntax.node `Lean.Parser.Tactic.erewrite #[mkAtomFrom rwRule "erewrite ", rwRule, loc] + +def rewriteTarget (stx : Syntax) (symm : Bool) (mode : TransparencyMode) : TacticM Unit := do let (g, gs) ← getMainGoal withMVarContext g do let e ← elabTerm stx none true let target ← instantiateMVars (← getMVarDecl g).type - let r ← rewrite g target e symm + let r ← rewrite g target e symm (mode := mode) let g' ← replaceTargetEq g r.eNew r.eqProof setGoals (g' :: r.mvarIds ++ gs) -def rewriteLocalDeclFVarId (stx : Syntax) (symm : Bool) (fvarId : FVarId) : TacticM Unit := do +def rewriteLocalDeclFVarId (stx : Syntax) (symm : Bool) (fvarId : FVarId) (mode : TransparencyMode) : TacticM Unit := do let (g, gs) ← getMainGoal withMVarContext g do let e ← elabTerm stx none true let localDecl ← getLocalDecl fvarId - let rwResult ← rewrite g localDecl.type e symm + let rwResult ← rewrite g localDecl.type e symm (mode := mode) let replaceResult ← replaceLocalDecl g fvarId rwResult.eNew rwResult.eqProof setGoals (replaceResult.mvarId :: rwResult.mvarIds ++ gs) -def rewriteLocalDecl (stx : Syntax) (symm : Bool) (userName : Name) : TacticM Unit := +def rewriteLocalDecl (stx : Syntax) (symm : Bool) (userName : Name) (mode : TransparencyMode) : TacticM Unit := withMainMVarContext do let localDecl ← getLocalDeclFromUserName userName - rewriteLocalDeclFVarId stx symm localDecl.fvarId + rewriteLocalDeclFVarId stx symm localDecl.fvarId mode -def rewriteAll (stx : Syntax) (symm : Bool) : TacticM Unit := do - let worked ← «try» $ rewriteTarget stx symm +def rewriteAll (stx : Syntax) (symm : Bool) (mode : TransparencyMode) : TacticM Unit := do + let worked ← «try» $ rewriteTarget stx symm mode withMainMVarContext do let mut worked := worked -- We must traverse backwards because `replaceLocalDecl` uses the revert/intro idiom for fvarId in (← getLCtx).getFVarIds.reverse do - worked := worked || (← «try» $ rewriteLocalDeclFVarId stx symm fvarId) + worked := worked || (← «try» $ rewriteLocalDeclFVarId stx symm fvarId mode) unless worked do let (mvarId, _) ← getMainGoal throwTacticEx `rewrite mvarId "did not find instance of the pattern in the current goal" +def evalRewriteCore (mode : TransparencyMode) : Tactic := fun stx => do + let rule := stx[1] + let symm := !rule[0].isNone + let term := rule[1] + let loc := expandOptLocation stx[2] + match loc with + | Location.target => rewriteTarget term symm mode + | Location.localDecls userNames => userNames.forM (rewriteLocalDecl term symm · mode) + | Location.wildcard => rewriteAll term symm mode + /- ``` def rwRule := parser! optional (unicodeSymbol "←" "<-") >> termParser def «rewrite» := parser! "rewrite" >> rwRule >> optional location ``` -/ -@[builtinTactic Lean.Parser.Tactic.rewrite] def evalRewrite : Tactic := fun stx => do - let rule := stx[1] - let symm := !rule[0].isNone - let term := rule[1] - let loc := expandOptLocation stx[2] - match loc with - | Location.target => rewriteTarget term symm - | Location.localDecls userNames => userNames.forM (rewriteLocalDecl term symm) - | Location.wildcard => rewriteAll term symm +@[builtinTactic Lean.Parser.Tactic.rewrite] def evalRewrite : Tactic := + evalRewriteCore TransparencyMode.reducible + +@[builtinTactic Lean.Parser.Tactic.erewrite] def evalERewrite : Tactic := + evalRewriteCore TransparencyMode.default end Lean.Elab.Tactic diff --git a/stage0/src/Lean/Meta/Tactic/Rewrite.lean b/stage0/src/Lean/Meta/Tactic/Rewrite.lean index 3d23dce63a..83bfe3fb1c 100644 --- a/stage0/src/Lean/Meta/Tactic/Rewrite.lean +++ b/stage0/src/Lean/Meta/Tactic/Rewrite.lean @@ -16,7 +16,8 @@ structure RewriteResult := (eqProof : Expr) (mvarIds : List MVarId) -- new goals -def rewrite (mvarId : MVarId) (e : Expr) (heq : Expr) (symm : Bool := false) (occs : Occurrences := Occurrences.all) : MetaM RewriteResult := +def rewrite (mvarId : MVarId) (e : Expr) (heq : Expr) + (symm : Bool := false) (occs : Occurrences := Occurrences.all) (mode := TransparencyMode.reducible) : MetaM RewriteResult := withMVarContext mvarId do checkNotAssigned mvarId `rewrite let heqType ← inferType heq @@ -30,7 +31,7 @@ def rewrite (mvarId : MVarId) (e : Expr) (heq : Expr) (symm : Bool := false) (oc if lhs.getAppFn.isMVar then throwTacticEx `rewrite mvarId m!"pattern is a metavariable{indentExpr lhs}\nfrom equation{indentExpr heqType}" let e ← instantiateMVars e - let eAbst ← kabstract e lhs occs + let eAbst ← withTransparency mode <| kabstract e lhs occs unless eAbst.hasLooseBVars do throwTacticEx `rewrite mvarId m!"did not find instance of the pattern in the target expression{indentExpr lhs}" -- construct rewrite proof diff --git a/stage0/src/Lean/Syntax.lean b/stage0/src/Lean/Syntax.lean index cdb3e99ce9..896d46d4b7 100644 --- a/stage0/src/Lean/Syntax.lean +++ b/stage0/src/Lean/Syntax.lean @@ -97,32 +97,19 @@ def asNode : Syntax → SyntaxNode | Syntax.node kind args => ⟨Syntax.node kind args, IsNode.mk kind args⟩ | _ => ⟨Syntax.node nullKind #[], IsNode.mk nullKind #[]⟩ -def getNumArgs (stx : Syntax) : Nat := - stx.asNode.getNumArgs - -def setArgs (stx : Syntax) (args : Array Syntax) : Syntax := - match stx with - | node k _ => node k args - | stx => stx +def getIdAt (stx : Syntax) (i : Nat) : Name := + (stx.getArg i).getId @[inline] def modifyArgs (stx : Syntax) (fn : Array Syntax → Array Syntax) : Syntax := match stx with | node k args => node k (fn args) | stx => stx -def setArg (stx : Syntax) (i : Nat) (arg : Syntax) : Syntax := - match stx with - | node k args => node k (args.set! i arg) - | stx => stx - @[inline] def modifyArg (stx : Syntax) (i : Nat) (fn : Syntax → Syntax) : Syntax := match stx with | node k args => node k (args.modify i fn) | stx => stx -def getIdAt (stx : Syntax) (i : Nat) : Name := - (stx.getArg i).getId - @[specialize] partial def replaceM {m : Type → Type} [Monad m] (fn : Syntax → m (Option Syntax)) : Syntax → m (Syntax) | stx@(node kind args) => do match (← fn stx) with diff --git a/stage0/stdlib/Init/Data/Array/Basic.c b/stage0/stdlib/Init/Data/Array/Basic.c index f7ea8f55d5..dd86e4f501 100644 --- a/stage0/stdlib/Init/Data/Array/Basic.c +++ b/stage0/stdlib/Init/Data/Array/Basic.c @@ -18,11 +18,12 @@ lean_object* l_Array_foldrMUnsafe_fold___rarg(lean_object*, lean_object*, lean_o lean_object* l_Array_getD(lean_object*); lean_object* l_Array_forM(lean_object*, lean_object*); lean_object* l_Array_findM_x3f(lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; lean_object* l_List_repr___rarg(lean_object*, lean_object*); lean_object* l_Array_findSomeM_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__2; lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRevM_x3f___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_indexOfAux_match__1___rarg(lean_object*, lean_object*); -lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_getEvenElems___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_getMax_x3f___rarg(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findIdxM_x3f___spec__1___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -30,7 +31,9 @@ size_t l_USize_add(size_t, size_t); lean_object* l_Array_isPrefixOf(lean_object*); lean_object* l_Array_partition_match__1(lean_object*, lean_object*); lean_object* l_Array_instBEqArray(lean_object*); +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__4; lean_object* l_Array_toListLitAux_match__1(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__1; lean_object* l_Array_elem___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_indexOfAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -43,11 +46,11 @@ lean_object* lean_nat_div(lean_object*, lean_object*); extern lean_object* l_addParenHeuristic___closed__2; lean_object* l_Array_reverse_rev___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mkArray___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__6; lean_object* l_Array_findSome_x3f___rarg(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM(lean_object*, lean_object*, lean_object*); lean_object* l_Array_findSomeRevM_x3f_find_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__2; lean_object* l_Array_isPrefixOfAux_match__1(lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -67,8 +70,7 @@ lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRev_x3f___spec__1(lean lean_object* l_Array_foldlMUnsafe_fold___at_Array_getEvenElems___spec__1(lean_object*); lean_object* l_Array_findM_x3f_match__1___rarg(lean_object*, lean_object*); lean_object* l_Array_modifyM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334_; -lean_object* l_Array_set___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285_; lean_object* l_Array_foldlMUnsafe_fold___at_Array_mapM___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg___boxed(lean_object*); @@ -83,10 +85,10 @@ lean_object* l_Array_swapAt(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13; -lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__7; lean_object* l_Array_zip___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__1___rarg___lambda__2(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, uint8_t); lean_object* l_Array_findM_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__8; uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_findSomeM_x3f_match__2(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Array_contains___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -100,10 +102,8 @@ lean_object* l_Array_filterMapM_match__1___rarg(lean_object*, lean_object*, lean lean_object* l_Array_modifyOp(lean_object*); lean_object* l_Array_modifyM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_eraseIdxSzAuxInstance___rarg(lean_object*); -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__8; lean_object* l_Array_anyMUnsafe_any(lean_object*, lean_object*); lean_object* l_Array_uget___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__4; lean_object* l_Array_foldl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_isEqvAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -111,13 +111,11 @@ lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRevM_x3f___spec__1___r lean_object* l_Array_anyMUnsafe(lean_object*, lean_object*); lean_object* l_Array_findSome_x21_match__1(lean_object*, lean_object*); lean_object* l_Array_all___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; lean_object* l_Array_anyM(lean_object*, lean_object*); lean_object* l_Array_all(lean_object*); lean_object* l_Array_findIdx_x3f_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_foldl___spec__1(lean_object*, lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__1; lean_object* l_Array_forInUnsafe_loop___at_Array_findIdxM_x3f___spec__1(lean_object*, lean_object*); uint8_t l_Array_isEqvAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe___rarg(lean_object*, lean_object*, lean_object*); @@ -136,6 +134,7 @@ lean_object* l_Array_eraseIdxSzAux_match__1(lean_object*, lean_object*, lean_obj lean_object* l_Array_forInUnsafe_loop___at_Array_findSome_x3f___spec__1(lean_object*, lean_object*); lean_object* l_Array_anyM_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyM_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__11; lean_object* l_Array_map___rarg(lean_object*, lean_object*); lean_object* l_Array_eraseIdxSzAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findIdxM_x3f___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -198,7 +197,6 @@ lean_object* l_Array_anyM_loop_match__1___rarg___boxed(lean_object*, lean_object lean_object* l_Array_getLit___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toListLitAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forIn_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__1; lean_object* l_Array_foldrM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_getLit(lean_object*, lean_object*); uint8_t l_Array_isPrefixOf___rarg(lean_object*, lean_object*, lean_object*); @@ -217,9 +215,11 @@ lean_object* l_Array_findIdx_x3f_loop(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_mapMUnsafe_map___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__7; lean_object* l_Array_findIdx_x3f_loop_match__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux(lean_object*); +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; lean_object* l_Array_eraseIdxAux_match__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlM_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -295,13 +295,11 @@ lean_object* l_Array_forInUnsafe_loop___rarg___boxed(lean_object*, lean_object*, lean_object* l_Array_anyMUnsafe_any___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_swapAt_x21___rarg___closed__4; lean_object* l_Array_instBEqArray___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__2; lean_object* l_Array_getLit___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findIdxM_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_swapAt_x21___rarg___closed__1; -lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__11; lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRev_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux_match__1(lean_object*); lean_object* l_Array_swapAt_x21___rarg___closed__2; @@ -347,6 +345,7 @@ lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__1___rarg___boxed(lea lean_object* l_Array_foldrMUnsafe_fold___at_Array_toList___spec__2(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findIdxM_x3f___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findM_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__10; lean_object* l_Array_forIn_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_forM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Array_isPrefixOfAux(lean_object*); @@ -357,7 +356,6 @@ lean_object* l_Array_mapIdxM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_allDiff___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_eraseIdx_x27(lean_object*); lean_object* l_Array_foldrM_fold_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__5; lean_object* l_Array_findIdx_x3f_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_shrink_loop(lean_object*); lean_object* l_Array_anyMUnsafe_any___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t); @@ -365,7 +363,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Array_foldl___spec__1___rarg___boxed size_t lean_usize_of_nat(lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Array_toList___spec__1(lean_object*); lean_object* l_Array_findSome_x21___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__4; lean_object* l_List_toArrayAux(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Array_map___spec__1(lean_object*, lean_object*); lean_object* l_Array_findSome_x21___rarg___closed__1; @@ -375,10 +372,9 @@ lean_object* l_Array_anyMUnsafe___rarg___boxed(lean_object*, lean_object*, lean_ lean_object* l_Array_foldlMUnsafe_fold___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findSomeRev_x3f___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_zipWith___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__8; lean_object* l_Array_foldrMUnsafe_fold___at_Array_foldr___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__6; lean_object* l_Array_forInUnsafe_loop___at_Array_partition___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_swapAt___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_feraseIdx___rarg(lean_object*, lean_object*); @@ -435,7 +431,6 @@ lean_object* l_Array_mapIdxM_map_match__1(lean_object*, lean_object*, lean_objec uint8_t l_Array_isEqv___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_partition___rarg___closed__1; lean_object* l_Array_getLit___boxed(lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Array_modify(lean_object*); lean_object* lean_list_to_array(lean_object*, lean_object*); @@ -443,7 +438,6 @@ extern lean_object* l_Id_instMonadId; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Array_findSomeRev_x3f___rarg(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Array_all___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__9; lean_object* l_Array_modifyM(lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); @@ -461,6 +455,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Array_findSome_x3f___spec__1___rarg__ lean_object* l_Array_forInUnsafe_loop___at_Array_findM_x3f___spec__1___rarg___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findSome_x21___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Array_forRevM___spec__1(lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__3; lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); lean_object* l_Array_findIdx_x3f_loop_match__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_zipWithAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -471,7 +466,6 @@ lean_object* l_Array_erase(lean_object*); lean_object* l_Array_findSomeRevM_x3f_find_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_isPrefixOf___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__7; lean_object* l_Array_reverse_rev___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_zipWithAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_filter___spec__1(lean_object*); @@ -485,7 +479,6 @@ extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; lean_object* l_Array_modifyOp___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__10; lean_object* l_Array_findSomeM_x3f_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_getEvenElems___rarg(lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___at_Array_findRevM_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -497,6 +490,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Array_append___spec__1___rarg___boxe lean_object* l_Array_mapIdx___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_findSomeRev_x3f___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__5; lean_object* l_Array_forRevM(lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); @@ -517,6 +511,7 @@ lean_object* l_Array_insertAt___rarg___closed__3; extern lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__1; lean_object* l_Array_feraseIdx___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_getEvenElems___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__7; lean_object* l_Array_swapAt_x21___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_shrink_loop_match__1(lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__7; @@ -533,23 +528,25 @@ uint8_t l_Array_isPrefixOfAux___rarg(lean_object*, lean_object*, lean_object*, l lean_object* l_Array_anyM_loop_match__1(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findIdxM_x3f___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterMapM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__1; lean_object* l_Array_eraseIdxSzAuxInstance(lean_object*); lean_object* l_Array_instReprArray___rarg___closed__1; lean_object* l_Array_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_erase_match__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__9; lean_object* l_Array_partition_match__2___rarg(lean_object*, lean_object*); lean_object* l_Array_filterMap___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterMapM_match__1(lean_object*, lean_object*); lean_object* l_Array_indexOfAux_match__1(lean_object*); -lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__6; lean_object* l_Array_forRevM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_shrink_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; lean_object* l_Array_findSome_x21___rarg___closed__3; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Array_partition___rarg(lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__8; lean_object* l_Array_foldlMUnsafe_fold___at_Array_append___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Array_filterM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__4; lean_object* l_Array_instInhabitedArray(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_partition___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg___lambda__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); @@ -563,6 +560,7 @@ lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_ob lean_object* l_Array_forIn_loop_match__1(lean_object*, lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; lean_object* l_Array_isEqvAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); @@ -570,15 +568,16 @@ lean_object* l_Array_forInUnsafe_loop___at_Array_find_x3f___spec__1___rarg(lean_ lean_object* l_Array_foldlMUnsafe_fold___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength_match__1(lean_object*, lean_object*); lean_object* l_Array_findSome_x21___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__3; lean_object* l_Array_findSomeRevM_x3f_find(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Array_toList___spec__2___rarg(lean_object*, size_t, size_t, lean_object*); +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__3; lean_object* l_Array_instEmptyCollectionArray(lean_object*); lean_object* l_Array_foldrMUnsafe(lean_object*, lean_object*, lean_object*); lean_object* l_Array_swapAt_x21(lean_object*); lean_object* l_Array_mapMUnsafe_map___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Array_toListLitAux(lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Array_toList___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__2; lean_object* l_Array_filterM(lean_object*); lean_object* l_Array_getEvenElems_match__1(lean_object*, lean_object*); lean_object* l_Array_filterM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -602,7 +601,7 @@ lean_object* l_Array_foldrM_fold(lean_object*, lean_object*, lean_object*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_findIdxM_x3f_match__2(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Array_map___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332_(lean_object*, lean_object*, lean_object*); lean_object* l_Array_contains___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_eraseIdxSzAux_match__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Array_toList___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); @@ -618,11 +617,9 @@ lean_object* l_Array_findSomeM_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Array_findIdxM_x3f___rarg___closed__1; lean_object* l_Array_isEqvAux_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Array_toArrayLit___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_set_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_getEvenElems_match__1___rarg(lean_object*, lean_object*); lean_object* l_List_toArrayAux_match__1(lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__6; lean_object* l_Array_foldrMUnsafe_fold___at_Array_forRevM___spec__2___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_any___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Array_findSomeM_x3f___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -862,15 +859,6 @@ lean_dec(x_2); return x_3; } } -lean_object* l_Array_set___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_array_fset(x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} lean_object* l_Array_uset___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -881,15 +869,6 @@ x_7 = lean_array_uset(x_2, x_6, x_4); return x_7; } } -lean_object* l_Array_set_x21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = lean_array_set(x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} lean_object* l_Array_swap___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -994,7 +973,7 @@ x_11 = l_Array_swapAt_x21___rarg___closed__2; x_12 = lean_string_append(x_10, x_11); x_13 = l_Array_swapAt_x21___rarg___closed__3; x_14 = l_Array_swapAt_x21___rarg___closed__4; -x_15 = lean_unsigned_to_nat(103u); +x_15 = lean_unsigned_to_nat(93u); x_16 = lean_unsigned_to_nat(4u); x_17 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_13, x_14, x_15, x_16, x_12); lean_dec(x_12); @@ -6012,7 +5991,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Array_swapAt_x21___rarg___closed__3; x_2 = l_Array_findSome_x21___rarg___closed__1; -x_3 = lean_unsigned_to_nat(397u); +x_3 = lean_unsigned_to_nat(387u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Array_findSome_x21___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -7532,7 +7511,7 @@ x_5 = l_List_toArrayAux___rarg(x_2, x_4); return x_5; } } -static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__1() { +static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__1() { _start: { lean_object* x_1; @@ -7540,17 +7519,17 @@ x_1 = lean_mk_string("Data"); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__2() { +static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__7; -x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__1; +x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__3() { +static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__3() { _start: { lean_object* x_1; @@ -7558,47 +7537,47 @@ x_1 = lean_mk_string("Array"); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__4() { +static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__2; -x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__3; +x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__2; +x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__5() { +static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__4; +x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__4; x_2 = l___kind_term____x40_Init_Control_Basic___hyg_38____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__6() { +static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__5; +x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__5; x_2 = l_Lean_Name_hasMacroScopes___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__7() { +static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__6; -x_2 = lean_unsigned_to_nat(3334u); +x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__6; +x_2 = lean_unsigned_to_nat(3285u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__8() { +static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -7608,12 +7587,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__9() { +static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__8; +x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__8; x_3 = l___kind_term____x40_Init_Notation___hyg_6289____closed__8; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -7622,12 +7601,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__10() { +static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__9; +x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__9; x_3 = l___kind_term____x40_Init_Notation___hyg_6289____closed__11; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -7636,13 +7615,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__11() { +static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__7; +x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__7; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__10; +x_3 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__10; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7650,15 +7629,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334_() { +static lean_object* _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285_() { _start: { lean_object* x_1; -x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__11; +x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__11; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__1() { _start: { lean_object* x_1; @@ -7666,22 +7645,22 @@ x_1 = lean_mk_string("List.toArray"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__1; +x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__1; +x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__2; +x_3 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7689,7 +7668,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__4() { _start: { lean_object* x_1; @@ -7697,41 +7676,41 @@ x_1 = lean_mk_string("toArray"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_4364____closed__5; -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__4; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__6; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -7743,17 +7722,17 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__8; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__8; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -7765,11 +7744,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__7; +x_4 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__7; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -7816,11 +7795,11 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_2, 1); lean_inc(x_18); lean_dec(x_2); -x_19 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; +x_19 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; x_20 = l_Lean_addMacroScope(x_18, x_19, x_17); x_21 = l_Lean_instInhabitedSourceInfo___closed__1; -x_22 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__3; -x_23 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__7; +x_22 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__3; +x_23 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__7; x_24 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_24, 0, x_21); lean_ctor_set(x_24, 1, x_22); @@ -7834,9 +7813,9 @@ x_28 = l_Lean_nullKind___closed__2; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_30 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_31 = lean_array_push(x_30, x_29); -x_32 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_32 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_33 = lean_array_push(x_31, x_32); x_34 = l___kind_term____x40_Init_Notation___hyg_6289____closed__1; x_35 = lean_alloc_ctor(1, 2, 0); @@ -9436,7 +9415,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Array_swapAt_x21___rarg___closed__3; x_2 = l_Array_insertAt___rarg___closed__1; -x_3 = lean_unsigned_to_nat(681u); +x_3 = lean_unsigned_to_nat(671u); x_4 = lean_unsigned_to_nat(22u); x_5 = l_Array_insertAt___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -10204,50 +10183,50 @@ l_Array_instReprArray___rarg___closed__1 = _init_l_Array_instReprArray___rarg___ lean_mark_persistent(l_Array_instReprArray___rarg___closed__1); l_Array_instAppendArray___closed__1 = _init_l_Array_instAppendArray___closed__1(); lean_mark_persistent(l_Array_instAppendArray___closed__1); -l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__1 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__1(); -lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__1); -l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__2 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__2(); -lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__2); -l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__3 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__3(); -lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__3); -l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__4 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__4(); -lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__4); -l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__5 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__5(); -lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__5); -l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__6 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__6(); -lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__6); -l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__7 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__7(); -lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__7); -l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__8 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__8(); -lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__8); -l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__9 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__9(); -lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__9); -l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__10 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__10(); -lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__10); -l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__11 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__11(); -lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__11); -l___kind_term____x40_Init_Data_Array_Basic___hyg_3334_ = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3334_(); -lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3334_); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__1 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__1); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__2 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__2); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__3 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__3); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__4 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__4); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__6 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__6); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__7 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__7); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__8 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__8); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9); -l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10); +l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__1 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__1); +l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__2 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__2); +l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__3 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__3); +l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__4 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__4); +l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__5 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__5); +l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__6 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__6(); +lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__6); +l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__7 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__7(); +lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__7); +l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__8 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__8(); +lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__8); +l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__9 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__9(); +lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__9); +l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__10 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__10(); +lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__10); +l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__11 = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__11(); +lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__11); +l___kind_term____x40_Init_Data_Array_Basic___hyg_3285_ = _init_l___kind_term____x40_Init_Data_Array_Basic___hyg_3285_(); +lean_mark_persistent(l___kind_term____x40_Init_Data_Array_Basic___hyg_3285_); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__1 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__1); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__2 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__2); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__3 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__3); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__4 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__4); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__6 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__6); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__7 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__7); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__8 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__8); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9); +l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10 = _init_l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10); l_Array_partition___rarg___closed__1 = _init_l_Array_partition___rarg___closed__1(); lean_mark_persistent(l_Array_partition___rarg___closed__1); l_Array_insertAt___rarg___closed__1 = _init_l_Array_insertAt___rarg___closed__1(); diff --git a/stage0/stdlib/Init/Data/Array/Subarray.c b/stage0/stdlib/Init/Data/Array/Subarray.c index e1ae0fa545..8059f0a9c2 100644 --- a/stage0/stdlib/Init/Data/Array/Subarray.c +++ b/stage0/stdlib/Init/Data/Array/Subarray.c @@ -22,6 +22,7 @@ lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_682____closed size_t l_USize_add(size_t, size_t); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__9; lean_object* l_Array_foldlMUnsafe_fold___at_Subarray_forM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__1; lean_object* l_Array_instCoeSubarrayArray___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at_Array_ofSubarray___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -73,7 +74,6 @@ lean_object* l_Array_instCoeSubarrayArray(lean_object*); lean_object* l_Subarray_foldl___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Subarray_allM___spec__1(lean_object*, lean_object*); lean_object* l_Subarray_any___rarg___boxed(lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__1; lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_572____closed__2; lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_845____closed__1; lean_object* l_Subarray_anyM(lean_object*, lean_object*); @@ -113,8 +113,8 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__11; lean_object* l_Subarray_all(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Subarray_allM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, uint8_t); lean_object* l_Subarray_foldr___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; lean_object* l_Array_ofSubarray(lean_object*); lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__19; lean_object* l_Subarray_forInUnsafe_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -149,6 +149,7 @@ lean_object* l_Array_anyMUnsafe_any___at_Subarray_allM___spec__1___rarg___boxed( lean_object* l_Subarray_forInUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_forRevM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_foldr___spec__2(lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__3; lean_object* l_Subarray_forRevM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_foldr___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__2; @@ -171,17 +172,16 @@ lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_627____cl lean_object* l_Array_foldlMUnsafe_fold___at_Subarray_forM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_627____closed__5; lean_object* l_Subarray_forRevM(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__6; lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_forRevM___spec__1(lean_object*, lean_object*); lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_845____closed__3; lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_forRevM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Subarray_all___spec__1___rarg(lean_object*, lean_object*, size_t, size_t); lean_object* l_Subarray_foldl___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__21; lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_572____closed__3; -extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__3; lean_object* l_Subarray_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__2; lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__17; @@ -1879,7 +1879,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__3; +x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1929,7 +1929,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__5; -x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__1; +x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1939,7 +1939,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__6; -x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__3; +x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2759,7 +2759,7 @@ x_28 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; lean_inc(x_27); x_29 = lean_array_push(x_27, x_28); x_30 = lean_array_push(x_29, x_28); -x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_32 = lean_array_push(x_30, x_31); x_33 = lean_array_push(x_32, x_15); x_34 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -2773,7 +2773,7 @@ lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); x_39 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_40 = lean_array_push(x_39, x_38); -x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_42 = lean_array_push(x_40, x_41); x_43 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_682____closed__5; lean_inc(x_18); diff --git a/stage0/stdlib/Init/Data/List/Basic.c b/stage0/stdlib/Init/Data/List/Basic.c index 5baf7a3fc1..0e389af858 100644 --- a/stage0/stdlib/Init/Data/List/Basic.c +++ b/stage0/stdlib/Init/Data/List/Basic.c @@ -121,7 +121,6 @@ lean_object* l_List_replace_match__1(lean_object*); lean_object* l_List_join_match__1(lean_object*, lean_object*); lean_object* l_List_groupByAux___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_dropWhile_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_List_set_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_elem_match__1(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); uint8_t l_List_all___rarg(lean_object*, lean_object*); @@ -146,7 +145,6 @@ lean_object* l_List_replicate(lean_object*); lean_object* l_List_append(lean_object*); lean_object* l_List_erase_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_List_enum___rarg(lean_object*); -lean_object* l_List_set(lean_object*); lean_object* l_List_partitionAux_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___rarg(lean_object*, lean_object*); lean_object* l_List_findSome_x3f___rarg(lean_object*, lean_object*); @@ -171,7 +169,6 @@ lean_object* l_List_eraseDupsAux(lean_object*); lean_object* l_List_unzip_match__1___rarg(lean_object*, lean_object*); lean_object* l_List_hasDecidableLt(lean_object*); lean_object* l_List_eraseRepsAux_match__1___rarg(uint8_t, lean_object*, lean_object*); -lean_object* l_List_set___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_isEqv_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_unzip(lean_object*, lean_object*); lean_object* l_List_map(lean_object*, lean_object*); @@ -220,7 +217,6 @@ lean_object* l_List_eraseRepsAux_match__2___rarg(lean_object*, lean_object*, lea lean_object* l_List_eraseIdx___rarg(lean_object*, lean_object*); lean_object* l_List_dropWhile___rarg(lean_object*, lean_object*); lean_object* l_List_unzip_match__2(lean_object*, lean_object*, lean_object*); -lean_object* l_List_set_match__1(lean_object*, lean_object*); lean_object* l_List_rangeAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_and(lean_object*); lean_object* l_List_eraseIdx_match__1(lean_object*, lean_object*); @@ -303,7 +299,6 @@ lean_object* l_List_hasDecidableLt_match__6___boxed(lean_object*, lean_object*, lean_object* l_List_hasDecidableLt___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_partitionAux_match__1(lean_object*); lean_object* l_List_lookup_match__1(lean_object*); -lean_object* l_List_set___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_spanAux_match__2(lean_object*, lean_object*); lean_object* l_List_elem(lean_object*); lean_object* l_List_filterAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -812,147 +807,6 @@ x_3 = lean_box(x_2); return x_3; } } -lean_object* l_List_set_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_7; -lean_dec(x_5); -lean_dec(x_4); -x_7 = lean_apply_2(x_6, x_2, x_3); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -lean_dec(x_6); -x_8 = lean_ctor_get(x_1, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -lean_dec(x_1); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_nat_dec_eq(x_2, x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_4); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_sub(x_2, x_12); -lean_dec(x_2); -x_14 = lean_apply_4(x_5, x_8, x_9, x_13, x_3); -return x_14; -} -else -{ -lean_object* x_15; -lean_dec(x_5); -lean_dec(x_2); -x_15 = lean_apply_3(x_4, x_8, x_9, x_3); -return x_15; -} -} -} -} -lean_object* l_List_set_match__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_List_set_match__1___rarg), 6, 0); -return x_3; -} -} -lean_object* l_List_set___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; -lean_dec(x_3); -x_4 = lean_box(0); -return x_4; -} -else -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_1); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_1, 0); -x_7 = lean_ctor_get(x_1, 1); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_eq(x_2, x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_sub(x_2, x_10); -x_12 = l_List_set___rarg(x_7, x_11, x_3); -lean_dec(x_11); -lean_ctor_set(x_1, 1, x_12); -return x_1; -} -else -{ -lean_dec(x_6); -lean_ctor_set(x_1, 0, x_3); -return x_1; -} -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_1, 0); -x_14 = lean_ctor_get(x_1, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_1); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_nat_dec_eq(x_2, x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_sub(x_2, x_17); -x_19 = l_List_set___rarg(x_14, x_18, x_3); -lean_dec(x_18); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_13); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -else -{ -lean_object* x_21; -lean_dec(x_13); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_3); -lean_ctor_set(x_21, 1, x_14); -return x_21; -} -} -} -} -} -lean_object* l_List_set(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_List_set___rarg___boxed), 3, 0); -return x_2; -} -} -lean_object* l_List_set___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_List_set___rarg(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} lean_object* l_List_map_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { diff --git a/stage0/stdlib/Init/Data/Range.c b/stage0/stdlib/Init/Data/Range.c index 7fa9ddd99e..dc79c4aa71 100644 --- a/stage0/stdlib/Init/Data/Range.c +++ b/stage0/stdlib/Init/Data/Range.c @@ -18,6 +18,7 @@ lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__11; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_266____closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__9; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__16; +extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__1; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_266____closed__5; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_905____closed__5; lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -46,7 +47,6 @@ lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed_ lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__12; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__10; lean_object* l_Std_Range_forIn_loop_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__1; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__16; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107_; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_154_; @@ -76,7 +76,7 @@ lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed_ extern lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__11; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__17; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_905____closed__2; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__5; @@ -460,7 +460,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__8; -x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__1; +x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1090,7 +1090,7 @@ x_24 = l_Array_empty___closed__1; x_25 = lean_array_push(x_24, x_23); x_26 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_27 = lean_array_push(x_25, x_26); -x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_29 = lean_array_push(x_27, x_28); x_30 = lean_array_push(x_29, x_15); x_31 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; @@ -1327,7 +1327,7 @@ x_26 = l_Array_empty___closed__1; x_27 = lean_array_push(x_26, x_25); x_28 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_29 = lean_array_push(x_27, x_28); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_31 = lean_array_push(x_29, x_30); x_32 = lean_array_push(x_31, x_15); x_33 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; @@ -1545,7 +1545,7 @@ x_28 = l_Array_empty___closed__1; x_29 = lean_array_push(x_28, x_27); x_30 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_31 = lean_array_push(x_29, x_30); -x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_33 = lean_array_push(x_31, x_32); x_34 = lean_array_push(x_33, x_15); x_35 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; @@ -1710,7 +1710,7 @@ x_26 = l_Array_empty___closed__1; x_27 = lean_array_push(x_26, x_25); x_28 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_29 = lean_array_push(x_27, x_28); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_31 = lean_array_push(x_29, x_30); x_32 = lean_array_push(x_31, x_15); x_33 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; diff --git a/stage0/stdlib/Init/Data/ToString/Macro.c b/stage0/stdlib/Init/Data/ToString/Macro.c index 46708215c1..b8c40e4a3e 100644 --- a/stage0/stdlib/Init/Data/ToString/Macro.c +++ b/stage0/stdlib/Init/Data/ToString/Macro.c @@ -14,6 +14,7 @@ extern "C" { #endif lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__7; +extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__2; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__10; lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__3; lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -34,7 +35,6 @@ lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__4; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__8; lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_43____closed__5; extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; -extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__2; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__1; lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__2; extern lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__9; @@ -69,7 +69,7 @@ static lean_object* _init_l___kind_term____x40_Init_Data_ToString_Macro___hyg_2_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__2; +x_1 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__2; x_2 = l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Init/Meta.c b/stage0/stdlib/Init/Meta.c index 85b0ad80ed..b39005d504 100644 --- a/stage0/stdlib/Init/Meta.c +++ b/stage0/stdlib/Init/Meta.c @@ -454,7 +454,6 @@ lean_object* l_Lean_Syntax_toNat_match__1(lean_object*); lean_object* l_Lean_Syntax_setTailInfoAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_syntax_ident(lean_object*); lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; lean_object* l_Lean_Syntax_toNat(lean_object*); lean_object* l_Lean_Syntax_decodeQuotedChar_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Name_appendBefore(lean_object*, lean_object*); @@ -470,12 +469,12 @@ lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__3; lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___at_Array_filterSepElems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instQuoteProd___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; lean_object* l_Lean_Syntax_strLitToAtom___boxed(lean_object*); lean_object* l_Lean_Syntax_find_x3f(lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeStrLitAux___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteList_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkAtomFrom___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeNatLitVal___boxed(lean_object*); lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Lean_quoteOption_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -4502,42 +4501,6 @@ x_3 = l_Lean_mkCIdentFrom(x_2, x_1); return x_3; } } -lean_object* l_Lean_mkAtomFrom(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Syntax_getHeadInfo(x_1); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_instInhabitedSourceInfo___closed__1; -x_5 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_2); -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; -x_6 = lean_ctor_get(x_3, 0); -lean_inc(x_6); -lean_dec(x_3); -x_7 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_2); -return x_7; -} -} -} -lean_object* l_Lean_mkAtomFrom___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_mkAtomFrom(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} lean_object* l_Lean_Syntax_identToAtom_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -7615,7 +7578,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Syntax_strLitToAtom___closed__1; x_2 = l_Lean_Syntax_strLitToAtom___closed__2; -x_3 = lean_unsigned_to_nat(486u); +x_3 = lean_unsigned_to_nat(482u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8968,7 +8931,7 @@ x_3 = lean_array_to_list(lean_box(0), x_2); x_4 = l___private_Init_Meta_0__Lean_quoteList___rarg(x_1, x_3); x_5 = l_Lean_mkOptionalNode___closed__2; x_6 = lean_array_push(x_5, x_4); -x_7 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; +x_7 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; x_8 = l_Lean_Syntax_mkCApp(x_7, x_6); return x_8; } diff --git a/stage0/stdlib/Init/Notation.c b/stage0/stdlib/Init/Notation.c index c5539dfba3..3e4a8b85ae 100644 --- a/stage0/stdlib/Init/Notation.c +++ b/stage0/stdlib/Init/Notation.c @@ -17,14 +17,15 @@ lean_object* l_Lean_Parser_Tactic_orelse___closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_5337____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_1850____closed__2; +lean_object* l_Lean_Parser_Tactic_expandERwSeq(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_6336__expandListLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__1; lean_object* l_Lean_Parser_Tactic_let_x21___closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_671____closed__5; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__2; +lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__1; lean_object* l_Lean_Parser_Tactic_exact___closed__6; lean_object* l_Lean_Parser_Tactic_orelse___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__6; @@ -35,10 +36,14 @@ lean_object* l_Lean_Parser_Tactic_induction___closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_1343____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__8; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; lean_object* l_Lean_Parser_Tactic_generalize___closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__12; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__7; lean_object* l_Lean_Parser_Tactic_cases___closed__6; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__3; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__16; lean_object* l_Lean_Parser_Tactic_match___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__1; @@ -50,6 +55,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__9; lean_object* l_Lean_Parser_Tactic_revert___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__1; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__4; lean_object* l_Lean_Parser_Tactic_induction___closed__13; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__6; lean_object* l_Lean_Parser_Tactic_generalize___closed__1; @@ -58,21 +64,23 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_3505____closed__6; lean_object* l_Lean_Parser_Tactic_match; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__11; lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__4; +lean_object* l_Lean_Parser_Tactic_erw; lean_object* l___kind_term____x40_Init_Notation___hyg_6579____closed__1; lean_object* l_Lean_Parser_Tactic_case___closed__6; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__11; lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__8; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; lean_object* l_Lean_Parser_Tactic_apply___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__6; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3669____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_671____closed__3; +lean_object* l_Lean_Parser_Tactic_erw___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__6; +lean_object* l_Lean_Parser_Tactic_erwSeq___closed__3; lean_object* l_Lean_Parser_Tactic_let_x21___closed__1; lean_object* l_Lean_Parser_Tactic_induction___closed__12; lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__4; @@ -85,8 +93,8 @@ lean_object* l_Lean_Parser_Tactic_intro___closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__19; lean_object* l_Lean_Parser_Tactic_orelse___closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__5; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__6; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__5; lean_object* l_Lean_Parser_Tactic_location___closed__7; @@ -97,10 +105,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__7; lean_object* l_Lean_Parser_Tactic_have___closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_6579____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__2; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3177____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4700_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_3704_(lean_object*, lean_object*, lean_object*); @@ -156,6 +161,7 @@ lean_object* l_Lean_Parser_Tactic_rwSeq___closed__4; lean_object* l_Lean_Parser_Tactic_locationWildcard___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__4; lean_object* l_Lean_Parser_Tactic_rwRule___closed__9; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__6; lean_object* l_Lean_Parser_Tactic_changeWith; lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__3; @@ -163,6 +169,7 @@ lean_object* l_Lean_Parser_Tactic_rw___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__3; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_skip___closed__3; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__5; lean_object* l_Lean_Parser_Tactic_induction___closed__2; @@ -170,12 +177,11 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__1; lean_object* l_Lean_Parser_Tactic_orelse___closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_7535____closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_3177____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_6820____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2; lean_object* l_Lean_Parser_Tactic_generalize___closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__1; lean_object* l_Lean_Parser_Tactic_revert___closed__8; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__1; @@ -186,7 +192,7 @@ lean_object* l_Lean_Parser_Tactic_locationTarget___closed__4; lean_object* l_Lean_Parser_Tactic_intro___closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__9; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__9; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13; extern lean_object* l_Lean_identKind___closed__2; @@ -200,16 +206,16 @@ lean_object* l_Lean_Parser_Tactic_locationTarget___closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__9; lean_object* l___kind_term____x40_Init_Notation___hyg_6579____closed__4; lean_object* l_Lean_Parser_Tactic_rewrite___closed__6; lean_object* l_Lean_Parser_Tactic_location___closed__3; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__12; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__12; lean_object* l_Lean_Parser_Tactic_clear___closed__6; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_6336____closed__2; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__18; lean_object* l_Lean_Parser_Tactic_have___closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__4; @@ -222,8 +228,8 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3669____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_6820____closed__1; lean_object* l_Lean_Parser_Tactic_change___closed__4; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__1; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__2; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__15; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__3; @@ -237,8 +243,9 @@ lean_object* l_Lean_Parser_Tactic_changeWith___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__18; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__1; lean_object* l_Lean_Parser_Tactic_rwSeq___closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__6; +lean_object* l_Lean_Parser_Tactic_erwSeq___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__15; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__8; lean_object* l_Lean_Parser_Tactic_apply___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__5; @@ -248,7 +255,6 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__5; lean_object* l_Lean_Parser_Tactic_change___closed__1; lean_object* l_Lean_Parser_Tactic_intro___closed__13; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__2; lean_object* l_Lean_Parser_Tactic_introMatch___closed__3; @@ -266,8 +272,10 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__6; lean_object* l_Lean_Parser_Tactic_rwRule___closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__9; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__5; lean_object* l_Lean_Parser_Tactic_injection___closed__4; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__1; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__7; @@ -279,22 +287,20 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_1850____closed__4; lean_object* l_Lean_Parser_Tactic_cases___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__8; lean_object* l_Lean_Parser_Tactic_refine___closed__5; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_671____closed__6; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__10; lean_object* l_Lean_Parser_Tactic_exact___closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__14; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_injection___closed__9; lean_object* lean_array_get_size(lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__6; +lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_4497____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_6336____closed__1; +lean_object* l_Lean_Parser_Tactic_erewrite___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_6336____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__8; @@ -308,7 +314,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__2; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__2; +lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_4497____closed__2; lean_object* l_Lean_Parser_Tactic_intros___closed__5; @@ -318,17 +324,16 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__2; lean_object* l_Lean_Parser_Tactic_matchAlt___closed__4; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__8; lean_object* l_Lean_Parser_Tactic_have___closed__6; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; lean_object* l_Lean_Parser_Tactic_cases___closed__3; lean_object* l_Lean_Parser_Tactic_suffices___closed__6; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__6; lean_object* l___kind_stx____x40_Init_Notation___hyg_7322____closed__2; lean_object* l_Lean_Parser_Tactic_orelse___closed__3; lean_object* l_Lean_Parser_Tactic_clear___closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__9; lean_object* l_Lean_Parser_Tactic_existsIntro___closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_7407____closed__1; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__7; lean_object* l_Lean_Parser_Tactic_revert___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__2; lean_object* l_Lean_Parser_Tactic_skip___closed__1; @@ -393,7 +398,6 @@ lean_object* l_Lean_Parser_Tactic_location___closed__5; lean_object* l_Lean_Parser_Tactic_suffices___closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_7407____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_4497____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__10; lean_object* l_Lean_Parser_Tactic_injection___closed__1; lean_object* l_Lean_Parser_Tactic_case___closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__3; @@ -403,7 +407,7 @@ lean_object* l_Lean_Parser_Tactic_suffices___closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__4; lean_object* l_Lean_Parser_Tactic_cases___closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__8; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__8; lean_object* l_Lean_Parser_Tactic_intros___closed__3; lean_object* l_Lean_Parser_Tactic_rwRule___closed__2; @@ -424,20 +428,23 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__3; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__9; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1; lean_object* l_Lean_Parser_Tactic_clear___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__3; lean_object* l_Lean_Parser_Tactic_clear; lean_object* l_Lean_Parser_Tactic_letrec___closed__9; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__5; lean_object* l_Lean_Parser_Tactic_case___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_503____closed__2; lean_object* l_Lean_Parser_Tactic_subst___closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__2; lean_object* l_Lean_Parser_Tactic_rewrite___closed__5; lean_object* l_Lean_Parser_Tactic_induction; @@ -452,13 +459,14 @@ lean_object* l_Lean_Parser_Tactic_match___closed__12; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__16; lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__22; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__13; lean_object* l___kind_term____x40_Init_Notation___hyg_4497____closed__5; lean_object* l_Lean_Parser_Tactic_cases___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__7; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__1; lean_object* l_Lean_Parser_Tactic_assumption; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__6; lean_object* l_Lean_Parser_Tactic_subst___closed__2; @@ -469,11 +477,11 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__4; lean_object* l_Lean_Parser_Tactic_focus___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__9; +lean_object* l_Lean_Parser_Tactic_erwSeq___closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__19; lean_object* l_Lean_Parser_Tactic_change___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_6138____closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__3; lean_object* l_Lean_Parser_Tactic_cases___closed__9; @@ -481,6 +489,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__9; lean_object* l_Lean_Parser_Tactic_induction___closed__11; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__5; lean_object* l_Lean_Parser_Tactic_intro___closed__12; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7374____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_7979____closed__2; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__10; @@ -491,14 +500,14 @@ lean_object* l_Lean_Parser_Tactic_intros___closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_7088____boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__6; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; lean_object* l_Lean_Parser_Tactic_locationTarget___closed__6; +lean_object* l_Lean_Parser_Tactic_erwSeq___closed__1; lean_object* l___kind_stx____x40_Init_Notation___hyg_7943____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_5337____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__6; lean_object* l_Lean_Parser_Tactic_locationHyp___closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__13; lean_object* l_Lean_Parser_Tactic_case; lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__1; @@ -516,15 +525,19 @@ lean_object* l_Lean_Parser_Tactic_allGoals; lean_object* l_myMacro____x40_Init_Notation___hyg_6336__expandListLit_match__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__3; lean_object* l_Lean_Parser_Tactic_refine___closed__3; lean_object* l_Lean_Parser_Tactic_induction___closed__16; lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__3; lean_object* l_Lean_Parser_Tactic_cases; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__9; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__10; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__5; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__11; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__1; lean_object* l_Lean_Parser_Tactic_allGoals___closed__3; lean_object* l_Lean_Parser_Tactic_subst___closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_7049____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__8; lean_object* l_Lean_Parser_Tactic_assumption___closed__1; lean_object* l_Lean_Parser_Tactic_letrec___closed__13; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__19; @@ -535,9 +548,9 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__5; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3505____closed__2; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__10; lean_object* l_Lean_Parser_Tactic_show___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__1; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__8; lean_object* l_Lean_Parser_Tactic_revert; lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__1; lean_object* l_Lean_Parser_Tactic_generalize; @@ -549,6 +562,7 @@ lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__16; lean_object* l_Lean_Parser_Tactic_rw; lean_object* l_Lean_Parser_Tactic_changeWith___closed__8; lean_object* l_Lean_Parser_Tactic_focus___closed__1; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7; lean_object* l_Lean_Parser_Tactic_change___closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3505____closed__4; @@ -557,28 +571,28 @@ lean_object* l_Lean_Parser_Tactic_match___closed__13; lean_object* l_Lean_Parser_Tactic_traceState___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_3177____closed__2; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__8; lean_object* l_Lean_Parser_Tactic_location___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_6138____closed__5; lean_object* l_Lean_Parser_Tactic_rewriteSeq; lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__16; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__8; +lean_object* l_Lean_Parser_Tactic_expandERw(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__13; lean_object* l_Lean_Parser_Tactic_intro___closed__11; lean_object* l_Lean_Parser_Tactic_focus; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__18; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__5; +lean_object* l_Lean_Parser_Tactic_erewrite___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_3177____closed__4; lean_object* l_Lean_Parser_Tactic_intros___closed__2; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__12; lean_object* l_Lean_Parser_Tactic_let_x21___closed__2; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__2; lean_object* l_Lean_Parser_Tactic_matchAlt___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__3; @@ -591,18 +605,21 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__1; lean_object* l_Lean_Parser_Tactic_cases___closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_6138____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__15; lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__5; lean_object* l_Lean_Parser_Tactic_induction___closed__7; lean_object* l_Lean_Parser_Tactic_revert___closed__5; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__11; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__1; lean_object* l_Lean_Parser_Tactic_introMatch___closed__1; +lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_traceState___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__3; @@ -613,10 +630,12 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3505____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_introMatch___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__2; lean_object* l_Lean_Parser_Tactic_changeWith___closed__7; lean_object* l_Lean_Parser_Tactic_apply___closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_object* l_Lean_Parser_Tactic_locationTarget___closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_503____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__17; @@ -628,15 +647,15 @@ lean_object* l_Lean_Parser_Tactic_letrec___closed__11; lean_object* l_Lean_Parser_Tactic_revert___closed__3; lean_object* l_Lean_Parser_Tactic_intros___closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__2; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; lean_object* l_Lean_Parser_Tactic_injection___closed__6; +lean_object* l_Lean_Parser_Tactic_erewrite___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__7; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__6; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__3; lean_object* l___kind_stx____x40_Init_Notation___hyg_7348____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__3; @@ -644,6 +663,7 @@ lean_object* l_Lean_Parser_Tactic_revert___closed__6; lean_object* l_Lean_Parser_Tactic_generalize___closed__11; lean_object* l_Lean_Parser_Tactic_let___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__6; +lean_object* l_Lean_Parser_Tactic_erewrite___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__5; lean_object* l_Lean_Parser_Tactic_match___closed__6; extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; @@ -662,27 +682,27 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_6820____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_6138____closed__1; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__9; lean_object* l_Lean_Parser_Tactic_rwRuleSeq; lean_object* l_Lean_Parser_Tactic_rewrite___closed__1; lean_object* l_Lean_Parser_Tactic_cases___closed__8; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__10; lean_object* l_Lean_Parser_Tactic_let___closed__8; lean_object* l_Lean_Parser_Tactic_location___closed__4; lean_object* l_Lean_Parser_Tactic_locationWildcard; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__11; lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__6; lean_object* l_Lean_Parser_Tactic_rw___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__9; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__8; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__9; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__12; lean_object* l_myMacro____x40_Init_Notation___hyg_6138____closed__2; lean_object* l_Lean_Parser_Tactic_let___closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__1; +lean_object* l_Lean_Parser_Tactic_erewrite; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__7; +lean_object* l_Lean_Parser_Tactic_erwSeq___closed__2; lean_object* l_Lean_Parser_Tactic_rewrite___closed__2; lean_object* l_Lean_Parser_Tactic_location___closed__8; lean_object* l_Lean_Parser_Tactic_exact___closed__3; @@ -691,14 +711,13 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__5; lean_object* l_Lean_Parser_Tactic_paren___closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__12; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__8; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__5; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__15; lean_object* l_Lean_Parser_Tactic_let___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__11; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_7407____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__14; lean_object* l_Lean_Parser_Tactic_generalize___closed__13; @@ -706,11 +725,8 @@ lean_object* l_Lean_Parser_Tactic_assumption___closed__2; lean_object* l_Lean_Parser_Tactic_location; lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__5; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_503____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__3; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__2; lean_object* l_Lean_Parser_Tactic_exact___closed__5; @@ -726,7 +742,9 @@ lean_object* l_Lean_Parser_Tactic_case___closed__12; lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__6; lean_object* l_Lean_Parser_Tactic_paren___closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__3; +lean_object* l_Lean_Parser_Tactic_expandRw___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__17; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__4; @@ -735,24 +753,25 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__7; lean_object* l_Lean_Parser_Tactic_suffices___closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__10; lean_object* l_Lean_Parser_Tactic_show; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__12; lean_object* l_myMacro____x40_Init_Notation___hyg_7535____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__7; lean_object* l_Lean_Parser_Tactic_injection___closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_6336__expandListLit_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_refine_x21___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_6336____closed__6; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +lean_object* l_Lean_Parser_Tactic_expandRw(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7322____closed__3; lean_object* l_Lean_Parser_Tactic_change___closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_6081____closed__4; +lean_object* l_Lean_Parser_Tactic_erw___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_7535____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__2; @@ -768,17 +787,17 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__2; lean_object* l_Lean_Parser_Tactic_injection___closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_5337____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__2; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027_; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860_; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598_; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975_; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355_; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191_; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506_; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001_; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837_; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621_; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673_; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244_; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__10; +lean_object* l_Lean_Parser_Tactic_erewrite___closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_6336__expandListLit(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__1; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__3; lean_object* l_Lean_Parser_Tactic_apply; @@ -786,6 +805,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__1; lean_object* l_Lean_Parser_Tactic_failIfSuccess; lean_object* l_Lean_Parser_Tactic_paren___closed__1; lean_object* l_Lean_Parser_Tactic_have___closed__3; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__3; lean_object* l_Lean_Parser_Tactic_letrec___closed__6; @@ -794,11 +814,11 @@ lean_object* l_Lean_Parser_Tactic_change___closed__3; lean_object* l_Lean_Parser_Tactic_generalize___closed__10; lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__5; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__4; lean_object* l_Lean_Parser_Tactic_match___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_671____closed__1; lean_object* l_Lean_Parser_Tactic_paren___closed__2; lean_object* l_Lean_Parser_Tactic_subst___closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__10; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__5; lean_object* l_Lean_Parser_Tactic_refine_x21___closed__1; lean_object* l_Lean_Parser_Tactic_letrec___closed__14; @@ -807,7 +827,9 @@ lean_object* l_Lean_Parser_Tactic_injection___closed__7; lean_object* l_Lean_Parser_Tactic_locationTarget___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__8; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__1; +lean_object* l_Lean_Parser_Tactic_erw___closed__4; +lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__4; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__2; lean_object* l_Lean_Parser_Tactic_location___closed__11; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__1; @@ -833,12 +855,14 @@ lean_object* l_Lean_Parser_Tactic_existsIntro___closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__10; lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__5; extern lean_object* l_Lean_nullKind___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_7049____closed__6; lean_object* l_Lean_Parser_Tactic_suffices___closed__5; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__10; lean_object* l_Lean_Parser_Tactic_intros___closed__4; lean_object* l_Lean_Parser_Tactic_existsIntro___closed__5; lean_object* l_Lean_Parser_Tactic_change___closed__6; @@ -847,34 +871,30 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__2; lean_object* l_Lean_Parser_Tactic_casesTarget___closed__3; lean_object* l_Lean_Parser_Tactic_intro___closed__16; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__6; +lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__1; lean_object* l_Lean_Parser_Tactic_match___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__2; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_intros___closed__9; lean_object* l_Lean_Parser_Tactic_location___closed__9; lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__13; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__13; lean_object* l_Lean_Parser_Tactic_existsIntro___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9926_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_12016_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11662_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_match___closed__1; lean_object* l_Lean_Parser_Tactic_show___closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__10; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__9; lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_6081____closed__5; @@ -899,7 +919,10 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_7049____closed__2; lean_object* l_Lean_Parser_Tactic_refine___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__2; lean_object* l_Lean_Parser_Tactic_show___closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__9; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__11; lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__4; lean_object* l_Lean_Parser_Tactic_case___closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__2; @@ -907,17 +930,19 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_7663____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_7049____closed__5; lean_object* l_Lean_Parser_Tactic_suffices___closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__8; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__5; lean_object* l_Lean_Parser_Tactic_changeWith___closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__14; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__7; lean_object* l_Lean_Parser_Tactic_focus___closed__5; +lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__1; lean_object* l_Lean_Parser_Tactic_match___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__2; +lean_object* l_Lean_Parser_Tactic_erewrite___closed__3; lean_object* l_Lean_Parser_Tactic_induction___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_7979____closed__1; lean_object* l_Lean_Parser_Tactic_letrec___closed__2; @@ -926,24 +951,24 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3; lean_object* l_Lean_Parser_Tactic_refine___closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____boxed(lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_6081____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__11; lean_object* l_Lean_Parser_Tactic_exact; lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__2; +lean_object* l_Lean_Parser_Tactic_erw___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__5; lean_object* l_Lean_Parser_Tactic_suffices; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_6081____closed__1; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2; lean_object* l_Lean_Parser_Tactic_case___closed__1; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__4; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__13; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__14; @@ -960,7 +985,9 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__9; lean_object* l_Lean_Parser_Tactic_paren___closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__3; lean_object* l_Lean_Parser_Tactic_locationWildcard___closed__3; +lean_object* l_Lean_Parser_Tactic_erewrite___closed__5; lean_object* l_Lean_Parser_Tactic_let___closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__9; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__4; @@ -969,7 +996,6 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__7; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__9; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_12016____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__6; lean_object* l_Lean_Parser_Tactic_induction___closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_7979____closed__3; @@ -986,6 +1012,7 @@ lean_object* l_Lean_Parser_Tactic_case___closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__5; lean_object* l_Lean_Parser_Tactic_change; lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__6; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1; lean_object* l_Lean_Parser_Tactic_injection___closed__10; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__1; @@ -997,7 +1024,9 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__16; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__4; lean_object* l_Lean_Parser_Tactic_rw___closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; lean_object* l_Lean_Parser_Tactic_locationTarget___closed__5; lean_object* l_Lean_Parser_Tactic_induction___closed__18; lean_object* l_Lean_Parser_Tactic_letrec___closed__8; @@ -1005,8 +1034,9 @@ lean_object* l_Lean_Parser_Tactic_rwRule___closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__6; lean_object* l_Lean_Parser_Tactic_induction___closed__5; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__9; lean_object* l_Lean_Parser_Tactic_case___closed__2; extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; @@ -1028,23 +1058,21 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_1850____closed__5; lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7374____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__12; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__10; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__1; lean_object* l_Lean_Parser_Tactic_done; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__10; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_6336____closed__7; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__1; lean_object* l_Lean_Parser_Tactic_intros; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__9; lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__4; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__4; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__1; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__7; @@ -1057,11 +1085,11 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__4; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__9; lean_object* l_Lean_Parser_Tactic_letrec___closed__16; lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_1850____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__6; lean_object* l_Lean_Parser_Tactic_exact___closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3669____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____boxed(lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_6081____closed__2; lean_object* l___kind_stx____x40_Init_Notation___hyg_7374_; lean_object* l___kind_stx____x40_Init_Notation___hyg_7322_; @@ -1074,7 +1102,10 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__5; lean_object* l_Lean_Parser_Tactic_matchAlt; lean_object* l_Lean_Parser_Tactic_done___closed__4; +lean_object* l_Lean_Parser_Tactic_erw___closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__8; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; lean_object* l___kind_stx____x40_Init_Notation___hyg_7348____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__9; lean_object* l_Lean_Parser_Tactic_location___closed__10; @@ -1094,28 +1125,28 @@ lean_object* l_Lean_Parser_Tactic_show___closed__1; lean_object* l_Lean_Parser_Tactic_letrec___closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__13; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__13; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_6820____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_7049____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__9; +lean_object* l_Lean_Parser_Tactic_erw___closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_7049____closed__8; lean_object* l_Lean_Parser_Tactic_generalize___closed__7; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__2; lean_object* l_Lean_Parser_Tactic_induction___closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9926____boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__8; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__3; +lean_object* l_Lean_Parser_Tactic_expandERw___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_6820____closed__4; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__5; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__4; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3669____closed__4; lean_object* l_Lean_Parser_Tactic_induction___closed__8; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__6; @@ -1133,24 +1164,23 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__2; lean_object* l_Lean_Parser_Tactic_rwSeq___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_7049____closed__1; lean_object* l_Lean_Parser_Tactic_changeWith___closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__2; lean_object* l___kind_stx____x40_Init_Notation___hyg_7348____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__5; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__17; lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__4; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__9; +lean_object* l_Lean_Parser_Tactic_expandERwSeq___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__15; lean_object* l_Lean_Parser_Tactic_change___closed__7; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3669____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__1; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__15; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__2; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -1161,6 +1191,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__7; @@ -1177,15 +1208,11 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__5; lean_object* l_Lean_Parser_Tactic_letrec___closed__15; lean_object* l_Lean_Parser_Tactic_intro___closed__18; lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__2; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__2; lean_object* l_Lean_Parser_Tactic_refine_x21___closed__5; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__5; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__12; lean_object* l_Lean_Parser_Tactic_locationHyp___closed__2; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__9; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; lean_object* l_Lean_Parser_Tactic_existsIntro___closed__2; lean_object* l_Lean_Parser_Tactic_rwSeq___closed__3; lean_object* l_Lean_Parser_Tactic_intro___closed__14; @@ -1193,18 +1220,20 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__9; lean_object* l_Lean_Parser_Tactic_intro___closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__7; +lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__4; lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__21; lean_object* l_myMacro____x40_Init_Notation___hyg_6612____boxed(lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_671____closed__4; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__1; lean_object* l_Lean_Parser_Tactic_orelse___closed__6; lean_object* l_Lean_Parser_Tactic_intro___closed__5; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__4; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__8; lean_object* l_Lean_Parser_Tactic_induction___closed__17; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__8; lean_object* l___kind_stx____x40_Init_Notation___hyg_7348____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_1343____closed__4; lean_object* l_Lean_Parser_Tactic_casesTarget; @@ -1225,38 +1254,39 @@ lean_object* l_Lean_Parser_Tactic_matchAlts; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__14; lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__7; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__4; lean_object* l_Lean_Parser_Tactic_let_x21___closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7943____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__3; +lean_object* l_Lean_Parser_Tactic_expandRwSeq(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_matchAlt___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__1; lean_object* l_Lean_Parser_Tactic_existsIntro___closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_1343____closed__1; lean_object* l___kind_stx____x40_Init_Notation___hyg_7374____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__6; lean_object* l_Lean_Parser_Tactic_allGoals___closed__1; lean_object* l_Lean_Parser_Tactic_traceState; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; lean_object* l_Lean_Parser_Tactic_let___closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7943____closed__3; lean_object* l_Lean_Parser_Tactic_intro___closed__15; lean_object* l___kind_term____x40_Init_Notation___hyg_6081____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__2; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_let_x21___closed__3; +lean_object* l_Lean_Parser_Tactic_expandRwSeq___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__17; lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__2; lean_object* l_Lean_Parser_Tactic_case___closed__13; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__2; lean_object* l___kind_stx____x40_Init_Notation___hyg_7943____closed__6; +lean_object* l_Lean_Parser_Tactic_erewriteSeq; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__5; lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__1; extern lean_object* l___private_Init_Prelude_0__Lean_eraseMacroScopesAux___closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_7535____closed__3; lean_object* l_Lean_Parser_Tactic_paren; +lean_object* l_Lean_Parser_Tactic_erw___closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__10; lean_object* l_Lean_Parser_Tactic_intro; lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__3; @@ -1265,6 +1295,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__1; lean_object* l_Lean_Parser_Tactic_locationHyp; lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__6; lean_object* l_Lean_Parser_Tactic_rw___closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__2; lean_object* l_Lean_Parser_Tactic_refine; @@ -1272,16 +1303,16 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__4; lean_object* l_Lean_Parser_Tactic_generalize___closed__14; lean_object* l_Lean_Parser_Tactic_introMatch; lean_object* l_Lean_Parser_Tactic_generalize___closed__5; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__5; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__11; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__6; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1; lean_object* l_Lean_Parser_Tactic_rwRule___closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7374____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__1; @@ -1291,7 +1322,8 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_7407____closed__5; lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__6; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__14; +lean_object* l_Lean_Parser_Tactic_erwSeq; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__4; lean_object* l_Lean_Parser_Tactic_letrec___closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__6; @@ -1299,18 +1331,19 @@ lean_object* l_Lean_Parser_Tactic_refine_x21___closed__3; lean_object* l_Lean_Parser_Tactic_intros___closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__8; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11662____boxed(lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__18; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__15; lean_object* l_Lean_Parser_Tactic_letrec___closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_5337____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__11; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__12; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__2; lean_object* l_Lean_Parser_Tactic_rwSeq___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__17; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__7; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__4; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__6; @@ -15284,6 +15317,162 @@ x_1 = l_Lean_Parser_Tactic_rewriteSeq___closed__5; return x_1; } } +static lean_object* _init_l_Lean_Parser_Tactic_erewrite___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("erewrite"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewrite___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_intro___closed__2; +x_2 = l_Lean_Parser_Tactic_erewrite___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewrite___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("erewrite "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewrite___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_erewrite___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewrite___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l_Lean_Parser_Tactic_erewrite___closed__4; +x_3 = l_Lean_Parser_Tactic_rwRule; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewrite___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l_Lean_Parser_Tactic_erewrite___closed__5; +x_3 = l_Lean_Parser_Tactic_change___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewrite___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_erewrite___closed__2; +x_2 = lean_unsigned_to_nat(1023u); +x_3 = l_Lean_Parser_Tactic_erewrite___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewrite() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_erewrite___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewriteSeq___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("erewriteSeq"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewriteSeq___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_intro___closed__2; +x_2 = l_Lean_Parser_Tactic_erewriteSeq___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewriteSeq___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l_Lean_Parser_Tactic_erewrite___closed__4; +x_3 = l_Lean_Parser_Tactic_rwRuleSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewriteSeq___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l_Lean_Parser_Tactic_erewriteSeq___closed__3; +x_3 = l_Lean_Parser_Tactic_change___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewriteSeq___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_erewriteSeq___closed__2; +x_2 = lean_unsigned_to_nat(1023u); +x_3 = l_Lean_Parser_Tactic_erewriteSeq___closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erewriteSeq() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_erewriteSeq___closed__5; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_Tactic_rw___closed__1() { _start: { @@ -15372,227 +15561,6 @@ x_1 = l_Lean_Parser_Tactic_rw___closed__7; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_rewrite___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic_rw___closed__2; -lean_inc(x_1); -x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_1); -x_6 = lean_box(1); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_3); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = l_Lean_Syntax_getArgs(x_1); -x_9 = lean_array_get_size(x_8); -lean_dec(x_8); -x_10 = lean_unsigned_to_nat(3u); -x_11 = lean_nat_dec_eq(x_9, x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -lean_dec(x_1); -x_12 = lean_box(1); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_3); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_14 = lean_unsigned_to_nat(1u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = l_Lean_Parser_Tactic_rwRule___closed__2; -lean_inc(x_15); -x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_15); -lean_dec(x_1); -x_18 = lean_box(1); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_3); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_48; uint8_t x_49; -x_20 = lean_unsigned_to_nat(2u); -x_21 = l_Lean_Syntax_getArg(x_1, x_20); -lean_dec(x_1); -x_48 = l_Lean_nullKind___closed__2; -lean_inc(x_21); -x_49 = l_Lean_Syntax_isOfKind(x_21, x_48); -if (x_49 == 0) -{ -lean_object* x_50; -x_50 = lean_box(0); -x_22 = x_50; -goto block_47; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_51 = l_Lean_Syntax_getArgs(x_21); -x_52 = lean_array_get_size(x_51); -lean_dec(x_51); -x_53 = lean_unsigned_to_nat(0u); -x_54 = lean_nat_dec_eq(x_52, x_53); -lean_dec(x_52); -if (x_54 == 0) -{ -lean_object* x_55; -x_55 = lean_box(0); -x_22 = x_55; -goto block_47; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -lean_dec(x_21); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__2; -x_57 = lean_array_push(x_56, x_15); -x_58 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -x_59 = lean_array_push(x_57, x_58); -x_60 = l_Lean_Parser_Tactic_rewrite___closed__2; -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_3); -return x_62; -} -} -block_47: -{ -lean_object* x_23; uint8_t x_24; -lean_dec(x_22); -x_23 = l_Lean_nullKind___closed__2; -lean_inc(x_21); -x_24 = l_Lean_Syntax_isOfKind(x_21, x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_21); -lean_dec(x_15); -x_25 = lean_box(1); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_3); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = l_Lean_Syntax_getArgs(x_21); -x_28 = lean_array_get_size(x_27); -lean_dec(x_27); -x_29 = lean_nat_dec_eq(x_28, x_14); -lean_dec(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_21); -lean_dec(x_15); -x_30 = lean_box(1); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_3); -return x_31; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_32 = lean_unsigned_to_nat(0u); -x_33 = l_Lean_Syntax_getArg(x_21, x_32); -lean_dec(x_21); -x_34 = l_Lean_Parser_Tactic_location___closed__2; -lean_inc(x_33); -x_35 = l_Lean_Syntax_isOfKind(x_33, x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -lean_dec(x_33); -lean_dec(x_15); -x_36 = lean_box(1); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_3); -return x_37; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__2; -x_39 = lean_array_push(x_38, x_15); -x_40 = l_Array_empty___closed__1; -x_41 = lean_array_push(x_40, x_33); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_23); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_array_push(x_39, x_42); -x_44 = l_Lean_Parser_Tactic_rewrite___closed__2; -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_3); -return x_46; -} -} -} -} -} -} -} -} -} -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636_(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} static lean_object* _init_l_Lean_Parser_Tactic_rwSeq___closed__1() { _start: { @@ -15661,201 +15629,266 @@ x_1 = l_Lean_Parser_Tactic_rwSeq___closed__5; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9926_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +static lean_object* _init_l_Lean_Parser_Tactic_erw___closed__1() { _start: { -lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic_rwSeq___closed__2; +lean_object* x_1; +x_1 = lean_mk_string("erw"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erw___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_intro___closed__2; +x_2 = l_Lean_Parser_Tactic_erw___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erw___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("erw "); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erw___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_erw___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erw___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l_Lean_Parser_Tactic_erw___closed__4; +x_3 = l_Lean_Parser_Tactic_rwRule; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erw___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l_Lean_Parser_Tactic_erw___closed__5; +x_3 = l_Lean_Parser_Tactic_change___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erw___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_erw___closed__2; +x_2 = lean_unsigned_to_nat(1023u); +x_3 = l_Lean_Parser_Tactic_erw___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erw() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_erw___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erwSeq___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("erwSeq"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erwSeq___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_intro___closed__2; +x_2 = l_Lean_Parser_Tactic_erwSeq___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erwSeq___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l_Lean_Parser_Tactic_erw___closed__4; +x_3 = l_Lean_Parser_Tactic_rwRuleSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erwSeq___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l_Lean_Parser_Tactic_erwSeq___closed__3; +x_3 = l_Lean_Parser_Tactic_change___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erwSeq___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_erwSeq___closed__2; +x_2 = lean_unsigned_to_nat(1023u); +x_3 = l_Lean_Parser_Tactic_erwSeq___closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_erwSeq() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_erwSeq___closed__5; +return x_1; +} +} +lean_object* l_Lean_Parser_Tactic_expandRw(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = l_Lean_Parser_Tactic_rewrite___closed__2; lean_inc(x_1); -x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; +x_5 = l_Lean_Syntax_setKind(x_1, x_4); +x_6 = l_Lean_Parser_Tactic_rewrite___closed__1; +x_7 = l_Lean_mkAtomFrom(x_1, x_6); lean_dec(x_1); -x_6 = lean_box(1); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_3); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = l_Lean_Syntax_getArgs(x_1); -x_9 = lean_array_get_size(x_8); -lean_dec(x_8); -x_10 = lean_unsigned_to_nat(3u); -x_11 = lean_nat_dec_eq(x_9, x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -lean_dec(x_1); -x_12 = lean_box(1); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_3); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_14 = lean_unsigned_to_nat(1u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = l_Lean_Parser_Tactic_rwRuleSeq___closed__2; -lean_inc(x_15); -x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_15); -lean_dec(x_1); -x_18 = lean_box(1); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_3); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_48; uint8_t x_49; -x_20 = lean_unsigned_to_nat(2u); -x_21 = l_Lean_Syntax_getArg(x_1, x_20); -lean_dec(x_1); -x_48 = l_Lean_nullKind___closed__2; -lean_inc(x_21); -x_49 = l_Lean_Syntax_isOfKind(x_21, x_48); -if (x_49 == 0) -{ -lean_object* x_50; -x_50 = lean_box(0); -x_22 = x_50; -goto block_47; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_51 = l_Lean_Syntax_getArgs(x_21); -x_52 = lean_array_get_size(x_51); -lean_dec(x_51); -x_53 = lean_unsigned_to_nat(0u); -x_54 = lean_nat_dec_eq(x_52, x_53); -lean_dec(x_52); -if (x_54 == 0) -{ -lean_object* x_55; -x_55 = lean_box(0); -x_22 = x_55; -goto block_47; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -lean_dec(x_21); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__2; -x_57 = lean_array_push(x_56, x_15); -x_58 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -x_59 = lean_array_push(x_57, x_58); -x_60 = l_Lean_Parser_Tactic_rewriteSeq___closed__2; -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_3); -return x_62; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_setArg(x_5, x_8, x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; } } -block_47: -{ -lean_object* x_23; uint8_t x_24; -lean_dec(x_22); -x_23 = l_Lean_nullKind___closed__2; -lean_inc(x_21); -x_24 = l_Lean_Syntax_isOfKind(x_21, x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -lean_dec(x_21); -lean_dec(x_15); -x_25 = lean_box(1); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_3); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = l_Lean_Syntax_getArgs(x_21); -x_28 = lean_array_get_size(x_27); -lean_dec(x_27); -x_29 = lean_nat_dec_eq(x_28, x_14); -lean_dec(x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_21); -lean_dec(x_15); -x_30 = lean_box(1); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_3); -return x_31; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_32 = lean_unsigned_to_nat(0u); -x_33 = l_Lean_Syntax_getArg(x_21, x_32); -lean_dec(x_21); -x_34 = l_Lean_Parser_Tactic_location___closed__2; -lean_inc(x_33); -x_35 = l_Lean_Syntax_isOfKind(x_33, x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -lean_dec(x_33); -lean_dec(x_15); -x_36 = lean_box(1); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_3); -return x_37; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__2; -x_39 = lean_array_push(x_38, x_15); -x_40 = l_Array_empty___closed__1; -x_41 = lean_array_push(x_40, x_33); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_23); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_array_push(x_39, x_42); -x_44 = l_Lean_Parser_Tactic_rewriteSeq___closed__2; -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_3); -return x_46; -} -} -} -} -} -} -} -} -} -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9926____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_expandRw___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9926_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_expandRw(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Parser_Tactic_expandRwSeq(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = l_Lean_Parser_Tactic_rewriteSeq___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_setKind(x_1, x_4); +x_6 = l_Lean_Parser_Tactic_rewrite___closed__1; +x_7 = l_Lean_mkAtomFrom(x_1, x_6); +lean_dec(x_1); +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_setArg(x_5, x_8, x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +} +lean_object* l_Lean_Parser_Tactic_expandRwSeq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Parser_Tactic_expandRwSeq(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Parser_Tactic_expandERw(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = l_Lean_Parser_Tactic_erewrite___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_setKind(x_1, x_4); +x_6 = l_Lean_Parser_Tactic_erewrite___closed__1; +x_7 = l_Lean_mkAtomFrom(x_1, x_6); +lean_dec(x_1); +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_setArg(x_5, x_8, x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +} +lean_object* l_Lean_Parser_Tactic_expandERw___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Parser_Tactic_expandERw(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l_Lean_Parser_Tactic_expandERwSeq(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = l_Lean_Parser_Tactic_erewriteSeq___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_setKind(x_1, x_4); +x_6 = l_Lean_Parser_Tactic_erewrite___closed__1; +x_7 = l_Lean_mkAtomFrom(x_1, x_6); +lean_dec(x_1); +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_setArg(x_5, x_8, x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +} +lean_object* l_Lean_Parser_Tactic_expandERwSeq___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Parser_Tactic_expandERwSeq(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -17920,7 +17953,7 @@ x_1 = l_Lean_Parser_Tactic_existsIntro___closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -17930,67 +17963,67 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__1; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__1; x_2 = l_Lean_Parser_Tactic_orelse___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__2; x_2 = l___private_Init_Prelude_0__Lean_eraseMacroScopesAux___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__3; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__3; x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__4; x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__5; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__5; x_2 = l_Lean_Name_hasMacroScopes___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__6; -x_2 = lean_unsigned_to_nat(10860u); +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; +x_2 = lean_unsigned_to_nat(10506u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8() { _start: { lean_object* x_1; @@ -17998,11 +18031,11 @@ x_1 = lean_mk_string("rfl"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__9() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__8; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18010,13 +18043,13 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__7; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__9; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__9; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18024,15 +18057,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860_() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506_() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__10; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__10; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__1() { _start: { lean_object* x_1; @@ -18040,17 +18073,17 @@ x_1 = lean_mk_string("seq1"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_intro___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -18062,32 +18095,32 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__8; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__8; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__5; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__5; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18095,45 +18128,45 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__8; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__7; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__8; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__7; +x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -18175,17 +18208,17 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_2, 1); lean_inc(x_15); lean_dec(x_2); -x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__7; +x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7; x_17 = l_Lean_addMacroScope(x_15, x_16, x_14); x_18 = l_Lean_instInhabitedSourceInfo___closed__1; -x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__6; -x_20 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__9; +x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__6; +x_20 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_18); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_17); lean_ctor_set(x_21, 3, x_20); -x_22 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__4; +x_22 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4; x_23 = lean_array_push(x_22, x_21); x_24 = l_Lean_Parser_Tactic_exact___closed__2; x_25 = lean_alloc_ctor(1, 2, 0); @@ -18198,7 +18231,7 @@ x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); x_30 = lean_array_push(x_26, x_29); -x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -18210,17 +18243,17 @@ return x_33; } } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__6; -x_2 = lean_unsigned_to_nat(11027u); +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; +x_2 = lean_unsigned_to_nat(10673u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2() { _start: { lean_object* x_1; @@ -18228,11 +18261,11 @@ x_1 = lean_mk_string("decide!"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18240,13 +18273,13 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__1; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__3; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__3; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18254,15 +18287,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027_() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673_() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__4; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1() { _start: { lean_object* x_1; @@ -18270,121 +18303,121 @@ x_1 = lean_mk_string("decide"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__2; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__4; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__4; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__5; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__5; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_exact___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__6; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__7; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__7; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_nullKind___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__8; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__9; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__9; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__11() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__10; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__10; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__1; +x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -18419,7 +18452,7 @@ return x_13; else { lean_object* x_14; lean_object* x_15; -x_14 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__11; +x_14 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__11; x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_3); @@ -18428,26 +18461,26 @@ return x_15; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__6; -x_2 = lean_unsigned_to_nat(11191u); +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; +x_2 = lean_unsigned_to_nat(10837u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2() { _start: { lean_object* x_1; @@ -18455,11 +18488,11 @@ x_1 = lean_mk_string("admit"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18467,13 +18500,13 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__1; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__3; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__3; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18481,15 +18514,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191_() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837_() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__4; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1() { _start: { lean_object* x_1; @@ -18497,121 +18530,121 @@ x_1 = lean_mk_string("sorry"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__4; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__4; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__5; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__5; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_exact___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__6; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__7; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__7; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_nullKind___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__8; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__9; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__9; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__11() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__10; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__10; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__1; +x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -18646,7 +18679,7 @@ return x_13; else { lean_object* x_14; lean_object* x_15; -x_14 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__11; +x_14 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__11; x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_3); @@ -18655,26 +18688,26 @@ return x_15; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__6; -x_2 = lean_unsigned_to_nat(11355u); +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; +x_2 = lean_unsigned_to_nat(11001u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__2() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; @@ -18686,12 +18719,12 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__2; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__2; x_3 = l___kind_term____x40_Init_Notation___hyg_5672____closed__4; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -18700,7 +18733,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4() { _start: { lean_object* x_1; @@ -18708,23 +18741,23 @@ x_1 = lean_mk_string(" := "); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__3; -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__5; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__3; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__5; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18732,12 +18765,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__6; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__6; x_3 = l___kind_term____x40_Init_Notation___hyg_5672____closed__9; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -18746,13 +18779,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__1; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1; x_2 = lean_unsigned_to_nat(1023u); -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__7; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__7; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18760,15 +18793,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355_() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001_() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__8; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__8; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -18780,17 +18813,17 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__1; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3() { _start: { lean_object* x_1; @@ -18798,17 +18831,17 @@ x_1 = lean_mk_string("haveAssign"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5() { _start: { lean_object* x_1; @@ -18816,33 +18849,33 @@ x_1 = lean_mk_string(":="); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__1; +x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -18890,13 +18923,13 @@ x_22 = l_Lean_nullKind___closed__2; x_23 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__2; +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; x_25 = lean_array_push(x_24, x_23); x_26 = l_myMacro____x40_Init_Notation___hyg_8168____closed__17; x_27 = lean_array_push(x_25, x_26); -x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_29 = lean_array_push(x_28, x_17); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); @@ -18910,7 +18943,7 @@ x_36 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_36, 0, x_22); lean_ctor_set(x_36, 1, x_35); x_37 = lean_array_push(x_18, x_36); -x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_39 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); @@ -18922,26 +18955,26 @@ return x_40; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__6; -x_2 = lean_unsigned_to_nat(11598u); +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; +x_2 = lean_unsigned_to_nat(11244u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__2() { _start: { lean_object* x_1; @@ -18949,11 +18982,11 @@ x_1 = lean_mk_string("repeat "); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__2; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18961,12 +18994,12 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__3; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__3; x_3 = l_Lean_Parser_Tactic_case___closed__11; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -18975,13 +19008,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__1; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1; x_2 = lean_unsigned_to_nat(1023u); -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__4; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__4; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18989,15 +19022,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598_() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244_() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__5; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__5; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -19007,7 +19040,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2() { _start: { lean_object* x_1; @@ -19015,17 +19048,17 @@ x_1 = lean_mk_string("tacticSeq1Indented"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_intro___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4() { _start: { lean_object* x_1; @@ -19033,41 +19066,41 @@ x_1 = lean_mk_string(";"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_nullKind___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__6; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__8() { _start: { lean_object* x_1; @@ -19075,29 +19108,29 @@ x_1 = lean_mk_string("repeat"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__8; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__8; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__9; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__9; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__11() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -19109,7 +19142,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__12() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -19121,33 +19154,33 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__13() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__12; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__12; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__14() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_skip___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__13; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__13; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__1; +x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -19185,7 +19218,7 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; x_14 = lean_unsigned_to_nat(1u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_dec(x_1); -x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_inc(x_15); x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); if (x_17 == 0) @@ -19237,14 +19270,14 @@ x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); x_36 = lean_array_push(x_27, x_35); -x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_38 = lean_array_push(x_36, x_37); x_39 = l_Lean_nullKind___closed__2; x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_38); x_41 = lean_array_push(x_27, x_40); -x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__10; +x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__10; x_43 = lean_array_push(x_42, x_29); x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_4); @@ -19260,7 +19293,7 @@ x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_39); lean_ctor_set(x_50, 1, x_49); x_51 = lean_array_push(x_27, x_50); -x_52 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3; +x_52 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); @@ -19274,9 +19307,9 @@ x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_34); lean_ctor_set(x_58, 1, x_57); x_59 = lean_array_push(x_27, x_58); -x_60 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__11; +x_60 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11; x_61 = lean_array_push(x_59, x_60); -x_62 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__14; +x_62 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14; x_63 = lean_array_push(x_61, x_62); x_64 = l_Lean_Parser_Tactic_orelse___closed__1; x_65 = lean_alloc_ctor(1, 2, 0); @@ -19292,26 +19325,26 @@ return x_66; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__6; -x_2 = lean_unsigned_to_nat(11975u); +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; +x_2 = lean_unsigned_to_nat(11621u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2() { _start: { lean_object* x_1; @@ -19319,11 +19352,11 @@ x_1 = lean_mk_string("try "); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -19331,12 +19364,12 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__3; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__3; x_3 = l_Lean_Parser_Tactic_case___closed__11; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -19345,13 +19378,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__1; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1; x_2 = lean_unsigned_to_nat(1023u); -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__4; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__4; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -19359,19 +19392,19 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975_() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621_() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__5; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__5; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_12016_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11662_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__1; +x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -19411,7 +19444,7 @@ x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_dec(x_1); x_16 = l_Array_empty___closed__1; x_17 = lean_array_push(x_16, x_15); -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; x_19 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); @@ -19424,9 +19457,9 @@ x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); x_26 = lean_array_push(x_16, x_25); -x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__11; +x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11; x_28 = lean_array_push(x_26, x_27); -x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__14; +x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14; x_30 = lean_array_push(x_28, x_29); x_31 = l_Lean_Parser_Tactic_orelse___closed__1; x_32 = lean_alloc_ctor(1, 2, 0); @@ -19438,7 +19471,7 @@ x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); x_36 = lean_array_push(x_16, x_35); -x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); @@ -19450,11 +19483,11 @@ return x_39; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_12016____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11662____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_12016_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11662_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -21294,6 +21327,34 @@ l_Lean_Parser_Tactic_rewriteSeq___closed__5 = _init_l_Lean_Parser_Tactic_rewrite lean_mark_persistent(l_Lean_Parser_Tactic_rewriteSeq___closed__5); l_Lean_Parser_Tactic_rewriteSeq = _init_l_Lean_Parser_Tactic_rewriteSeq(); lean_mark_persistent(l_Lean_Parser_Tactic_rewriteSeq); +l_Lean_Parser_Tactic_erewrite___closed__1 = _init_l_Lean_Parser_Tactic_erewrite___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewrite___closed__1); +l_Lean_Parser_Tactic_erewrite___closed__2 = _init_l_Lean_Parser_Tactic_erewrite___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewrite___closed__2); +l_Lean_Parser_Tactic_erewrite___closed__3 = _init_l_Lean_Parser_Tactic_erewrite___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewrite___closed__3); +l_Lean_Parser_Tactic_erewrite___closed__4 = _init_l_Lean_Parser_Tactic_erewrite___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewrite___closed__4); +l_Lean_Parser_Tactic_erewrite___closed__5 = _init_l_Lean_Parser_Tactic_erewrite___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewrite___closed__5); +l_Lean_Parser_Tactic_erewrite___closed__6 = _init_l_Lean_Parser_Tactic_erewrite___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewrite___closed__6); +l_Lean_Parser_Tactic_erewrite___closed__7 = _init_l_Lean_Parser_Tactic_erewrite___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewrite___closed__7); +l_Lean_Parser_Tactic_erewrite = _init_l_Lean_Parser_Tactic_erewrite(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewrite); +l_Lean_Parser_Tactic_erewriteSeq___closed__1 = _init_l_Lean_Parser_Tactic_erewriteSeq___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewriteSeq___closed__1); +l_Lean_Parser_Tactic_erewriteSeq___closed__2 = _init_l_Lean_Parser_Tactic_erewriteSeq___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewriteSeq___closed__2); +l_Lean_Parser_Tactic_erewriteSeq___closed__3 = _init_l_Lean_Parser_Tactic_erewriteSeq___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewriteSeq___closed__3); +l_Lean_Parser_Tactic_erewriteSeq___closed__4 = _init_l_Lean_Parser_Tactic_erewriteSeq___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewriteSeq___closed__4); +l_Lean_Parser_Tactic_erewriteSeq___closed__5 = _init_l_Lean_Parser_Tactic_erewriteSeq___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewriteSeq___closed__5); +l_Lean_Parser_Tactic_erewriteSeq = _init_l_Lean_Parser_Tactic_erewriteSeq(); +lean_mark_persistent(l_Lean_Parser_Tactic_erewriteSeq); l_Lean_Parser_Tactic_rw___closed__1 = _init_l_Lean_Parser_Tactic_rw___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_rw___closed__1); l_Lean_Parser_Tactic_rw___closed__2 = _init_l_Lean_Parser_Tactic_rw___closed__2(); @@ -21310,10 +21371,6 @@ l_Lean_Parser_Tactic_rw___closed__7 = _init_l_Lean_Parser_Tactic_rw___closed__7( lean_mark_persistent(l_Lean_Parser_Tactic_rw___closed__7); l_Lean_Parser_Tactic_rw = _init_l_Lean_Parser_Tactic_rw(); lean_mark_persistent(l_Lean_Parser_Tactic_rw); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_9636____closed__2); l_Lean_Parser_Tactic_rwSeq___closed__1 = _init_l_Lean_Parser_Tactic_rwSeq___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_rwSeq___closed__1); l_Lean_Parser_Tactic_rwSeq___closed__2 = _init_l_Lean_Parser_Tactic_rwSeq___closed__2(); @@ -21326,6 +21383,34 @@ l_Lean_Parser_Tactic_rwSeq___closed__5 = _init_l_Lean_Parser_Tactic_rwSeq___clos lean_mark_persistent(l_Lean_Parser_Tactic_rwSeq___closed__5); l_Lean_Parser_Tactic_rwSeq = _init_l_Lean_Parser_Tactic_rwSeq(); lean_mark_persistent(l_Lean_Parser_Tactic_rwSeq); +l_Lean_Parser_Tactic_erw___closed__1 = _init_l_Lean_Parser_Tactic_erw___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_erw___closed__1); +l_Lean_Parser_Tactic_erw___closed__2 = _init_l_Lean_Parser_Tactic_erw___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_erw___closed__2); +l_Lean_Parser_Tactic_erw___closed__3 = _init_l_Lean_Parser_Tactic_erw___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_erw___closed__3); +l_Lean_Parser_Tactic_erw___closed__4 = _init_l_Lean_Parser_Tactic_erw___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_erw___closed__4); +l_Lean_Parser_Tactic_erw___closed__5 = _init_l_Lean_Parser_Tactic_erw___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_erw___closed__5); +l_Lean_Parser_Tactic_erw___closed__6 = _init_l_Lean_Parser_Tactic_erw___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_erw___closed__6); +l_Lean_Parser_Tactic_erw___closed__7 = _init_l_Lean_Parser_Tactic_erw___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_erw___closed__7); +l_Lean_Parser_Tactic_erw = _init_l_Lean_Parser_Tactic_erw(); +lean_mark_persistent(l_Lean_Parser_Tactic_erw); +l_Lean_Parser_Tactic_erwSeq___closed__1 = _init_l_Lean_Parser_Tactic_erwSeq___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_erwSeq___closed__1); +l_Lean_Parser_Tactic_erwSeq___closed__2 = _init_l_Lean_Parser_Tactic_erwSeq___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_erwSeq___closed__2); +l_Lean_Parser_Tactic_erwSeq___closed__3 = _init_l_Lean_Parser_Tactic_erwSeq___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_erwSeq___closed__3); +l_Lean_Parser_Tactic_erwSeq___closed__4 = _init_l_Lean_Parser_Tactic_erwSeq___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_erwSeq___closed__4); +l_Lean_Parser_Tactic_erwSeq___closed__5 = _init_l_Lean_Parser_Tactic_erwSeq___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_erwSeq___closed__5); +l_Lean_Parser_Tactic_erwSeq = _init_l_Lean_Parser_Tactic_erwSeq(); +lean_mark_persistent(l_Lean_Parser_Tactic_erwSeq); l_Lean_Parser_Tactic_orelse___closed__1 = _init_l_Lean_Parser_Tactic_orelse___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_orelse___closed__1); l_Lean_Parser_Tactic_orelse___closed__2 = _init_l_Lean_Parser_Tactic_orelse___closed__2(); @@ -21704,194 +21789,194 @@ l_Lean_Parser_Tactic_existsIntro___closed__6 = _init_l_Lean_Parser_Tactic_exists lean_mark_persistent(l_Lean_Parser_Tactic_existsIntro___closed__6); l_Lean_Parser_Tactic_existsIntro = _init_l_Lean_Parser_Tactic_existsIntro(); lean_mark_persistent(l_Lean_Parser_Tactic_existsIntro); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__1); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__2); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__3); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__4); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__5); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__6 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__6); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__7 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__7); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__8 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__8); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__9 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__9); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__10 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860____closed__10); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860_(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10860_); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__8); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__9); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__1); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__2); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__3); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__4); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027_(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027_); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__8); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__9); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__10 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__10); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__11 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__11(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__11); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__1); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__2); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__3); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__4); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191_(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191_); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__8); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__9); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__10 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__10); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__11 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__11(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__11); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__1); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__2); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__3); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__5); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__6 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__6); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__7 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__7); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__8 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__8); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355_(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355_); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__1); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__2); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__3); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__4); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598____closed__5); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598_(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11598_); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__8); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__9); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__10 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__10); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__11 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__11(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__11); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__12 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__12(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__12); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__13 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__13(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__13); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__14 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__14(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__14); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__1); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__2); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__3); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__4); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__5); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975_(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975_); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__1); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__2); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__3); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__4); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__5); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__9 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__9); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__10 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__10); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506_(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506_); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__9); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__3); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__4); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673_(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673_); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__9); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__10 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__10); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__11 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__11); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__3); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__4); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837_(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837_); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__9); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__10 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__10); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__11 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__11); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__2); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__3); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__5); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__6 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__6); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__7 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__7); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__8 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__8); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001_(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001_); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__2); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__3); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__4); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__5); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244_(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244_); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__9); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__10 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__10); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__12 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__12(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__12); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__13 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__13(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__13); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__3); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__4); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__5); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621_(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621_); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/NotationExtra.c b/stage0/stdlib/Init/NotationExtra.c index 35256cddc5..1a2f20ca23 100644 --- a/stage0/stdlib/Init/NotationExtra.c +++ b/stage0/stdlib/Init/NotationExtra.c @@ -16,6 +16,7 @@ extern "C" { extern lean_object* l_Lean_Parser_Tactic_orelse___closed__4; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_901____closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__6; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1627____closed__11; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5; @@ -82,7 +83,6 @@ lean_object* l_Lean_expandBrackedBindersAux___boxed(lean_object*, lean_object*, lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1627____closed__10; lean_object* l_Lean_binderIdent; lean_object* l_Lean_expandBrackedBinders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_1583____closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1469____closed__3; @@ -151,6 +151,7 @@ lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1231_; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1107_; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983_; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1231____closed__4; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2; @@ -217,7 +218,6 @@ lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1627____closed__8; lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_1583____closed__11; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1355____closed__4; lean_object* l_Lean_unbracktedExplicitBinders___closed__2; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1627____closed__4; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1355____closed__2; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1355____closed__1; @@ -2588,7 +2588,7 @@ lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); x_31 = l_Array_empty___closed__1; x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; x_34 = lean_array_push(x_32, x_33); x_35 = l_Lean_instInhabitedSyntax; x_36 = lean_unsigned_to_nat(0u); @@ -2625,7 +2625,7 @@ x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_39); lean_ctor_set(x_56, 1, x_55); x_57 = lean_array_push(x_31, x_56); -x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); @@ -2660,7 +2660,7 @@ lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); x_73 = l_Array_empty___closed__1; x_74 = lean_array_push(x_73, x_72); -x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; +x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; x_76 = lean_array_push(x_74, x_75); x_77 = l_Lean_instInhabitedSyntax; x_78 = lean_unsigned_to_nat(0u); @@ -2682,7 +2682,7 @@ x_88 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_88, 0, x_81); lean_ctor_set(x_88, 1, x_87); x_89 = lean_array_push(x_73, x_88); -x_90 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_90 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); diff --git a/stage0/stdlib/Init/Prelude.c b/stage0/stdlib/Init/Prelude.c index ddf81099f7..7b1d6451df 100644 --- a/stage0/stdlib/Init/Prelude.c +++ b/stage0/stdlib/Init/Prelude.c @@ -17,6 +17,7 @@ lean_object* lean_string_data(lean_object*); lean_object* l_idRhs(lean_object*); lean_object* l_EStateM_run___rarg(lean_object*, lean_object*); lean_object* l_String_csize(uint32_t); +lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_tryCatch_match__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_instMonadRefMacroM___closed__2; lean_object* l_getThe(lean_object*, lean_object*); @@ -79,6 +80,7 @@ lean_object* l_instDecidableEqChar_match__1___boxed(lean_object*, lean_object*, lean_object* l_List_hasDecEq_match__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instMonadQuotation___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Nat_beq___boxed(lean_object*, lean_object*); +lean_object* l_Array_set___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind_match__1(lean_object*); lean_object* l_UInt64_size___closed__1; lean_object* l_idRhs___rarg___boxed(lean_object*); @@ -182,12 +184,14 @@ lean_object* l_instHasLessFin(lean_object*); lean_object* l_Applicative_seqRight___default___rarg___closed__1; lean_object* l_instDecidableEqFin_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Macro_instMonadQuotationMacroM; +lean_object* l_Lean_Syntax_getNumArgs___boxed(lean_object*); lean_object* l_cond_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_readThe___rarg___boxed(lean_object*); lean_object* l_Lean_Macro_Context_currRecDepth___default; lean_object* l_EStateM_instMonadStateOfEStateM___closed__1; lean_object* l_Applicative_seqRight___default(lean_object*); lean_object* l_EStateM_adaptExcept(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_setArg_match__1(lean_object*); lean_object* l_instDecidableEqBool_match__1(lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); @@ -289,6 +293,7 @@ lean_object* l_EStateM_adaptExcept_match__1___rarg(lean_object*, lean_object*, l lean_object* l_Lean_MacroScopesView_review_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_ite(lean_object*, lean_object*); lean_object* l_Lean_numLitKind; +lean_object* l_List_set_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_tryCatch_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_run_x27___rarg(lean_object*, lean_object*); lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); @@ -318,6 +323,7 @@ lean_object* l_modify(lean_object*, lean_object*); lean_object* l_UInt8_val___boxed(lean_object*); lean_object* l_Lean_Macro_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); +lean_object* l_Lean_Syntax_getNumArgs_match__1(lean_object*); lean_object* l_String_decEq_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_withIncRecDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_hash_match__1(lean_object*); @@ -335,6 +341,7 @@ size_t l_instInhabitedUSize; lean_object* l_UInt64_mk___boxed(lean_object*); uint8_t l_instDecidableAnd___rarg(uint8_t, uint8_t); lean_object* l_inferInstanceAs___rarg___boxed(lean_object*); +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadFunctorReaderT___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instDecidableEqList(lean_object*); lean_object* l_Lean_Syntax_getArgs___boxed(lean_object*); @@ -354,6 +361,7 @@ lean_object* l_Lean_Macro_throwError(lean_object*); lean_object* l_Lean_Macro_instMonadQuotationMacroM___lambda__1(lean_object*, lean_object*); uint8_t lean_uint8_of_nat(lean_object*); lean_object* l_Lean_Syntax_getPos___boxed(lean_object*); +lean_object* l_List_set(lean_object*); lean_object* l_instPowNatNat; lean_object* l_Lean_Syntax_getArg_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_List_hasDecEq___rarg(lean_object*, lean_object*, lean_object*); @@ -362,6 +370,7 @@ lean_object* l_Lean_MonadQuotation_addMacroScope___rarg___lambda__2(lean_object* lean_object* l___private_Init_Prelude_0__Lean_extractMainModule_match__1(lean_object*); lean_object* l_EStateM_bind_match__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_strLitKind___closed__2; +lean_object* l_Lean_Syntax_setArgs(lean_object*, lean_object*); lean_object* l_Lean_Name_simpMacroScopes_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_instDecidableOr_match__3___rarg___boxed(lean_object*, lean_object*, lean_object*); size_t l_Lean_Name_hash(lean_object*); @@ -441,6 +450,7 @@ lean_object* l_instMonadReaderOfReaderT(lean_object*, lean_object*); lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_firstFrontendMacroScope; lean_object* l_typedExpr(lean_object*); +lean_object* l_List_set___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_instMonadEStateM___closed__1; lean_object* l_Array_appendCore_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instDecidableOr(lean_object*, lean_object*); @@ -466,6 +476,7 @@ lean_object* l_ReaderT_instMonadLiftReaderT___rarg(lean_object*, lean_object*); lean_object* l_instMonadFunctorT___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ite___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_namedPattern___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_setArgs_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_or(uint8_t, uint8_t); lean_object* l_instInhabitedExcept(lean_object*, lean_object*); lean_object* l_Monad_map___default(lean_object*); @@ -512,18 +523,21 @@ lean_object* l_Array_data___boxed(lean_object*, lean_object*); lean_object* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*); lean_object* l_inferInstanceAs___rarg(lean_object*); lean_object* l_Lean_Name_eraseMacroScopes_match__1___rarg(uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom_match__1(lean_object*); lean_object* l_Lean_replaceRef___boxed(lean_object*, lean_object*); lean_object* l_Lean_extractMacroScopes_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_read(lean_object*, lean_object*); lean_object* l_instDecidableEqFin_match__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHeadInfo_loop(lean_object*, lean_object*); lean_object* l_Eq_ndrec___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l_and___boxed(lean_object*, lean_object*); lean_object* l_instMonadReaderOf(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_seqRight(lean_object*, lean_object*, lean_object*); lean_object* l_Eq_ndrec(lean_object*, lean_object*, lean_object*); lean_object* l_instHasLessEqNat; lean_object* l_EStateM_throw___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_setArg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_identKind; lean_object* l_Lean_Name_beq_match__1(lean_object*); @@ -549,11 +563,13 @@ lean_object* l_Lean_Syntax_getArg_match__1(lean_object*); lean_object* l_Lean_Macro_instMonadQuotationMacroM___closed__3; lean_object* l_Fin_decLt(lean_object*); lean_object* l_tryCatchThe___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l_instMonadWithReader(lean_object*, lean_object*); lean_object* l_EStateM_instMonadEStateM___closed__3; lean_object* l_Lean_Macro_throwError___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_inferInstanceAs(lean_object*); lean_object* l_instDecidableNot_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_Monad_seqRight___default___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_list_to_array(lean_object*); lean_object* l_instDecidableLessEq___boxed(lean_object*, lean_object*); @@ -580,6 +596,7 @@ lean_object* l_instInhabitedPointedType; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Applicative_map___default(lean_object*); +lean_object* l_List_set_match__1(lean_object*, lean_object*); lean_object* l_instDecidableEqList___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); @@ -674,6 +691,7 @@ lean_object* l_and_match__1(lean_object*); lean_object* l_Lean_Macro_expandMacro_x3fImp(lean_object*, lean_object*, lean_object*); lean_object* l_and_match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*); lean_object* l_EStateM_instInhabitedResult(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_setArgs_match__1(lean_object*); lean_object* l_List_hasDecEq_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_getOp___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_uint8_of_nat(lean_object*); @@ -747,6 +765,7 @@ lean_object* l_dite___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* lean_system_platform_nbits(lean_object*); lean_object* l_instMonadState___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom___boxed(lean_object*, lean_object*); lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); lean_object* l_Array_appendCore_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_throw(lean_object*, lean_object*, lean_object*); @@ -757,6 +776,7 @@ uint16_t l_instInhabitedUInt16; lean_object* l_ReaderT_pure(lean_object*, lean_object*); lean_object* lean_uint16_to_nat(uint16_t); lean_object* l_List_get_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHeadInfo_loop___boxed(lean_object*, lean_object*); uint16_t lean_uint16_of_nat(lean_object*); lean_object* l_instInhabitedDepArrow(lean_object*, lean_object*); @@ -782,6 +802,7 @@ lean_object* l_Monad_seqRight___default(lean_object*); lean_object* l_USize_ofNat32___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_hash___boxed(lean_object*); lean_object* l_Lean_defaultMaxRecDepth; +lean_object* l_Lean_Syntax_setArg_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Applicative_seqLeft___default___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Prelude_0__Lean_eraseMacroScopesAux___closed__1; lean_object* l___private_Init_Prelude_0__Lean_extractImported_match__1___rarg(uint8_t, lean_object*, lean_object*); @@ -809,6 +830,7 @@ lean_object* l___private_Init_Prelude_0__Lean_extractMainModule_match__1___rarg( lean_object* l_List_hasDecEq___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_instDecidableOr___rarg___boxed(lean_object*, lean_object*); lean_object* lean_string_mk(lean_object*); +lean_object* l_Lean_Syntax_getNumArgs_match__1___rarg(lean_object*, lean_object*, lean_object*); size_t lean_string_hash(lean_object*); lean_object* l_EStateM_orElse___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHasLessFin___boxed(lean_object*); @@ -816,6 +838,8 @@ lean_object* l___private_Init_Prelude_0__Lean_extractImported(lean_object*, lean lean_object* l_Lean_addMacroScope_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_trailing___default; lean_object* l_Lean_interpolatedStrLitKind; +lean_object* l_Array_set_x21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_set___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append___boxed(lean_object*, lean_object*); lean_object* l_cast___rarg(lean_object*); lean_object* l_instMonadWithReaderOfReaderT(lean_object*, lean_object*, lean_object*, lean_object*); @@ -3689,6 +3713,147 @@ x_3 = lean_alloc_closure((void*)(l_List_foldl___rarg), 3, 0); return x_3; } } +lean_object* l_List_set_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_7; +lean_dec(x_5); +lean_dec(x_4); +x_7 = lean_apply_2(x_6, x_2, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_dec(x_6); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_eq(x_2, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_4); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_sub(x_2, x_12); +lean_dec(x_2); +x_14 = lean_apply_4(x_5, x_8, x_9, x_13, x_3); +return x_14; +} +else +{ +lean_object* x_15; +lean_dec(x_5); +lean_dec(x_2); +x_15 = lean_apply_3(x_4, x_8, x_9, x_3); +return x_15; +} +} +} +} +lean_object* l_List_set_match__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_List_set_match__1___rarg), 6, 0); +return x_3; +} +} +lean_object* l_List_set___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_3); +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_1, 1); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_2, x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_sub(x_2, x_10); +x_12 = l_List_set___rarg(x_7, x_11, x_3); +lean_dec(x_11); +lean_ctor_set(x_1, 1, x_12); +return x_1; +} +else +{ +lean_dec(x_6); +lean_ctor_set(x_1, 0, x_3); +return x_1; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_1); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_nat_dec_eq(x_2, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_2, x_17); +x_19 = l_List_set___rarg(x_14, x_18, x_3); +lean_dec(x_18); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +else +{ +lean_object* x_21; +lean_dec(x_13); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_3); +lean_ctor_set(x_21, 1, x_14); +return x_21; +} +} +} +} +} +lean_object* l_List_set(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_List_set___rarg___boxed), 3, 0); +return x_2; +} +} +lean_object* l_List_set___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_set___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} lean_object* l_List_lengthAux_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -4279,6 +4444,24 @@ x_4 = lean_array_push(x_2, x_3); return x_4; } } +lean_object* l_Array_set___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_array_fset(x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Array_set_x21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_array_set(x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} lean_object* l_Array_appendCore_loop_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -8206,6 +8389,209 @@ lean_dec(x_1); return x_2; } } +lean_object* l_Lean_Syntax_getNumArgs_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_2(x_2, x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_2); +x_7 = lean_apply_1(x_3, x_1); +return x_7; +} +} +} +lean_object* l_Lean_Syntax_getNumArgs_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_getNumArgs_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_getNumArgs(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 1); +x_3 = lean_array_get_size(x_2); +return x_3; +} +else +{ +lean_object* x_4; +x_4 = lean_unsigned_to_nat(0u); +return x_4; +} +} +} +lean_object* l_Lean_Syntax_getNumArgs___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Syntax_getNumArgs(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Syntax_setArgs_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_2(x_2, x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_2); +x_7 = lean_apply_1(x_3, x_1); +return x_7; +} +} +} +lean_object* l_Lean_Syntax_setArgs_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_setArgs_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_setArgs(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 1); +lean_dec(x_4); +lean_ctor_set(x_1, 1, x_2); +return x_1; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_2); +return x_6; +} +} +else +{ +lean_dec(x_2); +return x_1; +} +} +} +lean_object* l_Lean_Syntax_setArg_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_2(x_2, x_4, x_5); +return x_6; +} +else +{ +lean_object* x_7; +lean_dec(x_2); +x_7 = lean_apply_1(x_3, x_1); +return x_7; +} +} +} +lean_object* l_Lean_Syntax_setArg_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_setArg_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Syntax_setArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_array_set(x_5, x_2, x_3); +lean_ctor_set(x_1, 1, x_6); +return x_1; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_inc(x_7); +lean_dec(x_1); +x_9 = lean_array_set(x_8, x_2, x_3); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_7); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +else +{ +lean_dec(x_3); +return x_1; +} +} +} +lean_object* l_Lean_Syntax_setArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Syntax_setArg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} lean_object* l_Lean_Syntax_getHeadInfo_loop_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -8510,6 +8896,73 @@ lean_dec(x_1); return x_2; } } +lean_object* l_Lean_mkAtomFrom_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_mkAtomFrom_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_mkAtomFrom_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_mkAtomFrom(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Syntax_getHeadInfo(x_1); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Lean_instInhabitedSourceInfo___closed__1; +x_5 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_2); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +lean_dec(x_3); +x_7 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_2); +return x_7; +} +} +} +lean_object* l_Lean_mkAtomFrom___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_mkAtomFrom(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} static lean_object* _init_l_Lean_instInhabitedParserDescr___closed__1() { _start: { diff --git a/stage0/stdlib/Lean/Compiler/IR/Basic.c b/stage0/stdlib/Lean/Compiler/IR/Basic.c index 4430ff77ce..68d8096047 100644 --- a/stage0/stdlib/Lean/Compiler/IR/Basic.c +++ b/stage0/stdlib/Lean/Compiler/IR/Basic.c @@ -4063,7 +4063,7 @@ x_13 = l_Array_swapAt_x21___rarg___closed__2; x_14 = lean_string_append(x_12, x_13); x_15 = l_Array_swapAt_x21___rarg___closed__3; x_16 = l_Array_swapAt_x21___rarg___closed__4; -x_17 = lean_unsigned_to_nat(103u); +x_17 = lean_unsigned_to_nat(93u); x_18 = lean_unsigned_to_nat(4u); x_19 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_15, x_16, x_17, x_18, x_14); lean_dec(x_14); diff --git a/stage0/stdlib/Lean/Compiler/IR/EmitC.c b/stage0/stdlib/Lean/Compiler/IR/EmitC.c index 72e8505b66..6d4961e28b 100644 --- a/stage0/stdlib/Lean/Compiler/IR/EmitC.c +++ b/stage0/stdlib/Lean/Compiler/IR/EmitC.c @@ -122,7 +122,6 @@ lean_object* l_Lean_IR_EmitC_emitDeclAux___lambda__2___closed__1; lean_object* l_Lean_IR_EmitC_emitBoxFn_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandExternPattern(lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_emitDel(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; lean_object* l_Lean_IR_EmitC_emitFullApp_match__1(lean_object*); extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; extern lean_object* l_Lean_closureMaxArgs; @@ -490,6 +489,7 @@ lean_object* l_List_forM___at_Lean_IR_EmitC_emitFns___spec__1(lean_object*, lean lean_object* l_Lean_IR_emitC_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isIOUnitInitFn(lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__2___closed__27; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; lean_object* l_Lean_getExternEntryFor(lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_emitNumLit___closed__1; lean_object* l_Lean_IR_EmitC_emitSSet___closed__5; @@ -2281,7 +2281,7 @@ lean_object* l_Lean_IR_EmitC_emitFnDeclAux___lambda__1(lean_object* x_1, lean_ob _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_5 = lean_string_append(x_3, x_4); x_6 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_7 = lean_string_append(x_5, x_6); @@ -6079,7 +6079,7 @@ x_24 = l_Lean_IR_EmitC_emitArg(x_16, x_5, x_23); x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); -x_26 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_26 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_27 = lean_string_append(x_25, x_26); x_28 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_29 = lean_string_append(x_27, x_28); @@ -6130,7 +6130,7 @@ x_16 = lean_string_append(x_15, x_14); lean_dec(x_14); x_17 = lean_string_append(x_13, x_16); lean_dec(x_16); -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_19 = lean_string_append(x_17, x_18); x_20 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_21 = lean_string_append(x_19, x_20); @@ -6153,7 +6153,7 @@ x_28 = lean_string_append(x_27, x_26); lean_dec(x_26); x_29 = lean_string_append(x_25, x_28); lean_dec(x_28); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_31 = lean_string_append(x_29, x_30); x_32 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_33 = lean_string_append(x_31, x_32); @@ -6989,7 +6989,7 @@ x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); x_22 = lean_string_append(x_21, x_10); -x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_24 = lean_string_append(x_22, x_23); x_25 = lean_string_append(x_24, x_14); x_26 = l_Lean_IR_EmitC_emitMainFn___lambda__1___closed__4; @@ -7128,7 +7128,7 @@ lean_inc(x_29); lean_dec(x_28); x_30 = lean_string_append(x_29, x_12); lean_dec(x_12); -x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_32 = lean_string_append(x_30, x_31); x_33 = lean_string_append(x_32, x_16); if (x_4 == 0) @@ -8049,7 +8049,7 @@ x_26 = l_Lean_expandExternPattern(x_24, x_25); lean_dec(x_25); x_27 = lean_string_append(x_6, x_26); lean_dec(x_26); -x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_29 = lean_string_append(x_27, x_28); x_30 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_31 = lean_string_append(x_29, x_30); @@ -9558,7 +9558,7 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean x_11 = lean_ctor_get(x_9, 1); x_12 = lean_ctor_get(x_9, 0); lean_dec(x_12); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_14 = lean_string_append(x_11, x_13); x_15 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_16 = lean_string_append(x_14, x_15); @@ -9573,7 +9573,7 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean x_18 = lean_ctor_get(x_9, 1); lean_inc(x_18); lean_dec(x_9); -x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_20 = lean_string_append(x_18, x_19); x_21 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_22 = lean_string_append(x_20, x_21); @@ -10591,7 +10591,7 @@ x_25 = l_Lean_IR_EmitC_emitArg(x_16, x_5, x_24); x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_28 = lean_string_append(x_26, x_27); x_29 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_30 = lean_string_append(x_28, x_29); @@ -10668,7 +10668,7 @@ x_27 = l_Lean_IR_EmitC_emitArg(x_16, x_5, x_26); x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_30 = lean_string_append(x_28, x_29); x_31 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_32 = lean_string_append(x_30, x_31); @@ -10743,7 +10743,7 @@ x_24 = lean_string_append(x_22, x_23); x_25 = l_Nat_repr(x_12); x_26 = lean_string_append(x_24, x_25); lean_dec(x_25); -x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_28 = lean_string_append(x_26, x_27); x_29 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_30 = lean_string_append(x_28, x_29); @@ -12172,7 +12172,7 @@ lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lea x_97 = lean_ctor_get(x_95, 1); x_98 = lean_ctor_get(x_95, 0); lean_dec(x_98); -x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_100 = lean_string_append(x_97, x_99); x_101 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_102 = lean_string_append(x_100, x_101); @@ -12187,7 +12187,7 @@ lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; x_104 = lean_ctor_get(x_95, 1); lean_inc(x_104); lean_dec(x_95); -x_105 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_105 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_106 = lean_string_append(x_104, x_105); x_107 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_108 = lean_string_append(x_106, x_107); diff --git a/stage0/stdlib/Lean/Compiler/IR/Format.c b/stage0/stdlib/Lean/Compiler/IR/Format.c index 4454371402..c5d93625c7 100644 --- a/stage0/stdlib/Lean/Compiler/IR/Format.c +++ b/stage0/stdlib/Lean/Compiler/IR/Format.c @@ -51,7 +51,6 @@ lean_object* l_Lean_IR_formatFnBodyHead___closed__24; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22; lean_object* l_Lean_IR_instToStringIRType___closed__1; lean_object* l_Lean_IR_formatFnBody_loop(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__5; @@ -186,6 +185,7 @@ lean_object* l_Lean_IR_formatFnBodyHead___closed__5; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15; lean_object* l_Lean_IR_formatFnBodyHead___closed__30; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_formatFnBodyHead___closed__28; extern lean_object* l_Lean_Format_paren___closed__4; @@ -4454,7 +4454,7 @@ static lean_object* _init_l_Lean_IR_formatFnBody_loop___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Data/Format.c b/stage0/stdlib/Lean/Data/Format.c index 5e8654e153..e7c2b8d7d6 100644 --- a/stage0/stdlib/Lean/Data/Format.c +++ b/stage0/stdlib/Lean/Data/Format.c @@ -230,6 +230,7 @@ lean_object* l_Lean_List_format_match__1___rarg(lean_object*, lean_object*, lean lean_object* l_Lean_Format_paren___closed__4; lean_object* l_Lean_Format_initFn____x40_Lean_Data_Format___hyg_974____closed__5; lean_object* l_Lean_Format_getWidth___closed__4; +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; lean_object* l_Lean_instReprFormat___closed__1; lean_object* l_Lean_Format_instInhabitedFormat; lean_object* l_Lean_Format_instAppendFormat(lean_object*, lean_object*); @@ -278,7 +279,6 @@ lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_Format_sbracket(lean_object*); lean_object* l___private_Lean_Data_Format_0__Lean_Format_spaceUptoLine_x27_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Format_0__Lean_Format_be_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; lean_object* l_Lean_Format_repr___closed__1; lean_object* l___private_Lean_Data_Format_0__Lean_Format_be(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Format_getIndent___closed__2; @@ -6227,7 +6227,7 @@ static lean_object* _init_l_Lean_formatEntry___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Data/FormatMacro.c b/stage0/stdlib/Lean/Data/FormatMacro.c index 278fb3b049..707853e838 100644 --- a/stage0/stdlib/Lean/Data/FormatMacro.c +++ b/stage0/stdlib/Lean/Data/FormatMacro.c @@ -15,6 +15,7 @@ extern "C" { #endif lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__1; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__12; +extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__1; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__2; lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__14; @@ -30,7 +31,6 @@ lean_object* l_Lean_myMacro____x40_Lean_Data_FormatMacro___hyg_44____closed__3; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__7; extern lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__11; -extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__1; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3_; lean_object* l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__10; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -107,7 +107,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean___kind_term____x40_Lean_Data_FormatMacro___hyg_3____closed__4; -x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__1; +x_2 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Delaborator.c b/stage0/stdlib/Lean/Delaborator.c index a94bd95c41..bb46e7bfe7 100644 --- a/stage0/stdlib/Lean/Delaborator.c +++ b/stage0/stdlib/Lean/Delaborator.c @@ -22,6 +22,7 @@ lean_object* l_Lean_Delaborator_delabBAnd___lambda__1(uint8_t, lean_object*, lea extern lean_object* l_Lean_Expr_ctorName___closed__7; extern lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__1; lean_object* l_Lean_Delaborator_delabseqRight___closed__1; +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Lean_Delaborator_delabDoElems___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__3; @@ -39,6 +40,7 @@ size_t l_USize_add(size_t, size_t); extern lean_object* l_Lean_fieldIdxKind; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabBind___closed__2; +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__4; lean_object* l_Lean_Delaborator_delabFComp___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__1; lean_object* l_Lean_Delaborator_delabMapRev___closed__1; @@ -167,7 +169,6 @@ lean_object* l_Lean_Delaborator_delabStructureInstance___lambda__1___boxed(lean_ lean_object* l_Lean_Delaborator_delabStructureInstance_match__3(lean_object*); lean_object* l_Lean_Delaborator_getExprKind___closed__1; lean_object* l_Lean_Delaborator_getExprKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__7; extern lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__1; lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__2; lean_object* l_Lean_getPPStructureProjections___closed__1; @@ -215,7 +216,6 @@ lean_object* l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___ lean_object* l_Lean_Delaborator_delabAnd___lambda__1___closed__2; lean_object* l_Lean_Level_quote___lambda__6___closed__1; extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__2; -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__4; lean_object* l_Lean_Delaborator_delabFComp___lambda__1___closed__1; lean_object* l_Lean_Delaborator_withAppArg(lean_object*); lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -242,7 +242,6 @@ lean_object* l_Lean_Delaborator_delabConsList___closed__2; lean_object* l_Lean_Delaborator_delabAnd___lambda__1___closed__4; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabBind___closed__1; -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; lean_object* l_Lean_Delaborator_withMDataExpr_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_private_to_user_name(lean_object*); lean_object* l_Lean_Level_quote___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -502,6 +501,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__4; lean_object* l_Lean_Delaborator_delabFVar_match__1(lean_object*); lean_object* l_Lean_Delaborator_getExprKind_match__3(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7; +extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__7; lean_object* l_Lean_Delaborator_delabOrM___lambda__1___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabBAnd___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabDo(lean_object*); @@ -512,6 +512,7 @@ lean_object* l_Lean_Delaborator_delabAppMatch___lambda__2___closed__1; lean_object* l_Lean_Level_quote___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabBNe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___closed__2; +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; lean_object* l_Lean_Delaborator_delabSort___closed__10; lean_object* l___regBuiltin_Lean_Delaborator_delabCons(lean_object*); lean_object* l_Lean_Delaborator_delabBOr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -696,7 +697,6 @@ extern lean_object* l_myMacro____x40_Init_Control_Basic___hyg_807____closed__1; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Delaborator_withBindingBody___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_headD___rarg(lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x3f___at_Lean_Delaborator_delabFor___spec__1(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__11; extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__5; lean_object* l_Lean_Level_quote___lambda__2___closed__1; lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Delaborator_delabForall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -754,6 +754,7 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__1; lean_object* l_Lean_Delaborator_delabEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11; lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_dbg_to_string(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabOrElse___closed__1; @@ -772,6 +773,7 @@ lean_object* l_Lean_Delaborator_delabBVar_match__1(lean_object*); lean_object* l_Lean_Level_quote___lambda__9(lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__12; lean_object* l_Lean_getPPStructureInstances___closed__2; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l_Lean_Delaborator_withProj___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; lean_object* l_Lean_Delaborator_instAlternativeDelabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -780,7 +782,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l_Lean_Delaborator_delabGT___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_getPPPrivateNames(lean_object*); size_t lean_usize_modn(size_t, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; lean_object* l_Lean_Delaborator_delabProjectionApp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabDoElems___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabDo___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -879,7 +880,6 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabOrM___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabBNot___closed__1; lean_object* l_Lean_Delaborator_delabProj_match__1(lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__1; -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; lean_object* l_Array_mapMUnsafe_map___at_Lean_Delaborator_delabAppMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__6; lean_object* l_Lean_Delaborator_delabOfNat___closed__1; @@ -1095,6 +1095,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__16; lean_object* l_Lean_Delaborator_withAppFnArgs_match__2(lean_object*, lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; lean_object* l___regBuiltin_Lean_Delaborator_delabGT___closed__1; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_object* l_Lean_Delaborator_delabStructureInstance_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Level_quote___lambda__1(lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_hasIdent___spec__1(lean_object*, lean_object*, size_t, size_t); @@ -1248,6 +1249,7 @@ lean_object* l_Lean_Delaborator_delabSort___closed__8; lean_object* l_Lean_Delaborator_delabAndThen___lambda__1___closed__1; lean_object* l_Lean_delab___closed__4; lean_object* l_Lean_Level_quote___closed__5; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l_Lean_Delaborator_delabProj___closed__4; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabIff(lean_object*); @@ -1281,7 +1283,6 @@ extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; extern lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__1; lean_object* l_Lean_Delaborator_delabConsList___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabConst___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; lean_object* l_Lean_Delaborator_delabBNot___lambda__1___closed__1; lean_object* l_Lean_Delaborator_withBindingBody(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -1321,7 +1322,6 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabMap___closed__2; lean_object* l_Lean_Delaborator_delabLT(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_withAppArg___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabBEq___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; lean_object* l_Lean_Delaborator_delabEquiv___lambda__1___closed__1; lean_object* l_Lean_Delaborator_delabLam___lambda__3___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabseqRight___closed__3; @@ -23360,10 +23360,10 @@ x_89 = l_Lean_nullKind___closed__2; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); -x_91 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_91 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_92 = lean_array_push(x_91, x_90); x_93 = lean_array_push(x_92, x_14); -x_94 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_94 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_95 = lean_array_push(x_93, x_94); x_96 = l_Lean_Delaborator_delabLam___lambda__3___closed__4; x_97 = lean_alloc_ctor(1, 2, 0); @@ -23751,10 +23751,10 @@ x_190 = l_Lean_nullKind___closed__2; x_191 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_191, 0, x_190); lean_ctor_set(x_191, 1, x_189); -x_192 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_192 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_193 = lean_array_push(x_192, x_191); x_194 = lean_array_push(x_193, x_14); -x_195 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_195 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_196 = lean_array_push(x_194, x_195); x_197 = l_Lean_Delaborator_delabLam___lambda__3___closed__4; x_198 = lean_alloc_ctor(1, 2, 0); @@ -24458,10 +24458,10 @@ x_93 = l_Lean_nullKind___closed__2; x_94 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_94, 0, x_93); lean_ctor_set(x_94, 1, x_92); -x_95 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_95 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_96 = lean_array_push(x_95, x_94); x_97 = lean_array_push(x_96, x_15); -x_98 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_98 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_99 = lean_array_push(x_97, x_98); x_100 = l_Lean_Delaborator_delabLam___lambda__3___closed__4; x_101 = lean_alloc_ctor(1, 2, 0); @@ -24798,10 +24798,10 @@ x_200 = l_Lean_nullKind___closed__2; x_201 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_201, 0, x_200); lean_ctor_set(x_201, 1, x_199); -x_202 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_202 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_203 = lean_array_push(x_202, x_201); x_204 = lean_array_push(x_203, x_121); -x_205 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_205 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_206 = lean_array_push(x_204, x_205); x_207 = l_Lean_Delaborator_delabLam___lambda__3___closed__4; x_208 = lean_alloc_ctor(1, 2, 0); @@ -25193,7 +25193,7 @@ x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); x_42 = lean_array_push(x_34, x_41); -x_43 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_43 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_44 = lean_array_push(x_42, x_43); x_45 = lean_array_push(x_44, x_24); x_46 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -25207,7 +25207,7 @@ lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); x_51 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_52 = lean_array_push(x_51, x_50); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_54 = lean_array_push(x_52, x_53); x_55 = lean_array_push(x_54, x_29); x_56 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -25242,7 +25242,7 @@ x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_69); x_72 = lean_array_push(x_64, x_71); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_74 = lean_array_push(x_72, x_73); x_75 = lean_array_push(x_74, x_24); x_76 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -25256,7 +25256,7 @@ lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_78); x_81 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_82 = lean_array_push(x_81, x_80); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_84, x_58); x_86 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -26864,7 +26864,7 @@ static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__2_ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; x_2 = l_Lean_mkAtom(x_1); return x_2; } @@ -28851,7 +28851,6 @@ return x_17; else { lean_object* x_18; lean_object* x_19; uint8_t x_20; -lean_inc(x_12); x_18 = l_Lean_Syntax_getNumArgs(x_12); x_19 = lean_unsigned_to_nat(2u); x_20 = lean_nat_dec_eq(x_18, x_19); @@ -28977,7 +28976,6 @@ return x_17; else { lean_object* x_18; uint8_t x_19; -lean_inc(x_12); x_18 = l_Lean_Syntax_getNumArgs(x_12); x_19 = lean_nat_dec_eq(x_18, x_11); lean_dec(x_18); @@ -32690,7 +32688,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_10 = l_Array_empty___closed__1; x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__11; +x_12 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11; x_13 = lean_array_push(x_11, x_12); x_14 = lean_array_push(x_13, x_3); x_15 = l___kind_term____x40_Init_Notation___hyg_4497____closed__1; @@ -33220,7 +33218,7 @@ static lean_object* _init_l_Lean_Delaborator_delabNil___lambda__1___closed__1() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -33231,7 +33229,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Delaborator_delabNil___lambda__1___closed__1; -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -33518,9 +33516,9 @@ x_54 = lean_array_push(x_53, x_12); x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_45); lean_ctor_set(x_55, 1, x_54); -x_56 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_56 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_57 = lean_array_push(x_56, x_55); -x_58 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_58 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_59 = lean_array_push(x_57, x_58); x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_19); @@ -33546,9 +33544,9 @@ x_36 = l_Lean_nullKind___closed__2; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); -x_38 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_38 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_39 = lean_array_push(x_38, x_37); -x_40 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_40 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_41 = lean_array_push(x_39, x_40); x_42 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_42, 0, x_19); @@ -33687,9 +33685,9 @@ x_107 = lean_array_push(x_106, x_65); x_108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_108, 0, x_98); lean_ctor_set(x_108, 1, x_107); -x_109 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_109 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_110 = lean_array_push(x_109, x_108); -x_111 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_111 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_112 = lean_array_push(x_110, x_111); x_113 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_113, 0, x_72); @@ -33716,9 +33714,9 @@ x_89 = l_Lean_nullKind___closed__2; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); -x_91 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_91 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_92 = lean_array_push(x_91, x_90); -x_93 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_93 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_94 = lean_array_push(x_92, x_93); x_95 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_95, 0, x_72); @@ -33973,9 +33971,9 @@ lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); x_29 = l_Lean_Delaborator_delabListToArray___lambda__1___closed__2; x_30 = lean_array_push(x_29, x_28); -x_31 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_31 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_32 = lean_array_push(x_30, x_31); -x_33 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__7; +x_33 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__7; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -34035,9 +34033,9 @@ lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); x_52 = l_Lean_Delaborator_delabListToArray___lambda__1___closed__2; x_53 = lean_array_push(x_52, x_51); -x_54 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_54 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_55 = lean_array_push(x_53, x_54); -x_56 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3334____closed__7; +x_56 = l___kind_term____x40_Init_Data_Array_Basic___hyg_3285____closed__7; x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_55); @@ -34118,7 +34116,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Delaborator_delabCons___closed__1; -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__4; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -34729,7 +34727,7 @@ x_22 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); x_23 = lean_array_push(x_15, x_22); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_25 = lean_array_push(x_23, x_24); x_26 = lean_array_push(x_25, x_3); x_27 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 4fa54ba980..1a951eba36 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -165,7 +165,6 @@ lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(l uint8_t l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__1; extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_consumeImplicits_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandApp___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeAppInstMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -319,6 +318,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs___closed__4; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_object* l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__20; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__2; @@ -550,6 +550,7 @@ lean_object* l_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore(lean_object*, lean_o lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabExplicitUnivs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__1; lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___at_Lean_Elab_Term_elabBinders___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -689,7 +690,6 @@ lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0_ lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1017____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__1; lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__2; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__4(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -847,7 +847,7 @@ x_4 = l_Lean_Name_toStringWithSep(x_3, x_2); x_5 = l_myMacro____x40_Init_Notation___hyg_5739____closed__9; x_6 = lean_string_append(x_5, x_4); lean_dec(x_4); -x_7 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; +x_7 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; x_8 = lean_string_append(x_6, x_7); x_9 = lean_ctor_get(x_1, 2); lean_inc(x_9); @@ -14319,7 +14319,7 @@ x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_69); x_72 = lean_array_push(x_58, x_71); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); diff --git a/stage0/stdlib/Lean/Elab/Attributes.c b/stage0/stdlib/Lean/Elab/Attributes.c index b7e7853dd7..ca9db19c94 100644 --- a/stage0/stdlib/Lean/Elab/Attributes.c +++ b/stage0/stdlib/Lean/Elab/Attributes.c @@ -271,7 +271,6 @@ _start: lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; x_6 = lean_unsigned_to_nat(1u); x_7 = l_Lean_Syntax_getArg(x_1, x_6); -lean_inc(x_7); x_8 = l_Lean_Syntax_getNumArgs(x_7); x_9 = lean_unsigned_to_nat(0u); x_10 = lean_nat_dec_eq(x_8, x_9); diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 437271b4ff..78e2a3c41b 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -19,6 +19,7 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandLetEqnsDeclVa lean_object* l_Lean_Elab_Term_elabBinder___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabBinders(lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__6; lean_object* l_Lean_Elab_Term_expandWhereDecls___boxed(lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); @@ -168,7 +169,6 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds(lean_o lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__5; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType_match__2___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__29; @@ -267,9 +267,9 @@ lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux_loop___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_intro___closed__7; lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__19; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder_match__1(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); @@ -370,6 +370,7 @@ extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_839____closed lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__1(lean_object*); extern lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__1; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -391,6 +392,7 @@ lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__2; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setPostponed___at_Lean_Elab_Term_elabBinders___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__1; @@ -433,6 +435,7 @@ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term lean_object* l_Lean_Elab_Term_elabFun_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l_Lean_Elab_Term_mkLetIdDeclView(lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__10; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; @@ -444,7 +447,6 @@ lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__3___boxed(lean_object*, l lean_object* l_Lean_Elab_Term_mkLetRec(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_declareTacticSyntax___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__6; lean_object* l_Lean_compileDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -480,7 +482,6 @@ lean_object* l_Lean_Elab_Term_FunBinders_State_fvars___default; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__7; lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1017____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandWhereDecls___spec__1(size_t, size_t, lean_object*); -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; lean_object* l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Elab_Term_elabLetDeclAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -497,7 +498,6 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews___r lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__1___rarg___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__5; @@ -525,7 +525,6 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(le _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; -lean_inc(x_2); x_3 = l_Lean_Syntax_getNumArgs(x_2); x_4 = lean_unsigned_to_nat(0u); x_5 = lean_nat_dec_eq(x_3, x_4); @@ -535,13 +534,11 @@ if (x_5 == 0) lean_object* x_6; lean_object* x_7; x_6 = lean_unsigned_to_nat(1u); x_7 = l_Lean_Syntax_getArg(x_2, x_6); -lean_dec(x_2); return x_7; } else { lean_object* x_8; -lean_dec(x_2); x_8 = l_Lean_mkHole(x_1); return x_8; } @@ -552,6 +549,7 @@ _start: { lean_object* x_3; x_3 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(x_1, x_2); +lean_dec(x_2); lean_dec(x_1); return x_3; } @@ -4222,6 +4220,7 @@ lean_dec(x_44); x_47 = lean_unsigned_to_nat(2u); x_48 = lean_array_get(x_41, x_10, x_47); x_49 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(x_1, x_48); +lean_dec(x_48); x_50 = lean_array_get_size(x_45); x_51 = lean_usize_of_nat(x_50); lean_dec(x_50); @@ -4292,6 +4291,7 @@ lean_dec(x_65); x_68 = lean_unsigned_to_nat(2u); x_69 = lean_array_get(x_62, x_10, x_68); x_70 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(x_1, x_69); +lean_dec(x_69); x_71 = lean_unsigned_to_nat(3u); x_72 = lean_array_get(x_62, x_10, x_71); lean_inc(x_7); @@ -17555,14 +17555,14 @@ x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); x_75 = lean_array_push(x_67, x_74); -x_76 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; +x_76 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; x_77 = lean_array_push(x_75, x_76); x_78 = lean_array_push(x_77, x_66); x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_69); lean_ctor_set(x_79, 1, x_78); x_80 = lean_array_push(x_67, x_79); -x_81 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_81 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_82 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_82, 0, x_81); lean_ctor_set(x_82, 1, x_80); @@ -17590,14 +17590,14 @@ x_92 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_92, 0, x_91); lean_ctor_set(x_92, 1, x_90); x_93 = lean_array_push(x_85, x_92); -x_94 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; +x_94 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; x_95 = lean_array_push(x_93, x_94); x_96 = lean_array_push(x_95, x_83); x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_87); lean_ctor_set(x_97, 1, x_96); x_98 = lean_array_push(x_85, x_97); -x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_100 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_100, 0, x_99); lean_ctor_set(x_100, 1, x_98); @@ -17723,14 +17723,14 @@ x_148 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_148, 0, x_147); lean_ctor_set(x_148, 1, x_146); x_149 = lean_array_push(x_141, x_148); -x_150 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; +x_150 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; x_151 = lean_array_push(x_149, x_150); x_152 = lean_array_push(x_151, x_138); x_153 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_153, 0, x_143); lean_ctor_set(x_153, 1, x_152); x_154 = lean_array_push(x_141, x_153); -x_155 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_155 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_156 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_156, 0, x_155); lean_ctor_set(x_156, 1, x_154); @@ -20228,7 +20228,7 @@ x_12 = lean_unsigned_to_nat(1u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); x_14 = lean_unsigned_to_nat(2u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; +x_16 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; x_17 = l_Lean_mkAtomFrom(x_1, x_16); x_18 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; x_19 = lean_array_push(x_18, x_11); @@ -20257,7 +20257,7 @@ x_30 = lean_unsigned_to_nat(1u); x_31 = l_Lean_Syntax_getArg(x_1, x_30); x_32 = lean_unsigned_to_nat(2u); x_33 = l_Lean_Syntax_getArg(x_1, x_32); -x_34 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; +x_34 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; x_35 = l_Lean_mkAtomFrom(x_1, x_34); x_36 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; x_37 = lean_array_push(x_36, x_29); @@ -20654,7 +20654,7 @@ x_116 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_116, 0, x_115); lean_ctor_set(x_116, 1, x_114); x_117 = lean_array_push(x_109, x_116); -x_118 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_118 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_119 = lean_array_push(x_117, x_118); x_120 = lean_array_push(x_119, x_93); x_121 = lean_alloc_ctor(1, 2, 0); @@ -20667,7 +20667,7 @@ lean_ctor_set(x_124, 0, x_123); lean_ctor_set(x_124, 1, x_122); x_125 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_126 = lean_array_push(x_125, x_124); -x_127 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_127 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_128 = lean_array_push(x_126, x_127); x_129 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_130 = lean_array_push(x_129, x_105); diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index a0e6e82fbb..9a89363932 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -89,7 +89,6 @@ lean_object* l_Lean_Elab_Term_expandEmptyC___closed__8; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__19; lean_object* l_Lean_Elab_Term_elabTermAndSynthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_markBorrowed___closed__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__5; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqSymmImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -138,7 +137,6 @@ lean_object* l_Lean_Elab_Term_expandDbgTrace___boxed(lean_object*, lean_object*, lean_object* l_Lean_Elab_Term_mkPairs_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__9; lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; lean_object* l_Lean_Elab_Term_expandAssert___closed__11; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabClosedTerm___lambda__1___closed__2; lean_object* l_Lean_Meta_mkEqRefl___at_Lean_Elab_Term_elabNativeDecide___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -181,7 +179,6 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDe lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__4; lean_object* l_Lean_Elab_Term_elabParen___closed__2; extern lean_object* l_Lean_Parser_Tactic_subst___closed__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__7; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabClosedTerm___lambda__1___closed__1; @@ -248,6 +245,7 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_L lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__10; lean_object* l_Lean_Meta_mkDecide___at_Lean_Elab_Term_elabNativeDecide___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkDecide___rarg___closed__1; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__5; lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__1; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -279,11 +277,13 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabDecide(lean_object*); lean_object* l_Lean_Meta_mkExpectedTypeHint___at_Lean_Elab_Term_elabNativeRefl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabPanic___closed__5; extern lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__7; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__20; lean_object* l_Lean_Elab_Term_expandShow___closed__5; lean_object* l_Lean_Elab_Term_expandShow___closed__15; lean_object* l_Lean_Elab_Term_elabSubst_match__2(lean_object*); lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__3; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__3; extern lean_object* l_Lean_strLitKind___closed__2; lean_object* l_Lean_Elab_Term_expandBNot___closed__1; @@ -331,9 +331,9 @@ lean_object* l_Lean_Elab_Term_expandSorry___rarg___closed__6; lean_object* l___regBuiltin_Lean_Elab_Term_expandUMinus(lean_object*); extern lean_object* l_Lean_Parser_Tactic_suffices___closed__1; lean_object* l_Lean_Meta_mkArrow___at_Lean_Elab_Term_elabStateRefT___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; extern lean_object* l_Lean_Literal_type___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; extern lean_object* l_Lean_instToExprUnit___lambda__1___closed__3; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1; @@ -346,7 +346,6 @@ uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStateRefT___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__2; lean_object* l_Lean_Elab_Term_expandAssert___closed__13; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__2; lean_object* l_Lean_Elab_Term_expandSuffices___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__10; lean_object* l_Lean_Elab_Term_elabSubst___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -453,13 +452,13 @@ lean_object* l_Lean_Elab_Term_expandShow___closed__10; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandCDot___boxed__const__1; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; lean_object* l___regBuiltin_Lean_Elab_Term_expandSorry(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeRefl___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4; lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__4; lean_object* l_Lean_Elab_Term_elabPanic_match__1(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__15; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4; lean_object* l_Lean_Elab_Term_elabPanic___closed__12; uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot___spec__1(lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -502,6 +501,7 @@ lean_object* l_Lean_Elab_Term_elabSubst___closed__4; uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__3; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabClosedTerm___closed__1; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; lean_object* l_Lean_Elab_Term_elabSubst___closed__9; lean_object* l_Lean_Elab_Term_elabPanic___closed__9; extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__1; @@ -520,13 +520,13 @@ extern lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_expandBNot___closed__3; lean_object* l_Lean_Elab_Term_elabBorrowed___closed__1; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l_Lean_Elab_Term_mkPairs___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__7; lean_object* l_Lean_Meta_inferType___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandSorry___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabNativeDecide___boxed(lean_object*); lean_object* l_Lean_Elab_Term_elabSubst___closed__2; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__8; lean_object* l_Lean_Elab_Term_elabPanic___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceNative_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -543,7 +543,6 @@ extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_elabSubst___spec__3___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__1; lean_object* l___regBuiltin_Lean_Elab_Term_expandNot___closed__3; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__3; lean_object* l_Lean_Elab_Term_expandSuffices(lean_object*, lean_object*, lean_object*); @@ -613,6 +612,7 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDe lean_object* l_Lean_Meta_mkEqRefl___at_Lean_Elab_Term_elabNativeRefl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM___at_Lean_Elab_Term_elabStateRefT___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__4; @@ -1703,7 +1703,7 @@ x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); x_67 = lean_array_push(x_59, x_66); -x_68 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_68 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_69 = lean_array_push(x_67, x_68); x_70 = lean_array_push(x_69, x_53); x_71 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -1717,7 +1717,7 @@ lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); x_76 = l_Lean_Elab_Term_expandShow___closed__15; x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_79 = lean_array_push(x_77, x_78); x_80 = lean_array_push(x_79, x_55); x_81 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; @@ -1772,7 +1772,7 @@ else lean_object* x_28; lean_object* x_29; uint8_t x_30; x_28 = l_Lean_Syntax_getArg(x_17, x_14); lean_dec(x_17); -x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_inc(x_28); x_30 = l_Lean_Syntax_isOfKind(x_28, x_29); if (x_30 == 0) @@ -1860,7 +1860,7 @@ static lean_object* _init_l_Lean_Elab_Term_expandHave___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; x_2 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -1870,7 +1870,7 @@ lean_object* l_Lean_Elab_Term_expandHave(lean_object* x_1, lean_object* x_2, lea _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_5 = l_Lean_mkAtomFrom(x_1, x_4); x_6 = l_Lean_mkOptionalNode___closed__2; x_7 = lean_array_push(x_6, x_5); @@ -2041,7 +2041,7 @@ x_317 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_317, 0, x_183); lean_ctor_set(x_317, 1, x_316); x_318 = lean_array_push(x_311, x_317); -x_319 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_319 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_320 = lean_array_push(x_318, x_319); x_321 = lean_array_push(x_320, x_294); x_322 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -2055,7 +2055,7 @@ lean_ctor_set(x_326, 0, x_325); lean_ctor_set(x_326, 1, x_324); x_327 = l_Lean_Elab_Term_expandShow___closed__15; x_328 = lean_array_push(x_327, x_326); -x_329 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_329 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_330 = lean_array_push(x_328, x_329); x_331 = lean_array_push(x_330, x_305); x_332 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; @@ -2074,7 +2074,7 @@ block_246: { lean_object* x_196; uint8_t x_197; lean_dec(x_195); -x_196 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4; +x_196 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; lean_inc(x_194); x_197 = l_Lean_Syntax_isOfKind(x_194, x_196); if (x_197 == 0) @@ -2174,7 +2174,7 @@ x_228 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_228, 0, x_183); lean_ctor_set(x_228, 1, x_227); x_229 = lean_array_push(x_222, x_228); -x_230 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_230 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_231 = lean_array_push(x_229, x_230); x_232 = lean_array_push(x_231, x_205); x_233 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -2188,7 +2188,7 @@ lean_ctor_set(x_237, 0, x_236); lean_ctor_set(x_237, 1, x_235); x_238 = l_Lean_Elab_Term_expandShow___closed__15; x_239 = lean_array_push(x_238, x_237); -x_240 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_240 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_241 = lean_array_push(x_239, x_240); x_242 = lean_array_push(x_241, x_216); x_243 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; @@ -2238,7 +2238,7 @@ else lean_object* x_255; lean_object* x_256; uint8_t x_257; x_255 = l_Lean_Syntax_getArg(x_194, x_22); lean_dec(x_194); -x_256 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_256 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_inc(x_255); x_257 = l_Lean_Syntax_isOfKind(x_255, x_256); if (x_257 == 0) @@ -2313,7 +2313,7 @@ x_279 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_279, 0, x_278); lean_ctor_set(x_279, 1, x_277); x_280 = lean_array_push(x_272, x_279); -x_281 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_281 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_282 = lean_array_push(x_280, x_281); x_283 = lean_array_push(x_282, x_270); x_284 = lean_alloc_ctor(1, 2, 0); @@ -2468,7 +2468,7 @@ x_164 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_164, 0, x_25); lean_ctor_set(x_164, 1, x_163); x_165 = lean_array_push(x_158, x_164); -x_166 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_166 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_167 = lean_array_push(x_165, x_166); x_168 = lean_array_push(x_167, x_143); x_169 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -2482,7 +2482,7 @@ lean_ctor_set(x_173, 0, x_172); lean_ctor_set(x_173, 1, x_171); x_174 = l_Lean_Elab_Term_expandShow___closed__15; x_175 = lean_array_push(x_174, x_173); -x_176 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_176 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_177 = lean_array_push(x_175, x_176); x_178 = lean_array_push(x_177, x_154); x_179 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; @@ -2501,7 +2501,7 @@ block_89: { lean_object* x_41; uint8_t x_42; lean_dec(x_40); -x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4; +x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; lean_inc(x_39); x_42 = l_Lean_Syntax_isOfKind(x_39, x_41); if (x_42 == 0) @@ -2603,7 +2603,7 @@ x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_25); lean_ctor_set(x_71, 1, x_70); x_72 = lean_array_push(x_65, x_71); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_74 = lean_array_push(x_72, x_73); x_75 = lean_array_push(x_74, x_50); x_76 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -2617,7 +2617,7 @@ lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_78); x_81 = l_Lean_Elab_Term_expandShow___closed__15; x_82 = lean_array_push(x_81, x_80); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_84, x_61); x_86 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; @@ -2667,7 +2667,7 @@ else lean_object* x_98; lean_object* x_99; uint8_t x_100; x_98 = l_Lean_Syntax_getArg(x_39, x_22); lean_dec(x_39); -x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_inc(x_98); x_100 = l_Lean_Syntax_isOfKind(x_98, x_99); if (x_100 == 0) @@ -2738,7 +2738,7 @@ x_117 = lean_array_push(x_115, x_116); x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_25); lean_ctor_set(x_118, 1, x_117); -x_119 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__2; +x_119 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; x_120 = lean_array_push(x_119, x_118); x_121 = lean_array_push(x_120, x_37); x_122 = l_Lean_Elab_Term_expandShow___closed__11; @@ -2753,7 +2753,7 @@ x_128 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_128, 0, x_127); lean_ctor_set(x_128, 1, x_126); x_129 = lean_array_push(x_121, x_128); -x_130 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_130 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_131 = lean_array_push(x_129, x_130); x_132 = lean_array_push(x_131, x_113); x_133 = lean_alloc_ctor(1, 2, 0); @@ -2818,7 +2818,7 @@ lean_object* l_Lean_Elab_Term_expandSuffices(lean_object* x_1, lean_object* x_2, _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_5 = l_Lean_mkAtomFrom(x_1, x_4); x_6 = l_Lean_mkOptionalNode___closed__2; x_7 = lean_array_push(x_6, x_5); @@ -2980,7 +2980,7 @@ x_205 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_205, 0, x_182); lean_ctor_set(x_205, 1, x_204); x_206 = lean_array_push(x_202, x_205); -x_207 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_207 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_208 = lean_array_push(x_206, x_207); x_209 = lean_array_push(x_208, x_189); x_210 = l_Lean_Elab_Term_expandHave___closed__1; @@ -3039,7 +3039,7 @@ else lean_object* x_149; lean_object* x_150; uint8_t x_151; x_149 = l_Lean_Syntax_getArg(x_138, x_22); lean_dec(x_138); -x_150 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_150 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_inc(x_149); x_151 = l_Lean_Syntax_isOfKind(x_149, x_150); if (x_151 == 0) @@ -3109,7 +3109,7 @@ x_170 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_170, 0, x_169); lean_ctor_set(x_170, 1, x_168); x_171 = lean_array_push(x_166, x_170); -x_172 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_172 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_173 = lean_array_push(x_171, x_172); x_174 = l_Lean_Elab_Term_expandShow___closed__11; x_175 = lean_array_push(x_174, x_149); @@ -3262,7 +3262,7 @@ x_111 = lean_array_push(x_109, x_110); x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_25); lean_ctor_set(x_112, 1, x_111); -x_113 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__2; +x_113 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; x_114 = lean_array_push(x_113, x_112); x_115 = lean_array_push(x_114, x_37); x_116 = l_Lean_Elab_Term_expandShow___closed__8; @@ -3271,7 +3271,7 @@ x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_89); lean_ctor_set(x_118, 1, x_117); x_119 = lean_array_push(x_115, x_118); -x_120 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_120 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_121 = lean_array_push(x_119, x_120); x_122 = lean_array_push(x_121, x_96); x_123 = l_Lean_Elab_Term_expandHave___closed__1; @@ -3332,7 +3332,7 @@ else lean_object* x_50; lean_object* x_51; uint8_t x_52; x_50 = l_Lean_Syntax_getArg(x_39, x_22); lean_dec(x_39); -x_51 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_51 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_inc(x_50); x_52 = l_Lean_Syntax_isOfKind(x_50, x_51); if (x_52 == 0) @@ -3403,7 +3403,7 @@ x_69 = lean_array_push(x_67, x_68); x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_25); lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__2; +x_71 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; x_72 = lean_array_push(x_71, x_70); x_73 = lean_array_push(x_72, x_37); x_74 = l_Lean_Elab_Term_expandShow___closed__8; @@ -3413,7 +3413,7 @@ x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_76); lean_ctor_set(x_77, 1, x_75); x_78 = lean_array_push(x_73, x_77); -x_79 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_79 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_80 = lean_array_push(x_78, x_79); x_81 = l_Lean_Elab_Term_expandShow___closed__11; x_82 = lean_array_push(x_81, x_50); @@ -7026,7 +7026,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; x_4 = l___regBuiltin_Lean_Elab_Term_elabDecide___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -8886,7 +8886,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_macroAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; x_4 = l___regBuiltin_Lean_Elab_Term_expandSorry___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index a911cdfe25..29f2e62110 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -116,6 +116,7 @@ lean_object* l_Lean_Elab_Command_elabAxiom_match__4___rarg(lean_object*, lean_ob lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_getVarDecls(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace(lean_object*); lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_classInductiveSyntaxToView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_isDefLike___closed__4; @@ -138,6 +139,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMutualPreamble_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView_match__2(lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__3; @@ -219,7 +221,6 @@ lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__4___rarg(lean_obje lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualElement___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand(lean_object*); -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; lean_object* l_Lean_Elab_Command_expandMutualPreamble(lean_object*, lean_object*, lean_object*); @@ -284,7 +285,6 @@ lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualDef_ lean_object* l_Lean_Elab_Command_expandInitCmd___closed__30; lean_object* l_Lean_Elab_Command_expandInitCmd___closed__15; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__18; lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); @@ -6922,7 +6922,7 @@ x_57 = l_Lean_Elab_Command_expandInitCmd___closed__21; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); -x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_60 = lean_array_push(x_59, x_58); x_61 = lean_array_push(x_60, x_26); x_62 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6; @@ -6956,7 +6956,7 @@ lean_ctor_set(x_78, 0, x_39); lean_ctor_set(x_78, 1, x_77); x_79 = l_Lean_Elab_Command_expandInitCmd___closed__27; x_80 = lean_array_push(x_79, x_78); -x_81 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_81 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_82 = lean_array_push(x_80, x_81); x_83 = l_Lean_Elab_Command_expandInitCmd___closed__25; x_84 = lean_alloc_ctor(1, 2, 0); @@ -7030,7 +7030,7 @@ lean_ctor_set(x_121, 0, x_120); lean_ctor_set(x_121, 1, x_119); x_122 = l_Lean_Elab_Command_expandInitCmd___closed__27; x_123 = lean_array_push(x_122, x_121); -x_124 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_124 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_125 = lean_array_push(x_123, x_124); x_126 = l_Lean_Elab_Command_expandInitCmd___closed__25; x_127 = lean_alloc_ctor(1, 2, 0); @@ -7123,7 +7123,7 @@ x_179 = l_Lean_Elab_Command_expandInitCmd___closed__21; x_180 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_180, 0, x_179); lean_ctor_set(x_180, 1, x_178); -x_181 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_181 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_182 = lean_array_push(x_181, x_180); x_183 = lean_array_push(x_182, x_115); x_184 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6; diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index 02b52cdfa0..7c81b7c099 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -162,6 +162,7 @@ extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__1; lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__2(lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018_(lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__10; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_object* l_Lean_Elab_Command_isDefLike___closed__6; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfDef_match__1___rarg(lean_object*, lean_object*); @@ -189,7 +190,6 @@ lean_object* l_Lean_Elab_DefKind_isExample___boxed(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_DefKind_isTheorem_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; lean_object* l_Lean_Elab_Command_mkDefView___closed__1; extern lean_object* l_Lean_Meta_mkArbitrary___rarg___closed__1; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); @@ -4832,7 +4832,7 @@ lean_ctor_set(x_25, 0, x_22); lean_ctor_set(x_25, 1, x_23); lean_ctor_set(x_25, 2, x_21); lean_ctor_set(x_25, 3, x_24); -x_26 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; +x_26 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; x_27 = l_Lean_mkAtomFrom(x_2, x_26); x_28 = l_Lean_Syntax_mkApp___closed__1; x_29 = lean_array_push(x_28, x_27); diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 72fb88353a..e2d0441e90 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -600,11 +600,11 @@ extern lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___clos lean_object* l_Lean_Elab_Term_Do_extendUpdatedVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkDoSeq___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Do_instInhabitedCode; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__5; lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_checkLetArrowRHS___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__7; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doMatchToCode___boxed__const__1; lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedKind___closed__1; @@ -998,6 +998,7 @@ lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; lean_object* l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2532____spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkIte_match__1(lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_expandTermTry(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkFreshJP_x27___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -1028,7 +1029,6 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlo extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__31; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -26157,7 +26157,7 @@ x_47 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); x_48 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__8; x_49 = lean_array_push(x_48, x_47); -x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_51 = lean_array_push(x_49, x_50); x_52 = lean_array_push(x_51, x_2); x_53 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__5; @@ -26180,7 +26180,7 @@ x_56 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); x_57 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__13; x_58 = lean_array_push(x_57, x_56); -x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_60 = lean_array_push(x_58, x_59); x_61 = lean_array_push(x_60, x_2); x_62 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__10; @@ -26800,7 +26800,7 @@ x_209 = l_Lean_Syntax_getArg(x_1, x_208); lean_dec(x_1); x_210 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_211 = lean_array_push(x_210, x_209); -x_212 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_212 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_213 = lean_array_push(x_211, x_212); x_214 = lean_array_push(x_213, x_2); x_215 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -27044,7 +27044,7 @@ lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); x_31 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_34 = lean_array_push(x_32, x_33); x_35 = lean_array_push(x_34, x_2); x_36 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -27080,7 +27080,7 @@ lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); x_54 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_55 = lean_array_push(x_54, x_53); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_57 = lean_array_push(x_55, x_56); x_58 = lean_array_push(x_57, x_2); x_59 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -27584,7 +27584,7 @@ x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_32); lean_ctor_set(x_40, 1, x_39); x_41 = lean_array_push(x_34, x_40); -x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_43 = lean_array_push(x_41, x_42); x_44 = lean_array_push(x_43, x_3); x_45 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -27598,7 +27598,7 @@ lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); x_50 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___closed__2; x_51 = lean_array_push(x_50, x_49); -x_52 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_52 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_53 = lean_array_push(x_51, x_52); x_54 = lean_array_push(x_53, x_4); x_55 = l_Lean_Elab_Term_elabLetDeclCore___closed__9; @@ -27647,7 +27647,7 @@ x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_69); lean_ctor_set(x_77, 1, x_76); x_78 = lean_array_push(x_71, x_77); -x_79 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_79 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_80 = lean_array_push(x_78, x_79); x_81 = lean_array_push(x_80, x_3); x_82 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -27661,7 +27661,7 @@ lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); x_87 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___closed__2; x_88 = lean_array_push(x_87, x_86); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_90 = lean_array_push(x_88, x_89); x_91 = lean_array_push(x_90, x_4); x_92 = l_Lean_Elab_Term_elabLetDeclCore___closed__9; @@ -27771,7 +27771,7 @@ x_128 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_128, 0, x_120); lean_ctor_set(x_128, 1, x_127); x_129 = lean_array_push(x_122, x_128); -x_130 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_130 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_131 = lean_array_push(x_129, x_130); x_132 = lean_array_push(x_131, x_3); x_133 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -27785,7 +27785,7 @@ lean_ctor_set(x_137, 0, x_136); lean_ctor_set(x_137, 1, x_135); x_138 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___closed__2; x_139 = lean_array_push(x_138, x_137); -x_140 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_140 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_141 = lean_array_push(x_139, x_140); x_142 = lean_array_push(x_141, x_4); x_143 = l_Lean_Elab_Term_elabLetDeclCore___closed__9; @@ -29955,7 +29955,7 @@ x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); x_47 = lean_array_push(x_31, x_46); -x_48 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_48 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_49 = lean_array_push(x_47, x_48); x_50 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_51 = lean_alloc_ctor(1, 2, 0); @@ -30021,7 +30021,7 @@ x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_31, x_22); x_86 = lean_array_push(x_85, x_33); x_87 = lean_array_push(x_86, x_33); -x_88 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_88 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_89 = lean_array_push(x_87, x_88); x_90 = lean_array_push(x_89, x_74); x_91 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -30181,7 +30181,7 @@ x_179 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_179, 0, x_178); lean_ctor_set(x_179, 1, x_177); x_180 = lean_array_push(x_164, x_179); -x_181 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_181 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_182 = lean_array_push(x_180, x_181); x_183 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_184 = lean_alloc_ctor(1, 2, 0); @@ -30247,7 +30247,7 @@ x_217 = lean_array_push(x_215, x_216); x_218 = lean_array_push(x_164, x_154); x_219 = lean_array_push(x_218, x_166); x_220 = lean_array_push(x_219, x_166); -x_221 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_221 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_222 = lean_array_push(x_220, x_221); x_223 = lean_array_push(x_222, x_207); x_224 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -30416,7 +30416,7 @@ x_314 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_314, 0, x_313); lean_ctor_set(x_314, 1, x_312); x_315 = lean_array_push(x_299, x_314); -x_316 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_316 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_317 = lean_array_push(x_315, x_316); x_318 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_319 = lean_alloc_ctor(1, 2, 0); @@ -30426,7 +30426,7 @@ x_320 = lean_array_push(x_299, x_319); x_321 = lean_array_push(x_299, x_289); x_322 = lean_array_push(x_321, x_301); x_323 = lean_array_push(x_322, x_301); -x_324 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_324 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_325 = lean_array_push(x_323, x_324); x_326 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; x_327 = lean_array_push(x_300, x_326); @@ -30539,7 +30539,7 @@ x_390 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_390, 0, x_389); lean_ctor_set(x_390, 1, x_388); x_391 = lean_array_push(x_375, x_390); -x_392 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_392 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_393 = lean_array_push(x_391, x_392); x_394 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_395 = lean_alloc_ctor(1, 2, 0); @@ -30636,7 +30636,7 @@ x_444 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_444, 0, x_443); lean_ctor_set(x_444, 1, x_442); x_445 = lean_array_push(x_429, x_444); -x_446 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_446 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_447 = lean_array_push(x_445, x_446); x_448 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_449 = lean_alloc_ctor(1, 2, 0); @@ -30646,7 +30646,7 @@ x_450 = lean_array_push(x_429, x_449); x_451 = lean_array_push(x_429, x_418); x_452 = lean_array_push(x_451, x_431); x_453 = lean_array_push(x_452, x_431); -x_454 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_454 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_455 = lean_array_push(x_453, x_454); x_456 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; x_457 = lean_array_push(x_430, x_456); @@ -30761,7 +30761,7 @@ x_521 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_521, 0, x_520); lean_ctor_set(x_521, 1, x_519); x_522 = lean_array_push(x_506, x_521); -x_523 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_523 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_524 = lean_array_push(x_522, x_523); x_525 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_526 = lean_alloc_ctor(1, 2, 0); @@ -30859,7 +30859,7 @@ x_575 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_575, 0, x_574); lean_ctor_set(x_575, 1, x_573); x_576 = lean_array_push(x_560, x_575); -x_577 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_577 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_578 = lean_array_push(x_576, x_577); x_579 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_580 = lean_alloc_ctor(1, 2, 0); @@ -30936,7 +30936,7 @@ x_618 = lean_array_push(x_616, x_617); x_619 = lean_array_push(x_560, x_551); x_620 = lean_array_push(x_619, x_562); x_621 = lean_array_push(x_620, x_562); -x_622 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_622 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_623 = lean_array_push(x_621, x_622); lean_inc(x_608); x_624 = lean_array_push(x_623, x_608); @@ -31153,7 +31153,7 @@ x_743 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_743, 0, x_742); lean_ctor_set(x_743, 1, x_741); x_744 = lean_array_push(x_728, x_743); -x_745 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_745 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_746 = lean_array_push(x_744, x_745); x_747 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_748 = lean_alloc_ctor(1, 2, 0); @@ -31230,7 +31230,7 @@ x_786 = lean_array_push(x_784, x_785); x_787 = lean_array_push(x_728, x_718); x_788 = lean_array_push(x_787, x_730); x_789 = lean_array_push(x_788, x_730); -x_790 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_790 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_791 = lean_array_push(x_789, x_790); lean_inc(x_776); x_792 = lean_array_push(x_791, x_776); @@ -31461,7 +31461,7 @@ x_913 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_913, 0, x_912); lean_ctor_set(x_913, 1, x_911); x_914 = lean_array_push(x_898, x_913); -x_915 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_915 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_916 = lean_array_push(x_914, x_915); x_917 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_918 = lean_alloc_ctor(1, 2, 0); @@ -31471,7 +31471,7 @@ x_919 = lean_array_push(x_898, x_918); x_920 = lean_array_push(x_898, x_888); x_921 = lean_array_push(x_920, x_900); x_922 = lean_array_push(x_921, x_900); -x_923 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_923 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_924 = lean_array_push(x_922, x_923); x_925 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; x_926 = lean_array_push(x_899, x_925); @@ -31650,7 +31650,7 @@ x_1021 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1021, 0, x_1020); lean_ctor_set(x_1021, 1, x_1019); x_1022 = lean_array_push(x_1006, x_1021); -x_1023 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1023 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_1024 = lean_array_push(x_1022, x_1023); x_1025 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_1026 = lean_alloc_ctor(1, 2, 0); @@ -31660,7 +31660,7 @@ x_1027 = lean_array_push(x_1006, x_1026); x_1028 = lean_array_push(x_1006, x_995); x_1029 = lean_array_push(x_1028, x_1008); x_1030 = lean_array_push(x_1029, x_1008); -x_1031 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_1031 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_1032 = lean_array_push(x_1030, x_1031); x_1033 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; x_1034 = lean_array_push(x_1007, x_1033); @@ -31840,7 +31840,7 @@ x_1130 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1130, 0, x_1129); lean_ctor_set(x_1130, 1, x_1128); x_1131 = lean_array_push(x_1115, x_1130); -x_1132 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1132 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_1133 = lean_array_push(x_1131, x_1132); x_1134 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_1135 = lean_alloc_ctor(1, 2, 0); @@ -31917,7 +31917,7 @@ x_1173 = lean_array_push(x_1171, x_1172); x_1174 = lean_array_push(x_1115, x_1106); x_1175 = lean_array_push(x_1174, x_1117); x_1176 = lean_array_push(x_1175, x_1117); -x_1177 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_1177 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_1178 = lean_array_push(x_1176, x_1177); lean_inc(x_1163); x_1179 = lean_array_push(x_1178, x_1163); @@ -32148,7 +32148,7 @@ x_1304 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1304, 0, x_1303); lean_ctor_set(x_1304, 1, x_1302); x_1305 = lean_array_push(x_1289, x_1304); -x_1306 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1306 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_1307 = lean_array_push(x_1305, x_1306); x_1308 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_1309 = lean_alloc_ctor(1, 2, 0); @@ -32225,7 +32225,7 @@ x_1347 = lean_array_push(x_1345, x_1346); x_1348 = lean_array_push(x_1289, x_1279); x_1349 = lean_array_push(x_1348, x_1291); x_1350 = lean_array_push(x_1349, x_1291); -x_1351 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_1351 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_1352 = lean_array_push(x_1350, x_1351); lean_inc(x_1337); x_1353 = lean_array_push(x_1352, x_1337); @@ -32463,7 +32463,7 @@ x_1479 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1479, 0, x_1478); lean_ctor_set(x_1479, 1, x_1477); x_1480 = lean_array_push(x_1464, x_1479); -x_1481 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1481 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_1482 = lean_array_push(x_1480, x_1481); x_1483 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_1484 = lean_alloc_ctor(1, 2, 0); @@ -32540,7 +32540,7 @@ x_1522 = lean_array_push(x_1520, x_1521); x_1523 = lean_array_push(x_1464, x_1455); x_1524 = lean_array_push(x_1523, x_1466); x_1525 = lean_array_push(x_1524, x_1466); -x_1526 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_1526 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_1527 = lean_array_push(x_1525, x_1526); lean_inc(x_1512); x_1528 = lean_array_push(x_1527, x_1512); @@ -32757,7 +32757,7 @@ x_1644 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1644, 0, x_1643); lean_ctor_set(x_1644, 1, x_1642); x_1645 = lean_array_push(x_1629, x_1644); -x_1646 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1646 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_1647 = lean_array_push(x_1645, x_1646); x_1648 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_1649 = lean_alloc_ctor(1, 2, 0); @@ -32834,7 +32834,7 @@ x_1687 = lean_array_push(x_1685, x_1686); x_1688 = lean_array_push(x_1629, x_1619); x_1689 = lean_array_push(x_1688, x_1631); x_1690 = lean_array_push(x_1689, x_1631); -x_1691 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_1691 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_1692 = lean_array_push(x_1690, x_1691); lean_inc(x_1677); x_1693 = lean_array_push(x_1692, x_1677); @@ -33054,7 +33054,7 @@ x_1810 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1810, 0, x_1809); lean_ctor_set(x_1810, 1, x_1808); x_1811 = lean_array_push(x_1795, x_1810); -x_1812 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_1812 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_1813 = lean_array_push(x_1811, x_1812); x_1814 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_1815 = lean_alloc_ctor(1, 2, 0); @@ -33132,7 +33132,7 @@ x_1853 = lean_array_push(x_1851, x_1852); x_1854 = lean_array_push(x_1795, x_1786); x_1855 = lean_array_push(x_1854, x_1797); x_1856 = lean_array_push(x_1855, x_1797); -x_1857 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_1857 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_1858 = lean_array_push(x_1856, x_1857); lean_inc(x_1843); x_1859 = lean_array_push(x_1858, x_1843); @@ -33412,7 +33412,7 @@ x_2011 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2011, 0, x_2010); lean_ctor_set(x_2011, 1, x_2009); x_2012 = lean_array_push(x_1996, x_2011); -x_2013 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_2013 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_2014 = lean_array_push(x_2012, x_2013); x_2015 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_2016 = lean_alloc_ctor(1, 2, 0); @@ -33490,7 +33490,7 @@ x_2054 = lean_array_push(x_2052, x_2053); x_2055 = lean_array_push(x_1996, x_1986); x_2056 = lean_array_push(x_2055, x_1998); x_2057 = lean_array_push(x_2056, x_1998); -x_2058 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_2058 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_2059 = lean_array_push(x_2057, x_2058); lean_inc(x_2044); x_2060 = lean_array_push(x_2059, x_2044); @@ -36090,7 +36090,7 @@ x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_37); lean_ctor_set(x_54, 1, x_53); x_55 = lean_array_push(x_44, x_54); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_57 = lean_array_push(x_55, x_56); lean_inc(x_35); x_58 = lean_alloc_ctor(1, 2, 0); @@ -36458,7 +36458,7 @@ x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); x_74 = lean_array_push(x_62, x_73); -x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_76 = lean_array_push(x_74, x_75); x_77 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_78 = lean_alloc_ctor(1, 2, 0); @@ -36468,7 +36468,7 @@ x_79 = lean_array_push(x_62, x_78); x_80 = lean_array_push(x_62, x_22); x_81 = lean_array_push(x_80, x_64); x_82 = lean_array_push(x_81, x_64); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_84, x_61); x_86 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36553,7 +36553,7 @@ x_131 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_131, 0, x_130); lean_ctor_set(x_131, 1, x_129); x_132 = lean_array_push(x_120, x_131); -x_133 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_133 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_134 = lean_array_push(x_132, x_133); x_135 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_136 = lean_alloc_ctor(1, 2, 0); @@ -36563,7 +36563,7 @@ x_137 = lean_array_push(x_120, x_136); x_138 = lean_array_push(x_120, x_22); x_139 = lean_array_push(x_138, x_122); x_140 = lean_array_push(x_139, x_122); -x_141 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_141 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_142 = lean_array_push(x_140, x_141); x_143 = lean_array_push(x_142, x_119); x_144 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36683,7 +36683,7 @@ x_201 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_201, 0, x_200); lean_ctor_set(x_201, 1, x_199); x_202 = lean_array_push(x_190, x_201); -x_203 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_203 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_204 = lean_array_push(x_202, x_203); x_205 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_206 = lean_alloc_ctor(1, 2, 0); @@ -36693,7 +36693,7 @@ x_207 = lean_array_push(x_190, x_206); x_208 = lean_array_push(x_190, x_22); x_209 = lean_array_push(x_208, x_192); x_210 = lean_array_push(x_209, x_192); -x_211 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_211 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_212 = lean_array_push(x_210, x_211); x_213 = lean_array_push(x_212, x_189); x_214 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36778,7 +36778,7 @@ x_259 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_259, 0, x_258); lean_ctor_set(x_259, 1, x_257); x_260 = lean_array_push(x_248, x_259); -x_261 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_261 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_262 = lean_array_push(x_260, x_261); x_263 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_264 = lean_alloc_ctor(1, 2, 0); @@ -36788,7 +36788,7 @@ x_265 = lean_array_push(x_248, x_264); x_266 = lean_array_push(x_248, x_22); x_267 = lean_array_push(x_266, x_250); x_268 = lean_array_push(x_267, x_250); -x_269 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_269 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_270 = lean_array_push(x_268, x_269); x_271 = lean_array_push(x_270, x_247); x_272 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36946,7 +36946,7 @@ x_339 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_339, 0, x_338); lean_ctor_set(x_339, 1, x_337); x_340 = lean_array_push(x_328, x_339); -x_341 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_341 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_342 = lean_array_push(x_340, x_341); x_343 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_344 = lean_alloc_ctor(1, 2, 0); @@ -36956,7 +36956,7 @@ x_345 = lean_array_push(x_328, x_344); x_346 = lean_array_push(x_328, x_22); x_347 = lean_array_push(x_346, x_330); x_348 = lean_array_push(x_347, x_330); -x_349 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_349 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_350 = lean_array_push(x_348, x_349); x_351 = lean_array_push(x_350, x_327); x_352 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -37041,7 +37041,7 @@ x_397 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_397, 0, x_396); lean_ctor_set(x_397, 1, x_395); x_398 = lean_array_push(x_386, x_397); -x_399 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_399 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_400 = lean_array_push(x_398, x_399); x_401 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_402 = lean_alloc_ctor(1, 2, 0); @@ -37051,7 +37051,7 @@ x_403 = lean_array_push(x_386, x_402); x_404 = lean_array_push(x_386, x_22); x_405 = lean_array_push(x_404, x_388); x_406 = lean_array_push(x_405, x_388); -x_407 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_407 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_408 = lean_array_push(x_406, x_407); x_409 = lean_array_push(x_408, x_385); x_410 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -38135,7 +38135,7 @@ x_63 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); x_64 = lean_array_push(x_52, x_63); -x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_66 = lean_array_push(x_64, x_65); x_67 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_68 = lean_alloc_ctor(1, 2, 0); @@ -38145,7 +38145,7 @@ x_69 = lean_array_push(x_52, x_68); x_70 = lean_array_push(x_52, x_21); x_71 = lean_array_push(x_70, x_54); x_72 = lean_array_push(x_71, x_54); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_74 = lean_array_push(x_72, x_73); x_75 = lean_array_push(x_74, x_51); x_76 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -38258,7 +38258,7 @@ x_132 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_132, 0, x_131); lean_ctor_set(x_132, 1, x_130); x_133 = lean_array_push(x_121, x_132); -x_134 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_134 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_135 = lean_array_push(x_133, x_134); x_136 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_137 = lean_alloc_ctor(1, 2, 0); @@ -38268,7 +38268,7 @@ x_138 = lean_array_push(x_121, x_137); x_139 = lean_array_push(x_121, x_21); x_140 = lean_array_push(x_139, x_123); x_141 = lean_array_push(x_140, x_123); -x_142 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_142 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_143 = lean_array_push(x_141, x_142); x_144 = lean_array_push(x_143, x_120); x_145 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -38419,7 +38419,7 @@ x_211 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_211, 0, x_210); lean_ctor_set(x_211, 1, x_209); x_212 = lean_array_push(x_200, x_211); -x_213 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_213 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_214 = lean_array_push(x_212, x_213); x_215 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_216 = lean_alloc_ctor(1, 2, 0); @@ -38429,7 +38429,7 @@ x_217 = lean_array_push(x_200, x_216); x_218 = lean_array_push(x_200, x_21); x_219 = lean_array_push(x_218, x_202); x_220 = lean_array_push(x_219, x_202); -x_221 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_221 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_222 = lean_array_push(x_220, x_221); x_223 = lean_array_push(x_222, x_199); x_224 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -38520,7 +38520,7 @@ x_272 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_272, 0, x_271); lean_ctor_set(x_272, 1, x_270); x_273 = lean_array_push(x_261, x_272); -x_274 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_274 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_275 = lean_array_push(x_273, x_274); x_276 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_277 = lean_alloc_ctor(1, 2, 0); @@ -38530,7 +38530,7 @@ x_278 = lean_array_push(x_261, x_277); x_279 = lean_array_push(x_261, x_248); x_280 = lean_array_push(x_279, x_263); x_281 = lean_array_push(x_280, x_263); -x_282 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_282 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_283 = lean_array_push(x_281, x_282); x_284 = lean_array_push(x_283, x_260); x_285 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -39454,7 +39454,7 @@ x_101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_101, 0, x_100); lean_ctor_set(x_101, 1, x_99); x_102 = lean_array_push(x_42, x_101); -x_103 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_103 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_104 = lean_array_push(x_102, x_103); x_105 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_106 = lean_alloc_ctor(1, 2, 0); @@ -39463,7 +39463,7 @@ lean_ctor_set(x_106, 1, x_104); x_107 = lean_array_push(x_42, x_106); x_108 = lean_array_push(x_56, x_88); x_109 = lean_array_push(x_108, x_88); -x_110 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_110 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_111 = lean_array_push(x_109, x_110); x_112 = lean_array_push(x_111, x_86); x_113 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -39551,7 +39551,7 @@ x_158 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_158, 0, x_157); lean_ctor_set(x_158, 1, x_156); x_159 = lean_array_push(x_42, x_158); -x_160 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_160 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_161 = lean_array_push(x_159, x_160); x_162 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_163 = lean_alloc_ctor(1, 2, 0); @@ -39560,7 +39560,7 @@ lean_ctor_set(x_163, 1, x_161); x_164 = lean_array_push(x_42, x_163); x_165 = lean_array_push(x_56, x_145); x_166 = lean_array_push(x_165, x_145); -x_167 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_167 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_168 = lean_array_push(x_166, x_167); x_169 = lean_array_push(x_168, x_143); x_170 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -39834,7 +39834,7 @@ x_324 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_324, 0, x_323); lean_ctor_set(x_324, 1, x_322); x_325 = lean_array_push(x_230, x_324); -x_326 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_326 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_327 = lean_array_push(x_325, x_326); x_328 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_329 = lean_alloc_ctor(1, 2, 0); @@ -39844,7 +39844,7 @@ x_330 = lean_array_push(x_230, x_329); x_331 = lean_array_push(x_230, x_32); x_332 = lean_array_push(x_331, x_263); x_333 = lean_array_push(x_332, x_263); -x_334 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_334 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_335 = lean_array_push(x_333, x_334); x_336 = lean_array_push(x_311, x_232); x_337 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; diff --git a/stage0/stdlib/Lean/Elab/LetRec.c b/stage0/stdlib/Lean/Elab/LetRec.c index 2b00405c08..91190828b1 100644 --- a/stage0/stdlib/Lean/Elab/LetRec.c +++ b/stage0/stdlib/Lean/Elab/LetRec.c @@ -453,7 +453,6 @@ _start: lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; x_11 = lean_unsigned_to_nat(1u); x_12 = l_Lean_Syntax_getArg(x_1, x_11); -lean_inc(x_12); x_13 = l_Lean_Syntax_getNumArgs(x_12); x_14 = lean_unsigned_to_nat(0u); x_15 = lean_nat_dec_eq(x_13, x_14); diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index 99e2791c1d..8a48a14f96 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -145,7 +145,6 @@ extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAs lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8; lean_object* l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__3; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_processCtorApp_match__1___rarg(lean_object*, lean_object*); @@ -449,12 +448,12 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTyp lean_object* l_Lean_Elab_Term_expandApp(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible(lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType_match__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f_match__3(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l_Lean_Elab_Term_elabMatch_match__26(lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__19; lean_object* l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -646,8 +645,10 @@ lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_0__Lean_Elab_Term_T lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___closed__3; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2; extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDepElimPatterns___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; lean_object* l_Lean_Parser_registerBuiltinNodeKind(lean_object*, lean_object*); uint8_t l_Lean_Meta_Match_Pattern_hasExprMVar(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processImplicitArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -722,6 +723,7 @@ lean_object* l_Lean_Elab_Term_elabMatchAltView___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__5(lean_object*, lean_object*, size_t, size_t); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__7; lean_object* l_Lean_Meta_inferType___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRefl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -744,7 +746,6 @@ uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__1___closed__3; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processExplicitArg___closed__2; @@ -771,7 +772,6 @@ lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomicDiscr___closed__3; extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns_match__3(lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatternVars_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); @@ -926,7 +926,7 @@ x_18 = lean_array_push(x_17, x_3); x_19 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_20 = lean_array_push(x_18, x_19); x_21 = lean_array_push(x_20, x_19); -x_22 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_22 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_23 = lean_array_push(x_21, x_22); x_24 = lean_array_push(x_23, x_2); x_25 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -940,7 +940,7 @@ lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); x_30 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_31 = lean_array_push(x_30, x_29); -x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_33 = lean_array_push(x_31, x_32); x_34 = lean_array_push(x_33, x_4); x_35 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -1040,7 +1040,7 @@ x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); x_29 = lean_array_push(x_21, x_28); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_31 = lean_array_push(x_29, x_30); x_32 = lean_array_push(x_31, x_2); x_33 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -1054,7 +1054,7 @@ lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_39 = lean_array_push(x_38, x_37); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_41 = lean_array_push(x_39, x_40); x_42 = lean_array_push(x_41, x_5); x_43 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -25534,7 +25534,7 @@ x_37 = lean_array_push(x_33, x_36); x_38 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_39 = lean_array_push(x_37, x_38); x_40 = lean_array_push(x_39, x_38); -x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; +x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_inc(x_6); x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_6); @@ -25551,7 +25551,7 @@ x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); x_50 = lean_array_push(x_34, x_49); -x_51 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_51 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_6); lean_ctor_set(x_52, 1, x_51); @@ -25595,7 +25595,7 @@ x_68 = lean_array_push(x_64, x_67); x_69 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_70 = lean_array_push(x_68, x_69); x_71 = lean_array_push(x_70, x_69); -x_72 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; +x_72 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_inc(x_6); x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_6); @@ -25612,7 +25612,7 @@ x_80 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_78); x_81 = lean_array_push(x_65, x_80); -x_82 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_82 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_83 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_83, 0, x_6); lean_ctor_set(x_83, 1, x_82); diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 9943e9f42f..886c108c34 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -502,6 +502,7 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_Fix lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_pushMain(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -592,7 +593,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___rarg__ extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; lean_object* l_List_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4504,7 +4504,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_E _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; +x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; x_7 = l_Lean_mkAtomFrom(x_1, x_6); x_8 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; x_9 = lean_array_push(x_8, x_1); @@ -17109,7 +17109,6 @@ _start: lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_7 = lean_unsigned_to_nat(1u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); -lean_inc(x_8); x_9 = l_Lean_Syntax_getNumArgs(x_8); x_10 = lean_unsigned_to_nat(0u); x_11 = lean_nat_dec_eq(x_9, x_10); diff --git a/stage0/stdlib/Lean/Elab/Print.c b/stage0/stdlib/Lean/Elab/Print.c index 93180b9097..8c485b264d 100644 --- a/stage0/stdlib/Lean/Elab/Print.c +++ b/stage0/stdlib/Lean/Elab/Print.c @@ -2295,7 +2295,6 @@ lean_object* l_Lean_Elab_Command_elabPrint(lean_object* x_1, lean_object* x_2, l _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; -lean_inc(x_1); x_5 = l_Lean_Syntax_getNumArgs(x_1); x_6 = lean_unsigned_to_nat(2u); x_7 = lean_nat_dec_eq(x_5, x_6); @@ -2303,7 +2302,6 @@ lean_dec(x_5); if (x_7 == 0) { lean_object* x_8; lean_object* x_9; -lean_dec(x_1); x_8 = l_Lean_Elab_Command_elabPrint___closed__3; x_9 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(x_8, lean_box(0), x_2, x_3, x_4); return x_9; @@ -2313,7 +2311,6 @@ else lean_object* x_10; lean_object* x_11; uint8_t x_12; x_10 = lean_unsigned_to_nat(1u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); -lean_dec(x_1); x_12 = l_Lean_Syntax_isIdent(x_11); if (x_12 == 0) { @@ -2360,6 +2357,7 @@ _start: lean_object* x_5; x_5 = l_Lean_Elab_Command_elabPrint(x_1, x_2, x_3, x_4); lean_dec(x_3); +lean_dec(x_1); return x_5; } } diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index ca3e0c7056..a48771e5a4 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -261,9 +261,9 @@ lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__12; lean_object* l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; extern lean_object* l_Lean_Elab_Level_elabLevel___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -425,6 +425,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabDoElemQuot___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__58; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabDoElemQuot___closed__2; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__5; lean_object* l_ReaderT_pure___at_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabStxQuot(lean_object*); @@ -434,7 +435,6 @@ extern lean_object* l_Lean_Parser_Tactic_intro___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabLevelQuot(lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__6; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -5034,7 +5034,7 @@ x_17 = lean_array_push(x_16, x_1); x_18 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_19 = lean_array_push(x_17, x_18); x_20 = lean_array_push(x_19, x_18); -x_21 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_21 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_22 = lean_array_push(x_20, x_21); x_23 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; x_24 = l_Lean_addMacroScope(x_15, x_23, x_11); @@ -5058,7 +5058,7 @@ lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); x_35 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_36 = lean_array_push(x_35, x_34); -x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_38 = lean_array_push(x_36, x_37); x_39 = lean_array_push(x_38, x_2); x_40 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -5081,7 +5081,7 @@ x_45 = lean_array_push(x_44, x_1); x_46 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_47 = lean_array_push(x_45, x_46); x_48 = lean_array_push(x_47, x_46); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_50 = lean_array_push(x_48, x_49); x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; x_52 = l_Lean_addMacroScope(x_42, x_51, x_11); @@ -5105,7 +5105,7 @@ lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); x_63 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_64 = lean_array_push(x_63, x_62); -x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_66 = lean_array_push(x_64, x_65); x_67 = lean_array_push(x_66, x_2); x_68 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -5336,7 +5336,7 @@ x_25 = lean_array_push(x_24, x_2); x_26 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_27 = lean_array_push(x_25, x_26); x_28 = lean_array_push(x_27, x_26); -x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_30 = lean_array_push(x_28, x_29); x_31 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; x_32 = lean_name_mk_string(x_1, x_31); @@ -5390,7 +5390,7 @@ lean_ctor_set(x_58, 0, x_21); lean_ctor_set(x_58, 1, x_57); x_59 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_60 = lean_array_push(x_59, x_58); -x_61 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_61 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_62 = lean_array_push(x_60, x_61); x_63 = lean_array_push(x_62, x_4); x_64 = lean_alloc_ctor(1, 2, 0); @@ -5421,7 +5421,7 @@ x_74 = lean_array_push(x_73, x_2); x_75 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_76 = lean_array_push(x_74, x_75); x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_79 = lean_array_push(x_77, x_78); x_80 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; x_81 = lean_name_mk_string(x_1, x_80); @@ -5475,7 +5475,7 @@ lean_ctor_set(x_107, 0, x_70); lean_ctor_set(x_107, 1, x_106); x_108 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_109 = lean_array_push(x_108, x_107); -x_110 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_110 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_111 = lean_array_push(x_109, x_110); x_112 = lean_array_push(x_111, x_4); x_113 = lean_alloc_ctor(1, 2, 0); @@ -5570,7 +5570,7 @@ x_17 = lean_array_push(x_16, x_1); x_18 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_19 = lean_array_push(x_17, x_18); x_20 = lean_array_push(x_19, x_18); -x_21 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_21 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_22 = lean_array_push(x_20, x_21); x_23 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; x_24 = l_Lean_addMacroScope(x_15, x_23, x_11); @@ -5594,7 +5594,7 @@ lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); x_35 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_36 = lean_array_push(x_35, x_34); -x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_38 = lean_array_push(x_36, x_37); x_39 = lean_array_push(x_38, x_2); x_40 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -5617,7 +5617,7 @@ x_45 = lean_array_push(x_44, x_1); x_46 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_47 = lean_array_push(x_45, x_46); x_48 = lean_array_push(x_47, x_46); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_50 = lean_array_push(x_48, x_49); x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; x_52 = l_Lean_addMacroScope(x_42, x_51, x_11); @@ -5641,7 +5641,7 @@ lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); x_63 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_64 = lean_array_push(x_63, x_62); -x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_66 = lean_array_push(x_64, x_65); x_67 = lean_array_push(x_66, x_2); x_68 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -7670,7 +7670,7 @@ x_25 = lean_array_push(x_24, x_23); x_26 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_27 = lean_array_push(x_25, x_26); x_28 = lean_array_push(x_27, x_26); -x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_30 = lean_array_push(x_28, x_29); x_31 = lean_array_push(x_30, x_2); x_32 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -7684,7 +7684,7 @@ lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_34); x_37 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_38 = lean_array_push(x_37, x_36); -x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_40 = lean_array_push(x_38, x_39); x_41 = l_myMacro____x40_Init_Notation___hyg_6138____closed__4; lean_inc(x_14); @@ -7807,7 +7807,7 @@ x_95 = lean_array_push(x_94, x_93); x_96 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_97 = lean_array_push(x_95, x_96); x_98 = lean_array_push(x_97, x_96); -x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_100 = lean_array_push(x_98, x_99); x_101 = lean_array_push(x_100, x_2); x_102 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -7821,7 +7821,7 @@ lean_ctor_set(x_106, 0, x_105); lean_ctor_set(x_106, 1, x_104); x_107 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_108 = lean_array_push(x_107, x_106); -x_109 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_109 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_110 = lean_array_push(x_108, x_109); x_111 = l_myMacro____x40_Init_Notation___hyg_6138____closed__4; lean_inc(x_14); @@ -8292,7 +8292,7 @@ x_55 = lean_array_push(x_54, x_53); x_56 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_57 = lean_array_push(x_55, x_56); x_58 = lean_array_push(x_57, x_56); -x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_60 = lean_array_push(x_58, x_59); x_61 = lean_array_push(x_60, x_4); x_62 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -8306,7 +8306,7 @@ lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); x_67 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_68 = lean_array_push(x_67, x_66); -x_69 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_69 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_70 = lean_array_push(x_68, x_69); x_71 = lean_array_push(x_70, x_41); x_72 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -8338,7 +8338,7 @@ x_82 = lean_array_push(x_81, x_80); x_83 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_84, x_83); -x_86 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_86 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_87 = lean_array_push(x_85, x_86); x_88 = lean_array_push(x_87, x_4); x_89 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -8352,7 +8352,7 @@ lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); x_94 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_95 = lean_array_push(x_94, x_93); -x_96 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_96 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_97 = lean_array_push(x_95, x_96); x_98 = lean_array_push(x_97, x_41); x_99 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -9228,7 +9228,7 @@ x_443 = lean_array_push(x_442, x_441); x_444 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_445 = lean_array_push(x_443, x_444); x_446 = lean_array_push(x_445, x_444); -x_447 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_447 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_448 = lean_array_push(x_446, x_447); x_449 = lean_array_push(x_448, x_4); x_450 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -9242,7 +9242,7 @@ lean_ctor_set(x_454, 0, x_453); lean_ctor_set(x_454, 1, x_452); x_455 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_456 = lean_array_push(x_455, x_454); -x_457 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_457 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_458 = lean_array_push(x_456, x_457); x_459 = lean_array_push(x_458, x_428); x_460 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -10510,7 +10510,7 @@ x_70 = lean_array_push(x_33, x_69); x_71 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_72 = lean_array_push(x_70, x_71); x_73 = lean_array_push(x_72, x_71); -x_74 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_74 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_75 = lean_array_push(x_73, x_74); x_76 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_77 = lean_array_push(x_76, x_18); @@ -10536,7 +10536,7 @@ lean_ctor_set(x_89, 0, x_88); lean_ctor_set(x_89, 1, x_87); x_90 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_91 = lean_array_push(x_90, x_89); -x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_93 = lean_array_push(x_91, x_92); x_94 = lean_array_push(x_93, x_60); x_95 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -10564,7 +10564,7 @@ x_101 = lean_array_push(x_33, x_100); x_102 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_103 = lean_array_push(x_101, x_102); x_104 = lean_array_push(x_103, x_102); -x_105 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_105 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_106 = lean_array_push(x_104, x_105); x_107 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_108 = lean_array_push(x_107, x_18); @@ -10590,7 +10590,7 @@ lean_ctor_set(x_120, 0, x_119); lean_ctor_set(x_120, 1, x_118); x_121 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_122 = lean_array_push(x_121, x_120); -x_123 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_123 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_124 = lean_array_push(x_122, x_123); x_125 = lean_array_push(x_124, x_60); x_126 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -10734,7 +10734,7 @@ x_165 = lean_array_push(x_33, x_164); x_166 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_167 = lean_array_push(x_165, x_166); x_168 = lean_array_push(x_167, x_166); -x_169 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_169 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_170 = lean_array_push(x_168, x_169); x_171 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_172 = lean_array_push(x_171, x_18); @@ -10760,7 +10760,7 @@ lean_ctor_set(x_184, 0, x_183); lean_ctor_set(x_184, 1, x_182); x_185 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_186 = lean_array_push(x_185, x_184); -x_187 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_187 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_188 = lean_array_push(x_186, x_187); x_189 = lean_array_push(x_188, x_154); x_190 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -10954,7 +10954,7 @@ x_256 = lean_array_push(x_255, x_254); x_257 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_258 = lean_array_push(x_256, x_257); x_259 = lean_array_push(x_258, x_257); -x_260 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_260 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_261 = lean_array_push(x_259, x_260); x_262 = lean_array_push(x_261, x_211); x_263 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -10968,7 +10968,7 @@ lean_ctor_set(x_267, 0, x_266); lean_ctor_set(x_267, 1, x_265); x_268 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_269 = lean_array_push(x_268, x_267); -x_270 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_270 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_271 = lean_array_push(x_269, x_270); x_272 = lean_array_push(x_271, x_245); x_273 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -10997,7 +10997,7 @@ x_280 = lean_array_push(x_279, x_278); x_281 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_282 = lean_array_push(x_280, x_281); x_283 = lean_array_push(x_282, x_281); -x_284 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_284 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_285 = lean_array_push(x_283, x_284); x_286 = lean_array_push(x_285, x_211); x_287 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -11011,7 +11011,7 @@ lean_ctor_set(x_291, 0, x_290); lean_ctor_set(x_291, 1, x_289); x_292 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_293 = lean_array_push(x_292, x_291); -x_294 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_294 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_295 = lean_array_push(x_293, x_294); x_296 = lean_array_push(x_295, x_245); x_297 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -11156,7 +11156,7 @@ x_337 = lean_array_push(x_336, x_335); x_338 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_339 = lean_array_push(x_337, x_338); x_340 = lean_array_push(x_339, x_338); -x_341 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_341 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_342 = lean_array_push(x_340, x_341); x_343 = lean_array_push(x_342, x_211); x_344 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -11170,7 +11170,7 @@ lean_ctor_set(x_348, 0, x_347); lean_ctor_set(x_348, 1, x_346); x_349 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_350 = lean_array_push(x_349, x_348); -x_351 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_351 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_352 = lean_array_push(x_350, x_351); x_353 = lean_array_push(x_352, x_325); x_354 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -11380,7 +11380,7 @@ x_420 = lean_array_push(x_419, x_418); x_421 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_422 = lean_array_push(x_420, x_421); x_423 = lean_array_push(x_422, x_421); -x_424 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_424 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_425 = lean_array_push(x_423, x_424); x_426 = lean_array_push(x_425, x_369); x_427 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -11394,7 +11394,7 @@ lean_ctor_set(x_431, 0, x_430); lean_ctor_set(x_431, 1, x_429); x_432 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_433 = lean_array_push(x_432, x_431); -x_434 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_434 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_435 = lean_array_push(x_433, x_434); x_436 = lean_array_push(x_435, x_408); x_437 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -11611,7 +11611,7 @@ x_504 = lean_array_push(x_461, x_503); x_505 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_506 = lean_array_push(x_504, x_505); x_507 = lean_array_push(x_506, x_505); -x_508 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_508 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_509 = lean_array_push(x_507, x_508); x_510 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_511 = lean_array_push(x_510, x_446); @@ -11637,7 +11637,7 @@ lean_ctor_set(x_523, 0, x_522); lean_ctor_set(x_523, 1, x_521); x_524 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_525 = lean_array_push(x_524, x_523); -x_526 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_526 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_527 = lean_array_push(x_525, x_526); x_528 = lean_array_push(x_527, x_493); x_529 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -11865,7 +11865,7 @@ x_600 = lean_array_push(x_599, x_598); x_601 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_602 = lean_array_push(x_600, x_601); x_603 = lean_array_push(x_602, x_601); -x_604 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_604 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_605 = lean_array_push(x_603, x_604); x_606 = lean_array_push(x_605, x_548); x_607 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -11879,7 +11879,7 @@ lean_ctor_set(x_611, 0, x_610); lean_ctor_set(x_611, 1, x_609); x_612 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_613 = lean_array_push(x_612, x_611); -x_614 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_614 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_615 = lean_array_push(x_613, x_614); x_616 = lean_array_push(x_615, x_588); x_617 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -12112,7 +12112,7 @@ x_687 = lean_array_push(x_643, x_686); x_688 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_689 = lean_array_push(x_687, x_688); x_690 = lean_array_push(x_689, x_688); -x_691 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_691 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_692 = lean_array_push(x_690, x_691); x_693 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_694 = lean_array_push(x_693, x_627); @@ -12138,7 +12138,7 @@ lean_ctor_set(x_706, 0, x_705); lean_ctor_set(x_706, 1, x_704); x_707 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_708 = lean_array_push(x_707, x_706); -x_709 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_709 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_710 = lean_array_push(x_708, x_709); x_711 = lean_array_push(x_710, x_676); x_712 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -12369,7 +12369,7 @@ x_783 = lean_array_push(x_782, x_781); x_784 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_785 = lean_array_push(x_783, x_784); x_786 = lean_array_push(x_785, x_784); -x_787 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_787 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_788 = lean_array_push(x_786, x_787); x_789 = lean_array_push(x_788, x_731); x_790 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -12383,7 +12383,7 @@ lean_ctor_set(x_794, 0, x_793); lean_ctor_set(x_794, 1, x_792); x_795 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_796 = lean_array_push(x_795, x_794); -x_797 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_797 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_798 = lean_array_push(x_796, x_797); x_799 = lean_array_push(x_798, x_771); x_800 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index 67088f1d6a..640e84cff3 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -382,10 +382,10 @@ lean_object* l_Lean_Elab_Term_StructInst_defaultMissing_x3f(lean_object*); lean_object* l_Lean_getPathToBaseStructure_x3f(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields___closed__1; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields_match__2(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; size_t lean_usize_modn(size_t, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_setStructSourceSyntax_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -624,6 +624,7 @@ lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term lean_object* l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__1___closed__6; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap_match__2___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__3; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_propagateExpectedType_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__3___rarg(lean_object*, lean_object*, lean_object*); @@ -644,7 +645,6 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce_match__1___rarg(le lean_object* l_Lean_Format_joinSep___at___private_Lean_Data_Trie_0__Lean_Parser_Trie_toStringAux___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_tryToSynthesizeDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; lean_object* l_Lean_Meta_mkFreshLevelMVar___at_Lean_Elab_Term_ensureType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -1033,7 +1033,7 @@ x_50 = lean_array_push(x_49, x_48); x_51 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_52 = lean_array_push(x_50, x_51); x_53 = lean_array_push(x_52, x_51); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_55 = lean_array_push(x_53, x_54); x_56 = lean_array_push(x_55, x_23); x_57 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -1047,7 +1047,7 @@ lean_ctor_set(x_61, 0, x_60); lean_ctor_set(x_61, 1, x_59); x_62 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_63 = lean_array_push(x_62, x_61); -x_64 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_64 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_65 = lean_array_push(x_63, x_64); x_66 = lean_array_push(x_65, x_40); x_67 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -1078,7 +1078,7 @@ x_75 = lean_array_push(x_74, x_73); x_76 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_77 = lean_array_push(x_75, x_76); x_78 = lean_array_push(x_77, x_76); -x_79 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_79 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_80 = lean_array_push(x_78, x_79); x_81 = lean_array_push(x_80, x_23); x_82 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -1092,7 +1092,7 @@ lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); x_87 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_88 = lean_array_push(x_87, x_86); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_90 = lean_array_push(x_88, x_89); x_91 = lean_array_push(x_90, x_40); x_92 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -1242,7 +1242,7 @@ x_142 = lean_array_push(x_141, x_140); x_143 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_144 = lean_array_push(x_142, x_143); x_145 = lean_array_push(x_144, x_143); -x_146 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_146 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_147 = lean_array_push(x_145, x_146); x_148 = lean_array_push(x_147, x_114); x_149 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -1256,7 +1256,7 @@ lean_ctor_set(x_153, 0, x_152); lean_ctor_set(x_153, 1, x_151); x_154 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_155 = lean_array_push(x_154, x_153); -x_156 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_156 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_157 = lean_array_push(x_155, x_156); x_158 = lean_array_push(x_157, x_131); x_159 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -1478,7 +1478,7 @@ x_222 = lean_array_push(x_221, x_220); x_223 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_224 = lean_array_push(x_222, x_223); x_225 = lean_array_push(x_224, x_223); -x_226 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_226 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_227 = lean_array_push(x_225, x_226); x_228 = lean_array_push(x_227, x_194); x_229 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; @@ -1492,7 +1492,7 @@ lean_ctor_set(x_233, 0, x_232); lean_ctor_set(x_233, 1, x_231); x_234 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_235 = lean_array_push(x_234, x_233); -x_236 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__7; +x_236 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; x_237 = lean_array_push(x_235, x_236); x_238 = lean_array_push(x_237, x_211); x_239 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; @@ -3019,7 +3019,7 @@ lean_ctor_set(x_80, 2, x_78); lean_ctor_set(x_80, 3, x_24); x_81 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; x_82 = lean_array_push(x_81, x_80); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_84, x_57); x_86 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; @@ -3321,7 +3321,7 @@ lean_ctor_set(x_236, 2, x_234); lean_ctor_set(x_236, 3, x_225); x_237 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; x_238 = lean_array_push(x_237, x_236); -x_239 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__6; +x_239 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; x_240 = lean_array_push(x_238, x_239); x_241 = lean_array_push(x_240, x_211); x_242 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index ba80f39390..0400a2aeee 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -821,7 +821,6 @@ _start: lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_7 = lean_unsigned_to_nat(1u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); -lean_inc(x_8); x_9 = l_Lean_Syntax_getNumArgs(x_8); x_10 = lean_unsigned_to_nat(0u); x_11 = lean_nat_dec_eq(x_9, x_10); diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 137762eb4e..0621c6f780 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -19,6 +19,7 @@ uint8_t l_Lean_Syntax_isQuot(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__34; lean_object* l_Lean_Elab_Command_expandElab___closed__43; +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; extern lean_object* l_Lean_Name_toString___closed__1; lean_object* l_Lean_Elab_Command_expandMixfix___closed__28; @@ -162,7 +163,6 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___cl uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__35; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__7; -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__22; extern lean_object* l_instReprBool___closed__1; lean_object* l_Lean_Elab_Command_expandElab___closed__4; @@ -244,6 +244,7 @@ lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_getVarDecls(lean lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___closed__21; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; lean_object* l_Lean_Elab_Command_expandElab___closed__28; lean_object* l_Lean_Elab_Command_expandElab___closed__14; @@ -299,6 +300,7 @@ lean_object* l_Lean_Elab_Command_expandElab___closed__49; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__7; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__24; +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__51; lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev(lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___closed__9; @@ -487,7 +489,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__46; lean_object* l_Lean_Elab_Command_expandElab___closed__46; lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__3; lean_object* l_Lean_Elab_Term_checkLeftRec___closed__5; -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__13; uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__25; @@ -642,7 +643,6 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__11; lean_object* l_Lean_Elab_Command_withExpectedType_match__1(lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; extern lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__3; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -10046,7 +10046,7 @@ lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); x_33 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; x_34 = lean_array_push(x_33, x_32); -x_35 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_35 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_36 = lean_array_push(x_34, x_35); x_37 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; x_38 = lean_alloc_ctor(1, 2, 0); @@ -10257,7 +10257,7 @@ x_158 = lean_array_push(x_73, x_157); x_159 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_159, 0, x_94); lean_ctor_set(x_159, 1, x_158); -x_160 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_160 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_161 = lean_array_push(x_160, x_159); x_162 = lean_array_push(x_161, x_26); x_163 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -10996,7 +10996,6 @@ return x_20; else { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_inc(x_1); x_21 = l_Lean_Syntax_getNumArgs(x_1); x_22 = lean_unsigned_to_nat(1u); x_23 = lean_nat_sub(x_21, x_22); @@ -12006,7 +12005,7 @@ lean_ctor_set(x_58, 0, x_52); lean_ctor_set(x_58, 1, x_57); x_59 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; x_60 = lean_array_push(x_59, x_58); -x_61 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_61 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_62 = lean_array_push(x_60, x_61); x_63 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; x_64 = lean_alloc_ctor(1, 2, 0); @@ -12082,7 +12081,7 @@ x_109 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_110 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_110, 0, x_109); lean_ctor_set(x_110, 1, x_108); -x_111 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_111 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_112 = lean_array_push(x_111, x_110); x_113 = lean_array_push(x_112, x_69); x_114 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -12145,7 +12144,7 @@ lean_ctor_set(x_144, 0, x_138); lean_ctor_set(x_144, 1, x_143); x_145 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; x_146 = lean_array_push(x_145, x_144); -x_147 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_147 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_148 = lean_array_push(x_146, x_147); x_149 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; x_150 = lean_alloc_ctor(1, 2, 0); @@ -12221,7 +12220,7 @@ x_195 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_196 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_196, 0, x_195); lean_ctor_set(x_196, 1, x_194); -x_197 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_197 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_198 = lean_array_push(x_197, x_196); x_199 = lean_array_push(x_198, x_155); x_200 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -12782,7 +12781,7 @@ x_70 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_69); -x_72 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_72 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_73 = lean_array_push(x_72, x_71); x_74 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_75 = lean_array_push(x_73, x_74); @@ -13772,7 +13771,7 @@ lean_ctor_set(x_32, 0, x_26); lean_ctor_set(x_32, 1, x_31); x_33 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; x_34 = lean_array_push(x_33, x_32); -x_35 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_35 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_36 = lean_array_push(x_34, x_35); x_37 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; x_38 = lean_alloc_ctor(1, 2, 0); @@ -13926,7 +13925,7 @@ x_125 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); -x_127 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_127 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_128 = lean_array_push(x_127, x_126); x_129 = lean_array_push(x_128, x_43); x_130 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -13985,7 +13984,7 @@ lean_ctor_set(x_156, 0, x_150); lean_ctor_set(x_156, 1, x_155); x_157 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; x_158 = lean_array_push(x_157, x_156); -x_159 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_159 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_160 = lean_array_push(x_158, x_159); x_161 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; x_162 = lean_alloc_ctor(1, 2, 0); @@ -14139,7 +14138,7 @@ x_249 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_250 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_250, 0, x_249); lean_ctor_set(x_250, 1, x_248); -x_251 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_251 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_252 = lean_array_push(x_251, x_250); x_253 = lean_array_push(x_252, x_167); x_254 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -17680,9 +17679,9 @@ x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__ x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); -x_47 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_47 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_48 = lean_array_push(x_47, x_46); -x_49 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_49 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_50 = lean_array_push(x_48, x_49); x_51 = l_Lean_nullKind___closed__2; x_52 = lean_alloc_ctor(1, 2, 0); @@ -17778,9 +17777,9 @@ x_106 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed_ x_107 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_107, 0, x_106); lean_ctor_set(x_107, 1, x_105); -x_108 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_108 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_109 = lean_array_push(x_108, x_107); -x_110 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_110 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_111 = lean_array_push(x_109, x_110); x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_100); @@ -17880,9 +17879,9 @@ x_165 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed_ x_166 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_166, 0, x_165); lean_ctor_set(x_166, 1, x_164); -x_167 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_167 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_168 = lean_array_push(x_167, x_166); -x_169 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_169 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_170 = lean_array_push(x_168, x_169); x_171 = l_Lean_nullKind___closed__2; x_172 = lean_alloc_ctor(1, 2, 0); @@ -17980,9 +17979,9 @@ x_227 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed_ x_228 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_228, 0, x_227); lean_ctor_set(x_228, 1, x_226); -x_229 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_229 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_230 = lean_array_push(x_229, x_228); -x_231 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_231 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_232 = lean_array_push(x_230, x_231); x_233 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_233, 0, x_221); @@ -19285,9 +19284,9 @@ x_72 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__ x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); -x_74 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_74 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_75 = lean_array_push(x_74, x_73); -x_76 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_76 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_77 = lean_array_push(x_75, x_76); x_78 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_78, 0, x_59); @@ -19382,9 +19381,9 @@ x_135 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed_ x_136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_136, 0, x_135); lean_ctor_set(x_136, 1, x_134); -x_137 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_137 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_138 = lean_array_push(x_137, x_136); -x_139 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_139 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_140 = lean_array_push(x_138, x_139); x_141 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_141, 0, x_122); @@ -19496,9 +19495,9 @@ x_204 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed_ x_205 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_205, 0, x_204); lean_ctor_set(x_205, 1, x_203); -x_206 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_206 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_207 = lean_array_push(x_206, x_205); -x_208 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_208 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_209 = lean_array_push(x_207, x_208); x_210 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_210, 0, x_191); @@ -19595,9 +19594,9 @@ x_268 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed_ x_269 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_269, 0, x_268); lean_ctor_set(x_269, 1, x_267); -x_270 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_270 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_271 = lean_array_push(x_270, x_269); -x_272 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_272 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_273 = lean_array_push(x_271, x_272); x_274 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_274, 0, x_255); @@ -20918,9 +20917,9 @@ x_88 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__ x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_88); lean_ctor_set(x_89, 1, x_87); -x_90 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_90 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_91 = lean_array_push(x_90, x_89); -x_92 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_92 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_93 = lean_array_push(x_91, x_92); x_94 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_94, 0, x_76); @@ -21115,7 +21114,7 @@ x_209 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_210 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_210, 0, x_209); lean_ctor_set(x_210, 1, x_208); -x_211 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_211 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_212 = lean_array_push(x_211, x_210); x_213 = lean_array_push(x_212, x_125); x_214 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -21171,9 +21170,9 @@ x_240 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed_ x_241 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_241, 0, x_240); lean_ctor_set(x_241, 1, x_239); -x_242 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_242 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_243 = lean_array_push(x_242, x_241); -x_244 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_244 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_245 = lean_array_push(x_243, x_244); x_246 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_246, 0, x_228); @@ -21369,7 +21368,7 @@ x_362 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_363 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_363, 0, x_362); lean_ctor_set(x_363, 1, x_361); -x_364 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_364 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_365 = lean_array_push(x_364, x_363); x_366 = lean_array_push(x_365, x_278); x_367 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -21425,9 +21424,9 @@ x_393 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed_ x_394 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_394, 0, x_393); lean_ctor_set(x_394, 1, x_392); -x_395 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_395 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_396 = lean_array_push(x_395, x_394); -x_397 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_397 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_398 = lean_array_push(x_396, x_397); x_399 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_399, 0, x_381); @@ -21625,7 +21624,7 @@ x_517 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_518 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_518, 0, x_517); lean_ctor_set(x_518, 1, x_516); -x_519 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_519 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_520 = lean_array_push(x_519, x_518); x_521 = lean_array_push(x_520, x_431); x_522 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -21710,9 +21709,9 @@ x_558 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed_ x_559 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_559, 0, x_558); lean_ctor_set(x_559, 1, x_557); -x_560 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_560 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_561 = lean_array_push(x_560, x_559); -x_562 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_562 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_563 = lean_array_push(x_561, x_562); x_564 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_564, 0, x_546); @@ -21956,7 +21955,7 @@ x_705 = lean_array_push(x_671, x_704); x_706 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_706, 0, x_673); lean_ctor_set(x_706, 1, x_705); -x_707 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_707 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_708 = lean_array_push(x_707, x_706); x_709 = lean_array_push(x_708, x_596); x_710 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -22068,9 +22067,9 @@ x_757 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed_ x_758 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_758, 0, x_757); lean_ctor_set(x_758, 1, x_756); -x_759 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_759 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_760 = lean_array_push(x_759, x_758); -x_761 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_761 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_762 = lean_array_push(x_760, x_761); x_763 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_763, 0, x_745); @@ -22265,7 +22264,7 @@ x_878 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_879 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_879, 0, x_878); lean_ctor_set(x_879, 1, x_877); -x_880 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_880 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_881 = lean_array_push(x_880, x_879); x_882 = lean_array_push(x_881, x_794); x_883 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -22323,9 +22322,9 @@ x_910 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed_ x_911 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_911, 0, x_910); lean_ctor_set(x_911, 1, x_909); -x_912 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_912 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_913 = lean_array_push(x_912, x_911); -x_914 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_914 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_915 = lean_array_push(x_913, x_914); x_916 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_916, 0, x_898); @@ -22521,7 +22520,7 @@ x_1032 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_1033 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1033, 0, x_1032); lean_ctor_set(x_1033, 1, x_1031); -x_1034 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_1034 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_1035 = lean_array_push(x_1034, x_1033); x_1036 = lean_array_push(x_1035, x_948); x_1037 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -22579,9 +22578,9 @@ x_1064 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed x_1065 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1065, 0, x_1064); lean_ctor_set(x_1065, 1, x_1063); -x_1066 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_1066 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_1067 = lean_array_push(x_1066, x_1065); -x_1068 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_1068 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_1069 = lean_array_push(x_1067, x_1068); x_1070 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1070, 0, x_1052); @@ -22779,7 +22778,7 @@ x_1188 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_1189 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1189, 0, x_1188); lean_ctor_set(x_1189, 1, x_1187); -x_1190 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_1190 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_1191 = lean_array_push(x_1190, x_1189); x_1192 = lean_array_push(x_1191, x_1102); x_1193 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -22865,9 +22864,9 @@ x_1230 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed x_1231 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1231, 0, x_1230); lean_ctor_set(x_1231, 1, x_1229); -x_1232 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__9; +x_1232 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; x_1233 = lean_array_push(x_1232, x_1231); -x_1234 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__10; +x_1234 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__10; x_1235 = lean_array_push(x_1233, x_1234); x_1236 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1236, 0, x_1218); @@ -23111,7 +23110,7 @@ x_1377 = lean_array_push(x_1343, x_1376); x_1378 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1378, 0, x_1345); lean_ctor_set(x_1378, 1, x_1377); -x_1379 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__7; +x_1379 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; x_1380 = lean_array_push(x_1379, x_1378); x_1381 = lean_array_push(x_1380, x_1268); x_1382 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index 460f21c087..2e338f0c6a 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -16,6 +16,7 @@ extern "C" { extern lean_object* l_Lean_Parser_Tactic_orelse___closed__4; lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; lean_object* l_Lean_Elab_Tactic_getMainTag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); @@ -27,6 +28,7 @@ lean_object* l_Lean_Elab_Tactic_evalIntroMatch(lean_object*, lean_object*, lean_ lean_object* l_Lean_Elab_Tactic_getMainTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; lean_object* l_Lean_Elab_Tactic_withMainMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalIntro_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__3; @@ -125,7 +127,6 @@ lean_object* l_Lean_Elab_Tactic_evalCase___closed__3; lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___closed__1; lean_object* l_Lean_Meta_getMVars___at_Lean_Elab_Tactic_ensureHasNoMVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f_match__1(lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMessageLog___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -141,7 +142,6 @@ lean_object* l_Lean_Elab_Tactic_evalDone___rarg(lean_object*, lean_object*, lean lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_object*); lean_object* l_Lean_MetavarContext_renameMVar(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__4; size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalTacticSeq1Indented___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -210,7 +210,6 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__1; lean_object* l_Lean_Elab_Tactic_evalCase(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__1; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t l_Array_qsort_sort___at___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___spec__1___lambda__1(lean_object*, lean_object*, lean_object*); @@ -276,6 +275,7 @@ lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*, lea lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_introMatch___closed__2; lean_object* l_Lean_Elab_Tactic_getGoals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1; size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal___closed__1; @@ -416,6 +416,7 @@ lean_object* l_Lean_Elab_Tactic_focusAux(lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalTactic___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__1; lean_object* l_Lean_Elab_Tactic_evalIntro___closed__4; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -581,7 +582,6 @@ lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalTactic___spec__8(lean_obj lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandTacticMacro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandTacticMacroFns_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; lean_object* l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen(lean_object*); lean_object* l_Lean_Elab_Tactic_evalIntro___closed__6; @@ -8792,7 +8792,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -9023,7 +9023,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -9324,7 +9324,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -10579,7 +10579,7 @@ x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_11); lean_ctor_set(x_38, 1, x_37); x_39 = lean_array_push(x_32, x_38); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; x_41 = lean_array_push(x_39, x_40); x_42 = l_Array_appendCore___rarg(x_32, x_27); lean_dec(x_27); @@ -10595,7 +10595,7 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_34); lean_ctor_set(x_47, 1, x_46); x_48 = lean_array_push(x_32, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -10776,7 +10776,7 @@ x_102 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_102, 0, x_11); lean_ctor_set(x_102, 1, x_101); x_103 = lean_array_push(x_97, x_102); -x_104 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__5; +x_104 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; x_105 = lean_array_push(x_103, x_104); x_106 = l_Lean_Elab_Tactic_evalIntro___closed__5; x_107 = lean_array_push(x_106, x_96); @@ -10835,7 +10835,7 @@ x_143 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_143, 0, x_73); lean_ctor_set(x_143, 1, x_142); x_144 = lean_array_push(x_97, x_143); -x_145 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_145 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_146 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_146, 0, x_145); lean_ctor_set(x_146, 1, x_144); @@ -14650,7 +14650,7 @@ x_20 = l_Lean_Syntax_getArg(x_1, x_19); x_21 = lean_unsigned_to_nat(3u); x_22 = l_Lean_Syntax_getArg(x_1, x_21); lean_dec(x_1); -x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_inc(x_22); x_24 = l_Lean_Syntax_isOfKind(x_22, x_23); if (x_24 == 0) diff --git a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c index e0f2a87d65..a8674f2610 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c @@ -15,90 +15,105 @@ extern "C" { #endif lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__2; size_t l_USize_add(size_t, size_t); -lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandRewriteTactic___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Elab_Tactic_rewriteLocalDeclFVarId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withMainMVarContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1(lean_object*, uint8_t, lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1(lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewrite(lean_object*); extern lean_object* l_Lean_nullKind; -lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId_match__1(lean_object*); -lean_object* l_Lean_Elab_Tactic_rewriteAll(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteAll(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_rewrite___closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_expandRewriteTactic(lean_object*); lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteTarget_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalERewrite___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalERewrite(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_rewriteTarget___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteTarget___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_replaceLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDeclFromUserName___at_Lean_Elab_Tactic_rewriteLocalDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDeclFromUserName___at_Lean_Elab_Tactic_rewriteLocalDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_rewriteTarget(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteTarget(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_replaceTargetEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_getLocalDeclFromUserName___rarg___lambda__1___closed__2; -lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_rewriteAll___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteAll___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_expandOptLocation(lean_object*); -lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_erewrite___closed__2; +lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewrite___closed__1; lean_object* l_Lean_Elab_Tactic_rewriteTarget_match__1(lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__3; -lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1; extern lean_object* l_Lean_Parser_Tactic_rewrite___closed__2; -lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalRewriteCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_rewrite(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_rewrite(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalRewrite_match__1(lean_object*); -lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewrite___spec__1(lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3; -lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalRewrite_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_expandERewriteTactic___boxed(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalRewriteCore_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_expandERewriteTactic(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; lean_object* l_Lean_Elab_Tactic_try___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__1(uint8_t, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_expandRewriteTactic___closed__1; lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalRewriteCore(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_expandERewriteTactic___closed__1; extern lean_object* l_Lean_Elab_macroAttribute; +extern lean_object* l_Lean_Parser_Tactic_erewrite___closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_expandERewriteTactic(lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwUnknownFVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteAll_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_setGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteAll_match__1(lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_getFVarIds(lean_object*); +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalERewrite___closed__1; uint8_t l_Lean_Syntax_isNone(lean_object*); extern lean_object* l_Lean_Parser_Tactic_rewrite___closed__3; +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalERewrite(lean_object*); lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Elab_Tactic_rewriteLocalDeclFVarId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarDecl___at_Lean_Elab_Tactic_getMainTag___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewrite___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_expandRewriteTactic___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_expandERewriteTactic___spec__1(lean_object*, size_t, size_t, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__2; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalRewriteCore_match__1(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_expandERewriteTactic___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1017____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_expandRewriteTactic___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Tactic_evalRewrite(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -218,6 +233,116 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_expandERewriteTactic___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = x_3 < x_2; +if (x_5 == 0) +{ +lean_object* x_6; +lean_dec(x_1); +x_6 = x_4; +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; +x_7 = lean_array_uget(x_4, x_3); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_uset(x_4, x_3, x_8); +x_10 = x_7; +x_11 = l_Lean_Parser_Tactic_erewrite___closed__3; +x_12 = l_Lean_mkAtomFrom(x_10, x_11); +x_13 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__3; +x_14 = lean_array_push(x_13, x_12); +x_15 = lean_array_push(x_14, x_10); +lean_inc(x_1); +x_16 = lean_array_push(x_15, x_1); +x_17 = l_Lean_Parser_Tactic_erewrite___closed__2; +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = 1; +x_20 = x_3 + x_19; +x_21 = x_18; +x_22 = lean_array_uset(x_9, x_3, x_21); +x_3 = x_20; +x_4 = x_22; +goto _start; +} +} +} +lean_object* l_Lean_Elab_Tactic_expandERewriteTactic(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_4 = lean_unsigned_to_nat(1u); +x_5 = l_Lean_Syntax_getArg(x_1, x_4); +x_6 = l_Lean_Syntax_getArg(x_5, x_4); +lean_dec(x_5); +x_7 = l_Lean_Syntax_getSepArgs(x_6); +lean_dec(x_6); +x_8 = lean_unsigned_to_nat(2u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_array_get_size(x_7); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = x_7; +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_expandERewriteTactic___spec__1(x_9, x_11, x_12, x_13); +x_15 = x_14; +x_16 = l_Lean_nullKind; +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_3); +return x_18; +} +} +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_expandERewriteTactic___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_expandERewriteTactic___spec__1(x_1, x_5, x_6, x_4); +return x_7; +} +} +lean_object* l_Lean_Elab_Tactic_expandERewriteTactic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_Tactic_expandERewriteTactic(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_expandERewriteTactic___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_expandERewriteTactic___boxed), 3, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_expandERewriteTactic(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_Elab_macroAttribute; +x_3 = l_Lean_Parser_Tactic_erewriteSeq___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_expandERewriteTactic___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* l_Lean_Elab_Tactic_rewriteTarget_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { @@ -239,293 +364,299 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteTarget_match__1___rar return x_2; } } -lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; +lean_object* x_15; lean_inc(x_1); -x_14 = l_Lean_Meta_getMVarDecl___at_Lean_Elab_Tactic_getMainTag___spec__1(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_14) == 0) +x_15 = l_Lean_Meta_getMVarDecl___at_Lean_Elab_Tactic_getMainTag___spec__1(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 2); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_18 = l_Lean_Meta_instantiateMVarsImp(x_17, x_9, x_10, x_11, x_12, x_16); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_box(0); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_1); -x_22 = l_Lean_Meta_rewrite(x_1, x_19, x_4, x_2, x_21, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_27 = l_Lean_Meta_replaceTargetEq(x_1, x_25, x_26, x_9, x_10, x_11, x_12, x_24); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_ctor_get(x_23, 2); -lean_inc(x_30); -lean_dec(x_23); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_28); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_List_append___rarg(x_31, x_3); -x_33 = l_Lean_Elab_Tactic_setGoals(x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_29); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -return x_33; -} -else -{ -uint8_t x_34; -lean_dec(x_23); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_3); -x_34 = !lean_is_exclusive(x_27); -if (x_34 == 0) -{ -return x_27; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_27, 0); -x_36 = lean_ctor_get(x_27, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_27); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -else -{ -uint8_t x_38; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_3); -lean_dec(x_1); -x_38 = !lean_is_exclusive(x_22); -if (x_38 == 0) -{ -return x_22; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_22, 0); -x_40 = lean_ctor_get(x_22, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_22); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else -{ -uint8_t x_42; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_42 = !lean_is_exclusive(x_18); -if (x_42 == 0) -{ -return x_18; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_18, 0); -x_44 = lean_ctor_get(x_18, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_18); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -} -else -{ -uint8_t x_46; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_46 = !lean_is_exclusive(x_14); -if (x_46 == 0) -{ -return x_14; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_14, 0); -x_48 = lean_ctor_get(x_14, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_14); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; -} -} -} -} -lean_object* l_Lean_Elab_Tactic_rewriteTarget(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Lean_Elab_Tactic_getMainGoal(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_13 = lean_ctor_get(x_12, 0); +x_18 = lean_ctor_get(x_16, 2); +lean_inc(x_18); +lean_dec(x_16); lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_dec(x_13); -x_17 = lean_box(0); -x_18 = 1; -x_19 = lean_box(x_18); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabTerm___boxed), 12, 3); -lean_closure_set(x_20, 0, x_1); -lean_closure_set(x_20, 1, x_17); -lean_closure_set(x_20, 2, x_19); -x_21 = lean_box(x_2); -lean_inc(x_15); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteTarget___lambda__1___boxed), 13, 3); -lean_closure_set(x_22, 0, x_15); -lean_closure_set(x_22, 1, x_21); -lean_closure_set(x_22, 2, x_16); -x_23 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_23, 0, x_20); -lean_closure_set(x_23, 1, x_22); -x_24 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_15, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -return x_24; -} -else +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_19 = l_Lean_Meta_instantiateMVarsImp(x_18, x_10, x_11, x_12, x_13, x_17); +if (lean_obj_tag(x_19) == 0) { -uint8_t x_25; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_25 = !lean_is_exclusive(x_12); -if (x_25 == 0) +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_1); +x_23 = l_Lean_Meta_rewrite(x_1, x_20, x_5, x_2, x_22, x_3, x_10, x_11, x_12, x_13, x_21); +if (lean_obj_tag(x_23) == 0) { -return x_12; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_12, 0); -x_27 = lean_ctor_get(x_12, 1); -lean_inc(x_27); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_28 = l_Lean_Meta_replaceTargetEq(x_1, x_26, x_27, x_10, x_11, x_12, x_13, x_25); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_ctor_get(x_24, 2); +lean_inc(x_31); +lean_dec(x_24); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_List_append___rarg(x_32, x_4); +x_34 = l_Lean_Elab_Tactic_setGoals(x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_30); +lean_dec(x_13); lean_dec(x_12); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); +lean_dec(x_11); +lean_dec(x_10); +return x_34; +} +else +{ +uint8_t x_35; +lean_dec(x_24); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_4); +x_35 = !lean_is_exclusive(x_28); +if (x_35 == 0) +{ return x_28; } +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_28, 0); +x_37 = lean_ctor_get(x_28, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_28); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } -lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +else +{ +uint8_t x_39; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_4); +lean_dec(x_1); +x_39 = !lean_is_exclusive(x_23); +if (x_39 == 0) +{ +return x_23; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_23, 0); +x_41 = lean_ctor_get(x_23, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_23); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_43 = !lean_is_exclusive(x_19); +if (x_43 == 0) +{ +return x_19; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_19, 0); +x_45 = lean_ctor_get(x_19, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_19); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +uint8_t x_47; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_47 = !lean_is_exclusive(x_15); +if (x_47 == 0) +{ +return x_15; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_15, 0); +x_49 = lean_ctor_get(x_15, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_15); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_rewriteTarget(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_2); -lean_dec(x_2); -x_15 = l_Lean_Elab_Tactic_rewriteTarget___lambda__1(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_getMainGoal(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_box(0); +x_19 = 1; +x_20 = lean_box(x_19); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabTerm___boxed), 12, 3); +lean_closure_set(x_21, 0, x_1); +lean_closure_set(x_21, 1, x_18); +lean_closure_set(x_21, 2, x_20); +x_22 = lean_box(x_2); +x_23 = lean_box(x_3); +lean_inc(x_16); +x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteTarget___lambda__1___boxed), 14, 4); +lean_closure_set(x_24, 0, x_16); +lean_closure_set(x_24, 1, x_22); +lean_closure_set(x_24, 2, x_23); +lean_closure_set(x_24, 3, x_17); +x_25 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_25, 0, x_21); +lean_closure_set(x_25, 1, x_24); +x_26 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_16, x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +return x_26; +} +else +{ +uint8_t x_27; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_15; +lean_dec(x_4); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_13); +if (x_27 == 0) +{ +return x_13; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_13, 0); +x_29 = lean_ctor_get(x_13, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_13); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } -lean_object* l_Lean_Elab_Tactic_rewriteTarget___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +} +} +lean_object* l_Lean_Elab_Tactic_rewriteTarget___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_2); +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_2); lean_dec(x_2); -x_13 = l_Lean_Elab_Tactic_rewriteTarget(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; +x_16 = lean_unbox(x_3); +lean_dec(x_3); +x_17 = l_Lean_Elab_Tactic_rewriteTarget___lambda__1(x_1, x_15, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_17; +} +} +lean_object* l_Lean_Elab_Tactic_rewriteTarget___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_2); +lean_dec(x_2); +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = l_Lean_Elab_Tactic_rewriteTarget(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; } } lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId_match__1___rarg(lean_object* x_1, lean_object* x_2) { @@ -579,204 +710,207 @@ return x_15; } } } -lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; -lean_inc(x_10); +lean_object* x_16; +lean_inc(x_11); lean_inc(x_1); -x_15 = l_Lean_Meta_getLocalDecl___at_Lean_Elab_Tactic_rewriteLocalDeclFVarId___spec__1(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_15) == 0) +x_16 = l_Lean_Meta_getLocalDecl___at_Lean_Elab_Tactic_rewriteLocalDeclFVarId___spec__1(x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -lean_dec(x_15); -x_18 = l_Lean_LocalDecl_type(x_16); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); lean_dec(x_16); -x_19 = lean_box(0); +x_19 = l_Lean_LocalDecl_type(x_17); +lean_dec(x_17); +x_20 = lean_box(0); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); lean_inc(x_2); -x_20 = l_Lean_Meta_rewrite(x_2, x_18, x_5, x_3, x_19, x_10, x_11, x_12, x_13, x_17); -if (lean_obj_tag(x_20) == 0) +x_21 = l_Lean_Meta_rewrite(x_2, x_19, x_6, x_3, x_20, x_4, x_11, x_12, x_13, x_14, x_18); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_ctor_get(x_21, 0); +x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); -x_24 = lean_ctor_get(x_21, 1); +lean_dec(x_21); +x_24 = lean_ctor_get(x_22, 0); lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -x_25 = l_Lean_Meta_replaceLocalDecl(x_2, x_1, x_23, x_24, x_10, x_11, x_12, x_13, x_22); -if (lean_obj_tag(x_25) == 0) +x_26 = l_Lean_Meta_replaceLocalDecl(x_2, x_1, x_24, x_25, x_11, x_12, x_13, x_14, x_23); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec(x_25); x_28 = lean_ctor_get(x_26, 1); lean_inc(x_28); lean_dec(x_26); -x_29 = lean_ctor_get(x_21, 2); +x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); -lean_dec(x_21); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_List_append___rarg(x_30, x_4); -x_32 = l_Lean_Elab_Tactic_setGoals(x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_27); +lean_dec(x_27); +x_30 = lean_ctor_get(x_22, 2); +lean_inc(x_30); +lean_dec(x_22); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_List_append___rarg(x_31, x_5); +x_33 = l_Lean_Elab_Tactic_setGoals(x_32, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); -return x_32; +return x_33; } else { -uint8_t x_33; -lean_dec(x_21); +uint8_t x_34; +lean_dec(x_22); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_4); -x_33 = !lean_is_exclusive(x_25); -if (x_33 == 0) -{ -return x_25; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_25, 0); -x_35 = lean_ctor_get(x_25, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_25); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -uint8_t x_37; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_37 = !lean_is_exclusive(x_20); -if (x_37 == 0) -{ -return x_20; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_20, 0); -x_39 = lean_ctor_get(x_20, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_20); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -else -{ -uint8_t x_41; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_41 = !lean_is_exclusive(x_15); -if (x_41 == 0) +x_34 = !lean_is_exclusive(x_26); +if (x_34 == 0) { -return x_15; +return x_26; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_15, 0); -x_43 = lean_ctor_get(x_15, 1); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_26, 0); +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_26); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_38 = !lean_is_exclusive(x_21); +if (x_38 == 0) +{ +return x_21; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_21, 0); +x_40 = lean_ctor_get(x_21, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_21); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_16); +if (x_42 == 0) +{ +return x_16; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_16, 0); +x_44 = lean_ctor_get(x_16, 1); +lean_inc(x_44); lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_15); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +lean_dec(x_16); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } } -lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId(lean_object* x_1, uint8_t x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -x_13 = l_Lean_Elab_Tactic_getMainGoal(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_13) == 0) +lean_object* x_14; +x_14 = l_Lean_Elab_Tactic_getMainGoal(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get(x_14, 0); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); lean_dec(x_14); -x_18 = lean_box(0); -x_19 = 1; -x_20 = lean_box(x_19); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabTerm___boxed), 12, 3); -lean_closure_set(x_21, 0, x_1); -lean_closure_set(x_21, 1, x_18); -lean_closure_set(x_21, 2, x_20); -x_22 = lean_box(x_2); -lean_inc(x_16); -x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1___boxed), 14, 4); -lean_closure_set(x_23, 0, x_3); -lean_closure_set(x_23, 1, x_16); -lean_closure_set(x_23, 2, x_22); -lean_closure_set(x_23, 3, x_17); -x_24 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_24, 0, x_21); -lean_closure_set(x_24, 1, x_23); -x_25 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_16, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -return x_25; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_box(0); +x_20 = 1; +x_21 = lean_box(x_20); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_elabTerm___boxed), 12, 3); +lean_closure_set(x_22, 0, x_1); +lean_closure_set(x_22, 1, x_19); +lean_closure_set(x_22, 2, x_21); +x_23 = lean_box(x_2); +x_24 = lean_box(x_4); +lean_inc(x_17); +x_25 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1___boxed), 15, 5); +lean_closure_set(x_25, 0, x_3); +lean_closure_set(x_25, 1, x_17); +lean_closure_set(x_25, 2, x_23); +lean_closure_set(x_25, 3, x_24); +lean_closure_set(x_25, 4, x_18); +x_26 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_26, 0, x_22); +lean_closure_set(x_26, 1, x_25); +x_27 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_17, x_26, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); +return x_27; } else { -uint8_t x_26; +uint8_t x_28; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -784,26 +918,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_26 = !lean_is_exclusive(x_13); -if (x_26 == 0) +x_28 = !lean_is_exclusive(x_14); +if (x_28 == 0) { -return x_13; +return x_14; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_13, 0); -x_28 = lean_ctor_get(x_13, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_13); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_14, 0); +x_30 = lean_ctor_get(x_14, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_14); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } @@ -823,28 +956,32 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___lambda__1(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); -return x_16; +return x_18; } } -lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_2); lean_dec(x_2); -x_14 = l_Lean_Elab_Tactic_rewriteLocalDeclFVarId(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_4); +lean_dec(x_4); +x_16 = l_Lean_Elab_Tactic_rewriteLocalDeclFVarId(x_1, x_14, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } lean_object* l_Lean_Meta_getLocalDeclFromUserName___at_Lean_Elab_Tactic_rewriteLocalDecl___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -887,30 +1024,32 @@ return x_20; } } } -lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; -x_13 = l_Lean_LocalDecl_fvarId(x_3); -x_14 = l_Lean_Elab_Tactic_rewriteLocalDeclFVarId(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +lean_object* x_14; lean_object* x_15; +x_14 = l_Lean_LocalDecl_fvarId(x_4); +x_15 = l_Lean_Elab_Tactic_rewriteLocalDeclFVarId(x_1, x_2, x_14, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; } } -lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl(lean_object* x_1, uint8_t x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_getLocalDeclFromUserName___at_Lean_Elab_Tactic_rewriteLocalDecl___spec__1___boxed), 10, 1); -lean_closure_set(x_13, 0, x_3); -x_14 = lean_box(x_2); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1___boxed), 12, 2); -lean_closure_set(x_15, 0, x_1); -lean_closure_set(x_15, 1, x_14); -x_16 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_16, 0, x_13); -lean_closure_set(x_16, 1, x_15); -x_17 = l_Lean_Elab_Tactic_withMainMVarContext___rarg(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_17; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_alloc_closure((void*)(l_Lean_Meta_getLocalDeclFromUserName___at_Lean_Elab_Tactic_rewriteLocalDecl___spec__1___boxed), 10, 1); +lean_closure_set(x_14, 0, x_3); +x_15 = lean_box(x_2); +x_16 = lean_box(x_4); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1___boxed), 13, 3); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_15); +lean_closure_set(x_17, 2, x_16); +x_18 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_18, 0, x_14); +lean_closure_set(x_18, 1, x_17); +x_19 = l_Lean_Elab_Tactic_withMainMVarContext___rarg(x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_19; } } lean_object* l_Lean_Meta_getLocalDeclFromUserName___at_Lean_Elab_Tactic_rewriteLocalDecl___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -928,25 +1067,29 @@ lean_dec(x_2); return x_11; } } -lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_2); lean_dec(x_2); -x_14 = l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = lean_unbox(x_3); lean_dec(x_3); -return x_14; +x_16 = l_Lean_Elab_Tactic_rewriteLocalDecl___lambda__1(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); +return x_16; } } -lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Tactic_rewriteLocalDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_2); lean_dec(x_2); -x_14 = l_Lean_Elab_Tactic_rewriteLocalDecl(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_4); +lean_dec(x_4); +x_16 = l_Lean_Elab_Tactic_rewriteLocalDecl(x_1, x_14, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } lean_object* l_Lean_Elab_Tactic_rewriteAll_match__1___rarg(lean_object* x_1, lean_object* x_2) { @@ -970,14 +1113,15 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteAll_match__1___rarg), return x_2; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, size_t x_4, size_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, size_t x_5, size_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; -x_16 = x_5 < x_4; -if (x_16 == 0) +uint8_t x_17; +x_17 = x_6 < x_5; +if (x_17 == 0) { -lean_object* x_17; lean_object* x_18; +lean_object* x_18; lean_object* x_19; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -985,24 +1129,26 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); lean_dec(x_1); -x_17 = lean_box(x_6); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_15); -return x_18; +x_18 = lean_box(x_7); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_16); +return x_19; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_array_uget(x_3, x_5); -x_20 = lean_box(x_2); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_array_uget(x_4, x_6); +x_21 = lean_box(x_2); +x_22 = lean_box(x_3); lean_inc(x_1); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___boxed), 12, 3); -lean_closure_set(x_21, 0, x_1); -lean_closure_set(x_21, 1, x_20); -lean_closure_set(x_21, 2, x_19); +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteLocalDeclFVarId___boxed), 13, 4); +lean_closure_set(x_23, 0, x_1); +lean_closure_set(x_23, 1, x_21); +lean_closure_set(x_23, 2, x_20); +lean_closure_set(x_23, 3, x_22); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -1010,37 +1156,36 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_22 = l_Lean_Elab_Tactic_try___rarg(x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (x_6 == 0) +x_24 = l_Lean_Elab_Tactic_try___rarg(x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (x_7 == 0) { -lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; uint8_t x_27; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = 1; -x_26 = x_5 + x_25; -x_27 = lean_unbox(x_23); -lean_dec(x_23); -x_5 = x_26; -x_6 = x_27; -x_15 = x_24; +lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; uint8_t x_29; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = 1; +x_28 = x_6 + x_27; +x_29 = lean_unbox(x_25); +lean_dec(x_25); +x_6 = x_28; +x_7 = x_29; +x_16 = x_26; goto _start; } else { -lean_object* x_29; size_t x_30; size_t x_31; uint8_t x_32; -x_29 = lean_ctor_get(x_22, 1); -lean_inc(x_29); -lean_dec(x_22); -x_30 = 1; -x_31 = x_5 + x_30; +lean_object* x_31; size_t x_32; size_t x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_24, 1); +lean_inc(x_31); +lean_dec(x_24); x_32 = 1; -x_5 = x_31; -x_6 = x_32; -x_15 = x_29; +x_33 = x_6 + x_32; +x_34 = 1; +x_6 = x_33; +x_7 = x_34; +x_16 = x_31; goto _start; } } @@ -1074,16 +1219,17 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1(lean_object* x_1, uint8_t x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_14 = l_Lean_LocalContext_getFVarIds(x_4); -x_15 = l_Array_reverse___rarg(x_14); -x_16 = lean_array_get_size(x_15); -x_17 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_18 = 0; +lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_15 = l_Lean_LocalContext_getFVarIds(x_5); +x_16 = l_Array_reverse___rarg(x_15); +x_17 = lean_array_get_size(x_16); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = 0; +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -1091,75 +1237,75 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_19 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1(x_1, x_2, x_15, x_17, x_18, x_3, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_15); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_unbox(x_20); -lean_dec(x_20); -if (x_21 == 0) +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1(x_1, x_2, x_3, x_16, x_18, x_19, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_16); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_unbox(x_21); +lean_dec(x_21); +if (x_22 == 0) { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = l_Lean_Elab_Tactic_getMainGoal(x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = l_Lean_Elab_Tactic_getMainGoal(x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_23); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -if (lean_obj_tag(x_23) == 0) +if (lean_obj_tag(x_24) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_ctor_get(x_24, 0); +x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = l_Lean_Meta_rewrite___closed__1; -x_28 = l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__3; -x_29 = lean_box(0); -x_30 = l_Lean_Meta_throwTacticEx___rarg(x_27, x_26, x_28, x_29, x_9, x_10, x_11, x_12, x_25); +x_27 = lean_ctor_get(x_25, 0); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Lean_Meta_rewrite___closed__1; +x_29 = l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__3; +x_30 = lean_box(0); +x_31 = l_Lean_Meta_throwTacticEx___rarg(x_28, x_27, x_29, x_30, x_10, x_11, x_12, x_13, x_26); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -return x_30; +return x_31; } else { -uint8_t x_31; +uint8_t x_32; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -x_31 = !lean_is_exclusive(x_23); -if (x_31 == 0) +x_32 = !lean_is_exclusive(x_24); +if (x_32 == 0) { -return x_23; +return x_24; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_23, 0); -x_33 = lean_ctor_get(x_23, 1); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_24, 0); +x_34 = lean_ctor_get(x_24, 1); +lean_inc(x_34); lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_23); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_dec(x_24); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } else { -uint8_t x_35; +uint8_t x_36; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -1167,41 +1313,43 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_35 = !lean_is_exclusive(x_19); -if (x_35 == 0) +x_36 = !lean_is_exclusive(x_20); +if (x_36 == 0) { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_19, 0); -lean_dec(x_36); -x_37 = lean_box(0); -lean_ctor_set(x_19, 0, x_37); -return x_19; +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_20, 0); +lean_dec(x_37); +x_38 = lean_box(0); +lean_ctor_set(x_20, 0, x_38); +return x_20; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_19, 1); -lean_inc(x_38); -lean_dec(x_19); -x_39 = lean_box(0); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -return x_40; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_20, 1); +lean_inc(x_39); +lean_dec(x_20); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +return x_41; } } } } -lean_object* l_Lean_Elab_Tactic_rewriteAll(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Elab_Tactic_rewriteAll(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_12 = lean_box(x_2); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_13 = lean_box(x_2); +x_14 = lean_box(x_3); lean_inc(x_1); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteTarget___boxed), 11, 2); -lean_closure_set(x_13, 0, x_1); -lean_closure_set(x_13, 1, x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteTarget___boxed), 12, 3); +lean_closure_set(x_15, 0, x_1); +lean_closure_set(x_15, 1, x_13); +lean_closure_set(x_15, 2, x_14); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -1209,67 +1357,74 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_14 = l_Lean_Elab_Tactic_try___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_box(x_2); -x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteAll___lambda__1___boxed), 13, 3); -lean_closure_set(x_18, 0, x_1); -lean_closure_set(x_18, 1, x_17); -lean_closure_set(x_18, 2, x_15); -x_19 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1; -x_20 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); -lean_closure_set(x_20, 0, x_19); -lean_closure_set(x_20, 1, x_18); -x_21 = l_Lean_Elab_Tactic_withMainMVarContext___rarg(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16); -return x_21; +x_16 = l_Lean_Elab_Tactic_try___rarg(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_box(x_2); +x_20 = lean_box(x_3); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_rewriteAll___lambda__1___boxed), 14, 4); +lean_closure_set(x_21, 0, x_1); +lean_closure_set(x_21, 1, x_19); +lean_closure_set(x_21, 2, x_20); +lean_closure_set(x_21, 3, x_17); +x_22 = l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___closed__1; +x_23 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2); +lean_closure_set(x_23, 0, x_22); +lean_closure_set(x_23, 1, x_21); +x_24 = l_Lean_Elab_Tactic_withMainMVarContext___rarg(x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +return x_24; } } -lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; size_t x_17; size_t x_18; uint8_t x_19; lean_object* x_20; -x_16 = lean_unbox(x_2); +uint8_t x_17; uint8_t x_18; size_t x_19; size_t x_20; uint8_t x_21; lean_object* x_22; +x_17 = lean_unbox(x_2); lean_dec(x_2); -x_17 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_18 = lean_unbox_usize(x_5); +x_18 = lean_unbox(x_3); +lean_dec(x_3); +x_19 = lean_unbox_usize(x_5); lean_dec(x_5); -x_19 = lean_unbox(x_6); +x_20 = lean_unbox_usize(x_6); lean_dec(x_6); -x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1(x_1, x_16, x_3, x_17, x_18, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_3); -return x_20; -} -} -lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; uint8_t x_15; lean_object* x_16; -x_14 = lean_unbox(x_2); -lean_dec(x_2); -x_15 = lean_unbox(x_3); -lean_dec(x_3); -x_16 = l_Lean_Elab_Tactic_rewriteAll___lambda__1(x_1, x_14, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_21 = lean_unbox(x_7); +lean_dec(x_7); +x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_rewriteAll___spec__1(x_1, x_17, x_18, x_4, x_19, x_20, x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_4); -return x_16; +return x_22; } } -lean_object* l_Lean_Elab_Tactic_rewriteAll___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +lean_object* l_Lean_Elab_Tactic_rewriteAll___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_2); +uint8_t x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_15 = lean_unbox(x_2); lean_dec(x_2); -x_13 = l_Lean_Elab_Tactic_rewriteAll(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; +x_16 = lean_unbox(x_3); +lean_dec(x_3); +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Elab_Tactic_rewriteAll___lambda__1(x_1, x_15, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_5); +return x_18; } } -lean_object* l_Lean_Elab_Tactic_evalRewrite_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Tactic_rewriteAll___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_2); +lean_dec(x_2); +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = l_Lean_Elab_Tactic_rewriteAll(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; +} +} +lean_object* l_Lean_Elab_Tactic_evalRewriteCore_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_1)) { @@ -1305,24 +1460,25 @@ return x_10; } } } -lean_object* l_Lean_Elab_Tactic_evalRewrite_match__1(lean_object* x_1) { +lean_object* l_Lean_Elab_Tactic_evalRewriteCore_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRewrite_match__1___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalRewriteCore_match__1___rarg), 4, 0); return x_2; } } -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewrite___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__1(uint8_t x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; -x_16 = x_4 == x_5; -if (x_16 == 0) +uint8_t x_17; +x_17 = x_5 == x_6; +if (x_17 == 0) { -lean_object* x_17; lean_object* x_18; -lean_dec(x_6); -x_17 = lean_array_uget(x_3, x_4); +lean_object* x_18; lean_object* x_19; +lean_dec(x_7); +x_18 = lean_array_uget(x_4, x_5); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -1330,27 +1486,27 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_1); -x_18 = l_Lean_Elab_Tactic_rewriteLocalDecl(x_1, x_2, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_18) == 0) +lean_inc(x_2); +x_19 = l_Lean_Elab_Tactic_rewriteLocalDecl(x_2, x_3, x_18, x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_18); -x_21 = 1; -x_22 = x_4 + x_21; -x_4 = x_22; -x_6 = x_19; -x_15 = x_20; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = 1; +x_23 = x_5 + x_22; +x_5 = x_23; +x_7 = x_20; +x_16 = x_21; goto _start; } else { -uint8_t x_24; +uint8_t x_25; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -1358,200 +1514,221 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_18); -if (x_24 == 0) +lean_dec(x_2); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) { -return x_18; +return x_19; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_18, 0); -x_26 = lean_ctor_get(x_18, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_18); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -} -else -{ -lean_object* x_28; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_6); -lean_ctor_set(x_28, 1, x_15); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); return x_28; } } } +else +{ +lean_object* x_29; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_7); +lean_ctor_set(x_29, 1, x_16); +return x_29; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalRewriteCore(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_12 = lean_unsigned_to_nat(1u); +x_13 = l_Lean_Syntax_getArg(x_2, x_12); +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_Lean_Syntax_getArg(x_13, x_14); +x_16 = l_Lean_Syntax_isNone(x_15); +lean_dec(x_15); +x_17 = l_Lean_Syntax_getArg(x_13, x_12); +lean_dec(x_13); +x_18 = lean_unsigned_to_nat(2u); +x_19 = l_Lean_Syntax_getArg(x_2, x_18); +x_20 = l_Lean_Elab_Tactic_expandOptLocation(x_19); +lean_dec(x_19); +if (x_16 == 0) +{ +switch (lean_obj_tag(x_20)) { +case 0: +{ +uint8_t x_35; lean_object* x_36; +x_35 = 1; +x_36 = l_Lean_Elab_Tactic_rewriteAll(x_17, x_35, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_36; +} +case 1: +{ +uint8_t x_37; lean_object* x_38; +x_37 = 1; +x_38 = l_Lean_Elab_Tactic_rewriteTarget(x_17, x_37, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_38; +} +default: +{ +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_20, 0); +lean_inc(x_39); +lean_dec(x_20); +x_40 = 1; +x_21 = x_40; +x_22 = x_39; +goto block_34; +} +} +} +else +{ +switch (lean_obj_tag(x_20)) { +case 0: +{ +uint8_t x_41; lean_object* x_42; +x_41 = 0; +x_42 = l_Lean_Elab_Tactic_rewriteAll(x_17, x_41, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_42; +} +case 1: +{ +uint8_t x_43; lean_object* x_44; +x_43 = 0; +x_44 = l_Lean_Elab_Tactic_rewriteTarget(x_17, x_43, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_44; +} +default: +{ +lean_object* x_45; uint8_t x_46; +x_45 = lean_ctor_get(x_20, 0); +lean_inc(x_45); +lean_dec(x_20); +x_46 = 0; +x_21 = x_46; +x_22 = x_45; +goto block_34; +} +} +} +block_34: +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_array_get_size(x_22); +x_24 = lean_nat_dec_lt(x_14, x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_11); +return x_26; +} +else +{ +uint8_t x_27; +x_27 = lean_nat_dec_le(x_23, x_23); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_11); +return x_29; +} +else +{ +size_t x_30; size_t x_31; lean_object* x_32; lean_object* x_33; +x_30 = 0; +x_31 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_32 = lean_box(0); +x_33 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__1(x_1, x_17, x_21, x_22, x_30, x_31, x_32, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_22); +return x_33; +} +} +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; uint8_t x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_17 = lean_unbox(x_1); +lean_dec(x_1); +x_18 = lean_unbox(x_3); +lean_dec(x_3); +x_19 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_20 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_21 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewriteCore___spec__1(x_17, x_2, x_18, x_4, x_19, x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_4); +return x_21; +} +} +lean_object* l_Lean_Elab_Tactic_evalRewriteCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_1); +lean_dec(x_1); +x_13 = l_Lean_Elab_Tactic_evalRewriteCore(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_2); +return x_13; +} +} lean_object* l_Lean_Elab_Tactic_evalRewrite(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_Syntax_getArg(x_12, x_13); -x_15 = l_Lean_Syntax_isNone(x_14); -lean_dec(x_14); -x_16 = l_Lean_Syntax_getArg(x_12, x_11); -lean_dec(x_12); -x_17 = lean_unsigned_to_nat(2u); -x_18 = l_Lean_Syntax_getArg(x_1, x_17); -x_19 = l_Lean_Elab_Tactic_expandOptLocation(x_18); -lean_dec(x_18); -if (x_15 == 0) -{ -switch (lean_obj_tag(x_19)) { -case 0: -{ -uint8_t x_34; lean_object* x_35; -x_34 = 1; -x_35 = l_Lean_Elab_Tactic_rewriteAll(x_16, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_35; -} -case 1: -{ -uint8_t x_36; lean_object* x_37; -x_36 = 1; -x_37 = l_Lean_Elab_Tactic_rewriteTarget(x_16, x_36, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_37; -} -default: -{ -lean_object* x_38; uint8_t x_39; -x_38 = lean_ctor_get(x_19, 0); -lean_inc(x_38); -lean_dec(x_19); -x_39 = 1; -x_20 = x_39; -x_21 = x_38; -goto block_33; -} -} -} -else -{ -switch (lean_obj_tag(x_19)) { -case 0: -{ -uint8_t x_40; lean_object* x_41; -x_40 = 0; -x_41 = l_Lean_Elab_Tactic_rewriteAll(x_16, x_40, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_41; -} -case 1: -{ -uint8_t x_42; lean_object* x_43; -x_42 = 0; -x_43 = l_Lean_Elab_Tactic_rewriteTarget(x_16, x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_43; -} -default: -{ -lean_object* x_44; uint8_t x_45; -x_44 = lean_ctor_get(x_19, 0); -lean_inc(x_44); -lean_dec(x_19); -x_45 = 0; -x_20 = x_45; -x_21 = x_44; -goto block_33; -} -} -} -block_33: -{ -lean_object* x_22; uint8_t x_23; -x_22 = lean_array_get_size(x_21); -x_23 = lean_nat_dec_lt(x_13, x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_16); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_24 = lean_box(0); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_10); -return x_25; -} -else -{ -uint8_t x_26; -x_26 = lean_nat_dec_le(x_22, x_22); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_16); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_27 = lean_box(0); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_10); -return x_28; -} -else -{ -size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; -x_29 = 0; -x_30 = lean_usize_of_nat(x_22); -lean_dec(x_22); -x_31 = lean_box(0); -x_32 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewrite___spec__1(x_16, x_20, x_21, x_29, x_30, x_31, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_21); -return x_32; -} -} -} -} -} -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewrite___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; -x_16 = lean_unbox(x_2); -lean_dec(x_2); -x_17 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_18 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_19 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_evalRewrite___spec__1(x_1, x_16, x_3, x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_3); -return x_19; +uint8_t x_11; lean_object* x_12; +x_11 = 2; +x_12 = l_Lean_Elab_Tactic_evalRewriteCore(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } } lean_object* l_Lean_Elab_Tactic_evalRewrite___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -1582,6 +1759,43 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* l_Lean_Elab_Tactic_evalERewrite(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = 1; +x_12 = l_Lean_Elab_Tactic_evalRewriteCore(x_11, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +lean_object* l_Lean_Elab_Tactic_evalERewrite___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalERewrite(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalERewrite___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalERewrite___boxed), 10, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalERewrite(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l_Lean_Parser_Tactic_erewrite___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalERewrite___closed__1; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Meta_Tactic_Rewrite(lean_object*); lean_object* initialize_Lean_Meta_Tactic_Replace(lean_object*); @@ -1616,6 +1830,11 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_expandRewriteTactic___close res = l___regBuiltin_Lean_Elab_Tactic_expandRewriteTactic(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_expandERewriteTactic___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_expandERewriteTactic___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_expandERewriteTactic___closed__1); +res = l___regBuiltin_Lean_Elab_Tactic_expandERewriteTactic(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__1); l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_rewriteAll___lambda__1___closed__2(); @@ -1627,6 +1846,11 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalRewrite___closed__1); res = l___regBuiltin_Lean_Elab_Tactic_evalRewrite(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_evalERewrite___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalERewrite___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalERewrite___closed__1); +res = l___regBuiltin_Lean_Elab_Tactic_evalERewrite(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/AppBuilder.c b/stage0/stdlib/Lean/Meta/AppBuilder.c index 2bc0175411..1885aff726 100644 --- a/stage0/stdlib/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Lean/Meta/AppBuilder.c @@ -67,6 +67,7 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrImp___closed__1; lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp_match__3(lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp_match__2(lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkHEqTransImp_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -100,7 +101,6 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux___closed lean_object* l_Lean_Meta_mkAppM___rarg___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__7; uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__1; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqReflImp___closed__2; @@ -393,7 +393,6 @@ lean_object* l_Lean_Meta_mkExpectedTypeHint(lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp___closed__3; lean_object* l_Lean_Meta_mkPure___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkIdImp___closed__1; -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_throwAppBuilderException___rarg___closed__4; extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_Meta_mkPure___rarg___closed__4; @@ -403,6 +402,7 @@ lean_object* l_Lean_Meta_mkHEq(lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkNoConfusionImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; lean_object* l_Lean_Meta_mkArbitrary___rarg___closed__1; lean_object* l_Lean_Meta_mkIdRhs___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkHEqSymmImp_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -11018,7 +11018,7 @@ x_12 = lean_box(0); x_13 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_13, 0, x_3); lean_ctor_set(x_13, 1, x_12); -x_14 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; +x_14 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; x_15 = l_Lean_mkConst(x_14, x_13); x_16 = l_Lean_mkApp(x_15, x_1); x_17 = l_Lean_mkApp(x_16, x_11); @@ -11037,7 +11037,7 @@ x_20 = lean_box(0); x_21 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_21, 0, x_3); lean_ctor_set(x_21, 1, x_20); -x_22 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; +x_22 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; x_23 = l_Lean_mkConst(x_22, x_21); x_24 = l_Lean_mkApp(x_23, x_1); x_25 = l_Lean_mkApp(x_24, x_18); @@ -11223,7 +11223,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkDecIsTrue___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Meta/Closure.c b/stage0/stdlib/Lean/Meta/Closure.c index 317cc2f75f..83062fe357 100644 --- a/stage0/stdlib/Lean/Meta/Closure.c +++ b/stage0/stdlib/Lean/Meta/Closure.c @@ -222,6 +222,7 @@ lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec_ lean_object* l_Lean_Meta_Closure_mkValueTypeClosureAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_505____closed__4; lean_object* l___private_Lean_Meta_Closure_0__Lean_Meta_mkAuxDefinitionImp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_instInhabitedToProcessElement___closed__1; lean_object* lean_metavar_ctx_find_decl(lean_object*, lean_object*); @@ -275,7 +276,6 @@ lean_object* l_Lean_Meta_Closure_State_newLetDecls___default; uint8_t l_Lean_Expr_hasFVar(lean_object*); lean_object* l_Lean_Meta_Closure_process_match__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1017____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; lean_object* l_Lean_mkFreshId___at_Lean_Meta_Closure_collectExprAux___spec__2___rarg(lean_object*, lean_object*); lean_object* l_List_mapM___at_Lean_Meta_Closure_collectExprAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_resetZetaFVarIds___at_Lean_Meta_Closure_mkValueTypeClosureAux___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -11760,7 +11760,7 @@ static lean_object* _init_l___private_Lean_Meta_Closure_0__Lean_Meta_mkAuxDefini _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } diff --git a/stage0/stdlib/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Lean/Meta/ExprDefEq.c index 73a4df6000..17d1f190a6 100644 --- a/stage0/stdlib/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Lean/Meta/ExprDefEq.c @@ -540,6 +540,7 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___ uint8_t l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__4; lean_object* l_Lean_Meta_whenUndefDo_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_CheckAssignment_assignToConstFun___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldBothDefEq_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__65(lean_object*, size_t, size_t, lean_object*); @@ -670,7 +671,6 @@ uint8_t l_Lean_Expr_hasFVar(lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgs___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1017____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_CheckAssignment_check___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; lean_object* l___private_Lean_MetavarContext_0__Lean_MetavarContext_DependsOn_dep_visitMain___at_Lean_Meta_CheckAssignment_check___spec__37___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_check___spec__47___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignmentQuick_check_visit___spec__1(lean_object*, lean_object*, size_t, size_t); @@ -5422,7 +5422,7 @@ static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkType _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } diff --git a/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c b/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c index 3881e9d2ff..d69ce3866c 100644 --- a/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c +++ b/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c @@ -119,10 +119,10 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_caseArraySizes___spec__1___bo lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___spec__2(lean_object*); lean_object* l_Lean_Meta_mkEqSymm___at_Lean_Meta_substCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayLit_loop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_mkNatLit(lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at_Lean_Meta_caseArraySizes___spec__3___boxed(lean_object**); lean_object* l_Lean_indentExpr(lean_object*); @@ -726,7 +726,7 @@ x_14 = lean_box(0); x_15 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_15, 0, x_9); lean_ctor_set(x_15, 1, x_14); -x_16 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; +x_16 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; x_17 = l_Lean_mkConst(x_16, x_15); x_18 = l_Lean_mkApp(x_17, x_1); x_19 = l_Lean_mkApp(x_18, x_13); @@ -745,7 +745,7 @@ x_22 = lean_box(0); x_23 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_23, 0, x_9); lean_ctor_set(x_23, 1, x_22); -x_24 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; +x_24 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; x_25 = l_Lean_mkConst(x_24, x_23); x_26 = l_Lean_mkApp(x_25, x_1); x_27 = l_Lean_mkApp(x_26, x_20); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Rewrite.c b/stage0/stdlib/Lean/Meta/Tactic/Rewrite.c index efc92872d5..95c7581cfe 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Rewrite.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Rewrite.c @@ -33,7 +33,7 @@ lean_object* l_Lean_Meta_rewrite___lambda__2___boxed(lean_object*, lean_object*, lean_object* l_Lean_Meta_rewrite___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_rewrite___lambda__2___closed__4; lean_object* l_Lean_Expr_appFn_x21(lean_object*); -lean_object* l_Lean_Meta_rewrite___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_rewrite___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -51,24 +51,24 @@ lean_object* l_Lean_Meta_rewrite_match__4___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRefl___at_Lean_Meta_rewrite___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_rewrite_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -lean_object* l_Lean_Meta_rewrite___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_rewrite___lambda__3___boxed(lean_object**); lean_object* l_Lean_Meta_mkEq___at_Lean_Meta_rewrite___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_rewrite___lambda__1___closed__1; uint8_t l_Lean_Occurrences_beq(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_rewrite___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_rewrite___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_rewrite_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_rewrite___closed__1; lean_object* l_Lean_Meta_kabstract___at_Lean_Meta_rewrite___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_rewrite___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_rewrite___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_rewrite_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_rewrite___lambda__4___closed__2; lean_object* lean_array_to_list(lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_rewrite(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_rewrite(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_kabstract___at_Lean_Meta_rewrite___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_rewrite___lambda__2___closed__3; lean_object* l_Lean_mkLambda(lean_object*, uint8_t, lean_object*, lean_object*); @@ -100,7 +100,7 @@ lean_object* l_Lean_Meta_rewrite___lambda__4___closed__6; uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); lean_object* l_Lean_Meta_rewrite___lambda__2___closed__2; lean_object* lean_expr_abstract(lean_object*, lean_object*); -lean_object* l_Lean_Meta_rewrite___lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_rewrite___lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_apply___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1267,151 +1267,292 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Meta_rewrite___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Lean_Meta_rewrite___lambda__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; +lean_object* x_18; +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); -x_17 = l_Lean_Meta_instantiateMVarsImp(x_1, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_17) == 0) +x_18 = l_Lean_Meta_instantiateMVarsImp(x_1, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_19 = lean_ctor_get(x_13, 0); lean_inc(x_19); -lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +x_23 = lean_ctor_get(x_13, 2); +lean_inc(x_23); +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_ctor_set_uint8(x_19, 5, x_2); +x_25 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 1, x_22); +lean_ctor_set(x_25, 2, x_23); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_2); -lean_inc(x_18); -x_20 = l_Lean_Meta_kabstract___at_Lean_Meta_rewrite___spec__1(x_18, x_2, x_3, x_12, x_13, x_14, x_15, x_19); -if (lean_obj_tag(x_20) == 0) +lean_inc(x_3); +lean_inc(x_20); +x_26 = l_Lean_Meta_kabstract___at_Lean_Meta_rewrite___spec__1(x_20, x_3, x_4, x_25, x_14, x_15, x_16, x_21); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Expr_hasLooseBVars(x_27); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_dec(x_27); lean_dec(x_20); -x_23 = l_Lean_Expr_hasLooseBVars(x_21); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -lean_dec(x_21); -lean_dec(x_18); -lean_dec(x_6); -lean_dec(x_5); -x_24 = l_Lean_indentExpr(x_2); -x_25 = l_Lean_Meta_rewrite___lambda__3___closed__2; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = lean_box(0); -x_30 = l_Lean_Meta_throwTacticEx___rarg(x_7, x_8, x_28, x_29, x_12, x_13, x_14, x_15, x_22); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -return x_30; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_30, 0); -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_30); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} -} -else -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_2); -x_35 = lean_box(0); -x_36 = l_Lean_Meta_rewrite___lambda__2(x_21, x_4, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_35, x_12, x_13, x_14, x_15, x_22); -return x_36; -} -} -else -{ -uint8_t x_37; -lean_dec(x_18); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_37 = !lean_is_exclusive(x_20); +x_30 = l_Lean_indentExpr(x_3); +x_31 = l_Lean_Meta_rewrite___lambda__3___closed__2; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_35 = lean_box(0); +x_36 = l_Lean_Meta_throwTacticEx___rarg(x_8, x_9, x_34, x_35, x_13, x_14, x_15, x_16, x_28); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +x_37 = !lean_is_exclusive(x_36); if (x_37 == 0) { -return x_20; +return x_36; } else { lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_20, 0); -x_39 = lean_ctor_get(x_20, 1); +x_38 = lean_ctor_get(x_36, 0); +x_39 = lean_ctor_get(x_36, 1); lean_inc(x_39); lean_inc(x_38); -lean_dec(x_20); +lean_dec(x_36); x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_40, 1, x_39); return x_40; } } +else +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_3); +x_41 = lean_box(0); +x_42 = l_Lean_Meta_rewrite___lambda__2(x_27, x_5, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_41, x_13, x_14, x_15, x_16, x_28); +return x_42; +} } else { -uint8_t x_41; +uint8_t x_43; +lean_dec(x_20); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_41 = !lean_is_exclusive(x_17); -if (x_41 == 0) +lean_dec(x_3); +x_43 = !lean_is_exclusive(x_26); +if (x_43 == 0) { -return x_17; +return x_26; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_17, 0); -x_43 = lean_ctor_get(x_17, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_17); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_26, 0); +x_45 = lean_ctor_get(x_26, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_26); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +else +{ +uint8_t x_47; uint8_t x_48; uint8_t x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_47 = lean_ctor_get_uint8(x_19, 0); +x_48 = lean_ctor_get_uint8(x_19, 1); +x_49 = lean_ctor_get_uint8(x_19, 2); +x_50 = lean_ctor_get_uint8(x_19, 3); +x_51 = lean_ctor_get_uint8(x_19, 4); +x_52 = lean_ctor_get_uint8(x_19, 6); +x_53 = lean_ctor_get_uint8(x_19, 7); +lean_dec(x_19); +x_54 = lean_alloc_ctor(0, 0, 8); +lean_ctor_set_uint8(x_54, 0, x_47); +lean_ctor_set_uint8(x_54, 1, x_48); +lean_ctor_set_uint8(x_54, 2, x_49); +lean_ctor_set_uint8(x_54, 3, x_50); +lean_ctor_set_uint8(x_54, 4, x_51); +lean_ctor_set_uint8(x_54, 5, x_2); +lean_ctor_set_uint8(x_54, 6, x_52); +lean_ctor_set_uint8(x_54, 7, x_53); +x_55 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_22); +lean_ctor_set(x_55, 2, x_23); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_3); +lean_inc(x_20); +x_56 = l_Lean_Meta_kabstract___at_Lean_Meta_rewrite___spec__1(x_20, x_3, x_4, x_55, x_14, x_15, x_16, x_21); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = l_Lean_Expr_hasLooseBVars(x_57); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_57); +lean_dec(x_20); +lean_dec(x_7); +lean_dec(x_6); +x_60 = l_Lean_indentExpr(x_3); +x_61 = l_Lean_Meta_rewrite___lambda__3___closed__2; +x_62 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = lean_box(0); +x_66 = l_Lean_Meta_throwTacticEx___rarg(x_8, x_9, x_64, x_65, x_13, x_14, x_15, x_16, x_58); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_69 = x_66; +} else { + lean_dec_ref(x_66); + x_69 = lean_box(0); +} +if (lean_is_scalar(x_69)) { + x_70 = lean_alloc_ctor(1, 2, 0); +} else { + x_70 = x_69; +} +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_68); +return x_70; +} +else +{ +lean_object* x_71; lean_object* x_72; +lean_dec(x_3); +x_71 = lean_box(0); +x_72 = l_Lean_Meta_rewrite___lambda__2(x_57, x_5, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_71, x_13, x_14, x_15, x_16, x_58); +return x_72; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_73 = lean_ctor_get(x_56, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_56, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_75 = x_56; +} else { + lean_dec_ref(x_56); + x_75 = lean_box(0); +} +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(1, 2, 0); +} else { + x_76 = x_75; +} +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_74); +return x_76; +} +} +} +else +{ +uint8_t x_77; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_77 = !lean_is_exclusive(x_18); +if (x_77 == 0) +{ +return x_18; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_18, 0); +x_79 = lean_ctor_get(x_18, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_18); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; } } } @@ -1495,360 +1636,360 @@ x_3 = l_Lean_mkConst(x_2, x_1); return x_3; } } -lean_object* l_Lean_Meta_rewrite___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Meta_rewrite___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; +lean_object* x_14; +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); lean_inc(x_1); -x_13 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_1, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_13) == 0) +x_14 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_1, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_box(0); -x_17 = 1; -x_18 = 0; +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_box(0); +x_18 = 1; +x_19 = 0; +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_19 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_14, x_17, x_16, x_18, x_8, x_9, x_10, x_11, x_15); -if (lean_obj_tag(x_19) == 0) +x_20 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_15, x_18, x_17, x_19, x_9, x_10, x_11, x_12, x_16); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_20, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -x_22 = lean_ctor_get(x_19, 1); +x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); lean_inc(x_23); lean_dec(x_20); x_24 = lean_ctor_get(x_21, 0); lean_inc(x_24); -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); lean_dec(x_21); -x_26 = l_Lean_mkAppN(x_1, x_23); -x_27 = l_myMacro____x40_Init_Core___hyg_185____closed__4; -x_28 = lean_unsigned_to_nat(2u); -x_29 = l_Lean_Expr_isAppOfArity(x_25, x_27, x_28); -if (x_29 == 0) -{ -lean_object* x_30; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); +x_25 = lean_ctor_get(x_22, 0); lean_inc(x_25); -x_30 = l_Lean_Meta_matchEq_x3f(x_25, x_8, x_9, x_10, x_11, x_22); -if (lean_obj_tag(x_30) == 0) +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_dec(x_22); +x_27 = l_Lean_mkAppN(x_1, x_24); +x_28 = l_myMacro____x40_Init_Core___hyg_185____closed__4; +x_29 = lean_unsigned_to_nat(2u); +x_30 = l_Lean_Expr_isAppOfArity(x_26, x_28, x_29); +if (x_30 == 0) { lean_object* x_31; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_26); +x_31 = l_Lean_Meta_matchEq_x3f(x_26, x_9, x_10, x_11, x_12, x_23); if (lean_obj_tag(x_31) == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_5); -x_32 = lean_ctor_get(x_30, 1); +lean_object* x_32; +x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); -lean_dec(x_30); -x_33 = l_Lean_indentExpr(x_25); -x_34 = l_Lean_Meta_rewrite___lambda__4___closed__2; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_box(0); -x_39 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_3, x_37, x_38, x_8, x_9, x_10, x_11, x_32); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_5); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_indentExpr(x_26); +x_35 = l_Lean_Meta_rewrite___lambda__4___closed__2; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_box(0); +x_40 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_3, x_38, x_39, x_9, x_10, x_11, x_12, x_33); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -return x_39; +return x_40; } else { -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_31, 0); -lean_inc(x_40); -lean_dec(x_31); -x_41 = lean_ctor_get(x_40, 1); +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_32, 0); lean_inc(x_41); +lean_dec(x_32); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); if (x_4 == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_42 = lean_ctor_get(x_30, 1); -lean_inc(x_42); -lean_dec(x_30); -x_43 = lean_ctor_get(x_40, 0); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_43 = lean_ctor_get(x_31, 1); lean_inc(x_43); -lean_dec(x_40); +lean_dec(x_31); x_44 = lean_ctor_get(x_41, 0); lean_inc(x_44); -x_45 = lean_ctor_get(x_41, 1); -lean_inc(x_45); lean_dec(x_41); -x_46 = l_Lean_Expr_getAppFn(x_44); -x_47 = l_Lean_Expr_isMVar(x_46); -lean_dec(x_46); -if (x_47 == 0) +x_45 = lean_ctor_get(x_42, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_42, 1); +lean_inc(x_46); +lean_dec(x_42); +x_47 = l_Lean_Expr_getAppFn(x_45); +x_48 = l_Lean_Expr_isMVar(x_47); +lean_dec(x_47); +if (x_48 == 0) { -lean_object* x_48; lean_object* x_49; +lean_object* x_49; lean_object* x_50; +lean_dec(x_26); +x_49 = lean_box(0); +x_50 = l_Lean_Meta_rewrite___lambda__3(x_5, x_6, x_45, x_7, x_46, x_44, x_27, x_2, x_3, x_24, x_25, x_49, x_9, x_10, x_11, x_12, x_43); lean_dec(x_25); -x_48 = lean_box(0); -x_49 = l_Lean_Meta_rewrite___lambda__3(x_5, x_44, x_6, x_45, x_43, x_26, x_2, x_3, x_23, x_24, x_48, x_8, x_9, x_10, x_11, x_42); lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_45); -return x_49; +lean_dec(x_46); +return x_50; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -lean_dec(x_45); -lean_dec(x_43); -lean_dec(x_26); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +lean_dec(x_46); +lean_dec(x_44); +lean_dec(x_27); +lean_dec(x_25); lean_dec(x_24); -lean_dec(x_23); lean_dec(x_5); -x_50 = l_Lean_indentExpr(x_44); -x_51 = l_Lean_Meta_rewrite___lambda__4___closed__4; -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -x_53 = l_Lean_Meta_rewrite___lambda__4___closed__6; -x_54 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_indentExpr(x_25); -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_box(0); -x_60 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_3, x_58, x_59, x_8, x_9, x_10, x_11, x_42); +x_51 = l_Lean_indentExpr(x_45); +x_52 = l_Lean_Meta_rewrite___lambda__4___closed__4; +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_54 = l_Lean_Meta_rewrite___lambda__4___closed__6; +x_55 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_indentExpr(x_26); +x_57 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_58 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_59 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_box(0); +x_61 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_3, x_59, x_60, x_9, x_10, x_11, x_12, x_43); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -x_61 = !lean_is_exclusive(x_60); -if (x_61 == 0) +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) { -return x_60; +return x_61; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_60, 0); -x_63 = lean_ctor_get(x_60, 1); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_61, 0); +x_64 = lean_ctor_get(x_61, 1); +lean_inc(x_64); lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_60); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -return x_64; +lean_dec(x_61); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_dec(x_25); -x_65 = lean_ctor_get(x_30, 1); -lean_inc(x_65); -lean_dec(x_30); -x_66 = lean_ctor_get(x_40, 0); +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_26); +x_66 = lean_ctor_get(x_31, 1); lean_inc(x_66); -lean_dec(x_40); +lean_dec(x_31); x_67 = lean_ctor_get(x_41, 0); lean_inc(x_67); -x_68 = lean_ctor_get(x_41, 1); -lean_inc(x_68); lean_dec(x_41); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_69 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqSymmImp(x_26, x_8, x_9, x_10, x_11, x_65); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_67); +x_68 = lean_ctor_get(x_42, 0); lean_inc(x_68); -x_72 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqImp(x_68, x_67, x_8, x_9, x_10, x_11, x_71); -if (lean_obj_tag(x_72) == 0) +x_69 = lean_ctor_get(x_42, 1); +lean_inc(x_69); +lean_dec(x_42); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_70 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqSymmImp(x_27, x_9, x_10, x_11, x_12, x_66); +if (lean_obj_tag(x_70) == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_68); +lean_inc(x_69); +x_73 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqImp(x_69, x_68, x_9, x_10, x_11, x_12, x_72); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_74 = lean_ctor_get(x_73, 0); lean_inc(x_74); -lean_dec(x_72); -x_75 = l_Lean_Expr_getAppFn(x_68); -x_76 = l_Lean_Expr_isMVar(x_75); -lean_dec(x_75); -if (x_76 == 0) -{ -lean_object* x_77; lean_object* x_78; +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); lean_dec(x_73); -x_77 = lean_box(0); -x_78 = l_Lean_Meta_rewrite___lambda__3(x_5, x_68, x_6, x_67, x_66, x_70, x_2, x_3, x_23, x_24, x_77, x_8, x_9, x_10, x_11, x_74); +x_76 = l_Lean_Expr_getAppFn(x_69); +x_77 = l_Lean_Expr_isMVar(x_76); +lean_dec(x_76); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; +lean_dec(x_74); +x_78 = lean_box(0); +x_79 = l_Lean_Meta_rewrite___lambda__3(x_5, x_6, x_69, x_7, x_68, x_67, x_71, x_2, x_3, x_24, x_25, x_78, x_9, x_10, x_11, x_12, x_75); +lean_dec(x_25); lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_67); -return x_78; +lean_dec(x_68); +return x_79; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; -lean_dec(x_70); +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +lean_dec(x_71); +lean_dec(x_68); lean_dec(x_67); -lean_dec(x_66); +lean_dec(x_25); lean_dec(x_24); -lean_dec(x_23); lean_dec(x_5); -x_79 = l_Lean_indentExpr(x_68); -x_80 = l_Lean_Meta_rewrite___lambda__4___closed__4; -x_81 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -x_82 = l_Lean_Meta_rewrite___lambda__4___closed__6; -x_83 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -x_84 = l_Lean_indentExpr(x_73); -x_85 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_87 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -x_88 = lean_box(0); -x_89 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_3, x_87, x_88, x_8, x_9, x_10, x_11, x_74); +x_80 = l_Lean_indentExpr(x_69); +x_81 = l_Lean_Meta_rewrite___lambda__4___closed__4; +x_82 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +x_83 = l_Lean_Meta_rewrite___lambda__4___closed__6; +x_84 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Lean_indentExpr(x_74); +x_86 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_88 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_box(0); +x_90 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_3, x_88, x_89, x_9, x_10, x_11, x_12, x_75); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -x_90 = !lean_is_exclusive(x_89); -if (x_90 == 0) +x_91 = !lean_is_exclusive(x_90); +if (x_91 == 0) { -return x_89; +return x_90; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_89, 0); -x_92 = lean_ctor_get(x_89, 1); +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_90, 0); +x_93 = lean_ctor_get(x_90, 1); +lean_inc(x_93); lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_89); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -return x_93; +lean_dec(x_90); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } } else { -uint8_t x_94; -lean_dec(x_70); -lean_dec(x_68); -lean_dec(x_67); -lean_dec(x_66); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_94 = !lean_is_exclusive(x_72); -if (x_94 == 0) -{ -return x_72; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_72, 0); -x_96 = lean_ctor_get(x_72, 1); -lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_72); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -return x_97; -} -} -} -else -{ -uint8_t x_98; -lean_dec(x_68); -lean_dec(x_67); -lean_dec(x_66); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_98 = !lean_is_exclusive(x_69); -if (x_98 == 0) -{ -return x_69; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_69, 0); -x_100 = lean_ctor_get(x_69, 1); -lean_inc(x_100); -lean_inc(x_99); +uint8_t x_95; +lean_dec(x_71); lean_dec(x_69); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; +lean_dec(x_68); +lean_dec(x_67); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_95 = !lean_is_exclusive(x_73); +if (x_95 == 0) +{ +return x_73; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_73, 0); +x_97 = lean_ctor_get(x_73, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_73); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; +} +} +} +else +{ +uint8_t x_99; +lean_dec(x_69); +lean_dec(x_68); +lean_dec(x_67); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_99 = !lean_is_exclusive(x_70); +if (x_99 == 0) +{ +return x_70; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_70, 0); +x_101 = lean_ctor_get(x_70, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_70); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +return x_102; } } } @@ -1856,500 +1997,500 @@ return x_101; } else { -uint8_t x_102; +uint8_t x_103; +lean_dec(x_27); lean_dec(x_26); lean_dec(x_25); lean_dec(x_24); -lean_dec(x_23); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_102 = !lean_is_exclusive(x_30); -if (x_102 == 0) +x_103 = !lean_is_exclusive(x_31); +if (x_103 == 0) { -return x_30; +return x_31; } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_30, 0); -x_104 = lean_ctor_get(x_30, 1); +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_31, 0); +x_105 = lean_ctor_get(x_31, 1); +lean_inc(x_105); lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_30); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); -return x_105; +lean_dec(x_31); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; } } } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_106 = l_Lean_Expr_appFn_x21(x_25); -x_107 = l_Lean_Expr_appArg_x21(x_106); -lean_dec(x_106); -x_108 = l_Lean_Expr_appArg_x21(x_25); -lean_dec(x_25); +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_107 = l_Lean_Expr_appFn_x21(x_26); +x_108 = l_Lean_Expr_appArg_x21(x_107); +lean_dec(x_107); +x_109 = l_Lean_Expr_appArg_x21(x_26); +lean_dec(x_26); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_109); lean_inc(x_108); -lean_inc(x_107); -x_109 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqImp(x_107, x_108, x_8, x_9, x_10, x_11, x_22); -if (lean_obj_tag(x_109) == 0) +x_110 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqImp(x_108, x_109, x_9, x_10, x_11, x_12, x_23); +if (lean_obj_tag(x_110) == 0) { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); -lean_dec(x_109); -x_112 = l_Lean_Meta_rewrite___lambda__4___closed__9; -x_113 = l_Lean_mkApp3(x_112, x_107, x_108, x_26); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); +lean_dec(x_110); +x_113 = l_Lean_Meta_rewrite___lambda__4___closed__9; +x_114 = l_Lean_mkApp3(x_113, x_108, x_109, x_27); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_110); -x_114 = l_Lean_Meta_matchEq_x3f(x_110, x_8, x_9, x_10, x_11, x_111); -if (lean_obj_tag(x_114) == 0) -{ -lean_object* x_115; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); +lean_inc(x_111); +x_115 = l_Lean_Meta_matchEq_x3f(x_111, x_9, x_10, x_11, x_12, x_112); if (lean_obj_tag(x_115) == 0) { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -lean_dec(x_113); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_5); -x_116 = lean_ctor_get(x_114, 1); +lean_object* x_116; +x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_dec(x_114); -x_117 = l_Lean_indentExpr(x_110); -x_118 = l_Lean_Meta_rewrite___lambda__4___closed__2; -x_119 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_117); -x_120 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_121 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -x_122 = lean_box(0); -x_123 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_3, x_121, x_122, x_8, x_9, x_10, x_11, x_116); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_5); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_118 = l_Lean_indentExpr(x_111); +x_119 = l_Lean_Meta_rewrite___lambda__4___closed__2; +x_120 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_122 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_box(0); +x_124 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_3, x_122, x_123, x_9, x_10, x_11, x_12, x_117); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -return x_123; +return x_124; } else { -lean_object* x_124; lean_object* x_125; -x_124 = lean_ctor_get(x_115, 0); -lean_inc(x_124); -lean_dec(x_115); -x_125 = lean_ctor_get(x_124, 1); +lean_object* x_125; lean_object* x_126; +x_125 = lean_ctor_get(x_116, 0); lean_inc(x_125); +lean_dec(x_116); +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); if (x_4 == 0) { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; -x_126 = lean_ctor_get(x_114, 1); -lean_inc(x_126); -lean_dec(x_114); -x_127 = lean_ctor_get(x_124, 0); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; +x_127 = lean_ctor_get(x_115, 1); lean_inc(x_127); -lean_dec(x_124); +lean_dec(x_115); x_128 = lean_ctor_get(x_125, 0); lean_inc(x_128); -x_129 = lean_ctor_get(x_125, 1); -lean_inc(x_129); lean_dec(x_125); -x_130 = l_Lean_Expr_getAppFn(x_128); -x_131 = l_Lean_Expr_isMVar(x_130); -lean_dec(x_130); -if (x_131 == 0) +x_129 = lean_ctor_get(x_126, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_126, 1); +lean_inc(x_130); +lean_dec(x_126); +x_131 = l_Lean_Expr_getAppFn(x_129); +x_132 = l_Lean_Expr_isMVar(x_131); +lean_dec(x_131); +if (x_132 == 0) { -lean_object* x_132; lean_object* x_133; -lean_dec(x_110); -x_132 = lean_box(0); -x_133 = l_Lean_Meta_rewrite___lambda__3(x_5, x_128, x_6, x_129, x_127, x_113, x_2, x_3, x_23, x_24, x_132, x_8, x_9, x_10, x_11, x_126); +lean_object* x_133; lean_object* x_134; +lean_dec(x_111); +x_133 = lean_box(0); +x_134 = l_Lean_Meta_rewrite___lambda__3(x_5, x_6, x_129, x_7, x_130, x_128, x_114, x_2, x_3, x_24, x_25, x_133, x_9, x_10, x_11, x_12, x_127); +lean_dec(x_25); lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_129); -return x_133; +lean_dec(x_130); +return x_134; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; -lean_dec(x_129); -lean_dec(x_127); -lean_dec(x_113); +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; +lean_dec(x_130); +lean_dec(x_128); +lean_dec(x_114); +lean_dec(x_25); lean_dec(x_24); -lean_dec(x_23); lean_dec(x_5); -x_134 = l_Lean_indentExpr(x_128); -x_135 = l_Lean_Meta_rewrite___lambda__4___closed__4; -x_136 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_134); -x_137 = l_Lean_Meta_rewrite___lambda__4___closed__6; -x_138 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -x_139 = l_Lean_indentExpr(x_110); -x_140 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -x_141 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_142 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_box(0); -x_144 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_3, x_142, x_143, x_8, x_9, x_10, x_11, x_126); +x_135 = l_Lean_indentExpr(x_129); +x_136 = l_Lean_Meta_rewrite___lambda__4___closed__4; +x_137 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_135); +x_138 = l_Lean_Meta_rewrite___lambda__4___closed__6; +x_139 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +x_140 = l_Lean_indentExpr(x_111); +x_141 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_140); +x_142 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_143 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set(x_143, 1, x_142); +x_144 = lean_box(0); +x_145 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_3, x_143, x_144, x_9, x_10, x_11, x_12, x_127); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -x_145 = !lean_is_exclusive(x_144); -if (x_145 == 0) +x_146 = !lean_is_exclusive(x_145); +if (x_146 == 0) { -return x_144; +return x_145; } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_144, 0); -x_147 = lean_ctor_get(x_144, 1); +lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_147 = lean_ctor_get(x_145, 0); +x_148 = lean_ctor_get(x_145, 1); +lean_inc(x_148); lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_144); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -return x_148; +lean_dec(x_145); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_147); +lean_ctor_set(x_149, 1, x_148); +return x_149; } } } else { -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -lean_dec(x_110); -x_149 = lean_ctor_get(x_114, 1); -lean_inc(x_149); -lean_dec(x_114); -x_150 = lean_ctor_get(x_124, 0); +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +lean_dec(x_111); +x_150 = lean_ctor_get(x_115, 1); lean_inc(x_150); -lean_dec(x_124); +lean_dec(x_115); x_151 = lean_ctor_get(x_125, 0); lean_inc(x_151); -x_152 = lean_ctor_get(x_125, 1); -lean_inc(x_152); lean_dec(x_125); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_153 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqSymmImp(x_113, x_8, x_9, x_10, x_11, x_149); -if (lean_obj_tag(x_153) == 0) -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_153, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_153, 1); -lean_inc(x_155); -lean_dec(x_153); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_151); +x_152 = lean_ctor_get(x_126, 0); lean_inc(x_152); -x_156 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqImp(x_152, x_151, x_8, x_9, x_10, x_11, x_155); -if (lean_obj_tag(x_156) == 0) +x_153 = lean_ctor_get(x_126, 1); +lean_inc(x_153); +lean_dec(x_126); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_154 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqSymmImp(x_114, x_9, x_10, x_11, x_12, x_150); +if (lean_obj_tag(x_154) == 0) { -lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; -x_157 = lean_ctor_get(x_156, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_156, 1); +lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_154, 1); +lean_inc(x_156); +lean_dec(x_154); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_152); +lean_inc(x_153); +x_157 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqImp(x_153, x_152, x_9, x_10, x_11, x_12, x_156); +if (lean_obj_tag(x_157) == 0) +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; +x_158 = lean_ctor_get(x_157, 0); lean_inc(x_158); -lean_dec(x_156); -x_159 = l_Lean_Expr_getAppFn(x_152); -x_160 = l_Lean_Expr_isMVar(x_159); -lean_dec(x_159); -if (x_160 == 0) -{ -lean_object* x_161; lean_object* x_162; +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); lean_dec(x_157); -x_161 = lean_box(0); -x_162 = l_Lean_Meta_rewrite___lambda__3(x_5, x_152, x_6, x_151, x_150, x_154, x_2, x_3, x_23, x_24, x_161, x_8, x_9, x_10, x_11, x_158); +x_160 = l_Lean_Expr_getAppFn(x_153); +x_161 = l_Lean_Expr_isMVar(x_160); +lean_dec(x_160); +if (x_161 == 0) +{ +lean_object* x_162; lean_object* x_163; +lean_dec(x_158); +x_162 = lean_box(0); +x_163 = l_Lean_Meta_rewrite___lambda__3(x_5, x_6, x_153, x_7, x_152, x_151, x_155, x_2, x_3, x_24, x_25, x_162, x_9, x_10, x_11, x_12, x_159); +lean_dec(x_25); lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_151); -return x_162; +lean_dec(x_152); +return x_163; } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; -lean_dec(x_154); +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; +lean_dec(x_155); +lean_dec(x_152); lean_dec(x_151); -lean_dec(x_150); +lean_dec(x_25); lean_dec(x_24); -lean_dec(x_23); lean_dec(x_5); -x_163 = l_Lean_indentExpr(x_152); -x_164 = l_Lean_Meta_rewrite___lambda__4___closed__4; -x_165 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_163); -x_166 = l_Lean_Meta_rewrite___lambda__4___closed__6; -x_167 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_167, 0, x_165); -lean_ctor_set(x_167, 1, x_166); -x_168 = l_Lean_indentExpr(x_157); -x_169 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -x_170 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_171 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -x_172 = lean_box(0); -x_173 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_3, x_171, x_172, x_8, x_9, x_10, x_11, x_158); +x_164 = l_Lean_indentExpr(x_153); +x_165 = l_Lean_Meta_rewrite___lambda__4___closed__4; +x_166 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_164); +x_167 = l_Lean_Meta_rewrite___lambda__4___closed__6; +x_168 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_167); +x_169 = l_Lean_indentExpr(x_158); +x_170 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_170, 0, x_168); +lean_ctor_set(x_170, 1, x_169); +x_171 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_172 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +x_173 = lean_box(0); +x_174 = l_Lean_Meta_throwTacticEx___rarg(x_2, x_3, x_172, x_173, x_9, x_10, x_11, x_12, x_159); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -x_174 = !lean_is_exclusive(x_173); -if (x_174 == 0) +x_175 = !lean_is_exclusive(x_174); +if (x_175 == 0) { -return x_173; +return x_174; } else { -lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_175 = lean_ctor_get(x_173, 0); -x_176 = lean_ctor_get(x_173, 1); +lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_176 = lean_ctor_get(x_174, 0); +x_177 = lean_ctor_get(x_174, 1); +lean_inc(x_177); lean_inc(x_176); -lean_inc(x_175); -lean_dec(x_173); -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_175); -lean_ctor_set(x_177, 1, x_176); -return x_177; +lean_dec(x_174); +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_176); +lean_ctor_set(x_178, 1, x_177); +return x_178; } } } else { -uint8_t x_178; -lean_dec(x_154); -lean_dec(x_152); -lean_dec(x_151); -lean_dec(x_150); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_178 = !lean_is_exclusive(x_156); -if (x_178 == 0) -{ -return x_156; -} -else -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_179 = lean_ctor_get(x_156, 0); -x_180 = lean_ctor_get(x_156, 1); -lean_inc(x_180); -lean_inc(x_179); -lean_dec(x_156); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_179); -lean_ctor_set(x_181, 1, x_180); -return x_181; -} -} -} -else -{ -uint8_t x_182; -lean_dec(x_152); -lean_dec(x_151); -lean_dec(x_150); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_182 = !lean_is_exclusive(x_153); -if (x_182 == 0) -{ -return x_153; -} -else -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_183 = lean_ctor_get(x_153, 0); -x_184 = lean_ctor_get(x_153, 1); -lean_inc(x_184); -lean_inc(x_183); +uint8_t x_179; +lean_dec(x_155); lean_dec(x_153); -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_183); -lean_ctor_set(x_185, 1, x_184); -return x_185; -} -} -} -} -} -else -{ -uint8_t x_186; -lean_dec(x_113); -lean_dec(x_110); +lean_dec(x_152); +lean_dec(x_151); +lean_dec(x_25); lean_dec(x_24); -lean_dec(x_23); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_186 = !lean_is_exclusive(x_114); -if (x_186 == 0) +x_179 = !lean_is_exclusive(x_157); +if (x_179 == 0) { -return x_114; +return x_157; } else { -lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_ctor_get(x_114, 0); -x_188 = lean_ctor_get(x_114, 1); -lean_inc(x_188); -lean_inc(x_187); +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_157, 0); +x_181 = lean_ctor_get(x_157, 1); +lean_inc(x_181); +lean_inc(x_180); +lean_dec(x_157); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_181); +return x_182; +} +} +} +else +{ +uint8_t x_183; +lean_dec(x_153); +lean_dec(x_152); +lean_dec(x_151); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_154); +if (x_183 == 0) +{ +return x_154; +} +else +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_184 = lean_ctor_get(x_154, 0); +x_185 = lean_ctor_get(x_154, 1); +lean_inc(x_185); +lean_inc(x_184); +lean_dec(x_154); +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +return x_186; +} +} +} +} +} +else +{ +uint8_t x_187; lean_dec(x_114); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_187); -lean_ctor_set(x_189, 1, x_188); -return x_189; -} -} -} -else -{ -uint8_t x_190; -lean_dec(x_108); -lean_dec(x_107); -lean_dec(x_26); +lean_dec(x_111); +lean_dec(x_25); lean_dec(x_24); -lean_dec(x_23); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_190 = !lean_is_exclusive(x_109); -if (x_190 == 0) +x_187 = !lean_is_exclusive(x_115); +if (x_187 == 0) { -return x_109; +return x_115; } else { -lean_object* x_191; lean_object* x_192; lean_object* x_193; -x_191 = lean_ctor_get(x_109, 0); -x_192 = lean_ctor_get(x_109, 1); -lean_inc(x_192); -lean_inc(x_191); +lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_188 = lean_ctor_get(x_115, 0); +x_189 = lean_ctor_get(x_115, 1); +lean_inc(x_189); +lean_inc(x_188); +lean_dec(x_115); +x_190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_190, 0, x_188); +lean_ctor_set(x_190, 1, x_189); +return x_190; +} +} +} +else +{ +uint8_t x_191; lean_dec(x_109); -x_193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_193, 0, x_191); -lean_ctor_set(x_193, 1, x_192); -return x_193; +lean_dec(x_108); +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_191 = !lean_is_exclusive(x_110); +if (x_191 == 0) +{ +return x_110; +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_192 = lean_ctor_get(x_110, 0); +x_193 = lean_ctor_get(x_110, 1); +lean_inc(x_193); +lean_inc(x_192); +lean_dec(x_110); +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_192); +lean_ctor_set(x_194, 1, x_193); +return x_194; } } } } else { -uint8_t x_194; +uint8_t x_195; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_194 = !lean_is_exclusive(x_19); -if (x_194 == 0) +x_195 = !lean_is_exclusive(x_20); +if (x_195 == 0) { -return x_19; +return x_20; } else { -lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_195 = lean_ctor_get(x_19, 0); -x_196 = lean_ctor_get(x_19, 1); +lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_196 = lean_ctor_get(x_20, 0); +x_197 = lean_ctor_get(x_20, 1); +lean_inc(x_197); lean_inc(x_196); -lean_inc(x_195); -lean_dec(x_19); -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -return x_197; +lean_dec(x_20); +x_198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_198, 0, x_196); +lean_ctor_set(x_198, 1, x_197); +return x_198; } } } else { -uint8_t x_198; +uint8_t x_199; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_198 = !lean_is_exclusive(x_13); -if (x_198 == 0) +x_199 = !lean_is_exclusive(x_14); +if (x_199 == 0) { -return x_13; +return x_14; } else { -lean_object* x_199; lean_object* x_200; lean_object* x_201; -x_199 = lean_ctor_get(x_13, 0); -x_200 = lean_ctor_get(x_13, 1); +lean_object* x_200; lean_object* x_201; lean_object* x_202; +x_200 = lean_ctor_get(x_14, 0); +x_201 = lean_ctor_get(x_14, 1); +lean_inc(x_201); lean_inc(x_200); -lean_inc(x_199); -lean_dec(x_13); -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_199); -lean_ctor_set(x_201, 1, x_200); -return x_201; +lean_dec(x_14); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_200); +lean_ctor_set(x_202, 1, x_201); +return x_202; } } } @@ -2364,29 +2505,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_rewrite(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Meta_rewrite(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_11 = l_Lean_Meta_rewrite___closed__1; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = l_Lean_Meta_rewrite___closed__1; lean_inc(x_1); -x_12 = lean_alloc_closure((void*)(l_Lean_Meta_checkNotAssigned___boxed), 7, 2); -lean_closure_set(x_12, 0, x_1); -lean_closure_set(x_12, 1, x_11); -x_13 = lean_box(x_4); +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_checkNotAssigned___boxed), 7, 2); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_12); +x_14 = lean_box(x_4); +x_15 = lean_box(x_6); lean_inc(x_1); -x_14 = lean_alloc_closure((void*)(l_Lean_Meta_rewrite___lambda__4___boxed), 12, 6); -lean_closure_set(x_14, 0, x_3); -lean_closure_set(x_14, 1, x_11); -lean_closure_set(x_14, 2, x_1); -lean_closure_set(x_14, 3, x_13); -lean_closure_set(x_14, 4, x_2); -lean_closure_set(x_14, 5, x_5); -x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); -lean_closure_set(x_15, 0, x_12); -lean_closure_set(x_15, 1, x_14); -x_16 = l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__2___rarg(x_1, x_15, x_6, x_7, x_8, x_9, x_10); -return x_16; +x_16 = lean_alloc_closure((void*)(l_Lean_Meta_rewrite___lambda__4___boxed), 13, 7); +lean_closure_set(x_16, 0, x_3); +lean_closure_set(x_16, 1, x_12); +lean_closure_set(x_16, 2, x_1); +lean_closure_set(x_16, 3, x_14); +lean_closure_set(x_16, 4, x_2); +lean_closure_set(x_16, 5, x_15); +lean_closure_set(x_16, 6, x_5); +x_17 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg), 7, 2); +lean_closure_set(x_17, 0, x_13); +lean_closure_set(x_17, 1, x_16); +x_18 = l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__2___rarg(x_1, x_17, x_7, x_8, x_9, x_10, x_11); +return x_18; } } lean_object* l_Lean_Meta_kabstract___at_Lean_Meta_rewrite___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -2421,39 +2564,62 @@ lean_dec(x_2); return x_16; } } -lean_object* l_Lean_Meta_rewrite___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +lean_object* l_Lean_Meta_rewrite___lambda__3___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -lean_object* x_17; -x_17 = l_Lean_Meta_rewrite___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +uint8_t x_18; lean_object* x_19; +x_18 = lean_unbox(x_2); +lean_dec(x_2); +x_19 = l_Lean_Meta_rewrite___lambda__3(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -return x_17; +return x_19; } } -lean_object* l_Lean_Meta_rewrite___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Meta_rewrite___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_4); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_4); lean_dec(x_4); -x_14 = l_Lean_Meta_rewrite___lambda__4(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_7); +x_15 = lean_unbox(x_6); lean_dec(x_6); -return x_14; +x_16 = l_Lean_Meta_rewrite___lambda__4(x_1, x_2, x_3, x_14, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_8); +lean_dec(x_7); +return x_16; } } -lean_object* l_Lean_Meta_rewrite___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Meta_rewrite___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_4); +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_4); lean_dec(x_4); -x_12 = l_Lean_Meta_rewrite(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; +x_13 = lean_unbox(x_6); +lean_dec(x_6); +x_14 = l_Lean_Meta_rewrite(x_1, x_2, x_3, x_12, x_5, x_13, x_7, x_8, x_9, x_10, x_11); +return x_14; } } lean_object* initialize_Init(lean_object*); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Util.c b/stage0/stdlib/Lean/Meta/Tactic/Util.c index 06fb612e22..358390e911 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Util.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Util.c @@ -30,6 +30,7 @@ lean_object* l_Lean_Meta_checkNotAssigned___closed__1; lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_checkNotAssigned___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2; lean_object* l_Lean_MetavarContext_setMVarUserName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwTacticEx___rarg___closed__3; lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -79,7 +80,6 @@ extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__4; lean_object* l_Lean_Meta_mkSorry___at_Lean_Meta_admit___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__2; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__2; lean_object* l_Lean_Meta_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_intro___closed__1; lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1102,7 +1102,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11191____closed__2; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Parser/Basic.c b/stage0/stdlib/Lean/Parser/Basic.c index 8654342962..dfcbc70785 100644 --- a/stage0/stdlib/Lean/Parser/Basic.c +++ b/stage0/stdlib/Lean/Parser/Basic.c @@ -593,6 +593,7 @@ lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Parser_ParserState_keepPrevError_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkInsideQuot___closed__1; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_updateCache(lean_object*, lean_object*); +lean_object* l_Lean_Parser_many1Unbox___lambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_instInhabitedParser___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Info(lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedCharFn___closed__1; @@ -7243,13 +7244,13 @@ lean_object* l_Lean_Parser_many1Unbox___lambda__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; -lean_inc(x_1); x_2 = l_Lean_Syntax_getNumArgs(x_1); x_3 = lean_unsigned_to_nat(1u); x_4 = lean_nat_dec_eq(x_2, x_3); lean_dec(x_2); if (x_4 == 0) { +lean_inc(x_1); return x_1; } else @@ -7257,7 +7258,6 @@ else lean_object* x_5; lean_object* x_6; x_5 = lean_unsigned_to_nat(0u); x_6 = l_Lean_Syntax_getArg(x_1, x_5); -lean_dec(x_1); return x_6; } } @@ -7266,7 +7266,7 @@ static lean_object* _init_l_Lean_Parser_many1Unbox___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_many1Unbox___lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_many1Unbox___lambda__1___boxed), 1, 0); return x_1; } } @@ -7292,6 +7292,15 @@ lean_ctor_set(x_8, 1, x_7); return x_8; } } +lean_object* l_Lean_Parser_many1Unbox___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_many1Unbox___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l_Lean_Parser_satisfyFn(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index 4861198f25..63f3ffdb4f 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -1942,6 +1942,7 @@ lean_object* l_Lean_Parser_Command_structure___closed__4; lean_object* l_Lean_Parser_Command_printAxioms___closed__2; lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_forall_formatter___closed__3; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_object* l_Lean_Parser_Command_namespace_parenthesizer___closed__3; lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__21; extern lean_object* l_Lean_Parser_Term_explicitUniv___closed__1; @@ -2339,7 +2340,6 @@ lean_object* l_Lean_Parser_Command_attribute___elambda__1___closed__14; lean_object* l_Lean_Parser_Command_inductive_formatter___closed__7; lean_object* l_Lean_Parser_Command_classInductive_formatter___closed__4; extern lean_object* l_Lean_Parser_Term_matchAltsWhereDecls; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; lean_object* l___regBuiltin_Lean_Parser_Command_declaration_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Command_namespace_formatter___closed__2; lean_object* l_Lean_Parser_Command_synth_formatter___closed__3; @@ -8030,7 +8030,7 @@ static lean_object* _init_l_Lean_Parser_Command_inductive___elambda__1___closed_ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; x_2 = l_String_trim(x_1); return x_2; } @@ -13390,7 +13390,7 @@ static lean_object* _init_l_Lean_Parser_Command_inductive_formatter___closed__3( _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__5; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Parser/Do.c b/stage0/stdlib/Lean/Parser/Do.c index f29f8e2e66..f46790a6e1 100644 --- a/stage0/stdlib/Lean/Parser/Do.c +++ b/stage0/stdlib/Lean/Parser/Do.c @@ -326,7 +326,6 @@ lean_object* l_Lean_Parser_Term_doCatchMatch___closed__3; lean_object* l_Lean_Parser_Term_doAssert___closed__1; lean_object* l_Lean_Parser_Term_doMatch_formatter___closed__2; lean_object* l_Lean_Parser_Term_liftMethod___elambda__1___closed__5; -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_doReturn_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doSeqItem_formatter___closed__5; lean_object* l_Lean_Parser_Term_doCatch___elambda__1___closed__6; @@ -1482,6 +1481,7 @@ lean_object* l_Lean_Parser_Term_doMatchAlt; lean_object* l_Lean_Parser_Term_doExpr; lean_object* l_Lean_Parser_Term_doUnless_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__9; +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_withoutPosition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doDbgTrace___elambda__1___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_doBreak_formatter(lean_object*); @@ -12657,7 +12657,7 @@ static lean_object* _init_l_Lean_Parser_Term_doTry___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2; x_2 = l_String_trim(x_1); return x_2; } @@ -13151,7 +13151,7 @@ static lean_object* _init_l_Lean_Parser_Term_doTry_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11975____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Parser/Extension.c b/stage0/stdlib/Lean/Parser/Extension.c index 1f23ef3d5b..1c29e38431 100644 --- a/stage0/stdlib/Lean/Parser/Extension.c +++ b/stage0/stdlib/Lean/Parser/Extension.c @@ -433,6 +433,7 @@ lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2505____lam lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___at_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_2701____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_getUnaryAlias___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_getParserPriority___boxed(lean_object*); lean_object* l_Lean_Parser_getParserPriority___closed__1; lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getUnaryAlias___rarg___closed__1; @@ -12489,7 +12490,6 @@ lean_object* l_Lean_Parser_getParserPriority(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; -lean_inc(x_1); x_2 = l_Lean_Syntax_getNumArgs(x_1); x_3 = lean_unsigned_to_nat(0u); x_4 = lean_nat_dec_eq(x_2, x_3); @@ -12502,7 +12502,6 @@ lean_dec(x_2); if (x_6 == 0) { lean_object* x_7; -lean_dec(x_1); x_7 = l_Lean_Parser_getParserPriority___closed__2; return x_7; } @@ -12510,7 +12509,6 @@ else { lean_object* x_8; lean_object* x_9; lean_object* x_10; x_8 = l_Lean_Syntax_getArg(x_1, x_3); -lean_dec(x_1); x_9 = l_Lean_numLitKind; x_10 = l_Lean_Syntax_isNatLitAux(x_9, x_8); lean_dec(x_8); @@ -12536,12 +12534,20 @@ else { lean_object* x_14; lean_dec(x_2); -lean_dec(x_1); x_14 = l_Lean_Parser_getParserPriority___closed__5; return x_14; } } } +lean_object* l_Lean_Parser_getParserPriority___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Parser_getParserPriority(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -14035,6 +14041,7 @@ uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_5); lean_dec(x_5); x_11 = l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_dec(x_4); return x_11; } } @@ -15158,6 +15165,7 @@ uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_4); lean_dec(x_4); x_10 = l___private_Lean_Parser_Extension_0__Lean_Parser_ParserAttribute_add___rarg(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_dec(x_3); return x_10; } } @@ -15219,6 +15227,7 @@ uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_4); lean_dec(x_4); x_10 = l_Lean_Parser_mkParserAttributeImpl___elambda__1___rarg(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_dec(x_3); return x_10; } } diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index 07238693a6..8a0ab9bafa 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -32,6 +32,7 @@ lean_object* l_Lean_Parser_Tactic_seq1___closed__3; lean_object* l_Lean_Parser_Term_matchAlt___closed__5; lean_object* l_Lean_Parser_Term_instBinder_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__5; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; lean_object* l_Lean_Parser_Term_binderTactic_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__1; lean_object* l_Lean_Parser_Level_quot___closed__3; @@ -150,6 +151,7 @@ lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_bnot___closed__4; lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; extern lean_object* l_Lean_Syntax_isQuot_match__1___rarg___closed__1; lean_object* l_Lean_Parser_Term_optType___closed__2; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__7; @@ -381,6 +383,7 @@ lean_object* l_Lean_Parser_Term_prop_formatter___closed__3; lean_object* l_Lean_Parser_Term_letIdDecl_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_quot_parenthesizer___closed__4; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2; lean_object* l_Lean_Parser_Term_funSimpleBinder___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__7; lean_object* l_Lean_Parser_Level_quot_formatter___closed__4; @@ -416,6 +419,7 @@ lean_object* l_Lean_Parser_Term_prop; lean_object* l_Lean_Parser_Term_proj_formatter___closed__1; lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_nativeRefl_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__2; @@ -545,7 +549,6 @@ lean_object* l_Lean_Parser_Term_forall___closed__3; lean_object* l_Lean_Parser_Term_parser_x21_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_decide___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__4; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_assert_formatter(lean_object*); lean_object* l_Lean_Parser_Term_attrArg___closed__4; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__6; @@ -676,7 +679,6 @@ lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object*, lean_object* lean_object* l___regBuiltin_Lean_Parser_Term_stateRefT_parenthesizer___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_unreachable(lean_object*); lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__26; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__1; lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_optSemicolon(lean_object*); lean_object* l_Lean_Parser_Term_letRecDecls_formatter___closed__2; @@ -694,7 +696,6 @@ extern lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__8; lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__6; lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__3; lean_object* l_Lean_Parser_addBuiltinParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3; lean_object* l_Lean_Parser_Term_letRecDecls_formatter___closed__1; lean_object* l_Lean_Parser_Term_optIdent___closed__4; lean_object* l_Lean_Parser_Term_explicitBinder_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -787,7 +788,6 @@ lean_object* l_Lean_Parser_Term_tupleTail___elambda__1(lean_object*, lean_object lean_object* l_Lean_Parser_Term_borrowed_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__6; extern lean_object* l_Lean_Parser_mkAntiquot_formatter___closed__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; lean_object* l_Lean_Parser_Term_forall_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInstArrayRef_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1024,7 +1024,6 @@ lean_object* l_Lean_Parser_Term_structInstArrayRef_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_subst___closed__1; lean_object* l_Lean_Parser_Term_depArrow___closed__8; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; lean_object* l_Lean_Parser_Term_nativeDecide___elambda__1___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_sorry(lean_object*); lean_object* l_Lean_Parser_Term_nomatch___closed__4; @@ -1199,7 +1198,6 @@ lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__2; lean_object* l_Lean_Parser_Term_arrow; lean_object* l___regBuiltin_Lean_Parser_Term_char_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_arrow___closed__4; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; lean_object* l_Lean_Parser_Term_arrayRef_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_namedArgument_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_letrec___closed__2; @@ -1430,6 +1428,7 @@ lean_object* l_Lean_Parser_Term_sorry___closed__3; lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_explicitUniv_formatter___closed__6; lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1___closed__7; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; lean_object* l_Lean_Parser_Term_paren_formatter___closed__9; lean_object* l_Lean_Parser_Term_structInstField___closed__2; lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__1; @@ -1593,6 +1592,7 @@ lean_object* l_Lean_Parser_Term_simpleBinder_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_fromTerm; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__6; lean_object* l_Lean_Parser_Term_funBinder___elambda__1(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_formatter(lean_object*); lean_object* l_Lean_Parser_Term_attrInstance___closed__2; lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__4; @@ -1612,6 +1612,7 @@ lean_object* l_Lean_Parser_Term_let_x2a_formatter___closed__3; lean_object* l_Lean_Parser_Term_type_formatter___closed__1; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__24; lean_object* l_Lean_Parser_Term_tparser_x21___elambda__1___closed__8; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; lean_object* l_Lean_Parser_Term_letEqnsDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_app_formatter___closed__3; lean_object* l_Lean_Parser_Term_syntheticHole___closed__6; @@ -1835,7 +1836,6 @@ lean_object* l_Lean_Parser_Term_paren_formatter___closed__4; lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_uminus___closed__6; lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__7; -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__2; lean_object* l_Lean_Parser_Term_optType___closed__3; lean_object* l_Lean_Parser_Term_not_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_structInstField___closed__4; @@ -2518,6 +2518,7 @@ lean_object* l_Lean_Parser_Term_sufficesDecl___closed__2; lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__7; lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__6; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3; lean_object* l_Lean_Parser_Term_letDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_pipeProj(lean_object*); lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__4; @@ -2555,9 +2556,11 @@ lean_object* l_Lean_Parser_Term_let___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_matchAlts___closed__8; lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__3; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__4; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__4; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__8; lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__1; +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2; lean_object* l_Lean_Parser_Term_arrow_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_anonymousCtor; lean_object* l_Lean_Parser_Term_forall___closed__9; @@ -2774,6 +2777,7 @@ lean_object* l_Lean_Parser_Term_syntheticHole_formatter___closed__1; lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__2; lean_object* l_Lean_Parser_Term_letIdLhs___closed__4; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; lean_object* l_Lean_Parser_Term_typeAscription_formatter___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_formatter___closed__1; lean_object* l_Lean_Parser_Term_attrArg_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2804,7 +2808,6 @@ lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__8; lean_object* l_Lean_Parser_Term_macroDollarArg_formatter___closed__3; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__18; lean_object* l_Lean_Parser_Term_subst___closed__5; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4; lean_object* l_Lean_Parser_Term_binderType___closed__4; lean_object* l_Lean_Parser_Term_panic___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_arrayRef_parenthesizer(lean_object*); @@ -2812,6 +2815,7 @@ lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_match__syntax_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_let___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__8; +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_namedArgument_parenthesizer___closed__4; @@ -2990,6 +2994,7 @@ lean_object* l_Lean_Parser_darrow___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_let_formatter___closed__5; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; lean_object* l_Lean_Parser_Term_not___closed__8; lean_object* l_Lean_Parser_Term_match___closed__11; lean_object* l_Lean_Parser_Term_arrow_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3072,7 +3077,6 @@ lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_parser_x21___closed__4; lean_object* l_Lean_Parser_Term_assert_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__1; lean_object* l_Lean_Parser_Term_matchDiscr; lean_object* l_Lean_Parser_Term_cdot___closed__7; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__13; @@ -3139,7 +3143,6 @@ lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_typeSpec___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_optIdent___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Tactic_changeWith___closed__3; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; lean_object* l_Lean_Parser_Term_forall___closed__5; lean_object* l_Lean_Parser_Term_attrArg___closed__2; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__6; @@ -3169,7 +3172,6 @@ lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_typeSpec_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_parenSpecial_parenthesizer___closed__2; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__3; lean_object* l_Lean_Parser_Term_match_formatter___closed__10; lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_letRecDecls___closed__1; @@ -3461,7 +3463,6 @@ lean_object* l_Lean_Parser_Term_parenSpecial_formatter___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_match_formatter(lean_object*); lean_object* l_Lean_Parser_Term_let_x2a___closed__6; lean_object* l_Lean_Parser_Term_macroLastArg_parenthesizer___closed__2; -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_nativeDecide_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_Tactic_let___closed__5; @@ -3490,7 +3491,6 @@ lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__6; lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__4; lean_object* l_Lean_Parser_darrow___closed__3; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__2; lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__4; lean_object* l_Lean_Parser_Term_structInst___closed__11; lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__5; @@ -4236,7 +4236,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1__ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -4246,7 +4246,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1__ _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2; x_2 = l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -4257,7 +4257,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1__ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_2 = l_String_trim(x_1); return x_2; } @@ -4360,7 +4360,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; x_2 = l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__11; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -4467,7 +4467,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___closed__8() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; x_2 = l_Lean_Parser_Tactic_tacticSeq1Indented___closed__7; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -4843,7 +4843,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; x_1 = l_Lean_Parser_Tactic_case___closed__9; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; x_3 = l_Lean_Parser_Tactic_tacticSeq___closed__3; x_4 = 0; x_5 = l_Lean_Parser_nodeWithAntiquot(x_1, x_2, x_3, x_4); @@ -4897,7 +4897,7 @@ x_5 = 1; x_6 = l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__6; x_7 = l_Lean_Parser_Tactic_seq1___elambda__1___closed__3; x_8 = l_Lean_Parser_sepBy1Fn(x_5, x_6, x_7, x_1, x_2); -x_9 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_9 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_4); return x_10; } @@ -4927,7 +4927,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_seq1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_2 = l_Lean_Parser_Tactic_seq1___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -5313,7 +5313,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___cl _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -5465,7 +5465,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented_formatter___cl _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2; x_2 = l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -5490,7 +5490,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented_formatter___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Tactic_tacticSeq1Indented_formatter___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -5543,7 +5543,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; x_6 = l_Lean_Parser_Tactic_case___closed__9; -x_7 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_7 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; x_8 = l_Lean_Parser_Tactic_tacticSeq_formatter___closed__3; x_9 = 0; x_10 = l_Lean_Parser_nodeWithAntiquot_formatter(x_6, x_7, x_8, x_9, x_1, x_2, x_3, x_4, x_5); @@ -5821,7 +5821,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented_parenthesizer_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Tactic_tacticSeq1Indented_parenthesizer___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -5873,7 +5873,7 @@ lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer(lean_object* x_1, lean _start: { lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; -x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; x_7 = l_Lean_Parser_Tactic_tacticSeq_parenthesizer___closed__3; x_8 = 0; x_9 = l_Lean_Parser_nodeWithAntiquot_parenthesizer___rarg(x_6, x_7, x_8, x_1, x_2, x_3, x_4, x_5); @@ -8375,7 +8375,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -8385,7 +8385,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -8396,7 +8396,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; x_2 = l_String_trim(x_1); return x_2; } @@ -8415,7 +8415,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -8461,7 +8461,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; x_2 = l_Lean_Parser_Term_sorry___closed__1; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -8522,7 +8522,7 @@ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__16; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_sorry; x_6 = lean_unsigned_to_nat(0u); @@ -8534,7 +8534,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -8549,7 +8549,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -8559,7 +8559,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_sorry_formatter___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -8592,7 +8592,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; x_4 = l___regBuiltin_Lean_Parser_Term_sorry_formatter___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -8615,7 +8615,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_parenthesizer___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -8648,7 +8648,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11226____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; x_4 = l___regBuiltin_Lean_Parser_Term_sorry_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -11580,7 +11580,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__1 _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -11590,7 +11590,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__2 _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3; x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -11601,7 +11601,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__3 _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; x_2 = l_String_trim(x_1); return x_2; } @@ -11632,7 +11632,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__6 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -11690,7 +11690,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; x_2 = l_Lean_Parser_Term_haveAssign___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -12292,7 +12292,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__1() _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3; x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -12307,7 +12307,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__2() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11355____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -12329,7 +12329,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__4() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_haveAssign_formatter___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -12664,7 +12664,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_parenthesizer___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11407____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -32912,7 +32912,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -32922,7 +32922,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -32933,7 +32933,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2; x_2 = l_String_trim(x_1); return x_2; } @@ -32952,7 +32952,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -32998,7 +32998,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; x_2 = l_Lean_Parser_Term_decide___closed__1; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -33059,7 +33059,7 @@ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__16; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_decide; x_6 = lean_unsigned_to_nat(0u); @@ -33071,7 +33071,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -33086,7 +33086,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11027____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -33096,7 +33096,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_decide_formatter___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -33129,7 +33129,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; x_4 = l___regBuiltin_Lean_Parser_Term_decide_formatter___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -33152,7 +33152,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide_parenthesizer___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -33185,7 +33185,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11062____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; x_4 = l___regBuiltin_Lean_Parser_Term_decide_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -42889,7 +42889,7 @@ lean_object* l_Lean_Parser_Tactic_seq1_formatter(lean_object* x_1, lean_object* _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_7 = l_Lean_Parser_Tactic_seq1_formatter___closed__2; x_8 = l_Lean_PrettyPrinter_Formatter_node_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; @@ -43011,7 +43011,7 @@ lean_object* l_Lean_Parser_Tactic_seq1_parenthesizer(lean_object* x_1, lean_obje _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10895____closed__2; +x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; x_7 = l_Lean_Parser_Tactic_seq1_parenthesizer___closed__1; x_8 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; diff --git a/stage0/stdlib/Lean/Parser/Transform.c b/stage0/stdlib/Lean/Parser/Transform.c index 72e50963f4..3b7a24b376 100644 --- a/stage0/stdlib/Lean/Parser/Transform.c +++ b/stage0/stdlib/Lean/Parser/Transform.c @@ -932,7 +932,6 @@ lean_inc(x_3); x_9 = l_Lean_instInhabitedSyntax; x_10 = lean_unsigned_to_nat(1u); x_11 = lean_array_get(x_9, x_3, x_10); -lean_inc(x_11); x_12 = l_Lean_Syntax_getNumArgs(x_11); x_13 = lean_unsigned_to_nat(2u); x_14 = lean_nat_dec_eq(x_12, x_13); @@ -1318,7 +1317,6 @@ lean_ctor_set(x_97, 1, x_3); x_98 = l_Lean_instInhabitedSyntax; x_99 = lean_unsigned_to_nat(1u); x_100 = lean_array_get(x_98, x_3, x_99); -lean_inc(x_100); x_101 = l_Lean_Syntax_getNumArgs(x_100); x_102 = lean_unsigned_to_nat(2u); x_103 = lean_nat_dec_eq(x_101, x_102); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c index 2871985372..c40220c652 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c @@ -159,7 +159,6 @@ lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___closed__8; lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2389____closed__29; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkPrec_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_parenthesizeTerm(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkStackTop_parenthesizer___rarg(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_skip_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_numLitNoAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -289,6 +288,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer(le lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2389____closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__21; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -7627,7 +7627,7 @@ _start: lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_5 = l_Array_empty___closed__1; x_6 = lean_array_push(x_5, x_1); -x_7 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11637____closed__1; +x_7 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; x_8 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_8, 0, x_7); lean_ctor_set(x_8, 1, x_6); diff --git a/stage0/stdlib/Lean/Syntax.c b/stage0/stdlib/Lean/Syntax.c index 7d0abcfd0f..8d489919d9 100644 --- a/stage0/stdlib/Lean/Syntax.c +++ b/stage0/stdlib/Lean/Syntax.c @@ -78,7 +78,6 @@ lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Syntax_setAtomVal(lean_object*, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SyntaxNode_getArg___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_setArg_match__1(lean_object*); lean_object* l_Lean_Syntax_replaceM_match__1(lean_object*); lean_object* l_Lean_Syntax_rewriteBottomUpM(lean_object*); lean_object* l_Lean_Syntax_formatStxAux___closed__2; @@ -145,7 +144,6 @@ lean_object* l___private_Lean_Syntax_0__Lean_Syntax_formatInfo_match__1(lean_obj lean_object* l_Lean_Syntax_modifyArg_match__1(lean_object*); extern lean_object* l_Lean_Format_join___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_reprint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_setArgs(lean_object*, lean_object*); lean_object* l_Lean_Syntax_structEq_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); lean_object* l___private_Lean_Syntax_0__Lean_Syntax_reprintLeaf___boxed(lean_object*, lean_object*); @@ -184,7 +182,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_reprint___spec__2(lean_o extern lean_object* l_instReprIterator___closed__2; lean_object* l_Lean_Syntax_formatStxAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Syntax_formatStxAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_setArgs_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Syntax_0__Lean_Syntax_formatInfo_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getAtomVal_x21___closed__3; lean_object* l_Lean_Syntax_MonadTraverser_goLeft___rarg___lambda__1(lean_object*); @@ -206,7 +203,6 @@ lean_object* l_Lean_unreachIsNodeAtom(lean_object*, lean_object*, lean_object*, lean_object* l_Lean_Syntax_replaceM_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isMissing_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isMissing(lean_object*); -lean_object* l_Lean_Syntax_setArg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_replaceM___at_Lean_Syntax_updateLeading___spec__1(lean_object*, lean_object*); lean_object* l_Lean_SyntaxNode_getNumArgs(lean_object*); lean_object* l_Lean_Syntax_instToStringSyntax___closed__1; @@ -251,7 +247,6 @@ lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__3___boxed(lean_object* extern lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l_Lean_Syntax_MonadTraverser_goUp___rarg___lambda__1(lean_object*); lean_object* l_Lean_SyntaxNode_getIdAt___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_setArgs_match__1(lean_object*); lean_object* lean_array_pop(lean_object*); lean_object* l_Lean_Syntax_ifNode_match__1(lean_object*); lean_object* l___private_Lean_Syntax_0__Lean_Syntax_updateLeadingAux(lean_object*, lean_object*); @@ -276,7 +271,6 @@ lean_object* l_Lean_Syntax_ifNodeKind___rarg___boxed(lean_object*, lean_object*, lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_SyntaxNode_getKind_match__1(lean_object*); lean_object* l_Lean_Syntax_Traverser_left(lean_object*); -lean_object* l_Lean_Syntax_setArg_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isQuot___boxed(lean_object*); lean_object* l_Lean_Syntax_modifyArgs(lean_object*, lean_object*); lean_object* l_Lean_Syntax_structEq_match__1(lean_object*); @@ -1411,83 +1405,24 @@ return x_6; } } } -lean_object* l_Lean_Syntax_getNumArgs(lean_object* x_1) { +lean_object* l_Lean_Syntax_getIdAt(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Syntax_asNode(x_1); -x_3 = lean_ctor_get(x_2, 1); -lean_inc(x_3); -lean_dec(x_2); -x_4 = lean_array_get_size(x_3); +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Syntax_getArg(x_1, x_2); +x_4 = l_Lean_Syntax_getId(x_3); lean_dec(x_3); return x_4; } } -lean_object* l_Lean_Syntax_setArgs_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Syntax_getIdAt___boxed(lean_object* x_1, lean_object* x_2) { _start: { -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_2(x_2, x_4, x_5); -return x_6; -} -else -{ -lean_object* x_7; +lean_object* x_3; +x_3 = l_Lean_Syntax_getIdAt(x_1, x_2); lean_dec(x_2); -x_7 = lean_apply_1(x_3, x_1); -return x_7; -} -} -} -lean_object* l_Lean_Syntax_setArgs_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_setArgs_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Syntax_setArgs(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_1, 1); -lean_dec(x_4); -lean_ctor_set(x_1, 1, x_2); -return x_1; -} -else -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); lean_dec(x_1); -x_6 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_2); -return x_6; -} -} -else -{ -lean_dec(x_2); -return x_1; -} +return x_3; } } lean_object* l_Lean_Syntax_modifyArgs_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -1559,84 +1494,6 @@ return x_1; } } } -lean_object* l_Lean_Syntax_setArg_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_apply_2(x_2, x_4, x_5); -return x_6; -} -else -{ -lean_object* x_7; -lean_dec(x_2); -x_7 = lean_apply_1(x_3, x_1); -return x_7; -} -} -} -lean_object* l_Lean_Syntax_setArg_match__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Syntax_setArg_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_Syntax_setArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 1); -x_6 = lean_array_set(x_5, x_2, x_3); -lean_ctor_set(x_1, 1, x_6); -return x_1; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = lean_ctor_get(x_1, 0); -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -lean_inc(x_7); -lean_dec(x_1); -x_9 = lean_array_set(x_8, x_2, x_3); -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_7); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -else -{ -lean_dec(x_3); -return x_1; -} -} -} -lean_object* l_Lean_Syntax_setArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Syntax_setArg(x_1, x_2, x_3); -lean_dec(x_2); -return x_4; -} -} lean_object* l_Lean_Syntax_modifyArg_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -1751,26 +1608,6 @@ lean_dec(x_2); return x_4; } } -lean_object* l_Lean_Syntax_getIdAt(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Syntax_getArg(x_1, x_2); -x_4 = l_Lean_Syntax_getId(x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l_Lean_Syntax_getIdAt___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Syntax_getIdAt(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} lean_object* l_Lean_Syntax_replaceM_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -5975,7 +5812,6 @@ _start: lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); -lean_inc(x_3); x_4 = l_Lean_Syntax_getNumArgs(x_3); x_5 = lean_nat_dec_lt(x_2, x_4); lean_dec(x_4); @@ -6067,7 +5903,6 @@ x_6 = lean_ctor_get(x_1, 2); lean_inc(x_6); x_7 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__1(x_6); x_8 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_2); -lean_inc(x_8); x_9 = l_Lean_Syntax_getNumArgs(x_8); x_10 = lean_nat_dec_lt(x_7, x_9); lean_dec(x_9); diff --git a/stage0/stdlib/Lean/ToExpr.c b/stage0/stdlib/Lean/ToExpr.c index 02dc1d6eb4..4c5c5ac1b9 100644 --- a/stage0/stdlib/Lean/ToExpr.c +++ b/stage0/stdlib/Lean/ToExpr.c @@ -104,11 +104,11 @@ lean_object* l_Lean_instToExprChar___lambda__1(uint32_t); lean_object* l_Lean_Name_toExprAux___closed__2; lean_object* l_Lean_instToExprChar___lambda__1___boxed(lean_object*); lean_object* l_Lean_instToExprProd___rarg___lambda__1___closed__2; -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; lean_object* l_Lean_mkNatLit(lean_object*); lean_object* l_Lean_mkStrLit(lean_object*); lean_object* l_Lean_Name_toExprAux___closed__3; lean_object* l_Lean_instToExprOption___rarg___lambda__1___closed__2; +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; lean_object* l_Lean_instToExprOption_match__1(lean_object*, lean_object*); lean_object* l_Lean_instToExprString; extern lean_object* l_Lean_Expr_isCharLit___closed__2; @@ -910,7 +910,7 @@ static lean_object* _init_l_Lean_instToExprArray___rarg___lambda__1___closed__1( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; +x_1 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; x_2 = l_Lean_instToExprOption___rarg___lambda__1___closed__1; x_3 = l_Lean_mkConst(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Util/Recognizers.c b/stage0/stdlib/Lean/Util/Recognizers.c index 8549a476be..b92eafe199 100644 --- a/stage0/stdlib/Lean/Util/Recognizers.c +++ b/stage0/stdlib/Lean/Util/Recognizers.c @@ -81,13 +81,13 @@ lean_object* l_Lean_Expr_isConstructorApp_x3f___closed__3; lean_object* l_Lean_Expr_constructorApp_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constructorApp_x3f_match__2(lean_object*); lean_object* l_Lean_Expr_prod_x3f(lean_object*); -extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; lean_object* l_Lean_Expr_prod_x3f___boxed(lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_Expr_isHEq___boxed(lean_object*); lean_object* l_Lean_mkNatLit(lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l___private_Lean_Util_Recognizers_0__Lean_Expr_getConstructorVal_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; lean_object* l_Lean_Expr_listLit_x3f_loop(lean_object*, lean_object*); lean_object* l_Lean_Expr_arrow_x3f_match__1(lean_object*); lean_object* l_Lean_Expr_isConstructorApp_x3f(lean_object*, lean_object*); @@ -610,7 +610,7 @@ lean_object* l_Lean_Expr_arrayLit_x3f(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3381____closed__5; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__5; x_3 = lean_unsigned_to_nat(2u); x_4 = l_Lean_Expr_isAppOfArity(x_1, x_2, x_3); if (x_4 == 0)