diff --git a/stage0/src/Init/Classical.lean b/stage0/src/Init/Classical.lean index 92e0d4f8f3..71a4feb8d4 100644 --- a/stage0/src/Init/Classical.lean +++ b/stage0/src/Init/Classical.lean @@ -26,36 +26,36 @@ theorem choose_spec {α : Sort u} {p : α → Prop} (h : ∃ x, p x) : p (choose /- Diaconescu's theorem: excluded middle from choice, Function extensionality and propositional extensionality. -/ theorem em (p : Prop) : p ∨ ¬p := - let U (x : Prop) : Prop := x = True ∨ p; - let V (x : Prop) : Prop := x = False ∨ p; - have exU : ∃ x, U x := ⟨True, Or.inl rfl⟩; - have exV : ∃ x, V x := ⟨False, Or.inl rfl⟩; - let u : Prop := choose exU; - let v : Prop := choose exV; - have uDef : U u := choose_spec exU; - have vDef : V v := choose_spec exV; - have notUvOrP : u ≠ v ∨ p := - match uDef, vDef with + let U (x : Prop) : Prop := x = True ∨ p + let V (x : Prop) : Prop := x = False ∨ p + have exU : ∃ x, U x := ⟨True, Or.inl rfl⟩ + have exV : ∃ x, V x := ⟨False, Or.inl rfl⟩ + let u : Prop := choose exU + let v : Prop := choose exV + have u_def : U u := choose_spec exU + have v_def : V v := choose_spec exV + have not_uv_or_p : u ≠ v ∨ p := + match u_def, v_def with | Or.inr h, _ => Or.inr h | _, Or.inr h => Or.inr h | Or.inl hut, Or.inl hvf => - have hne : u ≠ v := hvf.symm ▸ hut.symm ▸ true_ne_false + have hne : u ≠ v := by simp [hvf, hut, true_ne_false] Or.inl hne - have pImpliesUv : p → u = v := + have p_implies_uv : p → u = v := fun hp => have hpred : U = V := funext fun x => have hl : (x = True ∨ p) → (x = False ∨ p) := - fun a => Or.inr hp; + fun _ => Or.inr hp have hr : (x = False ∨ p) → (x = True ∨ p) := - fun a => Or.inr hp; + fun _ => Or.inr hp show (x = True ∨ p) = (x = False ∨ p) from - propext (Iff.intro hl hr); - have h₀ : ∀ exU exV, @choose _ U exU = @choose _ V exV := - hpred ▸ fun exU exV => rfl; - show u = v from h₀ ..; - match notUvOrP with - | Or.inl hne => Or.inr (mt pImpliesUv hne) + propext (Iff.intro hl hr) + have h₀ : ∀ exU exV, @choose _ U exU = @choose _ V exV := by + rw [hpred]; intros; rfl + show u = v from h₀ _ _ + match not_uv_or_p with + | Or.inl hne => Or.inr (mt p_implies_uv hne) | Or.inr h => Or.inl h theorem exists_true_of_nonempty {α : Sort u} : Nonempty α → ∃ x : α, True @@ -114,10 +114,10 @@ theorem axiomOfChoice {α : Sort u} {β : α → Sort v} {r : ∀ x, β x → Pr theorem skolem {α : Sort u} {b : α → Sort v} {p : ∀ x, b x → Prop} : (∀ x, ∃ y, p x y) ↔ ∃ (f : ∀ x, b x), ∀ x, p x (f x) := ⟨axiomOfChoice, fun ⟨f, hw⟩ (x) => ⟨f x, hw x⟩⟩ -theorem propComplete (a : Prop) : a = True ∨ a = False := by - cases em a with - | inl _ => apply Or.inl; apply propext; apply Iff.intro; { intros; apply True.intro }; { intro; assumption } - | inr hn => apply Or.inr; apply propext; apply Iff.intro; { intro h; exact hn h }; { intro h; apply False.elim h } +theorem propComplete (a : Prop) : a = True ∨ a = False := + match em a with + | Or.inl ha => Or.inl (propext (Iff.intro (fun _ => ⟨⟩) (fun _ => ha))) + | Or.inr hn => Or.inr (propext (Iff.intro (fun h => hn h) (fun h => False.elim h))) -- this supercedes byCases in Decidable theorem byCases {p q : Prop} (hpq : p → q) (hnpq : ¬p → q) : q := diff --git a/stage0/src/Init/Notation.lean b/stage0/src/Init/Notation.lean index 58b4c61087..d11c5e7bf2 100644 --- a/stage0/src/Init/Notation.lean +++ b/stage0/src/Init/Notation.lean @@ -353,6 +353,8 @@ def rwWithRfl (kind : SyntaxNodeKind) (atom : String) (stx : Syntax) : MacroM Sy syntax (name := injection) "injection " term (" with " (colGt (ident <|> "_"))+)? : tactic +syntax (name := injections) "injections" : tactic + syntax simpPre := "↓" syntax simpPost := "↑" syntax simpLemma := (simpPre <|> simpPost)? ("←" <|> "<-")? term diff --git a/stage0/src/Lean/Elab/Syntax.lean b/stage0/src/Lean/Elab/Syntax.lean index 953ddc79ef..e2720bdcd9 100644 --- a/stage0/src/Lean/Elab/Syntax.lean +++ b/stage0/src/Lean/Elab/Syntax.lean @@ -231,9 +231,16 @@ private def declareSyntaxCatQuotParser (catName : Name) : CommandElabM Unit := d @[builtinCommandElab syntaxCat] def elabDeclareSyntaxCat : CommandElab := fun stx => do let catName := stx[1].getId + let catBehavior := + if stx[2].isNone then + Parser.LeadingIdentBehavior.default + else if stx[2][3].getKind == ``Parser.Command.catBehaviorBoth then + Parser.LeadingIdentBehavior.both + else + Parser.LeadingIdentBehavior.symbol let attrName := catName.appendAfter "Parser" let env ← getEnv - let env ← liftIO $ Parser.registerParserCategory env attrName catName + let env ← Parser.registerParserCategory env attrName catName catBehavior setEnv env declareSyntaxCatQuotParser catName diff --git a/stage0/src/Lean/Elab/Tactic/Injection.lean b/stage0/src/Lean/Elab/Tactic/Injection.lean index 5482282064..d693d317be 100644 --- a/stage0/src/Lean/Elab/Tactic/Injection.lean +++ b/stage0/src/Lean/Elab/Tactic/Injection.lean @@ -23,8 +23,14 @@ private def checkUnusedIds (mvarId : MVarId) (unusedIds : List Name) : MetaM Uni let fvarId ← elabAsFVar stx[1] let ids := getInjectionNewIds stx[2] liftMetaTactic fun mvarId => do - match (← Meta.injection mvarId fvarId ids (!ids.isEmpty)) with - | Meta.InjectionResult.solved => checkUnusedIds mvarId ids; pure [] - | Meta.InjectionResult.subgoal mvarId' _ unusedIds => checkUnusedIds mvarId unusedIds; pure [mvarId'] + match (← Meta.injection mvarId fvarId ids) with + | Meta.InjectionResult.solved => checkUnusedIds mvarId ids; return [] + | Meta.InjectionResult.subgoal mvarId' _ unusedIds => checkUnusedIds mvarId unusedIds; return [mvarId'] + +@[builtinTactic «injections»] def evalInjections : Tactic := fun stx => do + liftMetaTactic fun mvarId => do + match (← Meta.injections mvarId) with + | none => return [] + | some mvarId => return [mvarId] end Lean.Elab.Tactic diff --git a/stage0/src/Lean/Elab/Tactic/Split.lean b/stage0/src/Lean/Elab/Tactic/Split.lean index 54d0edd688..79ab90406a 100644 --- a/stage0/src/Lean/Elab/Tactic/Split.lean +++ b/stage0/src/Lean/Elab/Tactic/Split.lean @@ -5,16 +5,33 @@ Authors: Leonardo de Moura -/ import Lean.Meta.Tactic.Split import Lean.Elab.Tactic.Basic +import Lean.Elab.Tactic.Location namespace Lean.Elab.Tactic open Meta -@[builtinTactic Lean.Parser.Tactic.split] def evalSplit : Tactic := fun stx => - -- TODO: process arguments +@[builtinTactic Lean.Parser.Tactic.split] def evalSplit : Tactic := fun stx => do + unless stx[1].isNone do + throwError "'split' tatic, term to split is not supported yet" liftMetaTactic fun mvarId => do - if let some mvarIds ← splitTarget? mvarId then + let loc := expandOptLocation stx[2] + match loc with + | Location.targets hUserNames simplifyTarget => + if (hUserNames.size > 0 && simplifyTarget) || hUserNames.size > 1 then + throwErrorAt stx[2] "'split' tactic failed, select a single target to split" + if simplifyTarget then + let some mvarIds ← splitTarget? mvarId | throwError "'split' tactic failed" + return mvarIds + else + let fvarId := (← getLocalDeclFromUserName hUserNames[0]).fvarId + let some mvarIds ← splitLocalDecl? mvarId fvarId | throwError "'split' tactic failed" + return mvarIds + | Location.wildcard => + let fvarIds ← getNondepPropHyps mvarId + for fvarId in fvarIds do + if let some mvarIds ← splitLocalDecl? mvarId fvarId then + return mvarIds + let some mvarIds ← splitTarget? mvarId | throwError "'split' tactic failed" return mvarIds - else - throwError "'split' tactic failed" end Lean.Elab.Tactic diff --git a/stage0/src/Lean/Meta/Tactic/Injection.lean b/stage0/src/Lean/Meta/Tactic/Injection.lean index 400cfde0c5..b1965b0ec5 100644 --- a/stage0/src/Lean/Meta/Tactic/Injection.lean +++ b/stage0/src/Lean/Meta/Tactic/Injection.lean @@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Meta.AppBuilder +import Lean.Meta.MatchUtil import Lean.Meta.Tactic.Clear import Lean.Meta.Tactic.Assert import Lean.Meta.Tactic.Intro @@ -50,7 +51,8 @@ def injectionCore (mvarId : MVarId) (fvarId : FVarId) : MetaM InjectionResultCor let newMVar ← mkFreshExprSyntheticOpaqueMVar newTarget tag assignExprMVar mvarId (mkApp val newMVar) let mvarId ← tryClear newMVar.mvarId! fvarId - /- Recall that `noConfusion` does not include equalities for propositions since they are trivial due to proof irrelevance. -/ + /- Recall that `noConfusion` does not include equalities for + propositions since they are trivial due to proof irrelevance. -/ let numPropFields ← getCtorNumPropFields aCtor return InjectionResultCore.subgoal mvarId (aCtor.numFields - numPropFields) | _ => throwTacticEx `injection mvarId "ill-formed noConfusion auxiliary construction" @@ -60,7 +62,7 @@ inductive InjectionResult where | solved | subgoal (mvarId : MVarId) (newEqs : Array FVarId) (remainingNames : List Name) -private def heqToEq (mvarId : MVarId) (fvarId : FVarId) : MetaM (FVarId × MVarId) := +private def heqToEq (mvarId : MVarId) (fvarId : FVarId) (tryToClear : Bool) : MetaM (FVarId × MVarId) := withMVarContext mvarId do let decl ← getLocalDecl fvarId let type ← whnf decl.type @@ -70,29 +72,55 @@ private def heqToEq (mvarId : MVarId) (fvarId : FVarId) : MetaM (FVarId × MVarI if (← isDefEq α β) then let pr ← mkEqOfHEq (mkFVar fvarId) let eq ← mkEq a b - let mvarId ← assert mvarId decl.userName eq pr - let mvarId ← clear mvarId fvarId - let (fvarId, mvarId) ← intro1P mvarId - pure (fvarId, mvarId) + let mut mvarId ← assert mvarId decl.userName eq pr + if tryToClear then + mvarId ← tryClear mvarId fvarId + let (fvarId, mvarId') ← intro1P mvarId + return (fvarId, mvarId') else - pure (fvarId, mvarId) + return (fvarId, mvarId) -def injectionIntro : Nat → MVarId → Array FVarId → List Name → MetaM InjectionResult - | 0, mvarId, fvarIds, remainingNames => - pure $ InjectionResult.subgoal mvarId fvarIds remainingNames - | n+1, mvarId, fvarIds, name::remainingNames => do - let (fvarId, mvarId) ← intro mvarId name - let (fvarId, mvarId) ← heqToEq mvarId fvarId - injectionIntro n mvarId (fvarIds.push fvarId) remainingNames - | n+1, mvarId, fvarIds, [] => do - let (fvarId, mvarId) ← intro1 mvarId - let (fvarId, mvarId) ← heqToEq mvarId fvarId - injectionIntro n mvarId (fvarIds.push fvarId) [] +def injectionIntro (mvarId : MVarId) (numEqs : Nat) (newNames : List Name) (tryToClear := true) : MetaM InjectionResult := + let rec go : Nat → MVarId → Array FVarId → List Name → MetaM InjectionResult + | 0, mvarId, fvarIds, remainingNames => + return InjectionResult.subgoal mvarId fvarIds remainingNames + | n+1, mvarId, fvarIds, name::remainingNames => do + let (fvarId, mvarId) ← intro mvarId name + let (fvarId, mvarId) ← heqToEq mvarId fvarId tryToClear + go n mvarId (fvarIds.push fvarId) remainingNames + | n+1, mvarId, fvarIds, [] => do + let (fvarId, mvarId) ← intro1 mvarId + let (fvarId, mvarId) ← heqToEq mvarId fvarId tryToClear + go n mvarId (fvarIds.push fvarId) [] + go numEqs mvarId #[] newNames -def injection (mvarId : MVarId) (fvarId : FVarId) (newNames : List Name := []) (useUnusedNames : Bool := true) : MetaM InjectionResult := do +def injection (mvarId : MVarId) (fvarId : FVarId) (newNames : List Name := []) : MetaM InjectionResult := do match (← injectionCore mvarId fvarId) with | InjectionResultCore.solved => pure InjectionResult.solved - | InjectionResultCore.subgoal mvarId numEqs => - injectionIntro numEqs mvarId #[] newNames + | InjectionResultCore.subgoal mvarId numEqs => injectionIntro mvarId numEqs newNames + +partial def injections (mvarId : MVarId) (maxDepth : Nat := 5) : MetaM (Option MVarId) := + withMVarContext mvarId do + let fvarIds := (← getLCtx).getFVarIds + go maxDepth fvarIds.toList mvarId +where + go : Nat → List FVarId → MVarId → MetaM (Option MVarId) + | 0, _, _ => throwTacticEx `injections mvarId "recursion depth exceeded" + | _, [], mvarId => return mvarId + | d+1, fvarId :: fvarIds, mvarId => do + let cont := do + go (d+1) fvarIds mvarId + if let some (_, lhs, rhs) ← matchEq? (← getLocalDecl fvarId).type then + let lhs ← whnf lhs + let rhs ← whnf rhs + if lhs.isNatLit && rhs.isNatLit then cont + else + try + match (← injection mvarId fvarId) with + | InjectionResult.solved => return none + | InjectionResult.subgoal mvarId newEqs _ => + withMVarContext mvarId <| go d (newEqs.toList ++ fvarIds) mvarId + catch _ => cont + else cont end Lean.Meta diff --git a/stage0/src/Lean/Meta/Tactic/Simp/Main.lean b/stage0/src/Lean/Meta/Tactic/Simp/Main.lean index eea0f93279..5ed03b8922 100644 --- a/stage0/src/Lean/Meta/Tactic/Simp/Main.lean +++ b/stage0/src/Lean/Meta/Tactic/Simp/Main.lean @@ -425,6 +425,7 @@ def simpLocalDecl (mvarId : MVarId) (fvarId : FVarId) (ctx : Simp.Context) (disc if type != type' then let mvarId ← assert mvarId localDecl.userName type' value let mvarId ← tryClear mvarId localDecl.fvarId + let (fvarId, mvarId) ← intro1P mvarId return some (fvarId, mvarId) else return some (fvarId, mvarId) diff --git a/stage0/src/Lean/Meta/Tactic/Split.lean b/stage0/src/Lean/Meta/Tactic/Split.lean index dbbb928387..a5e74fb56d 100644 --- a/stage0/src/Lean/Meta/Tactic/Split.lean +++ b/stage0/src/Lean/Meta/Tactic/Split.lean @@ -57,7 +57,7 @@ def splitMatch (mvarId : MVarId) (e : Expr) : MetaM (List MVarId) := do let some app ← matchMatcherApp? e | throwError "match application expected" let (discrFVarIds, mvarId) ← generalizeMatchDiscrs mvarId app.discrs trace[Meta.debug] "split [1]:\n{MessageData.ofGoal mvarId}" - let (reverted, mvarId) ← revert mvarId discrFVarIds + let (reverted, mvarId) ← revert mvarId discrFVarIds (preserveOrder := true) let (discrFVarIds, mvarId) ← introNP mvarId discrFVarIds.size let numExtra := reverted.size - discrFVarIds.size let discrs := discrFVarIds.map mkFVar @@ -107,4 +107,18 @@ def splitTarget? (mvarId : MVarId) : MetaM (Option (List MVarId)) := commitWhenS else return none +def splitLocalDecl? (mvarId : MVarId) (fvarId : FVarId) : MetaM (Option (List MVarId)) := commitWhenSome? do + withMVarContext mvarId do + if let some e := findSplit? (← getEnv) (← inferType (mkFVar fvarId)) then + if e.isIte || e.isDIte then + return (← splitIfLocalDecl? mvarId fvarId).map fun (mvarId₁, mvarId₂) => [mvarId₁, mvarId₂] + else + let (fvarIds, mvarId) ← revert mvarId #[fvarId] + let num := fvarIds.size + let mvarIds ← splitMatch mvarId e + let mvarIds ← mvarIds.mapM fun mvarId => return (← introNP mvarId num).2 + return some mvarIds + else + return none + end Lean.Meta diff --git a/stage0/src/Lean/Meta/Tactic/SplitIf.lean b/stage0/src/Lean/Meta/Tactic/SplitIf.lean index e90e5dac42..1f8d13dee2 100644 --- a/stage0/src/Lean/Meta/Tactic/SplitIf.lean +++ b/stage0/src/Lean/Meta/Tactic/SplitIf.lean @@ -91,6 +91,13 @@ def simpIfTarget (mvarId : MVarId) (useDecide := false) : MetaM MVarId := do else unreachable! +def simpIfLocalDecl (mvarId : MVarId) (fvarId : FVarId) : MetaM MVarId := do + let mut ctx ← getSimpContext + if let some (_, mvarId') ← simpLocalDecl mvarId fvarId ctx discharge? then + return mvarId' + else + unreachable! + def splitIfTarget? (mvarId : MVarId) (hName? : Option Name := none) : MetaM (Option (ByCasesSubgoal × ByCasesSubgoal)) := commitWhenSome? do if let some (s₁, s₂) ← splitIfAt? mvarId (← getMVarType mvarId) hName? then let mvarId₁ ← simpIfTarget s₁.mvarId @@ -102,6 +109,18 @@ def splitIfTarget? (mvarId : MVarId) (hName? : Option Name := none) : MetaM (Opt else return none +def splitIfLocalDecl? (mvarId : MVarId) (fvarId : FVarId) (hName? : Option Name := none) : MetaM (Option (MVarId × MVarId)) := commitWhenSome? do + withMVarContext mvarId do + if let some (s₁, s₂) ← splitIfAt? mvarId (← inferType (mkFVar fvarId)) hName? then + let mvarId₁ ← simpIfLocalDecl s₁.mvarId fvarId + let mvarId₂ ← simpIfLocalDecl s₂.mvarId fvarId + if s₁.mvarId == mvarId₁ && s₂.mvarId == mvarId₂ then + return none + else + return some (mvarId₁, mvarId₂) + else + return none + builtin_initialize registerTraceClass `Meta.Tactic.splitIf end Lean.Meta diff --git a/stage0/src/Lean/Parser/Basic.lean b/stage0/src/Lean/Parser/Basic.lean index 47ee936c8a..fdc301496a 100644 --- a/stage0/src/Lean/Parser/Basic.lean +++ b/stage0/src/Lean/Parser/Basic.lean @@ -1593,8 +1593,7 @@ inductive LeadingIdentBehavior where | default | symbol | both - deriving Inhabited, BEq - + deriving Inhabited, BEq, Repr /-- Each parser category is implemented using a Pratt's parser. diff --git a/stage0/src/Lean/Parser/Syntax.lean b/stage0/src/Lean/Parser/Syntax.lean index 50eeebf5f1..1d8750f9e2 100644 --- a/stage0/src/Lean/Parser/Syntax.lean +++ b/stage0/src/Lean/Parser/Syntax.lean @@ -71,7 +71,10 @@ def notationItem := ppSpace >> withAntiquot (mkAntiquot "notationItem" `Lean.Par @[builtinCommandParser] def «macro_rules» := suppressInsideQuot (leading_parser optional docComment >> Term.attrKind >> "macro_rules" >> optKind >> Term.matchAlts) @[builtinCommandParser] def «syntax» := leading_parser optional docComment >> Term.attrKind >> "syntax " >> optPrecedence >> optNamedName >> optNamedPrio >> many1 (syntaxParser argPrec) >> " : " >> ident @[builtinCommandParser] def syntaxAbbrev := leading_parser "syntax " >> ident >> " := " >> many1 syntaxParser -@[builtinCommandParser] def syntaxCat := leading_parser "declare_syntax_cat " >> ident +def catBehaviorBoth := leading_parser nonReservedSymbol "both" +def catBehaviorSymbol := leading_parser nonReservedSymbol "symbol" +def catBehavior := optional ("(" >> nonReservedSymbol "behavior" >> " := " >> (catBehaviorBoth <|> catBehaviorSymbol) >> ")") +@[builtinCommandParser] def syntaxCat := leading_parser "declare_syntax_cat " >> ident >> catBehavior def macroArg := leading_parser optional (atomic (ident >> checkNoWsBefore "no space before ':'" >> ":")) >> syntaxParser argPrec def macroRhs (quotP : Parser) : Parser := leading_parser "`(" >> incQuotDepth quotP >> ")" <|> termParser def macroTailTactic : Parser := atomic (" : " >> identEq "tactic") >> darrow >> macroRhs Tactic.seq1 diff --git a/stage0/stdlib/Init/Classical.c b/stage0/stdlib/Init/Classical.c index 877659fc7c..6debbc61e7 100644 --- a/stage0/stdlib/Init/Classical.c +++ b/stage0/stdlib/Init/Classical.c @@ -13,92 +13,92 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__37; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__30; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__15; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_72____spec__1(lean_object*, lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__18; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__45; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__27; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__9; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__24; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__17; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__4; static lean_object* l_Classical_tacticByCases_____x3a_____closed__13; lean_object* lean_name_mk_string(lean_object*, lean_object*); +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__37; static lean_object* l_Classical_tacticByCases_____x3a_____closed__11; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__17; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__3; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__53; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__42; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__15; static lean_object* l_Classical_tacticByCases_____x3a_____closed__2; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__44; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__27; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__4; -lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925_(lean_object*, lean_object*, lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__8; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__2; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__47; +lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970_(lean_object*, lean_object*, lean_object*); +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__41; lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__38; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__21; static lean_object* l_Classical_tacticByCases_____x3a_____closed__7; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__1; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__8; static lean_object* l_Classical_tacticByCases_____x3a_____closed__16; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__44; lean_object* l_Classical_typeDecidable_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__23; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__13; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__47; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__48; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__34; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__25; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__6; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__2; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__25; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__6; static lean_object* l_Classical_tacticByCases_____x3a_____closed__20; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__5; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__22; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__28; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__14; static lean_object* l_Classical_tacticByCases_____x3a_____closed__10; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__22; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__28; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__52; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__29; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__14; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__5; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__33; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__30; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__18; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__29; static lean_object* l_Classical_tacticByCases_____x3a_____closed__12; lean_object* l_Classical_tacticByCases_____x3a__; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__33; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__3; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__42; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__52; lean_object* l_Classical_typeDecidable_match__1(lean_object*, lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__53; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__35; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__40; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__24; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__7; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__36; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__49; static lean_object* l_Classical_tacticByCases_____x3a_____closed__3; static lean_object* l_Classical_tacticByCases_____x3a_____closed__15; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__39; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__45; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__40; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__9; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__16; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__35; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__51; static lean_object* l_Classical_tacticByCases_____x3a_____closed__14; static lean_object* l_Classical_tacticByCases_____x3a_____closed__18; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__36; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__16; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__39; static lean_object* l_Classical_tacticByCases_____x3a_____closed__5; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__7; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__49; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__32; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__10; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__20; static lean_object* l_Classical_tacticByCases_____x3a_____closed__4; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__43; static lean_object* l_Classical_tacticByCases_____x3a_____closed__9; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__43; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__38; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__21; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__50; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__41; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__20; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__10; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__32; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__46; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__12; static lean_object* l_Classical_tacticByCases_____x3a_____closed__19; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__46; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__26; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__26; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__13; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__23; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__34; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__48; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Classical_typeDecidable_match__1___rarg(uint8_t, lean_object*, lean_object*); -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__12; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__31; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__50; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__31; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__11; static lean_object* l_Classical_tacticByCases_____x3a_____closed__1; static lean_object* l_Classical_tacticByCases_____x3a_____closed__8; +static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__19; static lean_object* l_Classical_tacticByCases_____x3a_____closed__17; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__11; static lean_object* l_Classical_tacticByCases_____x3a_____closed__6; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__51; -static lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__19; lean_object* l_Classical_typeDecidable_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -350,7 +350,7 @@ x_1 = l_Classical_tacticByCases_____x3a_____closed__20; return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__1() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__1() { _start: { lean_object* x_1; @@ -358,17 +358,17 @@ x_1 = lean_mk_string("Lean"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__2() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__1; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__3() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__3() { _start: { lean_object* x_1; @@ -376,17 +376,17 @@ x_1 = lean_mk_string("Parser"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__4() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__2; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__3; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__2; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__5() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__5() { _start: { lean_object* x_1; @@ -394,17 +394,17 @@ x_1 = lean_mk_string("Tactic"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__6() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__4; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__5; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__4; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__7() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__7() { _start: { lean_object* x_1; @@ -412,17 +412,17 @@ x_1 = lean_mk_string("seq1"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__8() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__6; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__7; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__6; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__9() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__9() { _start: { lean_object* x_1; @@ -430,17 +430,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__10() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__9; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__11() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__11() { _start: { lean_object* x_1; @@ -448,17 +448,17 @@ x_1 = lean_mk_string("cases"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__12() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__6; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__11; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__6; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__13() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__13() { _start: { lean_object* x_1; @@ -466,17 +466,17 @@ x_1 = lean_mk_string("casesTarget"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__14() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__6; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__13; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__6; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__15() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -485,19 +485,19 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__16() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__10; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__15; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__10; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__15; 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_Classical_myMacro____x40_Init_Classical___hyg_925____closed__17() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__17() { _start: { lean_object* x_1; @@ -505,17 +505,17 @@ x_1 = lean_mk_string("Term"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__18() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__4; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__17; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__4; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__19() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__19() { _start: { lean_object* x_1; @@ -523,17 +523,17 @@ x_1 = lean_mk_string("app"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__20() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__18; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__19; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__18; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__19; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__21() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__21() { _start: { lean_object* x_1; @@ -541,22 +541,22 @@ x_1 = lean_mk_string("em"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__22() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__21; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__21; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__23() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__21; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__21; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__22; +x_3 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__22; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -564,51 +564,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__24() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__21; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__25() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Classical_tacticByCases_____x3a_____closed__2; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__21; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__26() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__25; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__25; 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_Classical_myMacro____x40_Init_Classical___hyg_925____closed__27() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__26; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__26; 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_Classical_myMacro____x40_Init_Classical___hyg_925____closed__28() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -617,7 +617,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__29() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__29() { _start: { lean_object* x_1; lean_object* x_2; @@ -626,17 +626,17 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__30() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__29; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__16; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__29; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__16; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__31() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__31() { _start: { lean_object* x_1; @@ -644,17 +644,17 @@ x_1 = lean_mk_string("inductionAlts"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__32() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__32() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__6; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__31; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__6; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__31; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__33() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__33() { _start: { lean_object* x_1; @@ -662,7 +662,7 @@ x_1 = lean_mk_string("with"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__34() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__34() { _start: { lean_object* x_1; @@ -670,17 +670,17 @@ x_1 = lean_mk_string("inductionAlt"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__35() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__35() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__6; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__34; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__6; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__34; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__36() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__36() { _start: { lean_object* x_1; @@ -688,7 +688,7 @@ x_1 = lean_mk_string("|"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__37() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__37() { _start: { lean_object* x_1; @@ -696,17 +696,17 @@ x_1 = lean_mk_string("group"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__38() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__37; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__37; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__39() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__39() { _start: { lean_object* x_1; @@ -714,22 +714,22 @@ x_1 = lean_mk_string("inl"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__40() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__40() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__39; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__39; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__41() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__39; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__39; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__40; +x_3 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__40; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -737,17 +737,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__42() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__42() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__39; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__39; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__43() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__43() { _start: { lean_object* x_1; @@ -755,7 +755,7 @@ x_1 = lean_mk_string("=>"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__44() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__44() { _start: { lean_object* x_1; @@ -763,17 +763,17 @@ x_1 = lean_mk_string("hole"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__45() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__18; -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__44; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__18; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__44; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__46() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__46() { _start: { lean_object* x_1; @@ -781,7 +781,7 @@ x_1 = lean_mk_string("_"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__47() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__47() { _start: { lean_object* x_1; lean_object* x_2; @@ -790,7 +790,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__48() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__48() { _start: { lean_object* x_1; @@ -798,22 +798,22 @@ x_1 = lean_mk_string("inr"); return x_1; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__49() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__49() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__48; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__48; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__50() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__50() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__48; +x_1 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__48; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__49; +x_3 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__49; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -821,17 +821,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__51() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__51() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__48; +x_2 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__48; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__52() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__52() { _start: { lean_object* x_1; lean_object* x_2; @@ -840,7 +840,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__53() { +static lean_object* _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__53() { _start: { lean_object* x_1; lean_object* x_2; @@ -849,7 +849,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_925_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Classical_myMacro____x40_Init_Classical___hyg_970_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -887,40 +887,40 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); lean_dec(x_2); -x_17 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__11; +x_17 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__11; lean_inc(x_14); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_14); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__24; +x_19 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__24; lean_inc(x_15); lean_inc(x_16); x_20 = l_Lean_addMacroScope(x_16, x_19, x_15); x_21 = lean_box(0); -x_22 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__23; -x_23 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__27; +x_22 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__23; +x_23 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__27; lean_inc(x_14); x_24 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_24, 0, x_14); lean_ctor_set(x_24, 1, x_22); lean_ctor_set(x_24, 2, x_20); lean_ctor_set(x_24, 3, x_23); -x_25 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__28; +x_25 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__28; x_26 = lean_array_push(x_25, x_11); -x_27 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__10; +x_27 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__10; 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 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__29; +x_29 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__29; x_30 = lean_array_push(x_29, x_24); x_31 = lean_array_push(x_30, x_28); -x_32 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__20; +x_32 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__20; x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); -x_34 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__30; +x_34 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__30; x_35 = lean_array_push(x_34, x_33); -x_36 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__14; +x_36 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__14; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); @@ -928,21 +928,21 @@ x_38 = lean_array_push(x_25, x_37); x_39 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_39, 0, x_27); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__33; +x_40 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__33; lean_inc(x_14); x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_14); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__36; +x_42 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__36; lean_inc(x_14); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_14); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__42; +x_44 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__42; lean_inc(x_15); lean_inc(x_16); x_45 = l_Lean_addMacroScope(x_16, x_44, x_15); -x_46 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__41; +x_46 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__41; lean_inc(x_14); x_47 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_47, 0, x_14); @@ -950,7 +950,7 @@ lean_ctor_set(x_47, 1, x_46); lean_ctor_set(x_47, 2, x_45); lean_ctor_set(x_47, 3, x_21); x_48 = lean_array_push(x_34, x_47); -x_49 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__38; +x_49 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__38; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -958,22 +958,22 @@ x_51 = lean_array_push(x_25, x_9); x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_27); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__43; +x_53 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__43; lean_inc(x_14); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_14); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__46; +x_55 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__46; lean_inc(x_14); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_14); lean_ctor_set(x_56, 1, x_55); x_57 = lean_array_push(x_25, x_56); -x_58 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__45; +x_58 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__45; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); -x_60 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__47; +x_60 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__47; x_61 = lean_array_push(x_60, x_43); lean_inc(x_61); x_62 = lean_array_push(x_61, x_50); @@ -983,13 +983,13 @@ lean_inc(x_54); x_64 = lean_array_push(x_63, x_54); lean_inc(x_59); x_65 = lean_array_push(x_64, x_59); -x_66 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__35; +x_66 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__35; x_67 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_67, 0, x_66); lean_ctor_set(x_67, 1, x_65); -x_68 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__51; +x_68 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__51; x_69 = l_Lean_addMacroScope(x_16, x_68, x_15); -x_70 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__50; +x_70 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__50; x_71 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_71, 0, x_14); lean_ctor_set(x_71, 1, x_70); @@ -1011,12 +1011,12 @@ x_80 = lean_array_push(x_79, x_78); x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_27); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__52; +x_82 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__52; x_83 = lean_array_push(x_82, x_41); -x_84 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__16; +x_84 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__16; x_85 = lean_array_push(x_83, x_84); x_86 = lean_array_push(x_85, x_81); -x_87 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__32; +x_87 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__32; x_88 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_88, 0, x_87); lean_ctor_set(x_88, 1, x_86); @@ -1024,12 +1024,12 @@ x_89 = lean_array_push(x_25, x_88); x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_27); lean_ctor_set(x_90, 1, x_89); -x_91 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__53; +x_91 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__53; x_92 = lean_array_push(x_91, x_18); x_93 = lean_array_push(x_92, x_39); x_94 = lean_array_push(x_93, x_84); x_95 = lean_array_push(x_94, x_90); -x_96 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__12; +x_96 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__12; x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_96); lean_ctor_set(x_97, 1, x_95); @@ -1038,7 +1038,7 @@ x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_27); lean_ctor_set(x_99, 1, x_98); x_100 = lean_array_push(x_25, x_99); -x_101 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__8; +x_101 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__8; x_102 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_102, 0, x_101); lean_ctor_set(x_102, 1, x_100); @@ -1058,40 +1058,40 @@ lean_inc(x_105); x_106 = lean_ctor_get(x_2, 1); lean_inc(x_106); lean_dec(x_2); -x_107 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__11; +x_107 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__11; lean_inc(x_103); x_108 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_108, 0, x_103); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__24; +x_109 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__24; lean_inc(x_105); lean_inc(x_106); x_110 = l_Lean_addMacroScope(x_106, x_109, x_105); x_111 = lean_box(0); -x_112 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__23; -x_113 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__27; +x_112 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__23; +x_113 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__27; lean_inc(x_103); x_114 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_114, 0, x_103); lean_ctor_set(x_114, 1, x_112); lean_ctor_set(x_114, 2, x_110); lean_ctor_set(x_114, 3, x_113); -x_115 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__28; +x_115 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__28; x_116 = lean_array_push(x_115, x_11); -x_117 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__10; +x_117 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__10; x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_117); lean_ctor_set(x_118, 1, x_116); -x_119 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__29; +x_119 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__29; x_120 = lean_array_push(x_119, x_114); x_121 = lean_array_push(x_120, x_118); -x_122 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__20; +x_122 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__20; x_123 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_123, 0, x_122); lean_ctor_set(x_123, 1, x_121); -x_124 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__30; +x_124 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__30; x_125 = lean_array_push(x_124, x_123); -x_126 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__14; +x_126 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__14; x_127 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_127, 0, x_126); lean_ctor_set(x_127, 1, x_125); @@ -1099,21 +1099,21 @@ x_128 = lean_array_push(x_115, x_127); x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_117); lean_ctor_set(x_129, 1, x_128); -x_130 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__33; +x_130 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__33; lean_inc(x_103); x_131 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_131, 0, x_103); lean_ctor_set(x_131, 1, x_130); -x_132 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__36; +x_132 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__36; lean_inc(x_103); x_133 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_133, 0, x_103); lean_ctor_set(x_133, 1, x_132); -x_134 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__42; +x_134 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__42; lean_inc(x_105); lean_inc(x_106); x_135 = l_Lean_addMacroScope(x_106, x_134, x_105); -x_136 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__41; +x_136 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__41; lean_inc(x_103); x_137 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_137, 0, x_103); @@ -1121,7 +1121,7 @@ lean_ctor_set(x_137, 1, x_136); lean_ctor_set(x_137, 2, x_135); lean_ctor_set(x_137, 3, x_111); x_138 = lean_array_push(x_124, x_137); -x_139 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__38; +x_139 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__38; x_140 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_140, 0, x_139); lean_ctor_set(x_140, 1, x_138); @@ -1129,22 +1129,22 @@ x_141 = lean_array_push(x_115, x_9); x_142 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_142, 0, x_117); lean_ctor_set(x_142, 1, x_141); -x_143 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__43; +x_143 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__43; lean_inc(x_103); x_144 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_144, 0, x_103); lean_ctor_set(x_144, 1, x_143); -x_145 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__46; +x_145 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__46; lean_inc(x_103); x_146 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_146, 0, x_103); lean_ctor_set(x_146, 1, x_145); x_147 = lean_array_push(x_115, x_146); -x_148 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__45; +x_148 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__45; x_149 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_149, 0, x_148); lean_ctor_set(x_149, 1, x_147); -x_150 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__47; +x_150 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__47; x_151 = lean_array_push(x_150, x_133); lean_inc(x_151); x_152 = lean_array_push(x_151, x_140); @@ -1154,13 +1154,13 @@ lean_inc(x_144); x_154 = lean_array_push(x_153, x_144); lean_inc(x_149); x_155 = lean_array_push(x_154, x_149); -x_156 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__35; +x_156 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__35; x_157 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_157, 0, x_156); lean_ctor_set(x_157, 1, x_155); -x_158 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__51; +x_158 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__51; x_159 = l_Lean_addMacroScope(x_106, x_158, x_105); -x_160 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__50; +x_160 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__50; x_161 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_161, 0, x_103); lean_ctor_set(x_161, 1, x_160); @@ -1182,12 +1182,12 @@ x_170 = lean_array_push(x_169, x_168); x_171 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_171, 0, x_117); lean_ctor_set(x_171, 1, x_170); -x_172 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__52; +x_172 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__52; x_173 = lean_array_push(x_172, x_131); -x_174 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__16; +x_174 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__16; x_175 = lean_array_push(x_173, x_174); x_176 = lean_array_push(x_175, x_171); -x_177 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__32; +x_177 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__32; x_178 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_178, 0, x_177); lean_ctor_set(x_178, 1, x_176); @@ -1195,12 +1195,12 @@ x_179 = lean_array_push(x_115, x_178); x_180 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_180, 0, x_117); lean_ctor_set(x_180, 1, x_179); -x_181 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__53; +x_181 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__53; x_182 = lean_array_push(x_181, x_108); x_183 = lean_array_push(x_182, x_129); x_184 = lean_array_push(x_183, x_174); x_185 = lean_array_push(x_184, x_180); -x_186 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__12; +x_186 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__12; x_187 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_187, 0, x_186); lean_ctor_set(x_187, 1, x_185); @@ -1209,7 +1209,7 @@ x_189 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_189, 0, x_117); lean_ctor_set(x_189, 1, x_188); x_190 = lean_array_push(x_115, x_189); -x_191 = l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__8; +x_191 = l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__8; x_192 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_192, 0, x_191); lean_ctor_set(x_192, 1, x_190); @@ -1276,112 +1276,112 @@ l_Classical_tacticByCases_____x3a_____closed__20 = _init_l_Classical_tacticByCas lean_mark_persistent(l_Classical_tacticByCases_____x3a_____closed__20); l_Classical_tacticByCases_____x3a__ = _init_l_Classical_tacticByCases_____x3a__(); lean_mark_persistent(l_Classical_tacticByCases_____x3a__); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__1 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__1(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__1); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__2 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__2(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__2); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__3 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__3(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__3); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__4 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__4(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__4); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__5 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__5(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__5); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__6 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__6(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__6); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__7 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__7(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__7); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__8 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__8(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__8); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__9 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__9(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__9); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__10 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__10(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__10); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__11 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__11(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__11); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__12 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__12(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__12); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__13 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__13(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__13); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__14 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__14(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__14); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__15 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__15(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__15); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__16 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__16(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__16); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__17 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__17(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__17); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__18 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__18(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__18); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__19 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__19(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__19); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__20 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__20(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__20); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__21 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__21(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__21); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__22 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__22(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__22); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__23 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__23(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__23); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__24 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__24(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__24); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__25 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__25(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__25); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__26 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__26(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__26); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__27 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__27(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__27); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__28 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__28(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__28); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__29 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__29(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__29); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__30 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__30(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__30); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__31 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__31(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__31); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__32 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__32(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__32); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__33 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__33(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__33); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__34 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__34(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__34); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__35 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__35(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__35); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__36 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__36(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__36); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__37 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__37(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__37); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__38 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__38(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__38); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__39 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__39(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__39); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__40 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__40(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__40); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__41 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__41(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__41); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__42 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__42(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__42); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__43 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__43(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__43); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__44 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__44(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__44); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__45 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__45(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__45); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__46 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__46(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__46); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__47 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__47(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__47); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__48 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__48(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__48); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__49 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__49(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__49); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__50 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__50(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__50); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__51 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__51(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__51); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__52 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__52(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__52); -l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__53 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__53(); -lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_925____closed__53); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__1 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__1(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__1); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__2 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__2(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__2); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__3 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__3(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__3); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__4 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__4(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__4); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__5 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__5(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__5); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__6 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__6(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__6); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__7 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__7(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__7); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__8 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__8(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__8); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__9 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__9(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__9); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__10 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__10(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__10); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__11 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__11(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__11); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__12 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__12(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__12); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__13 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__13(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__13); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__14 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__14(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__14); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__15 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__15(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__15); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__16 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__16(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__16); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__17 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__17(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__17); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__18 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__18(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__18); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__19 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__19(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__19); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__20 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__20(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__20); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__21 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__21(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__21); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__22 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__22(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__22); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__23 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__23(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__23); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__24 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__24(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__24); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__25 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__25(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__25); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__26 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__26(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__26); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__27 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__27(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__27); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__28 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__28(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__28); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__29 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__29(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__29); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__30 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__30(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__30); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__31 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__31(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__31); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__32 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__32(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__32); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__33 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__33(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__33); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__34 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__34(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__34); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__35 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__35(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__35); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__36 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__36(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__36); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__37 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__37(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__37); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__38 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__38(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__38); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__39 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__39(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__39); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__40 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__40(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__40); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__41 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__41(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__41); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__42 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__42(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__42); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__43 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__43(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__43); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__44 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__44(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__44); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__45 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__45(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__45); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__46 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__46(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__46); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__47 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__47(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__47); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__48 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__48(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__48); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__49 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__49(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__49); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__50 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__50(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__50); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__51 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__51(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__51); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__52 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__52(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__52); +l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__53 = _init_l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__53(); +lean_mark_persistent(l_Classical_myMacro____x40_Init_Classical___hyg_970____closed__53); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Notation.c b/stage0/stdlib/Init/Notation.c index 4467419e76..47daf96b2c 100644 --- a/stage0/stdlib/Init/Notation.c +++ b/stage0/stdlib/Init/Notation.c @@ -19,17 +19,18 @@ static lean_object* l_stx___x3c_x7c_x3e_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_3510____closed__8; static lean_object* l_myMacro____x40_Init_Notation___hyg_10951____closed__6; lean_object* l_Lean_Parser_Tactic_expandERwSeq(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__3; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__1; static lean_object* l_precMin1___closed__1; static lean_object* l_Lean_Parser_Tactic_contradiction___closed__3; static lean_object* l_term___x3c_x3c_x3c_____closed__3; static lean_object* l_term___x3c_x3d_____closed__6; +static lean_object* l_Lean_Parser_Tactic_injections___closed__1; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__17; static lean_object* l_term_x25_x5b___x7c___x5d___closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_8295____closed__6; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__1; static lean_object* l_Lean_Parser_Tactic_exact___closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__3; lean_object* l_Lean_Parser_Tactic_tacticTrivial; static lean_object* l_myMacro____x40_Init_Notation___hyg_72____closed__3; static lean_object* l_Lean_Parser_Tactic_intros___closed__7; @@ -44,11 +45,9 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_13788____closed__3; static lean_object* l_Lean_Parser_Tactic_cases___closed__6; static lean_object* l_Lean_Parser_Tactic_first___closed__17; static lean_object* l_myMacro____x40_Init_Notation___hyg_1377____closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__2; static lean_object* l_rawNatLit___closed__9; static lean_object* l_Lean_Parser_Tactic_tacticRepeat_____closed__3; static lean_object* l_term_u2039___u203a___closed__7; -static lean_object* l_myMacro____x40_Init_Notation___hyg_20995____closed__3; static lean_object* l_term___x25_____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_12600____closed__1; lean_object* l_term___x3d__; @@ -75,7 +74,6 @@ static lean_object* l_Lean_Parser_Tactic_induction___closed__13; static lean_object* l_precMin1___closed__4; static lean_object* l_term_x2d_____closed__1; static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15999____closed__16; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__4; static lean_object* l_term___x5c_x2f_____closed__3; static lean_object* l_Lean_Parser_Tactic_simp___closed__12; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__6; @@ -107,7 +105,6 @@ static lean_object* l_termMax__prec___closed__1; static lean_object* l_precLead___closed__4; lean_object* l_term_x2d__; static lean_object* l_myMacro____x40_Init_Notation___hyg_11883____closed__8; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__8; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_term___x3e_x3d_____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__9; @@ -176,10 +173,10 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_3988_(lean_object*, lean_objec lean_object* l_myMacro____x40_Init_Notation___hyg_4227_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_4466_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_6861_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_Notation___hyg_20995_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_7100_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_7339_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_7578_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_21004_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_9187_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_9091_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_8995_(lean_object*, lean_object*, lean_object*); @@ -265,7 +262,6 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_4705____closed__3; static lean_object* l_Lean_Parser_Tactic_injection___closed__2; static lean_object* l_term___x7c_x7c_____closed__3; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__4; static lean_object* l_term___x2d_____closed__2; static lean_object* l_term___x5e_x5e_x5e_____closed__5; static lean_object* l_term___x26_x26_____closed__5; @@ -301,6 +297,7 @@ static lean_object* l_Lean_Parser_Tactic_induction___closed__2; static lean_object* l_term___x3c_x3c_x3c_____closed__5; static lean_object* l_Lean_Parser_Tactic_simpLemma___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_12122____closed__9; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__5; static lean_object* l_termDepIfThenElse___closed__31; static lean_object* l_stx___x3c_x7c_x3e_____closed__1; static lean_object* l_Lean_Parser_Tactic_rwWithRfl___closed__2; @@ -360,7 +357,6 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_11190____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_4466____closed__7; static lean_object* l_term_x2d_____closed__6; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__16; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__5; static lean_object* l_rawNatLit___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__6; @@ -397,16 +393,14 @@ static lean_object* l_Lean_Parser_Tactic_changeWith___closed__5; lean_object* l_prioMid; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__1; static lean_object* l_Lean_Parser_Tactic_erwSeq___closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__1; static lean_object* l_termMax__prec___closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__6; static lean_object* l_Lean_Parser_Tactic_apply___closed__4; static lean_object* l_Lean_Parser_Tactic_casesTarget___closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_2554____closed__9; static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_11644____closed__8; static lean_object* l_Lean_Parser_Tactic_change___closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__1; static lean_object* l_Lean_Parser_Tactic_intro___closed__13; static lean_object* l_myMacro____x40_Init_Notation___hyg_984____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_1377____closed__1; @@ -421,7 +415,6 @@ static lean_object* l_term___x3c_x2a_____closed__1; lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15699_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15999_(lean_object*, lean_object*, lean_object*); static lean_object* l_prioMid___closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__3; static lean_object* l_Lean_Parser_Tactic_rename___closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_12122____closed__8; lean_object* l_Lean_Parser_Tactic_tacticUnhygienic__; @@ -480,7 +473,6 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_8995____closed__1; lean_object* lean_array_get_size(lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_11883____closed__2; lean_object* l_termDepIfThenElse; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_11427____closed__1; static lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__5; static lean_object* l_precLead___closed__3; @@ -489,7 +481,6 @@ static lean_object* l_Lean_Parser_Tactic_contradiction___closed__1; static lean_object* l_term_u2039___u203a___closed__2; static lean_object* l_rawNatLit___closed__4; static lean_object* l_Lean_Parser_Tactic_simp___closed__20; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__4; static lean_object* l_term___x24_______closed__3; static lean_object* l_term___x5e_x5e_x5e_____closed__6; static lean_object* l_term___x3c_x24_x3e_____closed__1; @@ -526,6 +517,7 @@ static lean_object* l_term___x3c_x2a_____closed__4; lean_object* l_stx___x3c_x7c_x3e__; static lean_object* l_myMacro____x40_Init_Notation___hyg_3032____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticTrivial___closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__7; static lean_object* l_Lean_Parser_Tactic_split___closed__3; static lean_object* l_Lean_Parser_Tactic_revert___closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_11644____closed__6; @@ -546,6 +538,7 @@ static lean_object* l_term___x3c_x3d_____closed__4; static lean_object* l_Lean_Parser_Tactic_anyGoals___closed__2; static lean_object* l_Lean_Parser_Tactic_generalize___closed__3; static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16777____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_2076____closed__9; static lean_object* l_Lean_Parser_Tactic_split___closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_3510____closed__9; @@ -576,6 +569,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_886____boxed(lean_object*, lea static lean_object* l_Lean_Parser_Tactic_done___closed__3; static lean_object* l_Lean_Parser_Tactic_generalizeArg___closed__4; lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d__; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__5; lean_object* l_Lean_Parser_Tactic_rename; static lean_object* l_Lean_Parser_Tactic_cases___closed__1; static lean_object* l_stx___x3c_x7c_x3e_____closed__8; @@ -603,6 +597,7 @@ static lean_object* l_Lean_Parser_Tactic_intros___closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_12361____closed__9; static lean_object* l_prec_x28___x29___closed__2; static lean_object* l_Lean_Parser_Tactic_first___closed__12; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__3; lean_object* l_Lean_Parser_Tactic_contradiction; static lean_object* l_Lean_Parser_Tactic_clear___closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_12361____closed__3; @@ -619,7 +614,6 @@ static lean_object* l_precMin___closed__1; static lean_object* l_Lean_Parser_Tactic_case___closed__4; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_4944____closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__8; static lean_object* l_Lean_Parser_Tactic_simp___closed__17; static lean_object* l_myMacro____x40_Init_Notation___hyg_13317____closed__3; lean_object* l_Lean_Parser_Tactic_rwWithRfl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -670,7 +664,6 @@ static lean_object* l_Lean_Parser_Tactic_withReducible___closed__4; static lean_object* l_precMin___closed__2; static lean_object* l_term___x3c_x3d_____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_15517____closed__11; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19533____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_10734____closed__2; static lean_object* l_stx___x3f___closed__1; static lean_object* l_term___x24_______closed__8; @@ -687,6 +680,7 @@ lean_object* l_termMax__prec; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__4; static lean_object* l_Lean_Parser_Tactic_subst___closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__4; static lean_object* l_Lean_Parser_Tactic_focus___closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_13317____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_1954____closed__2; @@ -764,10 +758,12 @@ lean_object* l_Lean_Parser_Tactic_cases; static lean_object* l_term_u2039___u203a___closed__1; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__9; static lean_object* l_term___x3c_x7c_x3e_____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_12600____closed__5; static lean_object* l_term_x21_____closed__1; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_1256____closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_5837____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_10734____closed__4; static lean_object* l_termDepIfThenElse___closed__32; @@ -776,6 +772,7 @@ static lean_object* l_termDepIfThenElse___closed__10; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__3; static lean_object* l_Lean_Parser_Tactic_subst___closed__6; static lean_object* l_term___x3e_x3e_____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticNext_______x3d_x3e_____closed__8; lean_object* l_term___x3c_x2a__; static lean_object* l_Lean_Parser_Attr_simp___closed__5; @@ -804,6 +801,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticUnhygienic_____closed__4; static lean_object* l_termIfThenElse___closed__12; static lean_object* l_myMacro____x40_Init_Notation___hyg_8295____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_12839____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_21004____closed__1; static lean_object* l_term_u2039___u203a___closed__4; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__9; static lean_object* l_myMacro____x40_Init_Notation___hyg_3032____closed__2; @@ -844,24 +842,24 @@ static lean_object* l_term___x3c_x7c_____closed__5; lean_object* l_Lean_Parser_Tactic_locationTargets; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__4; static lean_object* l_Lean_Parser_Tactic_change___closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__8; static lean_object* l_Lean_Parser_Tactic_tacticSuffices_____closed__8; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_7100____closed__2; static lean_object* l_stx___x2c_x2a___closed__4; static lean_object* l_Lean_Parser_Tactic_traceState___closed__2; static lean_object* l_term___x2f_____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_13788____closed__6; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__2; static lean_object* l_Lean_Parser_Syntax_subPrio___closed__3; lean_object* l_term___x3a_x3a__; static lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__5; lean_object* l_Lean_Parser_Tactic_tacticAdmit; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__2; static lean_object* l_Lean_Parser_Tactic_location___closed__1; static lean_object* l_prec_x28___x29___closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_13317____closed__4; static lean_object* l_Lean_Parser_Tactic_simp___closed__23; +static lean_object* l_myMacro____x40_Init_Notation___hyg_21004____closed__2; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__3; lean_object* l_prioLow; lean_object* l_Lean_Parser_Tactic_rewriteSeq; @@ -869,7 +867,6 @@ static lean_object* l_term___x3a_x3a_____closed__5; lean_object* l_Lean_Parser_Tactic_simpPre; static lean_object* l_term___x3e_x3e_x3d_____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_4227____closed__9; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_8295____closed__5; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__1; static lean_object* l_stx___x3f___closed__3; @@ -895,6 +892,7 @@ static lean_object* l_Lean_Parser_Tactic_simpAll___closed__11; static lean_object* l_termDepIfThenElse___closed__13; lean_object* l_stx___x2b; static lean_object* l_term___x2a_x3e_____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__7; static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17370____closed__1; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__10; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__3; @@ -903,7 +901,6 @@ lean_object* l_Lean_Parser_Tactic_tacticRefineLift__; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__3; lean_object* l_Lean_Parser_Tactic_rotateLeft; static lean_object* l_Lean_Parser_Tactic_focus___closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_3510____closed__5; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__1; static lean_object* l_Lean_Parser_Syntax_addPrio___closed__1; @@ -943,6 +940,7 @@ static lean_object* l_Lean_Parser_Tactic_revert___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_13317____closed__7; static lean_object* l_term___u2227_____closed__1; static lean_object* l_term___u2264_____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__1; lean_object* l_prio_x28___x29; lean_object* l_term___x2d__; static lean_object* l_term___x5c_x2f_____closed__2; @@ -953,20 +951,22 @@ static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15699____closed__7 static lean_object* l_Lean_Parser_Tactic_split___closed__6; static lean_object* l_stx___x2c_x2b___closed__4; static lean_object* l_Lean_Parser_Tactic_simp___closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__4; lean_object* l_Lean_Syntax_setKind(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_traceState___closed__4; static lean_object* l_termDepIfThenElse___closed__21; static lean_object* l_Lean_Parser_Tactic_intro___closed__10; lean_object* l_precLead; static lean_object* l_myMacro____x40_Init_Notation___hyg_4705____closed__2; +static lean_object* l_Lean_Parser_Tactic_injections___closed__2; static lean_object* l_precMin1___closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_7817____closed__7; static lean_object* l_prioHigh___closed__5; static lean_object* l_term___u2227_____closed__4; static lean_object* l_term_x25_x5b___x7c___x5d___closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_13317____closed__9; static lean_object* l_Lean_Parser_Tactic_simp___closed__21; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__4; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_13078____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_3271____closed__8; @@ -978,10 +978,10 @@ static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15999____closed__7 static lean_object* l_Lean_Parser_Tactic_letrec___closed__11; static lean_object* l_Lean_Parser_Tactic_revert___closed__3; static lean_object* l_Lean_Parser_Tactic_intros___closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__5; static lean_object* l_term___x5e_x5e_x5e_____closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_2793____closed__7; lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15699__expandListLit_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__1; static lean_object* l_Lean_Parser_Tactic_simp___closed__13; static lean_object* l_Lean_Parser_Tactic_injection___closed__6; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__1; @@ -996,6 +996,7 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_3988____closed__4; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__5; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_14123____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_13078____closed__4; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__3; static lean_object* l_term___x7c_x7c_____closed__4; @@ -1023,10 +1024,12 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_13078____closed__9; static lean_object* l_Lean_Parser_Tactic_casesTarget___closed__1; lean_object* l_term___x3e_x3d__; lean_object* l_prioDefault; +static lean_object* l_Lean_Parser_Tactic_injections___closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_13317____closed__2; static lean_object* l_term___x3c_x7c_x3e_____closed__3; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__6; static lean_object* l_Lean_Parser_Tactic_letrec___closed__1; static lean_object* l_termDepIfThenElse___closed__6; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__14; @@ -1071,16 +1074,15 @@ static lean_object* l_Lean_Parser_Tactic_location___closed__8; static lean_object* l_Lean_Parser_Tactic_exact___closed__3; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__9; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__5; static lean_object* l_prio_x28___x29___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_2076____closed__12; static lean_object* l_myMacro____x40_Init_Notation___hyg_14123____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_13078____closed__8; static lean_object* l_Lean_Parser_Tactic_tacticNext_______x3d_x3e_____closed__3; static lean_object* l_prioLow___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__4; static lean_object* l_Lean_Parser_Tactic_assumption___closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__4; lean_object* l_Lean_Parser_Tactic_location; static lean_object* l_term_x7e_x7e_x7e_____closed__5; static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__6; @@ -1103,6 +1105,7 @@ static lean_object* l_Lean_Parser_Tactic_exact___closed__5; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__4; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__7; lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15699__expandListLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__2; static lean_object* l_term___x3e_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_12839____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__5; @@ -1116,6 +1119,7 @@ static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_1727 static lean_object* l_myMacro____x40_Init_Notation___hyg_6622____closed__6; static lean_object* l_term___x26_x26_x26_____closed__1; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__3; +lean_object* l_Lean_Parser_Tactic_injections; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__18; static lean_object* l_myMacro____x40_Init_Notation___hyg_2793____closed__8; static lean_object* l_myMacro____x40_Init_Notation___hyg_13788____closed__11; @@ -1175,6 +1179,7 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_13078____closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_8534____closed__4; static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15999____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_12600____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_72____closed__1; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__2; static lean_object* l_Lean_Parser_Tactic_injection___closed__5; @@ -1225,7 +1230,6 @@ static lean_object* l_term___x3e_x3e_x3e_____closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_1075____closed__1; static lean_object* l_termDepIfThenElse___closed__14; static lean_object* l_term___x7c_x7c_x7c_____closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2; static lean_object* l_Lean_Parser_Tactic_paren___closed__2; static lean_object* l_Lean_Parser_Tactic_subst___closed__3; static lean_object* l_Lean_Parser_Tactic_withReducible___closed__6; @@ -1238,6 +1242,8 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_72____closed__2; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__8; static lean_object* l_myMacro____x40_Init_Notation___hyg_11883____closed__7; static lean_object* l_Lean_Parser_Tactic_withReducible___closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__2; static lean_object* l_Lean_Parser_Tactic_injection___closed__7; lean_object* l_term___x2f_x5c__; static lean_object* l_term___x2b_x2b_____closed__2; @@ -1251,9 +1257,10 @@ static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__4; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__6; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__3; static lean_object* l_Lean_Parser_Tactic_case___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_11883____closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__6; lean_object* l_unexpand____x40_Init_Notation___hyg_10002_(lean_object*, lean_object*); lean_object* l_unexpand____x40_Init_Notation___hyg_10718_(lean_object*, lean_object*); lean_object* l_unexpand____x40_Init_Notation___hyg_10934_(lean_object*, lean_object*); @@ -1284,7 +1291,6 @@ lean_object* l_unexpand____x40_Init_Notation___hyg_2298_(lean_object*, lean_obje lean_object* l_unexpand____x40_Init_Notation___hyg_4210_(lean_object*, lean_object*); lean_object* l_unexpand____x40_Init_Notation___hyg_3971_(lean_object*, lean_object*); lean_object* l_unexpand____x40_Init_Notation___hyg_2059_(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__6; lean_object* l_unexpand____x40_Init_Notation___hyg_6844_(lean_object*, lean_object*); lean_object* l_unexpand____x40_Init_Notation___hyg_6605_(lean_object*, lean_object*); lean_object* l_unexpand____x40_Init_Notation___hyg_5166_(lean_object*, lean_object*); @@ -1305,14 +1311,12 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_3749____closed__5; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__5; static lean_object* l_term___x5e_____closed__1; static lean_object* l_Lean_Parser_Tactic_subst___closed__5; -static lean_object* l_myMacro____x40_Init_Notation___hyg_20995____closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__5; static lean_object* l_Lean_Parser_Tactic_induction___closed__20; lean_object* l_Lean_Parser_Tactic_subst; static lean_object* l_myMacro____x40_Init_Notation___hyg_11883____closed__3; static lean_object* l_termDepIfThenElse___closed__22; static lean_object* l_myMacro____x40_Init_Notation___hyg_658____closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__3; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__3; static lean_object* l_rawNatLit___closed__7; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__1; @@ -1326,11 +1330,9 @@ static lean_object* l_term___x5c_x2f_____closed__1; static lean_object* l_unexpand____x40_Init_Notation___hyg_2059____closed__2; lean_object* l_Lean_Parser_Tactic_tacticLet__; static lean_object* l_term_x25_x5b___x7c___x5d___closed__9; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__2; static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15999____closed__13; static lean_object* l_Lean_Parser_Tactic_tacticRfl___closed__1; static lean_object* l_Lean_Parser_Tactic_intros___closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__7; static lean_object* l_termIfThenElse___closed__7; static lean_object* l_term___x3e_x3e_____closed__6; static lean_object* l_term___x5c_x2f_____closed__4; @@ -1339,6 +1341,7 @@ static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__5; static lean_object* l_term___x3d_____closed__6; static lean_object* l_Lean_Parser_Tactic_change___closed__6; static lean_object* l_stx___x3f___closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20240____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_4466____closed__9; lean_object* l_Lean_Parser_Tactic_simpLemma; static lean_object* l_Lean_Parser_Tactic_casesTarget___closed__3; @@ -1346,13 +1349,13 @@ static lean_object* l_Lean_Parser_Tactic_rotateRight___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_8534____closed__1; static lean_object* l_Lean_Parser_Tactic_intro___closed__16; lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15699__expandListLit_match__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); static lean_object* l_term___x5e_____closed__4; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); static lean_object* l_myMacro____x40_Init_Notation___hyg_1377____closed__11; static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_14290____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__4; static lean_object* l_Lean_Parser_Syntax_subPrio___closed__4; static lean_object* l_Lean_Parser_Tactic_first___closed__10; static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17272____closed__4; @@ -1362,12 +1365,12 @@ static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__8; static lean_object* l_stx___x2a___closed__5; static lean_object* l_term___x3c_x3d_____closed__5; static lean_object* l_Lean_Parser_Tactic_intros___closed__9; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1; static lean_object* l_termDepIfThenElse___closed__33; static lean_object* l_term___x2a_____closed__6; static lean_object* l_term___x3c_x2a_x3e_____closed__6; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_____closed__3; static lean_object* l_term_x2d_____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__4; static lean_object* l_precMin___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__3; @@ -1375,24 +1378,24 @@ static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__6; static lean_object* l_Lean_Parser_Tactic_generalizeArg___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_9780____closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_1256____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20605_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20546_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20487_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20231_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19841_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19676_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19533_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19326_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18870_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20614_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20555_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20496_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20240_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19850_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19685_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19542_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19335_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18879_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17272_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17462_(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17370_(lean_object*, lean_object*, lean_object*); @@ -1415,11 +1418,11 @@ lean_object* l_prioHigh; static lean_object* l_myMacro____x40_Init_Notation___hyg_13788____closed__7; static lean_object* l_term_xac_____closed__4; lean_object* l_precArg; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__5; static lean_object* l_term___x2b_____closed__3; static lean_object* l_precMax___closed__4; static lean_object* l_Lean_Parser_Tactic_simp___closed__14; static lean_object* l_term___u2265_____closed__6; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__2; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_14290____closed__4; static lean_object* l_term_x5b___x5d___closed__5; @@ -1430,13 +1433,11 @@ static lean_object* l_term_xac_____closed__1; static lean_object* l_Lean_Parser_Tactic_refine___closed__1; static lean_object* l_Lean_Parser_Tactic_paren___closed__4; lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e__; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__1; static lean_object* l_term___x2b_x2b_____closed__3; lean_object* l_term_x5b___x5d; static lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_14290____closed__8; static lean_object* l_Lean_Parser_Tactic_tacticNext_______x3d_x3e_____closed__9; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__4; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__6; static lean_object* l_Lean_Parser_Tactic_refine___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__1; @@ -1474,9 +1475,9 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_3988____closed__8; static lean_object* l_Lean_Parser_Tactic_focus___closed__5; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpErase___closed__2; -static lean_object* l_myMacro____x40_Init_Notation___hyg_20995____closed__1; static lean_object* l_Lean_Parser_Tactic_first___closed__18; lean_object* l_Lean_Parser_Tactic_generalizeArg; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__8; static lean_object* l_myMacro____x40_Init_Notation___hyg_8534____closed__3; static lean_object* l_term___x3c_x7c_____closed__1; static lean_object* l_Lean_Parser_Tactic_induction___closed__6; @@ -1503,6 +1504,7 @@ lean_object* l_term_x21__; static lean_object* l_Lean_Parser_Tactic_simp___closed__18; static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15999____closed__6; static lean_object* l_Lean_Parser_Tactic_simp___closed__15; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19542____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_8295____closed__2; static lean_object* l_Lean_term__Matches_____closed__5; static lean_object* l_term___x3d_____closed__2; @@ -1534,10 +1536,8 @@ static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15699____closed__2 static lean_object* l_myMacro____x40_Init_Notation___hyg_11190____closed__1; static lean_object* l_term___x2f_____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_1377____closed__12; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__2; static lean_object* l_term___x26_x26_x26_____closed__4; static lean_object* l_Lean_Parser_Tactic_revert___closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__2; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__2; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__5; static lean_object* l_Lean_Parser_Tactic_induction___closed__15; @@ -1584,7 +1584,6 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_3988____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRepeat_____closed__6; lean_object* l_term_x7b_____x3a___x2f_x2f___x7d; static lean_object* l_Lean_Parser_Tactic_case___closed__8; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__3; static lean_object* l_term___x7c_x7c_____closed__6; static lean_object* l_termWithout__expected__type_____closed__1; lean_object* l_Lean_Parser_Tactic_change; @@ -1596,6 +1595,7 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_15517____closed__9; static lean_object* l_myMacro____x40_Init_Notation___hyg_3749____closed__4; static lean_object* l_term___x3c_x7c_x3e_____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_12122____closed__7; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__2; static lean_object* l_term___x3c_x2a_____closed__5; static lean_object* l_Lean_Parser_Tactic_assumption___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_7339____closed__4; @@ -1610,7 +1610,6 @@ static lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__2; lean_object* l_termIfLet___x3a_x3d__Then__Else__; static lean_object* l_stx___x2b___closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_3749____closed__8; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__1; static lean_object* l_Lean_Parser_Tactic_simpAll___closed__3; static lean_object* l_Lean_Parser_Tactic_induction___closed__18; static lean_object* l_Lean_Parser_Syntax_subPrec___closed__6; @@ -1638,6 +1637,7 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_6622____closed__7; static lean_object* l_term_x5b___x5d___closed__8; static lean_object* l_Lean_Parser_Tactic_rwRule___closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_3988____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__1; static lean_object* l_term___x3c_x3d_____closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_8295____closed__7; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__2; @@ -1651,7 +1651,6 @@ static lean_object* l_Lean_Parser_Tactic_simp___closed__24; static lean_object* l_term_x7e_x7e_x7e_____closed__1; static lean_object* l_Lean_Parser_Tactic_simp___closed__7; static lean_object* l_term___x3a_x3a_____closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_5837____closed__3; static lean_object* l_term___x3d_x3d_____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_15517____closed__3; @@ -1685,12 +1684,13 @@ static lean_object* l_Lean_Parser_Tactic_renameI___closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_15080____closed__8; static lean_object* l_myMacro____x40_Init_Notation___hyg_4944____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_3032____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__3; static lean_object* l_Lean_Parser_Tactic_induction___closed__14; static lean_object* l_myMacro____x40_Init_Notation___hyg_2793____closed__1; static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15699____closed__5; static lean_object* l_Lean_Parser_Tactic_case___closed__7; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_5421____closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__9; static lean_object* l_myMacro____x40_Init_Notation___hyg_984____closed__7; static lean_object* l_Lean_Parser_Tactic_generalizeArg___closed__7; @@ -1722,12 +1722,14 @@ static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__7; lean_object* l_term___x2f__; static lean_object* l_Lean_Parser_Tactic_renameI___closed__5; static lean_object* l_termDepIfThenElse___closed__4; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_5421____closed__9; static lean_object* l_termIfThenElse___closed__2; static lean_object* l_Lean_term__Matches_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_10258____closed__6; static lean_object* l_stx___x2c_x2b_x2c_x3f___closed__5; static lean_object* l_stx_x21_____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__3; static lean_object* l_Lean_Parser_Tactic_letrec___closed__7; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__13; static lean_object* l_term___x3c_x2a_x3e_____closed__1; @@ -1753,6 +1755,7 @@ lean_object* l_term___xd7__; static lean_object* l_precMin1___closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_5421____closed__8; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_11644____closed__2; static lean_object* l_term___u2264_____closed__1; lean_object* l_Lean_Parser_Tactic_withReducible; @@ -1764,13 +1767,13 @@ static lean_object* l_Lean_Parser_Tactic_induction___closed__8; static lean_object* l_Lean_Parser_Tactic_rotateRight___closed__2; static lean_object* l_Lean_Parser_Tactic_simpPost___closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_13788____closed__13; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__2; static lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__1; static lean_object* l_Lean_term__Matches_____closed__3; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__2; static lean_object* l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticTry_____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticLet_____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__7; static lean_object* l_term___x2a_____closed__1; lean_object* l_Lean_Parser_Tactic_injection; static lean_object* l_prec_x28___x29___closed__7; @@ -1778,7 +1781,6 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_2793____closed__2; static lean_object* l_Lean_myMacro____x40_Init_Notation___hyg_15999____closed__4; static lean_object* l_Lean_Parser_Tactic_exact___closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_4466____closed__3; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20231____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_4705____closed__7; static lean_object* l_term___x2b_____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__6; @@ -1807,7 +1809,6 @@ static lean_object* l_stx___x2c_x2b_x2c_x3f___closed__3; static lean_object* l_Lean_Parser_Tactic_tacticInferInstance___closed__1; static lean_object* l_Lean_Parser_Tactic_simpLemma___closed__2; lean_object* l_Lean_Parser_Tactic_constructor; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__6; static lean_object* l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__5; static lean_object* l_term___u2245_____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticNext_______x3d_x3e_____closed__7; @@ -1827,9 +1828,8 @@ static lean_object* l_stx___x2c_x2b_x2c_x3f___closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_12839____closed__9; static lean_object* l_term___x24_______closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_1166____closed__4; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__3; static lean_object* l_term_x7e_x7e_x7e_____closed__6; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__2; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; static lean_object* l_term___x26_x26_____closed__1; static lean_object* l_term___x26_x26_____closed__2; lean_object* l_precMax; @@ -1841,7 +1841,6 @@ static lean_object* l_prioHigh___closed__4; lean_object* l_precMin1; lean_object* l_term___u2265__; static lean_object* l_Lean_Parser_Tactic_rotateLeft___closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_1655____closed__1; static lean_object* l_Lean_term__Matches_____closed__1; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__4; @@ -1914,6 +1913,8 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_4227____closed__7; static lean_object* l_myMacro____x40_Init_Notation___hyg_3032____closed__6; static lean_object* l_Lean_Parser_Tactic_simpPre___closed__5; static lean_object* l_term___x7c_x3e_____closed__4; +static lean_object* l_Lean_Parser_Tactic_injections___closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__1; static lean_object* l_term___x5e_x5e_x5e_____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_3510____closed__1; static lean_object* l_Lean_Parser_Tactic_simpPost___closed__4; @@ -1930,6 +1931,7 @@ static lean_object* l_Lean_Parser_Tactic_rwRule___closed__3; static lean_object* l_Lean_Parser_Tactic_simp___closed__16; static lean_object* l_Lean_Parser_Tactic_casesTarget___closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_4944____closed__8; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__2; lean_object* l_Lean_Parser_Tactic_tacticShow__; static lean_object* l_myMacro____x40_Init_Notation___hyg_8056____closed__4; static lean_object* l_stx_x21_____closed__7; @@ -1939,6 +1941,7 @@ lean_object* l_stx___x2c_x2b_x2c_x3f; static lean_object* l_Lean_Parser_Tactic_expandRwSeq___closed__1; static lean_object* l_unexpand____x40_Init_Notation___hyg_2059____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_11644____closed__5; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__1; static lean_object* l_myMacro____x40_Init_Notation___hyg_15517____closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_4944____closed__4; static lean_object* l_term___xd7_____closed__4; @@ -1946,8 +1949,8 @@ lean_object* l_Lean_Parser_Tactic_expandRwSeq(lean_object*, lean_object*, lean_o static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__1; static lean_object* l_term___x3e_____closed__5; static lean_object* l_Lean_Parser_Tactic_existsIntro___closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_15080____closed__2; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_14290____closed__12; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__1; static lean_object* l_term_x7b_____x3a___x2f_x2f___x7d___closed__12; @@ -1959,6 +1962,7 @@ static lean_object* l_Lean_Parser_Tactic_intro___closed__15; static lean_object* l_term___x26_x26_____closed__3; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7; static lean_object* l_prio_x28___x29___closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__4; static lean_object* l_myMacro____x40_Init_Notation___hyg_1166____closed__2; lean_object* l_Lean_Parser_Tactic_tacticSuffices__; static lean_object* l_Lean_Parser_Tactic_withReducible___closed__3; @@ -1968,11 +1972,11 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_15080____closed__1; lean_object* l_Lean_Parser_Tactic_erewriteSeq; static lean_object* l_term___x3d_____closed__3; static lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__1; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__3; static lean_object* l_myMacro____x40_Init_Notation___hyg_9780____closed__5; static lean_object* l_myMacro____x40_Init_Notation___hyg_3510____closed__2; static lean_object* l_term___x7c_x3e_____closed__6; static lean_object* l_myMacro____x40_Init_Notation___hyg_8056____closed__3; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__5; lean_object* l_Lean_Parser_Tactic_paren; static lean_object* l_Lean_Parser_Tactic_simp___closed__22; lean_object* l_Lean_Parser_Tactic_intro; @@ -1985,7 +1989,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__4; lean_object* l_Lean_Parser_Tactic_locationHyp; static lean_object* l_term___x3e_x3e_x3d_____closed__5; -static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__1; +static lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__3; lean_object* l_Lean_Parser_Tactic_refine; static lean_object* l_Lean_Parser_Tactic_rwSeq___closed__6; static lean_object* l_term___x3c_x3c_x3c_____closed__4; @@ -1998,6 +2002,7 @@ static lean_object* l_myMacro____x40_Init_Notation___hyg_2315____closed__2; static lean_object* l_myMacro____x40_Init_Notation___hyg_8534____closed__2; static lean_object* l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__3; static lean_object* l_termWithout__expected__type_____closed__3; +static lean_object* l_myMacro____x40_Init_Notation___hyg_21004____closed__3; static lean_object* l_stx___x2c_x2b___closed__5; static lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__11; static lean_object* l_term___x7e_x3d_____closed__3; @@ -34694,6 +34699,58 @@ x_1 = l_Lean_Parser_Tactic_injection___closed__10; return x_1; } } +static lean_object* _init_l_Lean_Parser_Tactic_injections___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("injections"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_injections___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_injections___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_injections___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_injections___closed__1; +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_injections___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_injections___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_injections___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); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_injections() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_injections___closed__4; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_Tactic_simpPre___closed__1() { _start: { @@ -35560,7 +35617,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRefineLift_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__1() { _start: { lean_object* x_1; @@ -35568,17 +35625,17 @@ x_1 = lean_mk_string("noImplicitLambda"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2076____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____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_18221____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__3() { _start: { lean_object* x_1; @@ -35586,7 +35643,7 @@ x_1 = lean_mk_string("noImplicitLambda%"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -35631,7 +35688,7 @@ lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__3; +x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__3; lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); @@ -35639,7 +35696,7 @@ lean_ctor_set(x_20, 1, x_19); x_21 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_22 = lean_array_push(x_21, x_20); x_23 = lean_array_push(x_22, x_9); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__2; +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__2; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); @@ -35768,7 +35825,7 @@ lean_inc(x_85); x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_85); lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__3; +x_93 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__3; lean_inc(x_85); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_85); @@ -35776,7 +35833,7 @@ lean_ctor_set(x_94, 1, x_93); x_95 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_96 = lean_array_push(x_95, x_94); x_97 = lean_array_push(x_96, x_9); -x_98 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__2; +x_98 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__2; x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_98); lean_ctor_set(x_99, 1, x_97); @@ -35989,7 +36046,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_____closed__9; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1() { _start: { lean_object* x_1; @@ -35997,7 +36054,7 @@ x_1 = lean_mk_string("refineLift"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__2() { _start: { lean_object* x_1; @@ -36005,17 +36062,17 @@ x_1 = lean_mk_string("have"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2076____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____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_18428____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__4() { _start: { lean_object* x_1; @@ -36023,17 +36080,17 @@ x_1 = lean_mk_string("syntheticHole"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2076____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -36063,12 +36120,12 @@ if (x_11 == 0) { 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; 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; 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; lean_object* x_37; 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; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__2; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); @@ -36101,7 +36158,7 @@ lean_ctor_set(x_29, 1, x_27); x_30 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -36110,7 +36167,7 @@ x_36 = lean_array_push(x_35, x_16); x_37 = lean_array_push(x_36, x_9); x_38 = lean_array_push(x_37, x_22); x_39 = lean_array_push(x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__3; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__3; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -36140,12 +36197,12 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__2; lean_inc(x_51); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_51); @@ -36178,7 +36235,7 @@ lean_ctor_set(x_69, 1, x_67); x_70 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -36187,7 +36244,7 @@ x_76 = lean_array_push(x_75, x_56); x_77 = lean_array_push(x_76, x_9); x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_74); -x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__3; +x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__3; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -36236,7 +36293,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__2; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -36308,7 +36365,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -36318,7 +36375,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_18571____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__2() { _start: { lean_object* x_1; @@ -36326,17 +36383,17 @@ x_1 = lean_mk_string("haveIdDecl"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2076____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____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_18571____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__4() { _start: { lean_object* x_1; @@ -36344,17 +36401,17 @@ x_1 = lean_mk_string("typeSpec"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2076____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -36386,7 +36443,7 @@ if (x_13 == 0) { 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; 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; 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_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; lean_object* x_47; lean_object* x_48; lean_object* x_49; 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; x_14 = lean_ctor_get(x_12, 0); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__2; lean_inc(x_14); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_14); @@ -36417,7 +36474,7 @@ lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); x_31 = lean_array_push(x_17, x_24); x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -36434,12 +36491,12 @@ x_40 = lean_array_push(x_39, x_22); x_41 = lean_array_push(x_40, x_36); x_42 = lean_array_push(x_41, x_38); x_43 = lean_array_push(x_42, x_11); -x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__3; +x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__3; 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_array_push(x_27, x_45); -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__1; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__1; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -36469,7 +36526,7 @@ x_59 = lean_ctor_get(x_12, 1); lean_inc(x_59); lean_inc(x_58); lean_dec(x_12); -x_60 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2; +x_60 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__2; lean_inc(x_58); x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_58); @@ -36500,7 +36557,7 @@ lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); x_76 = lean_array_push(x_62, x_69); x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__5; +x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__5; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -36517,12 +36574,12 @@ x_85 = lean_array_push(x_84, x_67); x_86 = lean_array_push(x_85, x_81); x_87 = lean_array_push(x_86, x_83); x_88 = lean_array_push(x_87, x_11); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__3; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__3; 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 = lean_array_push(x_72, x_90); -x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__1; +x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__1; x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); @@ -36651,7 +36708,7 @@ x_1 = l_Lean_Parser_Tactic_tacticSuffices_____closed__9; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__1() { _start: { lean_object* x_1; @@ -36659,17 +36716,17 @@ x_1 = lean_mk_string("suffices"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2076____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -36699,12 +36756,12 @@ if (x_11 == 0) { 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; 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; 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; lean_object* x_37; 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; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__1; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__1; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); @@ -36737,7 +36794,7 @@ lean_ctor_set(x_29, 1, x_27); x_30 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -36746,7 +36803,7 @@ x_36 = lean_array_push(x_35, x_16); x_37 = lean_array_push(x_36, x_9); x_38 = lean_array_push(x_37, x_22); x_39 = lean_array_push(x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__2; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__2; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -36776,12 +36833,12 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__1; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__1; lean_inc(x_51); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_51); @@ -36814,7 +36871,7 @@ lean_ctor_set(x_69, 1, x_67); x_70 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -36823,7 +36880,7 @@ x_76 = lean_array_push(x_75, x_56); x_77 = lean_array_push(x_76, x_9); x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_74); -x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__2; +x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__2; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -36936,7 +36993,7 @@ x_1 = l_Lean_Parser_Tactic_tacticLet_____closed__7; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18870_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18879_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -36966,7 +37023,7 @@ if (x_11 == 0) { 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; 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; 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; lean_object* x_37; 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; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); @@ -37004,7 +37061,7 @@ lean_ctor_set(x_29, 1, x_27); x_30 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -37043,7 +37100,7 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); @@ -37081,7 +37138,7 @@ lean_ctor_set(x_69, 1, x_67); x_70 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -37191,7 +37248,7 @@ x_1 = l_Lean_Parser_Tactic_tacticShow_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__1() { _start: { lean_object* x_1; @@ -37199,17 +37256,17 @@ x_1 = lean_mk_string("show"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2076____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____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_19005____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__3() { _start: { lean_object* x_1; @@ -37217,17 +37274,17 @@ x_1 = lean_mk_string("fromTerm"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2076____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____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_19005____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__5() { _start: { lean_object* x_1; @@ -37235,7 +37292,7 @@ x_1 = lean_mk_string("from"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -37265,17 +37322,17 @@ if (x_11 == 0) { 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; 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; 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; lean_object* x_37; 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; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__1; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__1; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__5; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__5; lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); @@ -37298,13 +37355,13 @@ lean_ctor_set(x_26, 1, x_24); x_27 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_28 = lean_array_push(x_27, x_20); x_29 = lean_array_push(x_28, x_26); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); x_32 = lean_array_push(x_27, x_18); x_33 = lean_array_push(x_32, x_31); -x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__4; +x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__4; x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); @@ -37312,7 +37369,7 @@ x_36 = l_unexpand____x40_Init_Notation___hyg_2059____closed__3; x_37 = lean_array_push(x_36, x_16); x_38 = lean_array_push(x_37, x_9); x_39 = lean_array_push(x_38, x_35); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__2; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__2; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -37343,17 +37400,17 @@ x_53 = lean_ctor_get(x_10, 1); lean_inc(x_53); lean_inc(x_52); lean_dec(x_10); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1; lean_inc(x_52); x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_52); lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__1; +x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__1; lean_inc(x_52); x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_52); lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__5; +x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__5; lean_inc(x_52); x_59 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_59, 0, x_52); @@ -37376,13 +37433,13 @@ lean_ctor_set(x_67, 1, x_65); x_68 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_69 = lean_array_push(x_68, x_61); x_70 = lean_array_push(x_69, x_67); -x_71 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_71 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_72 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); x_73 = lean_array_push(x_68, x_59); x_74 = lean_array_push(x_73, x_72); -x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__4; +x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__4; x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_74); @@ -37390,7 +37447,7 @@ x_77 = l_unexpand____x40_Init_Notation___hyg_2059____closed__3; x_78 = lean_array_push(x_77, x_57); x_79 = lean_array_push(x_78, x_9); x_80 = lean_array_push(x_79, x_76); -x_81 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__2; +x_81 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____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); @@ -37570,7 +37627,7 @@ x_1 = l_Lean_Parser_Tactic_letrec___closed__13; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -37580,7 +37637,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_19147____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -37590,7 +37647,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_19147____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__3() { _start: { lean_object* x_1; @@ -37598,7 +37655,7 @@ x_1 = lean_mk_string("rec"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -37640,7 +37697,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_19147____closed__1; +x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__1; lean_inc(x_15); x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); if (x_17 == 0) @@ -37663,7 +37720,7 @@ if (x_21 == 0) { 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; 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; lean_object* x_37; 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; lean_object* x_47; lean_object* x_48; lean_object* x_49; 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; x_22 = lean_ctor_get(x_20, 0); -x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1; +x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1; lean_inc(x_22); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_22); @@ -37673,7 +37730,7 @@ lean_inc(x_22); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_22); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__3; +x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__3; lean_inc(x_22); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_22); @@ -37711,7 +37768,7 @@ lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); x_46 = lean_array_push(x_29, x_40); x_47 = lean_array_push(x_46, x_45); -x_48 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_48 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); @@ -37720,7 +37777,7 @@ x_51 = lean_array_push(x_50, x_32); x_52 = lean_array_push(x_51, x_15); x_53 = lean_array_push(x_52, x_38); x_54 = lean_array_push(x_53, x_49); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__2; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__2; x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_54); @@ -37741,7 +37798,7 @@ x_62 = lean_ctor_get(x_20, 1); lean_inc(x_62); lean_inc(x_61); lean_dec(x_20); -x_63 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1; +x_63 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1; lean_inc(x_61); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_61); @@ -37751,7 +37808,7 @@ lean_inc(x_61); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_61); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__3; +x_67 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__3; lean_inc(x_61); x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_61); @@ -37789,7 +37846,7 @@ lean_ctor_set(x_85, 0, x_84); lean_ctor_set(x_85, 1, x_83); x_86 = lean_array_push(x_69, x_80); x_87 = lean_array_push(x_86, x_85); -x_88 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_88 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_88); lean_ctor_set(x_89, 1, x_87); @@ -37798,7 +37855,7 @@ x_91 = lean_array_push(x_90, x_72); x_92 = lean_array_push(x_91, x_15); x_93 = lean_array_push(x_92, x_78); x_94 = lean_array_push(x_93, x_89); -x_95 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__2; +x_95 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__2; x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_95); lean_ctor_set(x_96, 1, x_94); @@ -37892,7 +37949,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__6; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19326_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19335_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -37937,7 +37994,7 @@ lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__3; +x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__3; lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); @@ -37945,7 +38002,7 @@ lean_ctor_set(x_20, 1, x_19); x_21 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_22 = lean_array_push(x_21, x_20); x_23 = lean_array_push(x_22, x_9); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__2; +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__2; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); @@ -38074,7 +38131,7 @@ lean_inc(x_85); x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_85); lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__3; +x_93 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__3; lean_inc(x_85); x_94 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_94, 0, x_85); @@ -38082,7 +38139,7 @@ lean_ctor_set(x_94, 1, x_93); x_95 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_96 = lean_array_push(x_95, x_94); x_97 = lean_array_push(x_96, x_9); -x_98 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__2; +x_98 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__2; x_99 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_99, 0, x_98); lean_ctor_set(x_99, 1, x_97); @@ -38267,7 +38324,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_x27_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19533____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19542____closed__1() { _start: { lean_object* x_1; @@ -38275,7 +38332,7 @@ x_1 = lean_mk_string("refineLift'"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19533_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19542_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -38305,12 +38362,12 @@ if (x_11 == 0) { 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; 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; 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; lean_object* x_37; 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; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19533____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19542____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__2; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); @@ -38343,7 +38400,7 @@ lean_ctor_set(x_29, 1, x_27); x_30 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -38352,7 +38409,7 @@ x_36 = lean_array_push(x_35, x_16); x_37 = lean_array_push(x_36, x_9); x_38 = lean_array_push(x_37, x_22); x_39 = lean_array_push(x_38, x_34); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__3; +x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__3; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -38382,12 +38439,12 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19533____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19542____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2; +x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__2; lean_inc(x_51); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_51); @@ -38420,7 +38477,7 @@ lean_ctor_set(x_69, 1, x_67); x_70 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -38429,7 +38486,7 @@ x_76 = lean_array_push(x_75, x_56); x_77 = lean_array_push(x_76, x_9); x_78 = lean_array_push(x_77, x_62); x_79 = lean_array_push(x_78, x_74); -x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__3; +x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__3; x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -38558,7 +38615,7 @@ x_1 = l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__8; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19676_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19685_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -38621,7 +38678,7 @@ lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); x_31 = lean_array_push(x_17, x_24); x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -38638,12 +38695,12 @@ x_40 = lean_array_push(x_39, x_22); x_41 = lean_array_push(x_40, x_36); x_42 = lean_array_push(x_41, x_38); x_43 = lean_array_push(x_42, x_11); -x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__3; +x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__3; 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_array_push(x_27, x_45); -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__1; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__1; x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); @@ -38704,7 +38761,7 @@ lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); x_76 = lean_array_push(x_62, x_69); x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__5; +x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__5; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -38721,12 +38778,12 @@ x_85 = lean_array_push(x_84, x_67); x_86 = lean_array_push(x_85, x_81); x_87 = lean_array_push(x_86, x_83); x_88 = lean_array_push(x_87, x_11); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__3; +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__3; 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 = lean_array_push(x_72, x_90); -x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__1; +x_92 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__1; x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); @@ -38827,7 +38884,7 @@ x_1 = l_Lean_Parser_Tactic_tacticLet_x27_____closed__6; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19841_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19850_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -38857,7 +38914,7 @@ if (x_11 == 0) { 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; 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; 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; lean_object* x_37; 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; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19533____closed__1; +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19542____closed__1; lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); @@ -38895,7 +38952,7 @@ lean_ctor_set(x_29, 1, x_27); x_30 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_31 = lean_array_push(x_30, x_24); x_32 = lean_array_push(x_31, x_29); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -38934,7 +38991,7 @@ x_52 = lean_ctor_get(x_10, 1); lean_inc(x_52); lean_inc(x_51); lean_dec(x_10); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19533____closed__1; +x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19542____closed__1; lean_inc(x_51); x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_51); @@ -38972,7 +39029,7 @@ lean_ctor_set(x_69, 1, x_67); x_70 = l_myMacro____x40_Init_Notation___hyg_1377____closed__10; x_71 = lean_array_push(x_70, x_64); x_72 = lean_array_push(x_71, x_69); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5; +x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -39181,7 +39238,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_myMacro____x40_Init_Notation___hyg_18428____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -40244,7 +40301,7 @@ x_1 = l_Lean_Parser_Tactic_tacticRepeat_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20231____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20240____closed__1() { _start: { lean_object* x_1; @@ -40252,7 +40309,7 @@ x_1 = lean_mk_string("repeat"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20231_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20240_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -40353,7 +40410,7 @@ x_44 = l_Lean_Parser_Tactic_first___closed__8; 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 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20231____closed__1; +x_46 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20240____closed__1; lean_inc(x_18); x_47 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_47, 0, x_18); @@ -40492,7 +40549,7 @@ x_116 = l_Lean_Parser_Tactic_first___closed__8; x_117 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_117, 0, x_116); lean_ctor_set(x_117, 1, x_115); -x_118 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20231____closed__1; +x_118 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20240____closed__1; lean_inc(x_89); x_119 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_119, 0, x_89); @@ -40752,7 +40809,7 @@ x_1 = l_Lean_Parser_Tactic_split___closed__9; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20487_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20496_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -40816,7 +40873,7 @@ return x_25; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20546_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20555_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -40880,7 +40937,7 @@ return x_25; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20605_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20614_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -40944,7 +41001,7 @@ return x_25; } } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__1() { _start: { lean_object* x_1; @@ -40952,22 +41009,22 @@ x_1 = lean_mk_string("True.intro"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__1; 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_20664____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____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_20664____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____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); @@ -40975,7 +41032,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__4() { _start: { lean_object* x_1; @@ -40983,51 +41040,51 @@ x_1 = lean_mk_string("True"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__5() { _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_20664____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__4; 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_20664____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____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_20664____closed__5; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__5; x_2 = l_Lean_Parser_Tactic_intro___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_20664____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____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_myMacro____x40_Init_Notation___hyg_20664____closed__6; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__6; 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_20664____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____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_20664____closed__7; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__7; 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_20664_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -41063,10 +41120,10 @@ lean_inc(x_10); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__6; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__6; x_16 = l_Lean_addMacroScope(x_12, x_15, x_11); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__3; -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__8; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__3; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__8; x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_10); lean_ctor_set(x_19, 1, x_17); @@ -41100,10 +41157,10 @@ lean_inc(x_25); x_30 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_30, 0, x_25); lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__6; +x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__6; x_32 = l_Lean_addMacroScope(x_28, x_31, x_27); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__3; -x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__8; +x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__3; +x_34 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__8; x_35 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_35, 0, x_25); lean_ctor_set(x_35, 1, x_33); @@ -41124,7 +41181,7 @@ return x_41; } } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__1() { _start: { lean_object* x_1; @@ -41132,22 +41189,22 @@ x_1 = lean_mk_string("And.intro"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__1; 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_20738____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____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_20738____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____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); @@ -41155,7 +41212,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -41165,31 +41222,31 @@ 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_20738____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__5() { _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_20738____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__4; 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_20738____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__6() { _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_20738____closed__5; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__5; 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_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__7() { _start: { lean_object* x_1; @@ -41197,7 +41254,7 @@ x_1 = lean_mk_string("<;>"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -41233,10 +41290,10 @@ lean_inc(x_10); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__4; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__4; x_16 = l_Lean_addMacroScope(x_12, x_15, x_11); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__3; -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__6; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__3; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__6; lean_inc(x_10); x_19 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_19, 0, x_10); @@ -41250,7 +41307,7 @@ x_23 = l_Lean_Parser_Tactic_apply___closed__2; x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__7; +x_25 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__7; lean_inc(x_10); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_10); @@ -41293,10 +41350,10 @@ lean_inc(x_38); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_38); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__4; +x_44 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__4; x_45 = l_Lean_addMacroScope(x_41, x_44, x_40); -x_46 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__3; -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__6; +x_46 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__3; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__6; lean_inc(x_38); x_48 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_48, 0, x_38); @@ -41310,7 +41367,7 @@ x_52 = l_Lean_Parser_Tactic_apply___closed__2; x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__7; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__7; lean_inc(x_38); x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_38); @@ -41414,7 +41471,7 @@ x_1 = l_Lean_Parser_Tactic_tacticUnhygienic_____closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__1() { _start: { lean_object* x_1; @@ -41422,17 +41479,17 @@ x_1 = lean_mk_string("set_option"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____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_20845____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____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_20845____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__3() { _start: { lean_object* x_1; @@ -41440,22 +41497,22 @@ x_1 = lean_mk_string("tactic.hygienic"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__3; 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_20845____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____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_myMacro____x40_Init_Notation___hyg_20845____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__4; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -41463,7 +41520,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__6() { _start: { lean_object* x_1; @@ -41471,17 +41528,17 @@ x_1 = lean_mk_string("hygienic"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_tactic___x3c_x3b_x3e_____closed__6; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__6; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__6; 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_20845____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__8() { _start: { lean_object* x_1; @@ -41489,7 +41546,7 @@ x_1 = lean_mk_string("in"); return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -41525,15 +41582,15 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_2, 1); lean_inc(x_14); lean_dec(x_2); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__1; +x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__1; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__7; +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__7; x_18 = l_Lean_addMacroScope(x_14, x_17, x_13); x_19 = lean_box(0); -x_20 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__5; +x_20 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__5; lean_inc(x_12); x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_12); @@ -41545,7 +41602,7 @@ lean_inc(x_12); x_23 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_23, 0, x_12); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__8; +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__8; x_25 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_25, 0, x_12); lean_ctor_set(x_25, 1, x_24); @@ -41555,7 +41612,7 @@ x_28 = lean_array_push(x_27, x_21); x_29 = lean_array_push(x_28, x_23); x_30 = lean_array_push(x_29, x_25); x_31 = lean_array_push(x_30, x_9); -x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__2; +x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__2; x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); @@ -41586,15 +41643,15 @@ lean_inc(x_43); x_44 = lean_ctor_get(x_2, 1); lean_inc(x_44); lean_dec(x_2); -x_45 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__1; +x_45 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__1; lean_inc(x_41); x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_41); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__7; +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__7; x_48 = l_Lean_addMacroScope(x_44, x_47, x_43); x_49 = lean_box(0); -x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__5; +x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__5; lean_inc(x_41); x_51 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_51, 0, x_41); @@ -41606,7 +41663,7 @@ lean_inc(x_41); x_53 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_53, 0, x_41); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__8; +x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__8; x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_41); lean_ctor_set(x_55, 1, x_54); @@ -41616,7 +41673,7 @@ x_58 = lean_array_push(x_57, x_51); x_59 = lean_array_push(x_58, x_53); x_60 = lean_array_push(x_59, x_55); x_61 = lean_array_push(x_60, x_9); -x_62 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__2; +x_62 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__2; x_63 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); @@ -41845,7 +41902,7 @@ x_1 = l_term_u2039___u203a___closed__9; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_20995____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_21004____closed__1() { _start: { lean_object* x_1; @@ -41853,17 +41910,17 @@ x_1 = lean_mk_string("byTactic"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_20995____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_21004____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_2076____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_20995____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_21004____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_20995____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_21004____closed__3() { _start: { lean_object* x_1; @@ -41871,7 +41928,7 @@ x_1 = lean_mk_string("by"); return x_1; } } -lean_object* l_myMacro____x40_Init_Notation___hyg_20995_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_Notation___hyg_21004_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -41906,7 +41963,7 @@ lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_myMacro____x40_Init_Notation___hyg_20995____closed__3; +x_15 = l_myMacro____x40_Init_Notation___hyg_21004____closed__3; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); @@ -41947,7 +42004,7 @@ lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = lean_array_push(x_23, x_16); x_39 = lean_array_push(x_38, x_37); -x_40 = l_myMacro____x40_Init_Notation___hyg_20995____closed__2; +x_40 = l_myMacro____x40_Init_Notation___hyg_21004____closed__2; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -41999,7 +42056,7 @@ lean_inc(x_61); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_61); lean_ctor_set(x_64, 1, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_20995____closed__3; +x_65 = l_myMacro____x40_Init_Notation___hyg_21004____closed__3; lean_inc(x_61); x_66 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_66, 0, x_61); @@ -42040,7 +42097,7 @@ lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_85); x_88 = lean_array_push(x_73, x_66); x_89 = lean_array_push(x_88, x_87); -x_90 = l_myMacro____x40_Init_Notation___hyg_20995____closed__2; +x_90 = l_myMacro____x40_Init_Notation___hyg_21004____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); @@ -45093,6 +45150,16 @@ l_Lean_Parser_Tactic_injection___closed__10 = _init_l_Lean_Parser_Tactic_injecti lean_mark_persistent(l_Lean_Parser_Tactic_injection___closed__10); l_Lean_Parser_Tactic_injection = _init_l_Lean_Parser_Tactic_injection(); lean_mark_persistent(l_Lean_Parser_Tactic_injection); +l_Lean_Parser_Tactic_injections___closed__1 = _init_l_Lean_Parser_Tactic_injections___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_injections___closed__1); +l_Lean_Parser_Tactic_injections___closed__2 = _init_l_Lean_Parser_Tactic_injections___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_injections___closed__2); +l_Lean_Parser_Tactic_injections___closed__3 = _init_l_Lean_Parser_Tactic_injections___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_injections___closed__3); +l_Lean_Parser_Tactic_injections___closed__4 = _init_l_Lean_Parser_Tactic_injections___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_injections___closed__4); +l_Lean_Parser_Tactic_injections = _init_l_Lean_Parser_Tactic_injections(); +lean_mark_persistent(l_Lean_Parser_Tactic_injections); l_Lean_Parser_Tactic_simpPre___closed__1 = _init_l_Lean_Parser_Tactic_simpPre___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_simpPre___closed__1); l_Lean_Parser_Tactic_simpPre___closed__2 = _init_l_Lean_Parser_Tactic_simpPre___closed__2(); @@ -45245,12 +45312,12 @@ l_Lean_Parser_Tactic_tacticRefineLift_____closed__6 = _init_l_Lean_Parser_Tactic lean_mark_persistent(l_Lean_Parser_Tactic_tacticRefineLift_____closed__6); l_Lean_Parser_Tactic_tacticRefineLift__ = _init_l_Lean_Parser_Tactic_tacticRefineLift__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRefineLift__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18221____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18230____closed__3); l_Lean_Parser_Tactic_tacticHave_____closed__1 = _init_l_Lean_Parser_Tactic_tacticHave_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____closed__1); l_Lean_Parser_Tactic_tacticHave_____closed__2 = _init_l_Lean_Parser_Tactic_tacticHave_____closed__2(); @@ -45271,16 +45338,16 @@ l_Lean_Parser_Tactic_tacticHave_____closed__9 = _init_l_Lean_Parser_Tactic_tacti lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____closed__9); l_Lean_Parser_Tactic_tacticHave__ = _init_l_Lean_Parser_Tactic_tacticHave__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18428____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18437____closed__5); l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__1 = _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__1); l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__2 = _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__2(); @@ -45297,16 +45364,16 @@ l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7 = _init_l_Lean_Parser_ lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d_____closed__7); l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__ = _init_l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_____x3a_x3d__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18571____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18580____closed__5); l_Lean_Parser_Tactic_tacticSuffices_____closed__1 = _init_l_Lean_Parser_Tactic_tacticSuffices_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticSuffices_____closed__1); l_Lean_Parser_Tactic_tacticSuffices_____closed__2 = _init_l_Lean_Parser_Tactic_tacticSuffices_____closed__2(); @@ -45327,10 +45394,10 @@ l_Lean_Parser_Tactic_tacticSuffices_____closed__9 = _init_l_Lean_Parser_Tactic_t lean_mark_persistent(l_Lean_Parser_Tactic_tacticSuffices_____closed__9); l_Lean_Parser_Tactic_tacticSuffices__ = _init_l_Lean_Parser_Tactic_tacticSuffices__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticSuffices__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18736____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_18745____closed__2); l_Lean_Parser_Tactic_tacticLet_____closed__1 = _init_l_Lean_Parser_Tactic_tacticLet_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticLet_____closed__1); l_Lean_Parser_Tactic_tacticLet_____closed__2 = _init_l_Lean_Parser_Tactic_tacticLet_____closed__2(); @@ -45361,16 +45428,16 @@ l_Lean_Parser_Tactic_tacticShow_____closed__6 = _init_l_Lean_Parser_Tactic_tacti lean_mark_persistent(l_Lean_Parser_Tactic_tacticShow_____closed__6); l_Lean_Parser_Tactic_tacticShow__ = _init_l_Lean_Parser_Tactic_tacticShow__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticShow__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19005____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19014____closed__5); l_Lean_Parser_Tactic_letrec___closed__1 = _init_l_Lean_Parser_Tactic_letrec___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_letrec___closed__1); l_Lean_Parser_Tactic_letrec___closed__2 = _init_l_Lean_Parser_Tactic_letrec___closed__2(); @@ -45399,12 +45466,12 @@ l_Lean_Parser_Tactic_letrec___closed__13 = _init_l_Lean_Parser_Tactic_letrec___c lean_mark_persistent(l_Lean_Parser_Tactic_letrec___closed__13); l_Lean_Parser_Tactic_letrec = _init_l_Lean_Parser_Tactic_letrec(); lean_mark_persistent(l_Lean_Parser_Tactic_letrec); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19147____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19156____closed__3); l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__1 = _init_l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__1); l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__2 = _init_l_Lean_Parser_Tactic_tacticRefineLift_x27_____closed__2(); @@ -45433,8 +45500,8 @@ l_Lean_Parser_Tactic_tacticHave_x27_____closed__6 = _init_l_Lean_Parser_Tactic_t lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_x27_____closed__6); l_Lean_Parser_Tactic_tacticHave_x27__ = _init_l_Lean_Parser_Tactic_tacticHave_x27__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_x27__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19533____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19533____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19533____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19542____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19542____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_19542____closed__1); l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__1 = _init_l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__1); l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__2 = _init_l_Lean_Parser_Tactic_tacticHave_x27_____x3a_x3d_____closed__2(); @@ -45685,8 +45752,8 @@ l_Lean_Parser_Tactic_tacticRepeat_____closed__6 = _init_l_Lean_Parser_Tactic_tac lean_mark_persistent(l_Lean_Parser_Tactic_tacticRepeat_____closed__6); l_Lean_Parser_Tactic_tacticRepeat__ = _init_l_Lean_Parser_Tactic_tacticRepeat__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticRepeat__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20231____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20231____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20231____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20240____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20240____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20240____closed__1); l_Lean_Parser_Tactic_tacticTrivial___closed__1 = _init_l_Lean_Parser_Tactic_tacticTrivial___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticTrivial___closed__1); l_Lean_Parser_Tactic_tacticTrivial___closed__2 = _init_l_Lean_Parser_Tactic_tacticTrivial___closed__2(); @@ -45719,36 +45786,36 @@ l_Lean_Parser_Tactic_split___closed__9 = _init_l_Lean_Parser_Tactic_split___clos lean_mark_persistent(l_Lean_Parser_Tactic_split___closed__9); l_Lean_Parser_Tactic_split = _init_l_Lean_Parser_Tactic_split(); lean_mark_persistent(l_Lean_Parser_Tactic_split); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20664____closed__8); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20738____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20673____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20747____closed__7); l_Lean_Parser_Tactic_tacticUnhygienic_____closed__1 = _init_l_Lean_Parser_Tactic_tacticUnhygienic_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticUnhygienic_____closed__1); l_Lean_Parser_Tactic_tacticUnhygienic_____closed__2 = _init_l_Lean_Parser_Tactic_tacticUnhygienic_____closed__2(); @@ -45763,22 +45830,22 @@ l_Lean_Parser_Tactic_tacticUnhygienic_____closed__6 = _init_l_Lean_Parser_Tactic lean_mark_persistent(l_Lean_Parser_Tactic_tacticUnhygienic_____closed__6); l_Lean_Parser_Tactic_tacticUnhygienic__ = _init_l_Lean_Parser_Tactic_tacticUnhygienic__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticUnhygienic__); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20845____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_20854____closed__8); l_Lean_Parser_Attr_simp___closed__1 = _init_l_Lean_Parser_Attr_simp___closed__1(); lean_mark_persistent(l_Lean_Parser_Attr_simp___closed__1); l_Lean_Parser_Attr_simp___closed__2 = _init_l_Lean_Parser_Attr_simp___closed__2(); @@ -45817,12 +45884,12 @@ l_term_u2039___u203a___closed__9 = _init_l_term_u2039___u203a___closed__9(); lean_mark_persistent(l_term_u2039___u203a___closed__9); l_term_u2039___u203a = _init_l_term_u2039___u203a(); lean_mark_persistent(l_term_u2039___u203a); -l_myMacro____x40_Init_Notation___hyg_20995____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_20995____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_20995____closed__1); -l_myMacro____x40_Init_Notation___hyg_20995____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_20995____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_20995____closed__2); -l_myMacro____x40_Init_Notation___hyg_20995____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_20995____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_20995____closed__3); +l_myMacro____x40_Init_Notation___hyg_21004____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_21004____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_21004____closed__1); +l_myMacro____x40_Init_Notation___hyg_21004____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_21004____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_21004____closed__2); +l_myMacro____x40_Init_Notation___hyg_21004____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_21004____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_21004____closed__3); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 1f2154a935..96c963de4d 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -170,6 +170,7 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabSynta lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__9___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_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__11(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_Syntax_0__Lean_Elab_Term_withNotFirst(lean_object*); +static lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; lean_object* l_String_mapAux___at_Lean_Elab_Command_mkNameFromParserSyntax_visit___spec__2(lean_object*, lean_object*); @@ -300,7 +301,7 @@ lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; lean_object* l_String_capitalize(lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5550_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5567_(lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__16; lean_object* l_Lean_Elab_Command_elabSyntax_match__2___rarg(lean_object*, lean_object*); @@ -445,6 +446,7 @@ lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind(lean_object*, lean_objec static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__10___closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___lambda__1___closed__8; lean_object* l_Lean_Parser_registerParserCategory(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5567____closed__1; lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_resolveGlobalConstCore___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__61; @@ -632,7 +634,6 @@ uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__8(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_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__7(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*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5550____closed__1; lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__8; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___boxed(lean_object*, lean_object*); @@ -663,6 +664,7 @@ lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_ob lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy(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_Command_inferMacroRulesAltKind___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_toParserDescr_resolveParserName___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2; lean_object* l_Lean_Elab_Term_toParserDescr_process_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); @@ -14072,91 +14074,164 @@ lean_dec(x_1); return x_4; } } +static lean_object* _init_l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("catBehaviorBoth"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_2 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} lean_object* l_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _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; uint8_t x_14; lean_object* x_15; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; x_5 = lean_unsigned_to_nat(1u); x_6 = l_Lean_Syntax_getArg(x_1, x_5); x_7 = l_Lean_Syntax_getId(x_6); lean_dec(x_6); -x_8 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__3; +x_8 = lean_unsigned_to_nat(2u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +x_11 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__3; lean_inc(x_7); -x_9 = lean_name_append_after(x_7, x_8); -x_10 = lean_st_ref_get(x_3, x_4); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = 0; -lean_inc(x_7); -x_15 = l_Lean_Parser_registerParserCategory(x_13, x_9, x_7, x_14, x_12); -if (lean_obj_tag(x_15) == 0) +x_12 = lean_name_append_after(x_7, x_11); +x_13 = lean_st_ref_get(x_3, x_4); +if (x_10 == 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_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_40 = lean_unsigned_to_nat(3u); +x_41 = l_Lean_Syntax_getArg(x_9, x_40); +lean_dec(x_9); +x_42 = l_Lean_Syntax_getKind(x_41); +x_43 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2; +x_44 = lean_name_eq(x_42, x_43); +lean_dec(x_42); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_45 = lean_ctor_get(x_13, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_13, 1); +lean_inc(x_46); +lean_dec(x_13); +x_47 = 1; +x_14 = x_47; +x_15 = x_45; +x_16 = x_46; +goto block_39; +} +else +{ +lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_48 = lean_ctor_get(x_13, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_13, 1); +lean_inc(x_49); +lean_dec(x_13); +x_50 = 2; +x_14 = x_50; +x_15 = x_48; +x_16 = x_49; +goto block_39; +} +} +else +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_dec(x_9); +x_51 = lean_ctor_get(x_13, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_13, 1); +lean_inc(x_52); +lean_dec(x_13); +x_53 = 0; +x_14 = x_53; +x_15 = x_51; +x_16 = x_52; +goto block_39; +} +block_39: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(x_16, x_2, x_3, x_17); -x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_7); +x_18 = l_Lean_Parser_registerParserCategory(x_17, x_12, x_7, x_14, 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; lean_object* x_23; +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_20 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser(x_7, x_2, x_3, x_19); -return x_20; +x_21 = l_Lean_setEnv___at_Lean_Elab_Command_expandDeclId___spec__5(x_19, x_2, x_3, x_20); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser(x_7, x_2, x_3, x_22); +return x_23; } else { -uint8_t x_21; +uint8_t x_24; lean_dec(x_7); lean_dec(x_3); -x_21 = !lean_is_exclusive(x_15); -if (x_21 == 0) +x_24 = !lean_is_exclusive(x_18); +if (x_24 == 0) { -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_22 = lean_ctor_get(x_15, 0); -x_23 = lean_ctor_get(x_2, 6); -lean_inc(x_23); +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_25 = lean_ctor_get(x_18, 0); +x_26 = lean_ctor_get(x_2, 6); +lean_inc(x_26); lean_dec(x_2); -x_24 = lean_io_error_to_string(x_22); -x_25 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_26, 0, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_23); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_15, 0, x_27); -return x_15; +x_27 = lean_io_error_to_string(x_25); +x_28 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_26); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_18, 0, x_30); +return x_18; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_28 = lean_ctor_get(x_15, 0); -x_29 = lean_ctor_get(x_15, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_15); -x_30 = lean_ctor_get(x_2, 6); -lean_inc(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; lean_object* x_37; lean_object* x_38; +x_31 = lean_ctor_get(x_18, 0); +x_32 = lean_ctor_get(x_18, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_18); +x_33 = lean_ctor_get(x_2, 6); +lean_inc(x_33); lean_dec(x_2); -x_31 = lean_io_error_to_string(x_28); -x_32 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_33, 0, x_32); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_30); -lean_ctor_set(x_34, 1, x_33); -x_35 = lean_alloc_ctor(1, 2, 0); +x_34 = lean_io_error_to_string(x_31); +x_35 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_29); -return x_35; +x_36 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_33); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_32); +return x_38; +} } } } @@ -20208,7 +20283,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5550____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5567____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -20218,11 +20293,11 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5550_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5567_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5550____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5567____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -20750,6 +20825,10 @@ l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___c lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__90); l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__91 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__91(); lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__91); +l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1 = _init_l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1); +l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2 = _init_l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2); l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1); l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2(); @@ -20907,9 +20986,9 @@ l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5 = _init_l_ lean_mark_persistent(l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5); l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6 = _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6(); lean_mark_persistent(l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5550____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5550____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5550____closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5550_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5567____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5567____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5567____closed__1); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_5567_(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)); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Injection.c b/stage0/stdlib/Lean/Elab/Tactic/Injection.c index baac397d7b..427e28b78f 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Injection.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Injection.c @@ -15,6 +15,7 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalInjections_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__13; static lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___closed__4; @@ -23,29 +24,40 @@ lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object static lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___closed__2; lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__6; +lean_object* l_Lean_Meta_injections(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*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__7; lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_getInjectionNewIds(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalInjections___rarg___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_evalInjection(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__4; +static lean_object* l_Lean_Elab_Tactic_evalInjections___rarg___closed__1; lean_object* l_List_mapTRAux___at___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___spec__1(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__2; lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__5; lean_object* lean_array_to_list(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalInjection_match__1___rarg(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___regBuiltin_Lean_Elab_Tactic_evalInjections(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__12; lean_object* l_Lean_Elab_Tactic_evalInjection___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__5; extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; static lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___closed__6; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__1; 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_evalInjection(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_getArgs(lean_object*); lean_object* l_Lean_Elab_Tactic_evalInjection_match__1(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalInjections___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_elabAsFVar(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_evalInjections_match__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__9; uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___closed__5; @@ -57,9 +69,11 @@ lean_object* l_Lean_Elab_Tactic_replaceMainGoal(lean_object*, lean_object*, lean static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds___closed__3; +lean_object* l_Lean_Elab_Tactic_evalInjections(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__11; -lean_object* l_Lean_Meta_injection(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_injection(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalInjections___boxed(lean_object*); lean_object* l_List_mapTRAux___at___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_getInjectionNewIds___spec__1(lean_object*, lean_object*); lean_object* l_List_mapTRAux___at___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_getInjectionNewIds___spec__1(lean_object* x_1, lean_object* x_2) { _start: @@ -340,110 +354,92 @@ lean_inc(x_3); 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; uint8_t x_15; uint8_t x_64; +lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_64 = l_List_isEmpty___rarg(x_2); -if (x_64 == 0) -{ -uint8_t x_65; -x_65 = 1; -x_15 = x_65; -goto block_63; -} -else -{ -uint8_t x_66; -x_66 = 0; -x_15 = x_66; -goto block_63; -} -block_63: -{ -lean_object* x_16; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_2); lean_inc(x_13); -x_16 = l_Lean_Meta_injection(x_13, x_1, x_2, x_15, x_7, x_8, x_9, x_10, x_14); +x_15 = l_Lean_Meta_injection(x_13, x_1, x_2, x_7, x_8, x_9, x_10, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); +lean_dec(x_15); lean_inc(x_8); -x_19 = l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(x_13, x_2, x_7, x_8, x_9, x_10, x_18); -if (lean_obj_tag(x_19) == 0) +x_18 = l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(x_13, x_2, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_box(0); -x_22 = l_Lean_Elab_Tactic_replaceMainGoal(x_21, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); -if (lean_obj_tag(x_22) == 0) +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_box(0); +x_21 = l_Lean_Elab_Tactic_replaceMainGoal(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19); +if (lean_obj_tag(x_21) == 0) { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -x_25 = lean_box(0); -lean_ctor_set(x_22, 0, x_25); -return x_22; +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +x_24 = lean_box(0); +lean_ctor_set(x_21, 0, x_24); +return x_21; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); -lean_dec(x_22); -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_26); -return x_28; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } } else { -uint8_t x_29; -x_29 = !lean_is_exclusive(x_22); -if (x_29 == 0) +uint8_t x_28; +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) { -return x_22; +return x_21; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_22, 0); -x_31 = lean_ctor_get(x_22, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_21, 0); +x_30 = lean_ctor_get(x_21, 1); lean_inc(x_30); -lean_dec(x_22); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_21); +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; } } } else { -uint8_t x_33; +uint8_t x_32; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -452,104 +448,104 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_33 = !lean_is_exclusive(x_19); -if (x_33 == 0) +x_32 = !lean_is_exclusive(x_18); +if (x_32 == 0) { -return x_19; +return x_18; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_19, 0); -x_35 = lean_ctor_get(x_19, 1); -lean_inc(x_35); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_18, 0); +x_34 = lean_ctor_get(x_18, 1); lean_inc(x_34); -lean_dec(x_19); -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; +lean_inc(x_33); +lean_dec(x_18); +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 { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_dec(x_2); -x_37 = lean_ctor_get(x_16, 1); +x_36 = lean_ctor_get(x_15, 1); +lean_inc(x_36); +lean_dec(x_15); +x_37 = lean_ctor_get(x_16, 0); lean_inc(x_37); -lean_dec(x_16); -x_38 = lean_ctor_get(x_17, 0); +x_38 = lean_ctor_get(x_16, 2); lean_inc(x_38); -x_39 = lean_ctor_get(x_17, 2); -lean_inc(x_39); -lean_dec(x_17); +lean_dec(x_16); lean_inc(x_8); -x_40 = l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(x_13, x_39, x_7, x_8, x_9, x_10, x_37); -if (lean_obj_tag(x_40) == 0) +x_39 = l___private_Lean_Elab_Tactic_Injection_0__Lean_Elab_Tactic_checkUnusedIds(x_13, x_38, x_7, x_8, x_9, x_10, x_36); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = lean_box(0); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_38); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Elab_Tactic_replaceMainGoal(x_43, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_41); -if (lean_obj_tag(x_44) == 0) +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_37); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_Elab_Tactic_replaceMainGoal(x_42, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_40); +if (lean_obj_tag(x_43) == 0) { -uint8_t x_45; -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) +uint8_t x_44; +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) { -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_44, 0); -lean_dec(x_46); -x_47 = lean_box(0); -lean_ctor_set(x_44, 0, x_47); -return x_44; +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +x_46 = lean_box(0); +lean_ctor_set(x_43, 0, x_46); +return x_43; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_44, 1); -lean_inc(x_48); -lean_dec(x_44); -x_49 = lean_box(0); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -return x_50; +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_43, 1); +lean_inc(x_47); +lean_dec(x_43); +x_48 = lean_box(0); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +return x_49; } } else { -uint8_t x_51; -x_51 = !lean_is_exclusive(x_44); -if (x_51 == 0) +uint8_t x_50; +x_50 = !lean_is_exclusive(x_43); +if (x_50 == 0) { -return x_44; +return x_43; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_44, 0); -x_53 = lean_ctor_get(x_44, 1); -lean_inc(x_53); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_43, 0); +x_52 = lean_ctor_get(x_43, 1); lean_inc(x_52); -lean_dec(x_44); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +lean_inc(x_51); +lean_dec(x_43); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } } else { -uint8_t x_55; -lean_dec(x_38); +uint8_t x_54; +lean_dec(x_37); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -558,30 +554,30 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_55 = !lean_is_exclusive(x_40); -if (x_55 == 0) +x_54 = !lean_is_exclusive(x_39); +if (x_54 == 0) { -return x_40; +return x_39; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_40, 0); -x_57 = lean_ctor_get(x_40, 1); -lean_inc(x_57); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_39, 0); +x_56 = lean_ctor_get(x_39, 1); lean_inc(x_56); -lean_dec(x_40); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +lean_inc(x_55); +lean_dec(x_39); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } } else { -uint8_t x_59; +uint8_t x_58; lean_dec(x_13); lean_dec(x_10); lean_dec(x_9); @@ -592,30 +588,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_59 = !lean_is_exclusive(x_16); -if (x_59 == 0) +x_58 = !lean_is_exclusive(x_15); +if (x_58 == 0) { -return x_16; +return x_15; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_16, 0); -x_61 = lean_ctor_get(x_16, 1); -lean_inc(x_61); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_15, 0); +x_60 = lean_ctor_get(x_15, 1); lean_inc(x_60); -lean_dec(x_16); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; -} +lean_inc(x_59); +lean_dec(x_15); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; } } } else { -uint8_t x_67; +uint8_t x_62; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -626,23 +621,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_67 = !lean_is_exclusive(x_12); -if (x_67 == 0) +x_62 = !lean_is_exclusive(x_12); +if (x_62 == 0) { return x_12; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_12, 0); -x_69 = lean_ctor_get(x_12, 1); -lean_inc(x_69); -lean_inc(x_68); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_12, 0); +x_64 = lean_ctor_get(x_12, 1); +lean_inc(x_64); +lean_inc(x_63); lean_dec(x_12); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +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; } } } @@ -851,6 +846,343 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } +lean_object* l_Lean_Elab_Tactic_evalInjections_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_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_3, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalInjections_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalInjections_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalInjections___rarg___lambda__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) { +_start: +{ +lean_object* x_10; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_10 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_unsigned_to_nat(5u); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_14 = l_Lean_Meta_injections(x_11, x_13, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_box(0); +x_18 = l_Lean_Elab_Tactic_replaceMainGoal(x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +x_21 = lean_box(0); +lean_ctor_set(x_18, 0, x_21); +return x_18; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; +} +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_18); +if (x_25 == 0) +{ +return x_18; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_18, 0); +x_27 = lean_ctor_get(x_18, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_18); +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_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_14, 1); +lean_inc(x_29); +lean_dec(x_14); +x_30 = lean_ctor_get(x_15, 0); +lean_inc(x_30); +lean_dec(x_15); +x_31 = lean_box(0); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_Elab_Tactic_replaceMainGoal(x_32, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +x_36 = lean_box(0); +lean_ctor_set(x_33, 0, x_36); +return x_33; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_33, 1); +lean_inc(x_37); +lean_dec(x_33); +x_38 = lean_box(0); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +else +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_33); +if (x_40 == 0) +{ +return x_33; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_33, 0); +x_42 = lean_ctor_get(x_33, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_33); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +uint8_t x_44; +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); +lean_dec(x_1); +x_44 = !lean_is_exclusive(x_14); +if (x_44 == 0) +{ +return x_14; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_14, 0); +x_46 = lean_ctor_get(x_14, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_14); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +uint8_t x_48; +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); +lean_dec(x_1); +x_48 = !lean_is_exclusive(x_10); +if (x_48 == 0) +{ +return x_10; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_10, 0); +x_50 = lean_ctor_get(x_10, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_10); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalInjections___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalInjections___rarg___lambda__1), 9, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Tactic_evalInjections___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_Lean_Elab_Tactic_evalInjections___rarg___closed__1; +x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_evalInjections(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalInjections___rarg), 9, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalInjections___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_Tactic_evalInjections(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("injections"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("evalInjections"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__10; +x_2 = l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalInjections___boxed), 1, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInjections(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; +x_3 = l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Meta_Tactic_Injection(lean_object*); lean_object* initialize_Lean_Elab_Tactic_ElabTerm(lean_object*); @@ -909,6 +1241,21 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalInjection___closed__13) res = l___regBuiltin_Lean_Elab_Tactic_evalInjection(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Elab_Tactic_evalInjections___rarg___closed__1 = _init_l_Lean_Elab_Tactic_evalInjections___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalInjections___rarg___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__1); +l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__2); +l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__3); +l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__4); +l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalInjections___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_evalInjections(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/Elab/Tactic/Split.c b/stage0/stdlib/Lean/Elab/Tactic/Split.c index eb7444e235..d6d3f602c0 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Split.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Split.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Tactic.Split -// Imports: Init Lean.Meta.Tactic.Split Lean.Elab.Tactic.Basic +// Imports: Init Lean.Meta.Tactic.Split Lean.Elab.Tactic.Basic Lean.Elab.Tactic.Location #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,39 +13,71 @@ #ifdef __cplusplus extern "C" { #endif +size_t l_USize_add(size_t, size_t); +static lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); -lean_object* l_Lean_Elab_Tactic_evalSplit(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalSplit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__10; +lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__12; +lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(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_evalSplit(lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Lean_Elab_Tactic_evalSplit_match__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__3; -lean_object* l_Lean_Elab_Tactic_evalSplit___boxed(lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__1; lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitTarget_x3f___spec__1___at_Lean_Meta_splitTarget_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Tactic_evalSplit___rarg___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_Lean_Elab_Tactic_evalSplit___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*); +static lean_object* l_Lean_Elab_Tactic_evalSplit___closed__2; +lean_object* l_Lean_Elab_Tactic_evalSplit_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSplit_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalSplit___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__14; +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalSplit___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* l_Lean_Elab_Tactic_expandOptLocation(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__7; -static lean_object* l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1___closed__2; +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getNondepPropHyps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Meta_Match_Alt_checkAndReplaceFVarId___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalSplit___closed__1; 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_Elab_Tactic_evalSplit___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* l_Lean_Elab_Tactic_evalSplit___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__2; +size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_Meta_splitLocalDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; +lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___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_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__13; lean_object* l_Lean_Elab_Tactic_evalSplit_match__1(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalSplit_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__6; -static lean_object* l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Tactic_evalSplit___rarg___closed__1; +static lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__3; +lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalSplit_match__3(lean_object*); +lean_object* l_Lean_Meta_getLocalDeclFromUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__11; +static lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__2; +extern lean_object* l_Lean_instInhabitedName; lean_object* l_Lean_throwError___at_Lean_Meta_Split_splitMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isNone(lean_object*); +lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__4(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_replaceMainGoal(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_evalSplit___rarg(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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__9; +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalSplit_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -76,7 +108,230 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSplit_match__1___rarg), return x_2; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1___closed__1() { +lean_object* l_Lean_Elab_Tactic_evalSplit_match__2___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_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_3, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalSplit_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSplit_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalSplit_match__3___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; uint8_t x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_8 = lean_box(x_7); +x_9 = lean_apply_2(x_2, x_6, x_8); +return x_9; +} +} +} +lean_object* l_Lean_Elab_Tactic_evalSplit_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSplit_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalSplit___spec__1(lean_object* x_1, lean_object* 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) { +_start: +{ +uint8_t x_12; +x_12 = x_5 < x_4; +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_6); +x_14 = lean_array_uget(x_3, x_5); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_1); +x_15 = l_Lean_Meta_splitLocalDecl_x3f(x_1, x_14, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; size_t x_18; size_t x_19; +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = 1; +x_19 = x_5 + x_18; +lean_inc(x_2); +{ +size_t _tmp_4 = x_19; +lean_object* _tmp_5 = x_2; +lean_object* _tmp_10 = x_17; +x_5 = _tmp_4; +x_6 = _tmp_5; +x_11 = _tmp_10; +} +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_21 = !lean_is_exclusive(x_15); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_15, 0); +lean_dec(x_22); +x_23 = !lean_is_exclusive(x_16); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_16); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_15, 0, x_25); +return x_15; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_16, 0); +lean_inc(x_26); +lean_dec(x_16); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_15, 0, x_29); +return x_15; +} +} +else +{ +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; +x_30 = lean_ctor_get(x_15, 1); +lean_inc(x_30); +lean_dec(x_15); +x_31 = lean_ctor_get(x_16, 0); +lean_inc(x_31); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + x_32 = x_16; +} else { + lean_dec_ref(x_16); + x_32 = lean_box(0); +} +if (lean_is_scalar(x_32)) { + x_33 = lean_alloc_ctor(1, 1, 0); +} else { + x_33 = x_32; +} +lean_ctor_set(x_33, 0, x_31); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_30); +return x_36; +} +} +} +else +{ +uint8_t x_37; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_37 = !lean_is_exclusive(x_15); +if (x_37 == 0) +{ +return x_15; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_15, 0); +x_39 = lean_ctor_get(x_15, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_15); +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; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -84,19 +339,366 @@ x_1 = lean_mk_string("'split' tactic failed"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1___closed__1; +x_1 = l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l_Lean_Elab_Tactic_evalSplit___rarg___lambda__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* l_Lean_Elab_Tactic_evalSplit___lambda__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) { _start: { -lean_object* x_10; +lean_object* x_8; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_8 = l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitTarget_x3f___spec__1___at_Lean_Meta_splitTarget_x3f___spec__2(x_1, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__2; +x_12 = l_Lean_throwError___at_Lean_Meta_Split_splitMatch___spec__1(x_11, x_3, x_4, x_5, x_6, x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_12; +} +else +{ +uint8_t x_13; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_13 = !lean_is_exclusive(x_8); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_8, 0); +lean_dec(x_14); +x_15 = lean_ctor_get(x_9, 0); +lean_inc(x_15); +lean_dec(x_9); +lean_ctor_set(x_8, 0, x_15); +return x_8; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_8, 1); +lean_inc(x_16); +lean_dec(x_8); +x_17 = lean_ctor_get(x_9, 0); +lean_inc(x_17); +lean_dec(x_9); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +} +else +{ +uint8_t x_19; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_19 = !lean_is_exclusive(x_8); +if (x_19 == 0) +{ +return x_8; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_8, 0); +x_21 = lean_ctor_get(x_8, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_8); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__2(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) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = l_Lean_instInhabitedName; +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_array_get(x_10, x_2, x_11); +lean_inc(x_5); +x_13 = l_Lean_Meta_getLocalDeclFromUserName(x_12, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +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 = l_Lean_LocalDecl_fvarId(x_14); +lean_dec(x_14); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_17 = l_Lean_Meta_splitLocalDecl_x3f(x_3, x_16, x_5, x_6, x_7, x_8, x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__2; +x_21 = l_Lean_throwError___at_Lean_Meta_Split_splitMatch___spec__1(x_20, x_5, x_6, x_7, x_8, x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_21; +} +else +{ +uint8_t x_22; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_22 = !lean_is_exclusive(x_17); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_17, 0); +lean_dec(x_23); +x_24 = lean_ctor_get(x_18, 0); +lean_inc(x_24); +lean_dec(x_18); +lean_ctor_set(x_17, 0, x_24); +return x_17; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_17, 1); +lean_inc(x_25); +lean_dec(x_17); +x_26 = lean_ctor_get(x_18, 0); +lean_inc(x_26); +lean_dec(x_18); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; +} +} +} +else +{ +uint8_t x_28; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_28 = !lean_is_exclusive(x_17); +if (x_28 == 0) +{ +return x_17; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_17, 0); +x_30 = lean_ctor_get(x_17, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_17); +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; +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_32 = !lean_is_exclusive(x_13); +if (x_32 == 0) +{ +return x_13; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_13, 0); +x_34 = lean_ctor_get(x_13, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_13); +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 +{ +lean_object* x_36; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_36 = l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitTarget_x3f___spec__1___at_Lean_Meta_splitTarget_x3f___spec__2(x_3, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__2; +x_40 = l_Lean_throwError___at_Lean_Meta_Split_splitMatch___spec__1(x_39, x_5, x_6, x_7, x_8, x_38); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_40; +} +else +{ +uint8_t x_41; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_41 = !lean_is_exclusive(x_36); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_36, 0); +lean_dec(x_42); +x_43 = lean_ctor_get(x_37, 0); +lean_inc(x_43); +lean_dec(x_37); +lean_ctor_set(x_36, 0, x_43); +return x_36; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_36, 1); +lean_inc(x_44); +lean_dec(x_36); +x_45 = lean_ctor_get(x_37, 0); +lean_inc(x_45); +lean_dec(x_37); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +return x_46; +} +} +} +else +{ +uint8_t x_47; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_47 = !lean_is_exclusive(x_36); +if (x_47 == 0) +{ +return x_36; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_36, 0); +x_49 = lean_ctor_get(x_36, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_36); +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; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 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_Elab_Tactic_evalSplit___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'split' tactic failed, select a single target to split"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalSplit___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) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_25; +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -104,155 +706,523 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_1); -x_10 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_10) == 0) +x_25 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_unsigned_to_nat(2u); +x_29 = l_Lean_Syntax_getArg(x_1, x_28); +x_30 = l_Lean_Elab_Tactic_expandOptLocation(x_29); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; +lean_dec(x_29); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_13 = l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitTarget_x3f___spec__1___at_Lean_Meta_splitTarget_x3f___spec__2(x_11, x_5, x_6, x_7, x_8, x_12); +lean_inc(x_26); +x_31 = l_Lean_Meta_getNondepPropHyps(x_26, x_6, x_7, x_8, x_9, x_27); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; lean_object* x_38; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_array_get_size(x_32); +x_35 = lean_usize_of_nat(x_34); +lean_dec(x_34); +x_36 = 0; +x_37 = l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__1; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_26); +x_38 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalSplit___spec__1(x_26, x_37, x_32, x_35, x_36, x_37, x_6, x_7, x_8, x_9, x_33); +lean_dec(x_32); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +lean_dec(x_39); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_dec(x_38); +x_42 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_43 = l_Lean_Elab_Tactic_evalSplit___lambda__1(x_26, x_42, x_6, x_7, x_8, x_9, x_41); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_11 = x_44; +x_12 = x_45; +goto block_24; +} +else +{ +uint8_t x_46; +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_46 = !lean_is_exclusive(x_43); +if (x_46 == 0) +{ +return x_43; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_43, 0); +x_48 = lean_ctor_get(x_43, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_43); +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; +} +} +} +else +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_26); +x_50 = lean_ctor_get(x_38, 1); +lean_inc(x_50); +lean_dec(x_38); +x_51 = lean_ctor_get(x_40, 0); +lean_inc(x_51); +lean_dec(x_40); +x_11 = x_51; +x_12 = x_50; +goto block_24; +} +} +else +{ +uint8_t x_52; +lean_dec(x_26); +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_52 = !lean_is_exclusive(x_38); +if (x_52 == 0) +{ +return x_38; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_38, 0); +x_54 = lean_ctor_get(x_38, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_38); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_26); +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_56 = !lean_is_exclusive(x_31); +if (x_56 == 0) +{ +return x_31; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_31, 0); +x_58 = lean_ctor_get(x_31, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_31); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +lean_object* x_60; uint8_t x_61; lean_object* x_62; lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_60 = lean_ctor_get(x_30, 0); +lean_inc(x_60); +x_61 = lean_ctor_get_uint8(x_30, sizeof(void*)*1); +lean_dec(x_30); +x_70 = lean_array_get_size(x_60); +x_71 = lean_unsigned_to_nat(0u); +x_72 = lean_nat_dec_lt(x_71, x_70); +if (x_72 == 0) +{ +lean_object* x_73; uint8_t x_74; +x_73 = lean_unsigned_to_nat(1u); +x_74 = lean_nat_dec_lt(x_73, x_70); +lean_dec(x_70); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_29); +x_75 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_76 = l_Lean_Elab_Tactic_evalSplit___lambda__2(x_61, x_60, x_26, x_75, x_6, x_7, x_8, x_9, x_27); +lean_dec(x_60); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_11 = x_77; +x_12 = x_78; +goto block_24; +} +else +{ +uint8_t x_79; +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_79 = !lean_is_exclusive(x_76); +if (x_79 == 0) +{ +return x_76; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_76, 0); +x_81 = lean_ctor_get(x_76, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_76); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; +} +} +} +else +{ +lean_object* x_83; +lean_dec(x_60); +lean_dec(x_26); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_83 = lean_box(0); +x_62 = x_83; +goto block_69; +} +} +else +{ +if (x_61 == 0) +{ +lean_object* x_84; uint8_t x_85; +x_84 = lean_unsigned_to_nat(1u); +x_85 = lean_nat_dec_lt(x_84, x_70); +lean_dec(x_70); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; +lean_dec(x_29); +x_86 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_87 = l_Lean_Elab_Tactic_evalSplit___lambda__2(x_61, x_60, x_26, x_86, x_6, x_7, x_8, x_9, x_27); +lean_dec(x_60); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_11 = x_88; +x_12 = x_89; +goto block_24; +} +else +{ +uint8_t x_90; +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_90 = !lean_is_exclusive(x_87); +if (x_90 == 0) +{ +return x_87; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_87, 0); +x_92 = lean_ctor_get(x_87, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_87); +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; +} +} +} +else +{ +lean_object* x_94; +lean_dec(x_60); +lean_dec(x_26); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_94 = lean_box(0); +x_62 = x_94; +goto block_69; +} +} +else +{ +lean_object* x_95; +lean_dec(x_70); +lean_dec(x_60); +lean_dec(x_26); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_95 = lean_box(0); +x_62 = x_95; +goto block_69; +} +} +block_69: +{ +lean_object* x_63; lean_object* x_64; uint8_t x_65; +lean_dec(x_62); +x_63 = l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__3; +x_64 = l_Lean_throwErrorAt___at_Lean_Meta_Match_Alt_checkAndReplaceFVarId___spec__3(x_29, x_63, x_6, x_7, x_8, x_9, x_27); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_29); +x_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) +{ +return x_64; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_64, 0); +x_67 = lean_ctor_get(x_64, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_64); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +} +else +{ +uint8_t x_96; +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_96 = !lean_is_exclusive(x_25); +if (x_96 == 0) +{ +return x_25; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_25, 0); +x_98 = lean_ctor_get(x_25, 1); +lean_inc(x_98); +lean_inc(x_97); +lean_dec(x_25); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +return x_99; +} +} +block_24: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_replaceMainGoal(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +lean_dec(x_15); +x_16 = lean_box(0); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); lean_dec(x_13); -x_16 = l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1___closed__2; -x_17 = l_Lean_throwError___at_Lean_Meta_Split_splitMatch___spec__1(x_16, x_5, x_6, x_7, x_8, x_15); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -return x_17; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; } } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_13, 1); -lean_inc(x_22); -lean_dec(x_13); -x_23 = lean_ctor_get(x_14, 0); -lean_inc(x_23); -lean_dec(x_14); -x_24 = l_Lean_Elab_Tactic_replaceMainGoal(x_23, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); -if (lean_obj_tag(x_24) == 0) -{ -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_24, 0); -lean_dec(x_26); -x_27 = lean_box(0); -lean_ctor_set(x_24, 0, x_27); -return x_24; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_24, 1); -lean_inc(x_28); -lean_dec(x_24); -x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; -} -} -else -{ -uint8_t x_31; -x_31 = !lean_is_exclusive(x_24); -if (x_31 == 0) -{ -return x_24; -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_24, 0); -x_33 = lean_ctor_get(x_24, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_24); -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 -{ -uint8_t x_35; -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); -lean_dec(x_1); -x_35 = !lean_is_exclusive(x_13); -if (x_35 == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) { return x_13; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_13, 0); -x_37 = lean_ctor_get(x_13, 1); -lean_inc(x_37); -lean_inc(x_36); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_13, 0); +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_inc(x_21); lean_dec(x_13); -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; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; } } } -else +} +} +lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__4(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_39; +lean_object* x_12; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSplit___lambda__3___boxed), 10, 1); +lean_closure_set(x_12, 0, x_1); +x_13 = l_Lean_Elab_Tactic_withMainContext___rarg(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalSplit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("'split' tatic, term to split is not supported yet"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_evalSplit___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Tactic_evalSplit___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Lean_Elab_Tactic_evalSplit(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; uint8_t x_13; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_isNone(x_12); +lean_dec(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +lean_dec(x_1); +x_14 = l_Lean_Elab_Tactic_evalSplit___closed__2; +x_15 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTacticAux___spec__2(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -260,60 +1230,84 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_39 = !lean_is_exclusive(x_10); -if (x_39 == 0) +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) { -return x_10; +return x_15; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_10, 0); -x_41 = lean_ctor_get(x_10, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_10); -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; +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_15); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +x_21 = l_Lean_Elab_Tactic_evalSplit___lambda__4(x_1, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_21; } } } -} -static lean_object* _init_l_Lean_Elab_Tactic_evalSplit___rarg___closed__1() { +lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalSplit___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) { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1), 9, 0); -return x_1; +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_13 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalSplit___spec__1(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +return x_14; } } -lean_object* l_Lean_Elab_Tactic_evalSplit___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Tactic_evalSplit___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) { _start: { -lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Tactic_evalSplit___rarg___closed__1; -x_11 = l_Lean_Elab_Tactic_withMainContext___rarg(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_8; +x_8 = l_Lean_Elab_Tactic_evalSplit___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} +lean_object* l_Lean_Elab_Tactic_evalSplit___lambda__2___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) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_Elab_Tactic_evalSplit___lambda__2(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_2); return x_11; } } -lean_object* l_Lean_Elab_Tactic_evalSplit(lean_object* x_1) { +lean_object* l_Lean_Elab_Tactic_evalSplit___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) { _start: { -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSplit___rarg), 9, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_Tactic_evalSplit___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Elab_Tactic_evalSplit(x_1); +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_evalSplit___lambda__3(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_2; +return x_11; +} +} +lean_object* l_Lean_Elab_Tactic_evalSplit___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) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_evalSplit___lambda__4(x_1, 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_12; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__1() { @@ -438,7 +1432,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__14 _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSplit___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSplit), 10, 0); return x_1; } } @@ -457,6 +1451,7 @@ return x_6; lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Meta_Tactic_Split(lean_object*); lean_object* initialize_Lean_Elab_Tactic_Basic(lean_object*); +lean_object* initialize_Lean_Elab_Tactic_Location(lean_object*); static bool _G_initialized = false; lean_object* initialize_Lean_Elab_Tactic_Split(lean_object* w) { lean_object * res; @@ -471,12 +1466,23 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Tactic_Basic(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1___closed__1); -l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalSplit___rarg___lambda__1___closed__2); -l_Lean_Elab_Tactic_evalSplit___rarg___closed__1 = _init_l_Lean_Elab_Tactic_evalSplit___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalSplit___rarg___closed__1); +res = initialize_Lean_Elab_Tactic_Location(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__1); +l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalSplit___lambda__1___closed__2); +l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__1 = _init_l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__1); +l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__2 = _init_l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__2); +l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__3 = _init_l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalSplit___lambda__3___closed__3); +l_Lean_Elab_Tactic_evalSplit___closed__1 = _init_l_Lean_Elab_Tactic_evalSplit___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalSplit___closed__1); +l_Lean_Elab_Tactic_evalSplit___closed__2 = _init_l_Lean_Elab_Tactic_evalSplit___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalSplit___closed__2); l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__1); l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSplit___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Injective.c b/stage0/stdlib/Lean/Meta/Injective.c index 28a5fbd1a1..4a3f2fc238 100644 --- a/stage0/stdlib/Lean/Meta/Injective.c +++ b/stage0/stdlib/Lean/Meta/Injective.c @@ -182,7 +182,7 @@ lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremType lean_object* l_Lean_Meta_mkHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_elimOptParam___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_injection(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_injection(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_elimOptParam___closed__2; @@ -3205,112 +3205,111 @@ return x_1; lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq(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) { _start: { -lean_object* x_9; uint8_t x_10; lean_object* x_11; +lean_object* x_9; lean_object* x_10; x_9 = lean_box(0); -x_10 = 1; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_11 = l_Lean_Meta_injection(x_2, x_3, x_9, x_10, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Meta_injection(x_2, x_3, x_9, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -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; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_dec(x_1); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = l___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___closed__1; -x_15 = l___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___closed__5; -x_16 = lean_panic_fn(x_14, x_15); -x_17 = lean_apply_5(x_16, x_4, x_5, x_6, x_7, x_13); -return x_17; +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___closed__1; +x_14 = l___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___closed__5; +x_15 = lean_panic_fn(x_13, x_14); +x_16 = lean_apply_5(x_15, x_4, x_5, x_6, x_7, x_12); +return x_16; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_11, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_10, 1); +lean_inc(x_17); +lean_dec(x_10); +x_18 = lean_ctor_get(x_11, 0); lean_inc(x_18); lean_dec(x_11); -x_19 = lean_ctor_get(x_12, 0); -lean_inc(x_19); -lean_dec(x_12); -x_20 = l___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___closed__6; +x_19 = l___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___closed__6; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_21 = l_Lean_Meta_saturate(x_19, x_20, x_4, x_5, x_6, x_7, x_18); -if (lean_obj_tag(x_21) == 0) +x_20 = l_Lean_Meta_saturate(x_18, x_19, x_4, x_5, x_6, x_7, x_17); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_21, 0); +lean_object* x_21; lean_object* x_22; lean_object* 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); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = l_List_forM___at___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___spec__1(x_1, x_22, x_4, x_5, x_6, x_7, x_23); -return x_24; +lean_dec(x_20); +x_23 = l_List_forM___at___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___spec__1(x_1, x_21, x_4, x_5, x_6, x_7, x_22); +return x_23; } else { -uint8_t x_25; +uint8_t x_24; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_25 = !lean_is_exclusive(x_21); -if (x_25 == 0) +x_24 = !lean_is_exclusive(x_20); +if (x_24 == 0) { -return x_21; +return x_20; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_21, 0); -x_27 = lean_ctor_get(x_21, 1); -lean_inc(x_27); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_20, 0); +x_26 = lean_ctor_get(x_20, 1); lean_inc(x_26); -lean_dec(x_21); -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; +lean_inc(x_25); +lean_dec(x_20); +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 { -uint8_t x_29; +uint8_t x_28; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_11); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_10); +if (x_28 == 0) { -return x_11; +return x_10; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_11, 0); -x_31 = lean_ctor_get(x_11, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_10, 0); +x_30 = lean_ctor_get(x_10, 1); lean_inc(x_30); -lean_dec(x_11); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_10); +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; } } } diff --git a/stage0/stdlib/Lean/Meta/Match/MatchEqs.c b/stage0/stdlib/Lean/Meta/Match/MatchEqs.c index e2eed06137..5c8eac10b6 100644 --- a/stage0/stdlib/Lean/Meta/Match/MatchEqs.c +++ b/stage0/stdlib/Lean/Meta/Match/MatchEqs.c @@ -494,7 +494,7 @@ lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_Simp_CongrLemm lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); lean_object* l_Lean_Meta_deltaTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_injection(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_injection(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__2___boxed(lean_object**); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_reprMatchEqns____x40_Lean_Meta_Match_MatchEqs___hyg_42____closed__16; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); @@ -8388,155 +8388,153 @@ x_62 = l_Lean_Expr_isNatLit(x_57); lean_dec(x_57); if (x_62 == 0) { -lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_dec(x_60); x_63 = l_Lean_LocalDecl_fvarId(x_40); lean_dec(x_40); x_64 = lean_box(0); -x_65 = 1; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_1); -x_66 = l_Lean_Meta_injection(x_1, x_63, x_64, x_65, x_8, x_9, x_10, x_11, x_61); +x_65 = l_Lean_Meta_injection(x_1, x_63, x_64, x_8, x_9, x_10, x_11, x_61); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); if (lean_obj_tag(x_66) == 0) { -lean_object* x_67; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -if (lean_obj_tag(x_67) == 0) -{ -lean_object* x_68; lean_object* x_69; +lean_object* x_67; lean_object* x_68; lean_free_object(x_43); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; -x_27 = x_69; -x_28 = x_68; +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; +x_27 = x_68; +x_28 = x_67; goto block_38; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_70 = lean_ctor_get(x_66, 1); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_69 = lean_ctor_get(x_65, 1); +lean_inc(x_69); +lean_dec(x_65); +x_70 = lean_ctor_get(x_66, 0); lean_inc(x_70); lean_dec(x_66); -x_71 = lean_ctor_get(x_67, 0); -lean_inc(x_71); -lean_dec(x_67); -x_72 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_43, 0, x_72); -x_73 = lean_box(0); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_43); -lean_ctor_set(x_74, 1, x_73); -x_75 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_75, 0, x_74); -x_27 = x_75; -x_28 = x_70; +x_71 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_43, 0, x_71); +x_72 = lean_box(0); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_43); +lean_ctor_set(x_73, 1, x_72); +x_74 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_27 = x_74; +x_28 = x_69; goto block_38; } } else { -lean_object* x_76; lean_object* x_77; +lean_object* x_75; lean_object* x_76; lean_free_object(x_43); -x_76 = lean_ctor_get(x_66, 1); -lean_inc(x_76); -lean_dec(x_66); +x_75 = lean_ctor_get(x_65, 1); +lean_inc(x_75); +lean_dec(x_65); lean_inc(x_2); -x_77 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_77, 0, x_2); -x_27 = x_77; -x_28 = x_76; +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_2); +x_27 = x_76; +x_28 = x_75; goto block_38; } } else { -uint8_t x_78; -x_78 = l_Lean_Expr_isNatLit(x_60); +uint8_t x_77; +x_77 = l_Lean_Expr_isNatLit(x_60); lean_dec(x_60); -if (x_78 == 0) +if (x_77 == 0) { -lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; -x_79 = l_Lean_LocalDecl_fvarId(x_40); +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = l_Lean_LocalDecl_fvarId(x_40); lean_dec(x_40); -x_80 = lean_box(0); -x_81 = 1; +x_79 = lean_box(0); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_1); -x_82 = l_Lean_Meta_injection(x_1, x_79, x_80, x_81, x_8, x_9, x_10, x_11, x_61); -if (lean_obj_tag(x_82) == 0) +x_80 = l_Lean_Meta_injection(x_1, x_78, x_79, x_8, x_9, x_10, x_11, x_61); +if (lean_obj_tag(x_80) == 0) { -lean_object* x_83; -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -if (lean_obj_tag(x_83) == 0) +lean_object* x_81; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +if (lean_obj_tag(x_81) == 0) { -lean_object* x_84; lean_object* x_85; +lean_object* x_82; lean_object* x_83; lean_free_object(x_43); -x_84 = lean_ctor_get(x_82, 1); +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +lean_dec(x_80); +x_83 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; +x_27 = x_83; +x_28 = x_82; +goto block_38; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_84 = lean_ctor_get(x_80, 1); lean_inc(x_84); -lean_dec(x_82); -x_85 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; -x_27 = x_85; +lean_dec(x_80); +x_85 = lean_ctor_get(x_81, 0); +lean_inc(x_85); +lean_dec(x_81); +x_86 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_43, 0, x_86); +x_87 = lean_box(0); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_43); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_27 = x_89; x_28 = x_84; goto block_38; } -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_86 = lean_ctor_get(x_82, 1); -lean_inc(x_86); -lean_dec(x_82); -x_87 = lean_ctor_get(x_83, 0); -lean_inc(x_87); -lean_dec(x_83); -x_88 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_43, 0, x_88); -x_89 = lean_box(0); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_43); -lean_ctor_set(x_90, 1, x_89); -x_91 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_91, 0, x_90); -x_27 = x_91; -x_28 = x_86; -goto block_38; -} } else { -lean_object* x_92; lean_object* x_93; +lean_object* x_90; lean_object* x_91; lean_free_object(x_43); -x_92 = lean_ctor_get(x_82, 1); -lean_inc(x_92); -lean_dec(x_82); +x_90 = lean_ctor_get(x_80, 1); +lean_inc(x_90); +lean_dec(x_80); lean_inc(x_2); -x_93 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_93, 0, x_2); -x_27 = x_93; -x_28 = x_92; +x_91 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_91, 0, x_2); +x_27 = x_91; +x_28 = x_90; goto block_38; } } else { -lean_object* x_94; +lean_object* x_92; lean_free_object(x_43); lean_dec(x_40); lean_inc(x_2); -x_94 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_94, 0, x_2); -x_27 = x_94; +x_92 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_92, 0, x_2); +x_27 = x_92; x_28 = x_61; goto block_38; } @@ -8544,7 +8542,7 @@ goto block_38; } else { -uint8_t x_95; +uint8_t x_93; lean_dec(x_57); lean_free_object(x_43); lean_dec(x_40); @@ -8557,29 +8555,29 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_95 = !lean_is_exclusive(x_59); -if (x_95 == 0) +x_93 = !lean_is_exclusive(x_59); +if (x_93 == 0) { return x_59; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_59, 0); -x_97 = lean_ctor_get(x_59, 1); -lean_inc(x_97); -lean_inc(x_96); +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_59, 0); +x_95 = lean_ctor_get(x_59, 1); +lean_inc(x_95); +lean_inc(x_94); lean_dec(x_59); -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; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +return x_96; } } } else { -uint8_t x_99; +uint8_t x_97; lean_dec(x_51); lean_free_object(x_43); lean_dec(x_40); @@ -8592,47 +8590,47 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_99 = !lean_is_exclusive(x_56); -if (x_99 == 0) +x_97 = !lean_is_exclusive(x_56); +if (x_97 == 0) { return x_56; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_56, 0); -x_101 = lean_ctor_get(x_56, 1); -lean_inc(x_101); -lean_inc(x_100); +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_56, 0); +x_99 = lean_ctor_get(x_56, 1); +lean_inc(x_99); +lean_inc(x_98); lean_dec(x_56); -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; +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; } } } else { -lean_object* x_103; lean_object* x_104; +lean_object* x_101; lean_object* x_102; lean_dec(x_51); lean_dec(x_50); lean_free_object(x_43); lean_dec(x_40); -x_103 = lean_ctor_get(x_52, 1); -lean_inc(x_103); +x_101 = lean_ctor_get(x_52, 1); +lean_inc(x_101); lean_dec(x_52); lean_inc(x_2); -x_104 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_104, 0, x_2); -x_27 = x_104; -x_28 = x_103; +x_102 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_102, 0, x_2); +x_27 = x_102; +x_28 = x_101; goto block_38; } } else { -uint8_t x_105; +uint8_t x_103; lean_dec(x_51); lean_dec(x_50); lean_free_object(x_43); @@ -8646,248 +8644,246 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_105 = !lean_is_exclusive(x_52); -if (x_105 == 0) +x_103 = !lean_is_exclusive(x_52); +if (x_103 == 0) { return x_52; } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_52, 0); -x_107 = lean_ctor_get(x_52, 1); -lean_inc(x_107); -lean_inc(x_106); +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_52, 0); +x_105 = lean_ctor_get(x_52, 1); +lean_inc(x_105); +lean_inc(x_104); lean_dec(x_52); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -return x_108; +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_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_109 = lean_ctor_get(x_43, 0); -lean_inc(x_109); +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_107 = lean_ctor_get(x_43, 0); +lean_inc(x_107); lean_dec(x_43); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -lean_dec(x_109); -x_111 = lean_ctor_get(x_42, 1); -lean_inc(x_111); +x_108 = lean_ctor_get(x_107, 1); +lean_inc(x_108); +lean_dec(x_107); +x_109 = lean_ctor_get(x_42, 1); +lean_inc(x_109); lean_dec(x_42); -x_112 = lean_ctor_get(x_110, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_110, 1); -lean_inc(x_113); -lean_dec(x_110); +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_108, 1); +lean_inc(x_111); +lean_dec(x_108); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_113); -lean_inc(x_112); -x_114 = l_Lean_Meta_isExprDefEq(x_112, x_113, x_8, x_9, x_10, x_11, x_111); -if (lean_obj_tag(x_114) == 0) +lean_inc(x_111); +lean_inc(x_110); +x_112 = l_Lean_Meta_isExprDefEq(x_110, x_111, x_8, x_9, x_10, x_11, x_109); +if (lean_obj_tag(x_112) == 0) { -lean_object* x_115; uint8_t x_116; -x_115 = lean_ctor_get(x_114, 0); +lean_object* x_113; uint8_t x_114; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_unbox(x_113); +lean_dec(x_113); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +x_115 = lean_ctor_get(x_112, 1); lean_inc(x_115); -x_116 = lean_unbox(x_115); -lean_dec(x_115); -if (x_116 == 0) +lean_dec(x_112); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_116 = lean_whnf(x_110, x_8, x_9, x_10, x_11, x_115); +if (lean_obj_tag(x_116) == 0) { -lean_object* x_117; lean_object* x_118; -x_117 = lean_ctor_get(x_114, 1); +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_116, 0); lean_inc(x_117); -lean_dec(x_114); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_118 = lean_whnf(x_112, x_8, x_9, x_10, x_11, x_117); -if (lean_obj_tag(x_118) == 0) +x_119 = lean_whnf(x_111, x_8, x_9, x_10, x_11, x_118); +if (lean_obj_tag(x_119) == 0) { -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -x_120 = lean_ctor_get(x_118, 1); +lean_object* x_120; lean_object* x_121; uint8_t x_122; +x_120 = lean_ctor_get(x_119, 0); lean_inc(x_120); -lean_dec(x_118); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_121 = lean_whnf(x_113, x_8, x_9, x_10, x_11, x_120); -if (lean_obj_tag(x_121) == 0) -{ -lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_124 = l_Lean_Expr_isNatLit(x_119); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); lean_dec(x_119); -if (x_124 == 0) +x_122 = l_Lean_Expr_isNatLit(x_117); +lean_dec(x_117); +if (x_122 == 0) { -lean_object* x_125; lean_object* x_126; uint8_t x_127; lean_object* x_128; -lean_dec(x_122); -x_125 = l_Lean_LocalDecl_fvarId(x_40); +lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_dec(x_120); +x_123 = l_Lean_LocalDecl_fvarId(x_40); lean_dec(x_40); -x_126 = lean_box(0); -x_127 = 1; +x_124 = lean_box(0); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_1); -x_128 = l_Lean_Meta_injection(x_1, x_125, x_126, x_127, x_8, x_9, x_10, x_11, x_123); -if (lean_obj_tag(x_128) == 0) +x_125 = l_Lean_Meta_injection(x_1, x_123, x_124, x_8, x_9, x_10, x_11, x_121); +if (lean_obj_tag(x_125) == 0) { -lean_object* x_129; -x_129 = lean_ctor_get(x_128, 0); +lean_object* x_126; +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +if (lean_obj_tag(x_126) == 0) +{ +lean_object* x_127; lean_object* x_128; +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_128 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; +x_27 = x_128; +x_28 = x_127; +goto block_38; +} +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_129 = lean_ctor_get(x_125, 1); lean_inc(x_129); -if (lean_obj_tag(x_129) == 0) -{ -lean_object* x_130; lean_object* x_131; -x_130 = lean_ctor_get(x_128, 1); +lean_dec(x_125); +x_130 = lean_ctor_get(x_126, 0); lean_inc(x_130); -lean_dec(x_128); -x_131 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; -x_27 = x_131; -x_28 = x_130; -goto block_38; -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_132 = lean_ctor_get(x_128, 1); -lean_inc(x_132); -lean_dec(x_128); -x_133 = lean_ctor_get(x_129, 0); -lean_inc(x_133); -lean_dec(x_129); -x_134 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_134, 0, x_133); -x_135 = lean_alloc_ctor(1, 1, 0); +lean_dec(x_126); +x_131 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_131, 0, x_130); +x_132 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_132, 0, x_131); +x_133 = lean_box(0); +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +x_135 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_135, 0, x_134); -x_136 = lean_box(0); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); -x_138 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_138, 0, x_137); -x_27 = x_138; -x_28 = x_132; +x_27 = x_135; +x_28 = x_129; goto block_38; } } else { -lean_object* x_139; lean_object* x_140; -x_139 = lean_ctor_get(x_128, 1); -lean_inc(x_139); -lean_dec(x_128); +lean_object* x_136; lean_object* x_137; +x_136 = lean_ctor_get(x_125, 1); +lean_inc(x_136); +lean_dec(x_125); lean_inc(x_2); -x_140 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_140, 0, x_2); -x_27 = x_140; -x_28 = x_139; +x_137 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_137, 0, x_2); +x_27 = x_137; +x_28 = x_136; goto block_38; } } else { -uint8_t x_141; -x_141 = l_Lean_Expr_isNatLit(x_122); -lean_dec(x_122); -if (x_141 == 0) +uint8_t x_138; +x_138 = l_Lean_Expr_isNatLit(x_120); +lean_dec(x_120); +if (x_138 == 0) { -lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; -x_142 = l_Lean_LocalDecl_fvarId(x_40); +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = l_Lean_LocalDecl_fvarId(x_40); lean_dec(x_40); -x_143 = lean_box(0); -x_144 = 1; +x_140 = lean_box(0); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_1); -x_145 = l_Lean_Meta_injection(x_1, x_142, x_143, x_144, x_8, x_9, x_10, x_11, x_123); -if (lean_obj_tag(x_145) == 0) +x_141 = l_Lean_Meta_injection(x_1, x_139, x_140, x_8, x_9, x_10, x_11, x_121); +if (lean_obj_tag(x_141) == 0) { -lean_object* x_146; -x_146 = lean_ctor_get(x_145, 0); +lean_object* x_142; +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_143; lean_object* x_144; +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +x_144 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; +x_27 = x_144; +x_28 = x_143; +goto block_38; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_145 = lean_ctor_get(x_141, 1); +lean_inc(x_145); +lean_dec(x_141); +x_146 = lean_ctor_get(x_142, 0); lean_inc(x_146); -if (lean_obj_tag(x_146) == 0) -{ -lean_object* x_147; lean_object* x_148; -x_147 = lean_ctor_get(x_145, 1); -lean_inc(x_147); -lean_dec(x_145); -x_148 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; -x_27 = x_148; -x_28 = x_147; -goto block_38; -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_149 = lean_ctor_get(x_145, 1); -lean_inc(x_149); -lean_dec(x_145); -x_150 = lean_ctor_get(x_146, 0); -lean_inc(x_150); -lean_dec(x_146); -x_151 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_142); +x_147 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_147, 0, x_146); +x_148 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_148, 0, x_147); +x_149 = lean_box(0); +x_150 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_149); +x_151 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_151, 0, x_150); -x_152 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_152, 0, x_151); -x_153 = lean_box(0); -x_154 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); -x_155 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_155, 0, x_154); -x_27 = x_155; -x_28 = x_149; +x_27 = x_151; +x_28 = x_145; goto block_38; } } else { -lean_object* x_156; lean_object* x_157; -x_156 = lean_ctor_get(x_145, 1); -lean_inc(x_156); -lean_dec(x_145); +lean_object* x_152; lean_object* x_153; +x_152 = lean_ctor_get(x_141, 1); +lean_inc(x_152); +lean_dec(x_141); lean_inc(x_2); -x_157 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_157, 0, x_2); -x_27 = x_157; -x_28 = x_156; +x_153 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_153, 0, x_2); +x_27 = x_153; +x_28 = x_152; goto block_38; } } else { -lean_object* x_158; +lean_object* x_154; lean_dec(x_40); lean_inc(x_2); -x_158 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_158, 0, x_2); -x_27 = x_158; -x_28 = x_123; +x_154 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_154, 0, x_2); +x_27 = x_154; +x_28 = x_121; goto block_38; } } } else { -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -lean_dec(x_119); +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; +lean_dec(x_117); lean_dec(x_40); lean_dec(x_26); lean_dec(x_25); @@ -8898,16 +8894,52 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_159 = lean_ctor_get(x_121, 0); -lean_inc(x_159); -x_160 = lean_ctor_get(x_121, 1); -lean_inc(x_160); -if (lean_is_exclusive(x_121)) { - lean_ctor_release(x_121, 0); - lean_ctor_release(x_121, 1); - x_161 = x_121; +x_155 = lean_ctor_get(x_119, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_119, 1); +lean_inc(x_156); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_157 = x_119; } else { - lean_dec_ref(x_121); + lean_dec_ref(x_119); + x_157 = lean_box(0); +} +if (lean_is_scalar(x_157)) { + x_158 = lean_alloc_ctor(1, 2, 0); +} else { + x_158 = x_157; +} +lean_ctor_set(x_158, 0, x_155); +lean_ctor_set(x_158, 1, x_156); +return x_158; +} +} +else +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +lean_dec(x_111); +lean_dec(x_40); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_159 = lean_ctor_get(x_116, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_116, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_161 = x_116; +} else { + lean_dec_ref(x_116); x_161 = lean_box(0); } if (lean_is_scalar(x_161)) { @@ -8922,62 +8954,26 @@ return x_162; } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -lean_dec(x_113); +lean_object* x_163; lean_object* x_164; +lean_dec(x_111); +lean_dec(x_110); lean_dec(x_40); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_163 = lean_ctor_get(x_118, 0); +x_163 = lean_ctor_get(x_112, 1); lean_inc(x_163); -x_164 = lean_ctor_get(x_118, 1); -lean_inc(x_164); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_165 = x_118; -} else { - lean_dec_ref(x_118); - x_165 = lean_box(0); -} -if (lean_is_scalar(x_165)) { - x_166 = lean_alloc_ctor(1, 2, 0); -} else { - x_166 = x_165; -} -lean_ctor_set(x_166, 0, x_163); -lean_ctor_set(x_166, 1, x_164); -return x_166; -} -} -else -{ -lean_object* x_167; lean_object* x_168; -lean_dec(x_113); lean_dec(x_112); -lean_dec(x_40); -x_167 = lean_ctor_get(x_114, 1); -lean_inc(x_167); -lean_dec(x_114); lean_inc(x_2); -x_168 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_168, 0, x_2); -x_27 = x_168; -x_28 = x_167; +x_164 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_164, 0, x_2); +x_27 = x_164; +x_28 = x_163; goto block_38; } } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -lean_dec(x_113); -lean_dec(x_112); +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_111); +lean_dec(x_110); lean_dec(x_40); lean_dec(x_26); lean_dec(x_25); @@ -8988,33 +8984,33 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_169 = lean_ctor_get(x_114, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_114, 1); -lean_inc(x_170); -if (lean_is_exclusive(x_114)) { - lean_ctor_release(x_114, 0); - lean_ctor_release(x_114, 1); - x_171 = x_114; +x_165 = lean_ctor_get(x_112, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_112, 1); +lean_inc(x_166); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_167 = x_112; } else { - lean_dec_ref(x_114); - x_171 = lean_box(0); + lean_dec_ref(x_112); + x_167 = lean_box(0); } -if (lean_is_scalar(x_171)) { - x_172 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_167)) { + x_168 = lean_alloc_ctor(1, 2, 0); } else { - x_172 = x_171; + x_168 = x_167; } -lean_ctor_set(x_172, 0, x_169); -lean_ctor_set(x_172, 1, x_170); -return x_172; +lean_ctor_set(x_168, 0, x_165); +lean_ctor_set(x_168, 1, x_166); +return x_168; } } } } else { -uint8_t x_173; +uint8_t x_169; lean_dec(x_40); lean_dec(x_26); lean_dec(x_25); @@ -9025,23 +9021,23 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_173 = !lean_is_exclusive(x_42); -if (x_173 == 0) +x_169 = !lean_is_exclusive(x_42); +if (x_169 == 0) { return x_42; } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_174 = lean_ctor_get(x_42, 0); -x_175 = lean_ctor_get(x_42, 1); -lean_inc(x_175); -lean_inc(x_174); +lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_170 = lean_ctor_get(x_42, 0); +x_171 = lean_ctor_get(x_42, 1); +lean_inc(x_171); +lean_inc(x_170); lean_dec(x_42); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_174); -lean_ctor_set(x_176, 1, x_175); -return x_176; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +return x_172; } } } @@ -9522,155 +9518,153 @@ x_67 = l_Lean_Expr_isNatLit(x_62); lean_dec(x_62); if (x_67 == 0) { -lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_dec(x_65); x_68 = l_Lean_LocalDecl_fvarId(x_45); lean_dec(x_45); x_69 = lean_box(0); -x_70 = 1; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_1); -x_71 = l_Lean_Meta_injection(x_1, x_68, x_69, x_70, x_8, x_9, x_10, x_11, x_66); +x_70 = l_Lean_Meta_injection(x_1, x_68, x_69, x_8, x_9, x_10, x_11, x_66); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); if (lean_obj_tag(x_71) == 0) { -lean_object* x_72; -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; lean_object* x_74; +lean_object* x_72; lean_object* x_73; lean_free_object(x_48); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -lean_dec(x_71); -x_74 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; -x_27 = x_74; -x_28 = x_73; +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; +x_27 = x_73; +x_28 = x_72; goto block_43; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_75 = lean_ctor_get(x_71, 1); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_74 = lean_ctor_get(x_70, 1); +lean_inc(x_74); +lean_dec(x_70); +x_75 = lean_ctor_get(x_71, 0); lean_inc(x_75); lean_dec(x_71); -x_76 = lean_ctor_get(x_72, 0); -lean_inc(x_76); -lean_dec(x_72); -x_77 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_48, 0, x_77); -x_78 = lean_box(0); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_48); -lean_ctor_set(x_79, 1, x_78); -x_80 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_80, 0, x_79); -x_27 = x_80; -x_28 = x_75; +x_76 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_48, 0, x_76); +x_77 = lean_box(0); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_48); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_79, 0, x_78); +x_27 = x_79; +x_28 = x_74; goto block_43; } } else { -lean_object* x_81; lean_object* x_82; +lean_object* x_80; lean_object* x_81; lean_free_object(x_48); -x_81 = lean_ctor_get(x_71, 1); -lean_inc(x_81); -lean_dec(x_71); +x_80 = lean_ctor_get(x_70, 1); +lean_inc(x_80); +lean_dec(x_70); lean_inc(x_2); -x_82 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_82, 0, x_2); -x_27 = x_82; -x_28 = x_81; +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_2); +x_27 = x_81; +x_28 = x_80; goto block_43; } } else { -uint8_t x_83; -x_83 = l_Lean_Expr_isNatLit(x_65); +uint8_t x_82; +x_82 = l_Lean_Expr_isNatLit(x_65); lean_dec(x_65); -if (x_83 == 0) +if (x_82 == 0) { -lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; -x_84 = l_Lean_LocalDecl_fvarId(x_45); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = l_Lean_LocalDecl_fvarId(x_45); lean_dec(x_45); -x_85 = lean_box(0); -x_86 = 1; +x_84 = lean_box(0); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_1); -x_87 = l_Lean_Meta_injection(x_1, x_84, x_85, x_86, x_8, x_9, x_10, x_11, x_66); -if (lean_obj_tag(x_87) == 0) +x_85 = l_Lean_Meta_injection(x_1, x_83, x_84, x_8, x_9, x_10, x_11, x_66); +if (lean_obj_tag(x_85) == 0) { -lean_object* x_88; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -if (lean_obj_tag(x_88) == 0) +lean_object* x_86; +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +if (lean_obj_tag(x_86) == 0) { -lean_object* x_89; lean_object* x_90; +lean_object* x_87; lean_object* x_88; lean_free_object(x_48); -x_89 = lean_ctor_get(x_87, 1); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_88 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; +x_27 = x_88; +x_28 = x_87; +goto block_43; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_89 = lean_ctor_get(x_85, 1); lean_inc(x_89); -lean_dec(x_87); -x_90 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; -x_27 = x_90; +lean_dec(x_85); +x_90 = lean_ctor_get(x_86, 0); +lean_inc(x_90); +lean_dec(x_86); +x_91 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_48, 0, x_91); +x_92 = lean_box(0); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_48); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_94, 0, x_93); +x_27 = x_94; x_28 = x_89; goto block_43; } -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_91 = lean_ctor_get(x_87, 1); -lean_inc(x_91); -lean_dec(x_87); -x_92 = lean_ctor_get(x_88, 0); -lean_inc(x_92); -lean_dec(x_88); -x_93 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_48, 0, x_93); -x_94 = lean_box(0); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_48); -lean_ctor_set(x_95, 1, x_94); -x_96 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_96, 0, x_95); -x_27 = x_96; -x_28 = x_91; -goto block_43; -} } else { -lean_object* x_97; lean_object* x_98; +lean_object* x_95; lean_object* x_96; lean_free_object(x_48); -x_97 = lean_ctor_get(x_87, 1); -lean_inc(x_97); -lean_dec(x_87); +x_95 = lean_ctor_get(x_85, 1); +lean_inc(x_95); +lean_dec(x_85); lean_inc(x_2); -x_98 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_98, 0, x_2); -x_27 = x_98; -x_28 = x_97; +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_2); +x_27 = x_96; +x_28 = x_95; goto block_43; } } else { -lean_object* x_99; +lean_object* x_97; lean_free_object(x_48); lean_dec(x_45); lean_inc(x_2); -x_99 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_99, 0, x_2); -x_27 = x_99; +x_97 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_97, 0, x_2); +x_27 = x_97; x_28 = x_66; goto block_43; } @@ -9678,7 +9672,7 @@ goto block_43; } else { -uint8_t x_100; +uint8_t x_98; lean_dec(x_62); lean_free_object(x_48); lean_dec(x_45); @@ -9691,29 +9685,29 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_100 = !lean_is_exclusive(x_64); -if (x_100 == 0) +x_98 = !lean_is_exclusive(x_64); +if (x_98 == 0) { return x_64; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_64, 0); -x_102 = lean_ctor_get(x_64, 1); -lean_inc(x_102); -lean_inc(x_101); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_64, 0); +x_100 = lean_ctor_get(x_64, 1); +lean_inc(x_100); +lean_inc(x_99); lean_dec(x_64); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; +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; } } } else { -uint8_t x_104; +uint8_t x_102; lean_dec(x_56); lean_free_object(x_48); lean_dec(x_45); @@ -9726,47 +9720,47 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_104 = !lean_is_exclusive(x_61); -if (x_104 == 0) +x_102 = !lean_is_exclusive(x_61); +if (x_102 == 0) { return x_61; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_61, 0); -x_106 = lean_ctor_get(x_61, 1); -lean_inc(x_106); -lean_inc(x_105); +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_61, 0); +x_104 = lean_ctor_get(x_61, 1); +lean_inc(x_104); +lean_inc(x_103); lean_dec(x_61); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -return x_107; +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; } } } else { -lean_object* x_108; lean_object* x_109; +lean_object* x_106; lean_object* x_107; lean_dec(x_56); lean_dec(x_55); lean_free_object(x_48); lean_dec(x_45); -x_108 = lean_ctor_get(x_57, 1); -lean_inc(x_108); +x_106 = lean_ctor_get(x_57, 1); +lean_inc(x_106); lean_dec(x_57); lean_inc(x_2); -x_109 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_109, 0, x_2); -x_27 = x_109; -x_28 = x_108; +x_107 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_107, 0, x_2); +x_27 = x_107; +x_28 = x_106; goto block_43; } } else { -uint8_t x_110; +uint8_t x_108; lean_dec(x_56); lean_dec(x_55); lean_free_object(x_48); @@ -9780,248 +9774,246 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_110 = !lean_is_exclusive(x_57); -if (x_110 == 0) +x_108 = !lean_is_exclusive(x_57); +if (x_108 == 0) { return x_57; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_57, 0); -x_112 = lean_ctor_get(x_57, 1); -lean_inc(x_112); -lean_inc(x_111); +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_57, 0); +x_110 = lean_ctor_get(x_57, 1); +lean_inc(x_110); +lean_inc(x_109); lean_dec(x_57); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -return x_113; +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; } } } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_114 = lean_ctor_get(x_48, 0); -lean_inc(x_114); +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_112 = lean_ctor_get(x_48, 0); +lean_inc(x_112); lean_dec(x_48); -x_115 = lean_ctor_get(x_114, 1); -lean_inc(x_115); -lean_dec(x_114); -x_116 = lean_ctor_get(x_47, 1); -lean_inc(x_116); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = lean_ctor_get(x_47, 1); +lean_inc(x_114); lean_dec(x_47); -x_117 = lean_ctor_get(x_115, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_115, 1); -lean_inc(x_118); -lean_dec(x_115); +x_115 = lean_ctor_get(x_113, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_118); -lean_inc(x_117); -x_119 = l_Lean_Meta_isExprDefEq(x_117, x_118, x_8, x_9, x_10, x_11, x_116); -if (lean_obj_tag(x_119) == 0) +lean_inc(x_116); +lean_inc(x_115); +x_117 = l_Lean_Meta_isExprDefEq(x_115, x_116, x_8, x_9, x_10, x_11, x_114); +if (lean_obj_tag(x_117) == 0) { -lean_object* x_120; uint8_t x_121; -x_120 = lean_ctor_get(x_119, 0); +lean_object* x_118; uint8_t x_119; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_unbox(x_118); +lean_dec(x_118); +if (x_119 == 0) +{ +lean_object* x_120; lean_object* x_121; +x_120 = lean_ctor_get(x_117, 1); lean_inc(x_120); -x_121 = lean_unbox(x_120); -lean_dec(x_120); -if (x_121 == 0) +lean_dec(x_117); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_121 = lean_whnf(x_115, x_8, x_9, x_10, x_11, x_120); +if (lean_obj_tag(x_121) == 0) { -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_119, 1); +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_121, 0); lean_inc(x_122); -lean_dec(x_119); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_123 = lean_whnf(x_117, x_8, x_9, x_10, x_11, x_122); -if (lean_obj_tag(x_123) == 0) +x_124 = lean_whnf(x_116, x_8, x_9, x_10, x_11, x_123); +if (lean_obj_tag(x_124) == 0) { -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); +lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_125 = lean_ctor_get(x_124, 0); lean_inc(x_125); -lean_dec(x_123); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_126 = lean_whnf(x_118, x_8, x_9, x_10, x_11, x_125); -if (lean_obj_tag(x_126) == 0) -{ -lean_object* x_127; lean_object* x_128; uint8_t x_129; -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 1); -lean_inc(x_128); -lean_dec(x_126); -x_129 = l_Lean_Expr_isNatLit(x_124); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); lean_dec(x_124); -if (x_129 == 0) +x_127 = l_Lean_Expr_isNatLit(x_122); +lean_dec(x_122); +if (x_127 == 0) { -lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; -lean_dec(x_127); -x_130 = l_Lean_LocalDecl_fvarId(x_45); +lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_125); +x_128 = l_Lean_LocalDecl_fvarId(x_45); lean_dec(x_45); -x_131 = lean_box(0); -x_132 = 1; +x_129 = lean_box(0); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_1); -x_133 = l_Lean_Meta_injection(x_1, x_130, x_131, x_132, x_8, x_9, x_10, x_11, x_128); -if (lean_obj_tag(x_133) == 0) +x_130 = l_Lean_Meta_injection(x_1, x_128, x_129, x_8, x_9, x_10, x_11, x_126); +if (lean_obj_tag(x_130) == 0) { -lean_object* x_134; -x_134 = lean_ctor_get(x_133, 0); +lean_object* x_131; +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +if (lean_obj_tag(x_131) == 0) +{ +lean_object* x_132; lean_object* x_133; +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_133 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; +x_27 = x_133; +x_28 = x_132; +goto block_43; +} +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; +x_134 = lean_ctor_get(x_130, 1); lean_inc(x_134); -if (lean_obj_tag(x_134) == 0) -{ -lean_object* x_135; lean_object* x_136; -x_135 = lean_ctor_get(x_133, 1); +lean_dec(x_130); +x_135 = lean_ctor_get(x_131, 0); lean_inc(x_135); -lean_dec(x_133); -x_136 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; -x_27 = x_136; -x_28 = x_135; -goto block_43; -} -else -{ -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; -x_137 = lean_ctor_get(x_133, 1); -lean_inc(x_137); -lean_dec(x_133); -x_138 = lean_ctor_get(x_134, 0); -lean_inc(x_138); -lean_dec(x_134); -x_139 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_139, 0, x_138); -x_140 = lean_alloc_ctor(1, 1, 0); +lean_dec(x_131); +x_136 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_136, 0, x_135); +x_137 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_137, 0, x_136); +x_138 = lean_box(0); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +x_140 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_140, 0, x_139); -x_141 = lean_box(0); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_143, 0, x_142); -x_27 = x_143; -x_28 = x_137; +x_27 = x_140; +x_28 = x_134; goto block_43; } } else { -lean_object* x_144; lean_object* x_145; -x_144 = lean_ctor_get(x_133, 1); -lean_inc(x_144); -lean_dec(x_133); +lean_object* x_141; lean_object* x_142; +x_141 = lean_ctor_get(x_130, 1); +lean_inc(x_141); +lean_dec(x_130); lean_inc(x_2); -x_145 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_145, 0, x_2); -x_27 = x_145; -x_28 = x_144; +x_142 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_142, 0, x_2); +x_27 = x_142; +x_28 = x_141; goto block_43; } } else { -uint8_t x_146; -x_146 = l_Lean_Expr_isNatLit(x_127); -lean_dec(x_127); -if (x_146 == 0) +uint8_t x_143; +x_143 = l_Lean_Expr_isNatLit(x_125); +lean_dec(x_125); +if (x_143 == 0) { -lean_object* x_147; lean_object* x_148; uint8_t x_149; lean_object* x_150; -x_147 = l_Lean_LocalDecl_fvarId(x_45); +lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_144 = l_Lean_LocalDecl_fvarId(x_45); lean_dec(x_45); -x_148 = lean_box(0); -x_149 = 1; +x_145 = lean_box(0); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_1); -x_150 = l_Lean_Meta_injection(x_1, x_147, x_148, x_149, x_8, x_9, x_10, x_11, x_128); -if (lean_obj_tag(x_150) == 0) +x_146 = l_Lean_Meta_injection(x_1, x_144, x_145, x_8, x_9, x_10, x_11, x_126); +if (lean_obj_tag(x_146) == 0) { -lean_object* x_151; -x_151 = lean_ctor_get(x_150, 0); +lean_object* x_147; +x_147 = lean_ctor_get(x_146, 0); +lean_inc(x_147); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; +x_148 = lean_ctor_get(x_146, 1); +lean_inc(x_148); +lean_dec(x_146); +x_149 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; +x_27 = x_149; +x_28 = x_148; +goto block_43; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_150 = lean_ctor_get(x_146, 1); +lean_inc(x_150); +lean_dec(x_146); +x_151 = lean_ctor_get(x_147, 0); lean_inc(x_151); -if (lean_obj_tag(x_151) == 0) -{ -lean_object* x_152; lean_object* x_153; -x_152 = lean_ctor_get(x_150, 1); -lean_inc(x_152); -lean_dec(x_150); -x_153 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injenctionAny___spec__4___closed__3; -x_27 = x_153; -x_28 = x_152; -goto block_43; -} -else -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_154 = lean_ctor_get(x_150, 1); -lean_inc(x_154); -lean_dec(x_150); -x_155 = lean_ctor_get(x_151, 0); -lean_inc(x_155); -lean_dec(x_151); -x_156 = lean_alloc_ctor(2, 1, 0); +lean_dec(x_147); +x_152 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_152, 0, x_151); +x_153 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_153, 0, x_152); +x_154 = lean_box(0); +x_155 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_155, 0, x_153); +lean_ctor_set(x_155, 1, x_154); +x_156 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_156, 0, x_155); -x_157 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_157, 0, x_156); -x_158 = lean_box(0); -x_159 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -x_160 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_160, 0, x_159); -x_27 = x_160; -x_28 = x_154; +x_27 = x_156; +x_28 = x_150; goto block_43; } } else { -lean_object* x_161; lean_object* x_162; -x_161 = lean_ctor_get(x_150, 1); -lean_inc(x_161); -lean_dec(x_150); +lean_object* x_157; lean_object* x_158; +x_157 = lean_ctor_get(x_146, 1); +lean_inc(x_157); +lean_dec(x_146); lean_inc(x_2); -x_162 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_162, 0, x_2); -x_27 = x_162; -x_28 = x_161; +x_158 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_158, 0, x_2); +x_27 = x_158; +x_28 = x_157; goto block_43; } } else { -lean_object* x_163; +lean_object* x_159; lean_dec(x_45); lean_inc(x_2); -x_163 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_163, 0, x_2); -x_27 = x_163; -x_28 = x_128; +x_159 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_159, 0, x_2); +x_27 = x_159; +x_28 = x_126; goto block_43; } } } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -lean_dec(x_124); +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_122); lean_dec(x_45); lean_dec(x_26); lean_dec(x_25); @@ -10032,16 +10024,52 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_164 = lean_ctor_get(x_126, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_126, 1); -lean_inc(x_165); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_166 = x_126; +x_160 = lean_ctor_get(x_124, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_124, 1); +lean_inc(x_161); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_162 = x_124; } else { - lean_dec_ref(x_126); + lean_dec_ref(x_124); + x_162 = lean_box(0); +} +if (lean_is_scalar(x_162)) { + x_163 = lean_alloc_ctor(1, 2, 0); +} else { + x_163 = x_162; +} +lean_ctor_set(x_163, 0, x_160); +lean_ctor_set(x_163, 1, x_161); +return x_163; +} +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_116); +lean_dec(x_45); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_164 = lean_ctor_get(x_121, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_121, 1); +lean_inc(x_165); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + x_166 = x_121; +} else { + lean_dec_ref(x_121); x_166 = lean_box(0); } if (lean_is_scalar(x_166)) { @@ -10056,62 +10084,26 @@ return x_167; } else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -lean_dec(x_118); +lean_object* x_168; lean_object* x_169; +lean_dec(x_116); +lean_dec(x_115); lean_dec(x_45); -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_168 = lean_ctor_get(x_123, 0); +x_168 = lean_ctor_get(x_117, 1); lean_inc(x_168); -x_169 = lean_ctor_get(x_123, 1); -lean_inc(x_169); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_170 = x_123; -} else { - lean_dec_ref(x_123); - x_170 = lean_box(0); -} -if (lean_is_scalar(x_170)) { - x_171 = lean_alloc_ctor(1, 2, 0); -} else { - x_171 = x_170; -} -lean_ctor_set(x_171, 0, x_168); -lean_ctor_set(x_171, 1, x_169); -return x_171; -} -} -else -{ -lean_object* x_172; lean_object* x_173; -lean_dec(x_118); lean_dec(x_117); -lean_dec(x_45); -x_172 = lean_ctor_get(x_119, 1); -lean_inc(x_172); -lean_dec(x_119); lean_inc(x_2); -x_173 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_173, 0, x_2); -x_27 = x_173; -x_28 = x_172; +x_169 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_169, 0, x_2); +x_27 = x_169; +x_28 = x_168; goto block_43; } } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -lean_dec(x_118); -lean_dec(x_117); +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +lean_dec(x_116); +lean_dec(x_115); lean_dec(x_45); lean_dec(x_26); lean_dec(x_25); @@ -10122,33 +10114,33 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_174 = lean_ctor_get(x_119, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_119, 1); -lean_inc(x_175); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_176 = x_119; +x_170 = lean_ctor_get(x_117, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_117, 1); +lean_inc(x_171); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_172 = x_117; } else { - lean_dec_ref(x_119); - x_176 = lean_box(0); + lean_dec_ref(x_117); + x_172 = lean_box(0); } -if (lean_is_scalar(x_176)) { - x_177 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_172)) { + x_173 = lean_alloc_ctor(1, 2, 0); } else { - x_177 = x_176; + x_173 = x_172; } -lean_ctor_set(x_177, 0, x_174); -lean_ctor_set(x_177, 1, x_175); -return x_177; +lean_ctor_set(x_173, 0, x_170); +lean_ctor_set(x_173, 1, x_171); +return x_173; } } } } else { -uint8_t x_178; +uint8_t x_174; lean_dec(x_45); lean_dec(x_26); lean_dec(x_25); @@ -10159,23 +10151,23 @@ lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_178 = !lean_is_exclusive(x_47); -if (x_178 == 0) +x_174 = !lean_is_exclusive(x_47); +if (x_174 == 0) { return x_47; } else { -lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_179 = lean_ctor_get(x_47, 0); -x_180 = lean_ctor_get(x_47, 1); -lean_inc(x_180); -lean_inc(x_179); +lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_175 = lean_ctor_get(x_47, 0); +x_176 = lean_ctor_get(x_47, 1); +lean_inc(x_176); +lean_inc(x_175); lean_dec(x_47); -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; +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; } } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Injection.c b/stage0/stdlib/Lean/Meta/Tactic/Injection.c index 7c0891c2a8..969a61b3ad 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Injection.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Injection.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Meta.Tactic.Injection -// Imports: Init Lean.Meta.AppBuilder Lean.Meta.Tactic.Clear Lean.Meta.Tactic.Assert Lean.Meta.Tactic.Intro +// Imports: Init Lean.Meta.AppBuilder Lean.Meta.MatchUtil Lean.Meta.Tactic.Clear Lean.Meta.Tactic.Assert Lean.Meta.Tactic.Intro #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,11 +14,14 @@ extern "C" { #endif lean_object* l_Lean_Meta_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_injections_go_match__1(lean_object*); static lean_object* l_Lean_Meta_injectionCore___closed__1; lean_object* l_Lean_Meta_injectionCore_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); +uint8_t l_Lean_Expr_isNatLit(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_getCtorNumPropFields___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* l_Lean_Meta_injections_go_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l_Lean_Meta_injectionCore___lambda__1___closed__6; @@ -30,43 +33,62 @@ lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, le lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_injectionCore___lambda__1___closed__11; +lean_object* l_Lean_Meta_injections___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appFn_x21(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Lean_Meta_injections_go_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_injections_go___closed__2; +lean_object* l_Lean_Meta_injections_go_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); +lean_object* l_Lean_Meta_injections(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_injectionIntro_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_getCtorNumPropFields___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_injections_go___closed__4; +lean_object* l_Lean_Meta_injections_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_Meta_injectionIntro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_injectionIntro(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_intro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__1; +lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1(lean_object*, 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_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Lean_Meta_injections_go_match__2(lean_object*); lean_object* l_Lean_Meta_tryClear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_headBeta(lean_object*); static lean_object* l_Lean_Meta_injectionCore___lambda__1___closed__10; lean_object* l_Lean_Meta_injection_match__1(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_injectionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_clear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_injectionIntro_match__1(lean_object*); -lean_object* l_Lean_Meta_injectionIntro_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_injections_go_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq_match__1___rarg(lean_object*, lean_object*); +lean_object* lean_array_to_list(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_injections_go___closed__3; uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_injectionIntro_go_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; +lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_injectionIntro___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFVar(lean_object*); lean_object* l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_injection___closed__1; +lean_object* l_Lean_Meta_injectionIntro_go_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_injections_go___closed__5; 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_Meta_injectionCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_injectionIntro___closed__1; +static lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__2; lean_object* l_Lean_Meta_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_injection___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_injections_go_match__4(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_getFVarIds(lean_object*); lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq_match__1(lean_object*); lean_object* l_Lean_Meta_injection_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_injectionCore___lambda__1___closed__7; @@ -75,29 +97,34 @@ lean_object* l_Lean_Meta_injectionCore_match__1___rarg(lean_object*, lean_object lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkNoConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getCtorNumPropFields___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_injections_go___closed__1; lean_object* l_Lean_Meta_getCtorNumPropFields___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_injectionCore___lambda__1___closed__3; lean_object* l_Lean_Meta_injectionCore_match__1(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__1; lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq_match__2___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_injections_go_match__3(lean_object*); static lean_object* l_Lean_Meta_injectionCore___lambda__1___closed__5; +lean_object* l_Lean_Meta_injectionIntro_go(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_injectionCore_match__3(lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_injection(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__2; +lean_object* l_Lean_Meta_injection(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_injectionCore___lambda__1___closed__2; lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_injectionIntro_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__3; +lean_object* l_Lean_Meta_injectionIntro_go_match__1(lean_object*); static lean_object* l_Lean_Meta_injectionCore___lambda__1___closed__1; lean_object* l_Lean_Expr_isConstructorApp_x3f(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqOfHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_injectionCore___lambda__1___closed__4; +lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_injectionCore___lambda__1___closed__8; static lean_object* l_Lean_Meta_injectionCore___closed__2; static lean_object* l_Lean_Meta_injectionCore___lambda__1___closed__9; lean_object* l_Lean_Meta_injectionCore_match__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_getCtorNumPropFields___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, lean_object* x_11) { _start: { @@ -1415,7 +1442,98 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Injection_0__Lean_ return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__1() { +lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__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) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = 1; +x_9 = l_Lean_Meta_intro1Core(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_9, 0, x_15); +return x_9; +} +} +else +{ +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; +x_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_9, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_9); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_20 = x_16; +} else { + lean_dec_ref(x_16); + x_20 = lean_box(0); +} +if (lean_is_scalar(x_20)) { + x_21 = lean_alloc_ctor(0, 2, 0); +} else { + x_21 = x_20; +} +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_9); +if (x_23 == 0) +{ +return x_9; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_9, 0); +x_25 = lean_ctor_get(x_9, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_9); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +static lean_object* _init_l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -1423,882 +1541,799 @@ x_1 = lean_mk_string("HEq"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__1; +x_2 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__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) { +static lean_object* _init_l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__3() { _start: { -lean_object* x_8; -lean_inc(x_3); -lean_inc(x_1); -x_8 = l_Lean_Meta_getLocalDecl(x_1, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_8) == 0) +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___boxed), 7, 0); +return x_1; +} +} +lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2(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) { +_start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); +lean_object* x_9; +lean_inc(x_4); +lean_inc(x_1); +x_9 = l_Lean_Meta_getLocalDecl(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_LocalDecl_type(x_9); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_LocalDecl_type(x_10); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_12 = lean_whnf(x_11, x_3, x_4, x_5, x_6, x_10); -if (lean_obj_tag(x_12) == 0) +x_13 = lean_whnf(x_12, x_4, x_5, x_6, x_7, x_11); +if (lean_obj_tag(x_13) == 0) { -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -x_16 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__2; -x_17 = lean_unsigned_to_nat(4u); -x_18 = l_Lean_Expr_isAppOfArity(x_14, x_16, x_17); -if (x_18 == 0) +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +x_17 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__2; +x_18 = lean_unsigned_to_nat(4u); +x_19 = l_Lean_Expr_isAppOfArity(x_15, x_17, x_18); +if (x_19 == 0) { -lean_object* x_19; -lean_dec(x_14); -lean_dec(x_9); +lean_object* x_20; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_1); -lean_ctor_set(x_19, 1, x_2); -lean_ctor_set(x_12, 0, x_19); -return x_12; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_1); +lean_ctor_set(x_20, 1, x_2); +lean_ctor_set(x_13, 0, x_20); +return x_13; } else { -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_free_object(x_12); -x_20 = l_Lean_Expr_appFn_x21(x_14); -x_21 = l_Lean_Expr_appFn_x21(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; +lean_free_object(x_13); +x_21 = l_Lean_Expr_appFn_x21(x_15); x_22 = l_Lean_Expr_appFn_x21(x_21); -x_23 = l_Lean_Expr_appArg_x21(x_22); +x_23 = l_Lean_Expr_appFn_x21(x_22); +x_24 = l_Lean_Expr_appArg_x21(x_23); +lean_dec(x_23); +x_25 = l_Lean_Expr_appArg_x21(x_22); lean_dec(x_22); -x_24 = l_Lean_Expr_appArg_x21(x_21); +x_26 = l_Lean_Expr_appArg_x21(x_21); lean_dec(x_21); -x_25 = l_Lean_Expr_appArg_x21(x_20); -lean_dec(x_20); -x_26 = l_Lean_Expr_appArg_x21(x_14); -lean_dec(x_14); +x_27 = l_Lean_Expr_appArg_x21(x_15); +lean_dec(x_15); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_27 = l_Lean_Meta_isExprDefEq(x_23, x_25, x_3, x_4, x_5, x_6, x_15); -if (lean_obj_tag(x_27) == 0) +x_28 = l_Lean_Meta_isExprDefEq(x_24, x_26, x_4, x_5, x_6, x_7, x_16); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_28; uint8_t x_29; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_unbox(x_28); -lean_dec(x_28); -if (x_29 == 0) -{ -uint8_t x_30; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_30 = !lean_is_exclusive(x_27); +lean_object* x_29; uint8_t x_30; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_unbox(x_29); +lean_dec(x_29); if (x_30 == 0) { -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_27, 0); -lean_dec(x_31); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_1); -lean_ctor_set(x_32, 1, x_2); -lean_ctor_set(x_27, 0, x_32); -return x_27; +uint8_t x_31; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_31 = !lean_is_exclusive(x_28); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_28, 0); +lean_dec(x_32); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_1); +lean_ctor_set(x_33, 1, x_2); +lean_ctor_set(x_28, 0, x_33); +return x_28; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_27, 1); -lean_inc(x_33); -lean_dec(x_27); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_1); -lean_ctor_set(x_34, 1, x_2); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_28, 1); +lean_inc(x_34); +lean_dec(x_28); x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -return x_35; +lean_ctor_set(x_35, 0, x_1); +lean_ctor_set(x_35, 1, x_2); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +return x_36; } } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_27, 1); -lean_inc(x_36); -lean_dec(x_27); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_28, 1); +lean_inc(x_37); +lean_dec(x_28); lean_inc(x_1); -x_37 = l_Lean_mkFVar(x_1); +x_38 = l_Lean_mkFVar(x_1); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_38 = l_Lean_Meta_mkEqOfHEq(x_37, x_3, x_4, x_5, x_6, x_36); -if (lean_obj_tag(x_38) == 0) +x_39 = l_Lean_Meta_mkEqOfHEq(x_38, x_4, x_5, x_6, x_7, x_37); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -lean_dec(x_38); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_41 = l_Lean_Meta_mkEq(x_24, x_26, x_3, x_4, x_5, x_6, x_40); -if (lean_obj_tag(x_41) == 0) +x_42 = l_Lean_Meta_mkEq(x_25, x_27, x_4, x_5, x_6, x_7, x_41); +if (lean_obj_tag(x_42) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_42, 0); lean_inc(x_43); -lean_dec(x_41); -x_44 = l_Lean_LocalDecl_userName(x_9); -lean_dec(x_9); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_LocalDecl_userName(x_10); +lean_dec(x_10); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_45 = l_Lean_Meta_assert(x_2, x_44, x_42, x_39, x_3, x_4, x_5, x_6, x_43); -if (lean_obj_tag(x_45) == 0) +x_46 = l_Lean_Meta_assert(x_2, x_45, x_43, x_40, x_4, x_5, x_6, x_7, x_44); +if (lean_obj_tag(x_46) == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); -lean_dec(x_45); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__3; +if (x_3 == 0) +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_1); +x_50 = lean_box(0); +x_51 = lean_apply_7(x_49, x_47, x_50, x_4, x_5, x_6, x_7, x_48); +return x_51; +} +else +{ +lean_object* x_52; +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_48 = l_Lean_Meta_clear(x_46, x_1, x_3, x_4, x_5, x_6, x_47); -if (lean_obj_tag(x_48) == 0) -{ -lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = 1; -x_52 = l_Lean_Meta_intro1Core(x_49, x_51, x_3, x_4, x_5, x_6, x_50); +x_52 = l_Lean_Meta_tryClear(x_47, x_1, x_4, x_5, x_6, x_7, x_48); if (lean_obj_tag(x_52) == 0) { -uint8_t x_53; -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = lean_box(0); +x_56 = lean_apply_7(x_49, x_53, x_55, x_4, x_5, x_6, x_7, x_54); +return x_56; +} +else { -lean_object* x_54; uint8_t x_55; -x_54 = lean_ctor_get(x_52, 0); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) +uint8_t x_57; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_57 = !lean_is_exclusive(x_52); +if (x_57 == 0) { return x_52; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_54, 0); -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_54); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_52, 0, x_58); -return x_52; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_59 = lean_ctor_get(x_52, 0); -x_60 = lean_ctor_get(x_52, 1); -lean_inc(x_60); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_52, 0); +x_59 = lean_ctor_get(x_52, 1); lean_inc(x_59); +lean_inc(x_58); lean_dec(x_52); -x_61 = lean_ctor_get(x_59, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_59, 1); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_61 = !lean_is_exclusive(x_46); +if (x_61 == 0) +{ +return x_46; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_46, 0); +x_63 = lean_ctor_get(x_46, 1); +lean_inc(x_63); lean_inc(x_62); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_63 = x_59; -} else { - lean_dec_ref(x_59); - x_63 = lean_box(0); +lean_dec(x_46); +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; } -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(0, 2, 0); -} else { - x_64 = x_63; -} -lean_ctor_set(x_64, 0, x_61); -lean_ctor_set(x_64, 1, x_62); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_60); -return x_65; } } else { -uint8_t x_66; -x_66 = !lean_is_exclusive(x_52); -if (x_66 == 0) +uint8_t x_65; +lean_dec(x_40); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_65 = !lean_is_exclusive(x_42); +if (x_65 == 0) { -return x_52; +return x_42; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_52, 0); -x_68 = lean_ctor_get(x_52, 1); -lean_inc(x_68); +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_42, 0); +x_67 = lean_ctor_get(x_42, 1); lean_inc(x_67); -lean_dec(x_52); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; +lean_inc(x_66); +lean_dec(x_42); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } else { -uint8_t x_70; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_70 = !lean_is_exclusive(x_48); -if (x_70 == 0) -{ -return x_48; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_48, 0); -x_72 = lean_ctor_get(x_48, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_48); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; -} -} -} -else -{ -uint8_t x_74; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_74 = !lean_is_exclusive(x_45); -if (x_74 == 0) -{ -return x_45; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_45, 0); -x_76 = lean_ctor_get(x_45, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_45); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; -} -} -} -else -{ -uint8_t x_78; -lean_dec(x_39); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_78 = !lean_is_exclusive(x_41); -if (x_78 == 0) -{ -return x_41; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_41, 0); -x_80 = lean_ctor_get(x_41, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_41); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -return x_81; -} -} -} -else -{ -uint8_t x_82; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_82 = !lean_is_exclusive(x_38); -if (x_82 == 0) -{ -return x_38; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_38, 0); -x_84 = lean_ctor_get(x_38, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_38); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; -} -} -} -} -else -{ -uint8_t x_86; -lean_dec(x_26); -lean_dec(x_24); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_86 = !lean_is_exclusive(x_27); -if (x_86 == 0) -{ -return x_27; -} -else -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_27, 0); -x_88 = lean_ctor_get(x_27, 1); -lean_inc(x_88); -lean_inc(x_87); +uint8_t x_69; lean_dec(x_27); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; +lean_dec(x_25); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_69 = !lean_is_exclusive(x_39); +if (x_69 == 0) +{ +return x_39; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_39, 0); +x_71 = lean_ctor_get(x_39, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_39); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_90 = lean_ctor_get(x_12, 0); -x_91 = lean_ctor_get(x_12, 1); -lean_inc(x_91); -lean_inc(x_90); -lean_dec(x_12); -x_92 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__2; -x_93 = lean_unsigned_to_nat(4u); -x_94 = l_Lean_Expr_isAppOfArity(x_90, x_92, x_93); -if (x_94 == 0) -{ -lean_object* x_95; lean_object* x_96; -lean_dec(x_90); -lean_dec(x_9); +uint8_t x_73; +lean_dec(x_27); +lean_dec(x_25); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_1); -lean_ctor_set(x_95, 1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_73 = !lean_is_exclusive(x_28); +if (x_73 == 0) +{ +return x_28; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_28, 0); +x_75 = lean_ctor_get(x_28, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_28); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +} +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_77 = lean_ctor_get(x_13, 0); +x_78 = lean_ctor_get(x_13, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_13); +x_79 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__2; +x_80 = lean_unsigned_to_nat(4u); +x_81 = l_Lean_Expr_isAppOfArity(x_77, x_79, x_80); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; +lean_dec(x_77); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_1); +lean_ctor_set(x_82, 1, x_2); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_78); +return x_83; +} +else +{ +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; lean_object* x_91; +x_84 = l_Lean_Expr_appFn_x21(x_77); +x_85 = l_Lean_Expr_appFn_x21(x_84); +x_86 = l_Lean_Expr_appFn_x21(x_85); +x_87 = l_Lean_Expr_appArg_x21(x_86); +lean_dec(x_86); +x_88 = l_Lean_Expr_appArg_x21(x_85); +lean_dec(x_85); +x_89 = l_Lean_Expr_appArg_x21(x_84); +lean_dec(x_84); +x_90 = l_Lean_Expr_appArg_x21(x_77); +lean_dec(x_77); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_91 = l_Lean_Meta_isExprDefEq(x_87, x_89, x_4, x_5, x_6, x_7, x_78); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; uint8_t x_93; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_unbox(x_92); +lean_dec(x_92); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_dec(x_90); +lean_dec(x_88); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_94 = lean_ctor_get(x_91, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_95 = x_91; +} else { + lean_dec_ref(x_91); + x_95 = lean_box(0); +} x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_91); -return x_96; +lean_ctor_set(x_96, 0, x_1); +lean_ctor_set(x_96, 1, x_2); +if (lean_is_scalar(x_95)) { + x_97 = lean_alloc_ctor(0, 2, 0); +} else { + x_97 = x_95; +} +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_94); +return x_97; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_97 = l_Lean_Expr_appFn_x21(x_90); -x_98 = l_Lean_Expr_appFn_x21(x_97); -x_99 = l_Lean_Expr_appFn_x21(x_98); -x_100 = l_Lean_Expr_appArg_x21(x_99); -lean_dec(x_99); -x_101 = l_Lean_Expr_appArg_x21(x_98); -lean_dec(x_98); -x_102 = l_Lean_Expr_appArg_x21(x_97); -lean_dec(x_97); -x_103 = l_Lean_Expr_appArg_x21(x_90); -lean_dec(x_90); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_104 = l_Lean_Meta_isExprDefEq(x_100, x_102, x_3, x_4, x_5, x_6, x_91); -if (lean_obj_tag(x_104) == 0) -{ -lean_object* x_105; uint8_t x_106; -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_unbox(x_105); -lean_dec(x_105); -if (x_106 == 0) -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -lean_dec(x_103); -lean_dec(x_101); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_107 = lean_ctor_get(x_104, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - x_108 = x_104; -} else { - lean_dec_ref(x_104); - x_108 = lean_box(0); -} -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_1); -lean_ctor_set(x_109, 1, x_2); -if (lean_is_scalar(x_108)) { - x_110 = lean_alloc_ctor(0, 2, 0); -} else { - x_110 = x_108; -} -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_107); -return x_110; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_104, 1); -lean_inc(x_111); -lean_dec(x_104); +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_91, 1); +lean_inc(x_98); +lean_dec(x_91); lean_inc(x_1); -x_112 = l_Lean_mkFVar(x_1); +x_99 = l_Lean_mkFVar(x_1); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_113 = l_Lean_Meta_mkEqOfHEq(x_112, x_3, x_4, x_5, x_6, x_111); +x_100 = l_Lean_Meta_mkEqOfHEq(x_99, x_4, x_5, x_6, x_7, x_98); +if (lean_obj_tag(x_100) == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_103 = l_Lean_Meta_mkEq(x_88, x_90, x_4, x_5, x_6, x_7, x_102); +if (lean_obj_tag(x_103) == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_103, 1); +lean_inc(x_105); +lean_dec(x_103); +x_106 = l_Lean_LocalDecl_userName(x_10); +lean_dec(x_10); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_107 = l_Lean_Meta_assert(x_2, x_106, x_104, x_101, x_4, x_5, x_6, x_7, x_105); +if (lean_obj_tag(x_107) == 0) +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_107, 1); +lean_inc(x_109); +lean_dec(x_107); +x_110 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__3; +if (x_3 == 0) +{ +lean_object* x_111; lean_object* x_112; +lean_dec(x_1); +x_111 = lean_box(0); +x_112 = lean_apply_7(x_110, x_108, x_111, x_4, x_5, x_6, x_7, x_109); +return x_112; +} +else +{ +lean_object* x_113; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_113 = l_Lean_Meta_tryClear(x_108, x_1, x_4, x_5, x_6, x_7, x_109); if (lean_obj_tag(x_113) == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; x_114 = lean_ctor_get(x_113, 0); lean_inc(x_114); x_115 = lean_ctor_get(x_113, 1); lean_inc(x_115); lean_dec(x_113); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_116 = l_Lean_Meta_mkEq(x_101, x_103, x_3, x_4, x_5, x_6, x_115); -if (lean_obj_tag(x_116) == 0) +x_116 = lean_box(0); +x_117 = lean_apply_7(x_110, x_114, x_116, x_4, x_5, x_6, x_7, x_115); +return x_117; +} +else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_118 = lean_ctor_get(x_113, 0); lean_inc(x_118); -lean_dec(x_116); -x_119 = l_Lean_LocalDecl_userName(x_9); -lean_dec(x_9); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_120 = l_Lean_Meta_assert(x_2, x_119, x_117, x_114, x_3, x_4, x_5, x_6, x_118); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -lean_dec(x_120); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_123 = l_Lean_Meta_clear(x_121, x_1, x_3, x_4, x_5, x_6, x_122); -if (lean_obj_tag(x_123) == 0) -{ -lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = 1; -x_127 = l_Lean_Meta_intro1Core(x_124, x_126, x_3, x_4, x_5, x_6, x_125); -if (lean_obj_tag(x_127) == 0) -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_130 = x_127; -} else { - lean_dec_ref(x_127); - x_130 = lean_box(0); -} -x_131 = lean_ctor_get(x_128, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_128, 1); -lean_inc(x_132); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_133 = x_128; -} else { - lean_dec_ref(x_128); - x_133 = lean_box(0); -} -if (lean_is_scalar(x_133)) { - x_134 = lean_alloc_ctor(0, 2, 0); -} else { - x_134 = x_133; -} -lean_ctor_set(x_134, 0, x_131); -lean_ctor_set(x_134, 1, x_132); -if (lean_is_scalar(x_130)) { - x_135 = lean_alloc_ctor(0, 2, 0); -} else { - x_135 = x_130; -} -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_129); -return x_135; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_136 = lean_ctor_get(x_127, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_127, 1); -lean_inc(x_137); -if (lean_is_exclusive(x_127)) { - lean_ctor_release(x_127, 0); - lean_ctor_release(x_127, 1); - x_138 = x_127; -} else { - lean_dec_ref(x_127); - x_138 = lean_box(0); -} -if (lean_is_scalar(x_138)) { - x_139 = lean_alloc_ctor(1, 2, 0); -} else { - x_139 = x_138; -} -lean_ctor_set(x_139, 0, x_136); -lean_ctor_set(x_139, 1, x_137); -return x_139; -} -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_140 = lean_ctor_get(x_123, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_123, 1); -lean_inc(x_141); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_142 = x_123; -} else { - lean_dec_ref(x_123); - x_142 = lean_box(0); -} -if (lean_is_scalar(x_142)) { - x_143 = lean_alloc_ctor(1, 2, 0); -} else { - x_143 = x_142; -} -lean_ctor_set(x_143, 0, x_140); -lean_ctor_set(x_143, 1, x_141); -return x_143; -} -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_144 = lean_ctor_get(x_120, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_120, 1); -lean_inc(x_145); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - x_146 = x_120; -} else { - lean_dec_ref(x_120); - x_146 = lean_box(0); -} -if (lean_is_scalar(x_146)) { - x_147 = lean_alloc_ctor(1, 2, 0); -} else { - x_147 = x_146; -} -lean_ctor_set(x_147, 0, x_144); -lean_ctor_set(x_147, 1, x_145); -return x_147; -} -} -else -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -lean_dec(x_114); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_148 = lean_ctor_get(x_116, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_116, 1); -lean_inc(x_149); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_150 = x_116; -} else { - lean_dec_ref(x_116); - x_150 = lean_box(0); -} -if (lean_is_scalar(x_150)) { - x_151 = lean_alloc_ctor(1, 2, 0); -} else { - x_151 = x_150; -} -lean_ctor_set(x_151, 0, x_148); -lean_ctor_set(x_151, 1, x_149); -return x_151; -} -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -lean_dec(x_103); -lean_dec(x_101); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_152 = lean_ctor_get(x_113, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_113, 1); -lean_inc(x_153); +x_119 = lean_ctor_get(x_113, 1); +lean_inc(x_119); if (lean_is_exclusive(x_113)) { lean_ctor_release(x_113, 0); lean_ctor_release(x_113, 1); - x_154 = x_113; + x_120 = x_113; } else { lean_dec_ref(x_113); - x_154 = lean_box(0); + x_120 = lean_box(0); } -if (lean_is_scalar(x_154)) { - x_155 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(1, 2, 0); } else { - x_155 = x_154; + x_121 = x_120; } -lean_ctor_set(x_155, 0, x_152); -lean_ctor_set(x_155, 1, x_153); -return x_155; +lean_ctor_set(x_121, 0, x_118); +lean_ctor_set(x_121, 1, x_119); +return x_121; } } } else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -lean_dec(x_103); +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_122 = lean_ctor_get(x_107, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_107, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_107)) { + lean_ctor_release(x_107, 0); + lean_ctor_release(x_107, 1); + x_124 = x_107; +} else { + lean_dec_ref(x_107); + x_124 = lean_box(0); +} +if (lean_is_scalar(x_124)) { + x_125 = lean_alloc_ctor(1, 2, 0); +} else { + x_125 = x_124; +} +lean_ctor_set(x_125, 0, x_122); +lean_ctor_set(x_125, 1, x_123); +return x_125; +} +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_dec(x_101); -lean_dec(x_9); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_156 = lean_ctor_get(x_104, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_104, 1); -lean_inc(x_157); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - lean_ctor_release(x_104, 1); - x_158 = x_104; +x_126 = lean_ctor_get(x_103, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_103, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + lean_ctor_release(x_103, 1); + x_128 = x_103; } else { - lean_dec_ref(x_104); - x_158 = lean_box(0); + lean_dec_ref(x_103); + x_128 = lean_box(0); } -if (lean_is_scalar(x_158)) { - x_159 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_128)) { + x_129 = lean_alloc_ctor(1, 2, 0); } else { - x_159 = x_158; -} -lean_ctor_set(x_159, 0, x_156); -lean_ctor_set(x_159, 1, x_157); -return x_159; -} + x_129 = x_128; } +lean_ctor_set(x_129, 0, x_126); +lean_ctor_set(x_129, 1, x_127); +return x_129; } } else { -uint8_t x_160; -lean_dec(x_9); +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_dec(x_90); +lean_dec(x_88); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_160 = !lean_is_exclusive(x_12); -if (x_160 == 0) -{ -return x_12; +x_130 = lean_ctor_get(x_100, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_100, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_132 = x_100; +} else { + lean_dec_ref(x_100); + x_132 = lean_box(0); } -else -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_161 = lean_ctor_get(x_12, 0); -x_162 = lean_ctor_get(x_12, 1); -lean_inc(x_162); -lean_inc(x_161); -lean_dec(x_12); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -return x_163; +if (lean_is_scalar(x_132)) { + x_133 = lean_alloc_ctor(1, 2, 0); +} else { + x_133 = x_132; +} +lean_ctor_set(x_133, 0, x_130); +lean_ctor_set(x_133, 1, x_131); +return x_133; } } } else { -uint8_t x_164; +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +lean_dec(x_90); +lean_dec(x_88); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_164 = !lean_is_exclusive(x_8); -if (x_164 == 0) -{ -return x_8; +x_134 = lean_ctor_get(x_91, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_91, 1); +lean_inc(x_135); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_136 = x_91; +} else { + lean_dec_ref(x_91); + x_136 = lean_box(0); +} +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(1, 2, 0); +} else { + x_137 = x_136; +} +lean_ctor_set(x_137, 0, x_134); +lean_ctor_set(x_137, 1, x_135); +return x_137; +} +} +} } else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_165 = lean_ctor_get(x_8, 0); -x_166 = lean_ctor_get(x_8, 1); -lean_inc(x_166); -lean_inc(x_165); -lean_dec(x_8); -x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_165); -lean_ctor_set(x_167, 1, x_166); -return x_167; -} -} -} -} -lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq(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) { -_start: +uint8_t x_138; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_138 = !lean_is_exclusive(x_13); +if (x_138 == 0) +{ +return x_13; +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_13, 0); +x_140 = lean_ctor_get(x_13, 1); +lean_inc(x_140); +lean_inc(x_139); +lean_dec(x_13); +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_140); +return x_141; +} +} +} +else +{ +uint8_t x_142; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_142 = !lean_is_exclusive(x_9); +if (x_142 == 0) { -lean_object* x_8; lean_object* x_9; -lean_inc(x_1); -x_8 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1), 7, 2); -lean_closure_set(x_8, 0, x_2); -lean_closure_set(x_8, 1, x_1); -x_9 = l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_9, 0); +x_144 = lean_ctor_get(x_9, 1); +lean_inc(x_144); +lean_inc(x_143); +lean_dec(x_9); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +return x_145; } -lean_object* l_Lean_Meta_injectionIntro_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, lean_object* x_7) { +} +} +} +lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq(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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_box(x_3); +lean_inc(x_1); +x_10 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___boxed), 8, 3); +lean_closure_set(x_10, 0, x_2); +lean_closure_set(x_10, 1, x_1); +lean_closure_set(x_10, 2, x_9); +x_11 = l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(x_1, x_10, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___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) { +_start: +{ +lean_object* x_8; +x_8 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} +lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___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) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_3); +lean_dec(x_3); +x_10 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +lean_object* l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___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) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_3); +lean_dec(x_3); +x_10 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +lean_object* l_Lean_Meta_injectionIntro_go_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, lean_object* x_7) { _start: { lean_object* x_8; uint8_t x_9; @@ -2340,274 +2375,312 @@ return x_16; } } } -lean_object* l_Lean_Meta_injectionIntro_match__1(lean_object* x_1) { +lean_object* l_Lean_Meta_injectionIntro_go_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_injectionIntro_match__1___rarg___boxed), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_injectionIntro_go_match__1___rarg___boxed), 7, 0); return x_2; } } -lean_object* l_Lean_Meta_injectionIntro_match__1___rarg___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* l_Lean_Meta_injectionIntro_go_match__1___rarg___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) { _start: { lean_object* x_8; -x_8 = l_Lean_Meta_injectionIntro_match__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_Meta_injectionIntro_go_match__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_1); return x_8; } } -lean_object* l_Lean_Meta_injectionIntro(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* l_Lean_Meta_injectionIntro_go(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) { _start: { -lean_object* x_10; uint8_t x_11; -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_nat_dec_eq(x_1, x_10); -if (x_11 == 0) +lean_object* x_11; uint8_t x_12; +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_eq(x_2, x_11); +if (x_12 == 0) { -lean_object* x_12; lean_object* x_13; -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_sub(x_1, x_12); -lean_dec(x_1); -if (lean_obj_tag(x_4) == 0) +lean_object* x_13; lean_object* x_14; +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_sub(x_2, x_13); +lean_dec(x_2); +if (lean_obj_tag(x_5) == 0) { -uint8_t x_14; lean_object* x_15; -x_14 = 0; +uint8_t x_15; lean_object* x_16; +x_15 = 0; +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_15 = l_Lean_Meta_intro1Core(x_2, x_14, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_15) == 0) +x_16 = l_Lean_Meta_intro1Core(x_3, x_15, x_6, x_7, x_8, x_9, x_10); +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 = lean_ctor_get(x_16, 0); +x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); lean_dec(x_16); +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_20 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq(x_19, x_18, x_5, x_6, x_7, x_8, x_17); -if (lean_obj_tag(x_20) == 0) +x_21 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq(x_20, x_19, x_1, x_6, x_7, x_8, x_9, 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; lean_object* x_26; -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; lean_object* x_27; +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_inc(x_24); lean_dec(x_21); -x_25 = lean_array_push(x_3, x_23); -x_26 = lean_box(0); -x_1 = x_13; -x_2 = x_24; +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_dec(x_22); +x_26 = lean_array_push(x_4, x_24); +x_27 = lean_box(0); +x_2 = x_14; x_3 = x_25; x_4 = x_26; -x_9 = x_22; +x_5 = x_27; +x_10 = x_23; goto _start; } else { -uint8_t x_28; -lean_dec(x_13); +uint8_t x_29; +lean_dec(x_14); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_28 = !lean_is_exclusive(x_20); -if (x_28 == 0) -{ -return x_20; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_20, 0); -x_30 = lean_ctor_get(x_20, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_20); -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; -} -} -} -else -{ -uint8_t x_32; -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_32 = !lean_is_exclusive(x_15); -if (x_32 == 0) -{ -return x_15; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_15, 0); -x_34 = lean_ctor_get(x_15, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_15); -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 -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_4, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_4, 1); -lean_inc(x_37); lean_dec(x_4); +x_29 = !lean_is_exclusive(x_21); +if (x_29 == 0) +{ +return x_21; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_21, 0); +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_21); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +uint8_t x_33; +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_33 = !lean_is_exclusive(x_16); +if (x_33 == 0) +{ +return x_16; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_16, 0); +x_35 = lean_ctor_get(x_16, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_16); +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 +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_5, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_5, 1); +lean_inc(x_38); +lean_dec(x_5); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_38 = l_Lean_Meta_intro(x_2, x_36, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_38) == 0) +x_39 = l_Lean_Meta_intro(x_3, x_37, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_ctor_get(x_39, 0); +x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); -x_42 = lean_ctor_get(x_39, 1); -lean_inc(x_42); lean_dec(x_39); +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +lean_dec(x_40); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_43 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq(x_42, x_41, x_5, x_6, x_7, x_8, x_40); -if (lean_obj_tag(x_43) == 0) +x_44 = l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq(x_43, x_42, x_1, x_6, x_7, x_8, x_9, x_41); +if (lean_obj_tag(x_44) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_ctor_get(x_44, 0); +x_46 = lean_ctor_get(x_44, 1); lean_inc(x_46); -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); lean_dec(x_44); -x_48 = lean_array_push(x_3, x_46); -x_1 = x_13; -x_2 = x_47; +x_47 = lean_ctor_get(x_45, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_array_push(x_4, x_47); +x_2 = x_14; x_3 = x_48; -x_4 = x_37; -x_9 = x_45; +x_4 = x_49; +x_5 = x_38; +x_10 = x_46; goto _start; } else { -uint8_t x_50; -lean_dec(x_37); -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_50 = !lean_is_exclusive(x_43); -if (x_50 == 0) -{ -return x_43; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_43, 0); -x_52 = lean_ctor_get(x_43, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_43); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -} -else -{ -uint8_t x_54; -lean_dec(x_37); -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_54 = !lean_is_exclusive(x_38); -if (x_54 == 0) -{ -return x_38; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_38, 0); -x_56 = lean_ctor_get(x_38, 1); -lean_inc(x_56); -lean_inc(x_55); +uint8_t x_51; lean_dec(x_38); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_51 = !lean_is_exclusive(x_44); +if (x_51 == 0) +{ +return x_44; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_44, 0); +x_53 = lean_ctor_get(x_44, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_44); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_38); +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_55 = !lean_is_exclusive(x_39); +if (x_55 == 0) +{ +return x_39; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_39, 0); +x_57 = lean_ctor_get(x_39, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_39); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } } else { -lean_object* x_58; lean_object* x_59; +lean_object* x_59; lean_object* x_60; +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_58 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_58, 0, x_2); -lean_ctor_set(x_58, 1, x_3); -lean_ctor_set(x_58, 2, x_4); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_9); -return x_59; +lean_dec(x_2); +x_59 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_59, 0, x_3); +lean_ctor_set(x_59, 1, x_4); +lean_ctor_set(x_59, 2, x_5); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_10); +return x_60; } } } +lean_object* l_Lean_Meta_injectionIntro_go___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: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_1); +lean_dec(x_1); +x_12 = l_Lean_Meta_injectionIntro_go(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +static lean_object* _init_l_Lean_Meta_injectionIntro___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_injectionIntro(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) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_Lean_Meta_injectionIntro___closed__1; +x_11 = l_Lean_Meta_injectionIntro_go(x_4, x_2, x_1, x_10, x_3, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +lean_object* l_Lean_Meta_injectionIntro___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) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_4); +lean_dec(x_4); +x_11 = l_Lean_Meta_injectionIntro(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} lean_object* l_Lean_Meta_injection_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2641,117 +2714,849 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_injection_match__1___rarg), 3, 0); return x_2; } } -static lean_object* _init_l_Lean_Meta_injection___closed__1() { +lean_object* l_Lean_Meta_injection(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) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_9 = l_Lean_Meta_injectionCore(x_1, x_2, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_9, 0); +lean_dec(x_12); +x_13 = lean_box(0); +lean_ctor_set(x_9, 0, x_13); +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_dec(x_9); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_9, 1); +lean_inc(x_17); +lean_dec(x_9); +x_18 = lean_ctor_get(x_10, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_10, 1); +lean_inc(x_19); +lean_dec(x_10); +x_20 = 1; +x_21 = l_Lean_Meta_injectionIntro(x_18, x_19, x_3, x_20, x_4, x_5, x_6, x_7, x_17); +return x_21; +} +} +else +{ +uint8_t x_22; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_22 = !lean_is_exclusive(x_9); +if (x_22 == 0) +{ +return x_9; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_9, 0); +x_24 = lean_ctor_get(x_9, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_9); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +lean_object* l_Lean_Meta_injections_go_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_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_apply_3(x_3, x_6, x_7, x_8); +return x_9; +} +} +} +lean_object* l_Lean_Meta_injections_go_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_injections_go_match__1___rarg), 3, 0); return x_2; } } -lean_object* l_Lean_Meta_injection(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* l_Lean_Meta_injections_go_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_10; +if (lean_obj_tag(x_1) == 0) +{ +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_8; lean_object* x_9; +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_apply_2(x_3, x_7, x_8); +return x_9; +} +} +} +lean_object* l_Lean_Meta_injections_go_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_injections_go_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_injections_go_match__3___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_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +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_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_apply_3(x_2, x_7, x_8, x_9); +return x_10; +} +} +} +lean_object* l_Lean_Meta_injections_go_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_injections_go_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_injections_go_match__4___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: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_eq(x_1, x_7); +if (x_8 == 0) +{ +lean_dec(x_4); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_9; +lean_dec(x_6); +x_9 = lean_apply_2(x_5, x_1, x_3); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_5); +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_dec(x_2); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_sub(x_1, x_12); +lean_dec(x_1); +x_14 = lean_apply_4(x_6, x_13, x_10, x_11, x_3); +return x_14; +} +} +else +{ +lean_object* x_15; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_15 = lean_apply_2(x_4, x_2, x_3); +return x_15; +} +} +} +lean_object* l_Lean_Meta_injections_go_match__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_injections_go_match__4___rarg), 6, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_injections_go___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("injections"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_injections_go___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_injections_go___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_injections_go___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("recursion depth exceeded"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_injections_go___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_injections_go___closed__3; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_injections_go___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_injections_go___closed__4; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_injections_go(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) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_eq(x_2, x_10); +if (x_11 == 0) +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_4); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_9); +return x_13; +} +else +{ +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_ctor_get(x_3, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_3, 1); +lean_inc(x_15); +lean_dec(x_3); +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_sub(x_2, x_16); +lean_dec(x_2); +x_18 = lean_nat_add(x_17, x_16); +lean_inc(x_5); +lean_inc(x_14); +x_19 = l_Lean_Meta_getLocalDecl(x_14, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_19) == 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 = l_Lean_LocalDecl_type(x_20); +lean_dec(x_20); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_10 = l_Lean_Meta_injectionCore(x_1, x_2, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_10) == 0) +x_23 = l_Lean_Meta_matchEq_x3f(x_22, x_5, x_6, x_7, x_8, x_21); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_11; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_12 = !lean_is_exclusive(x_10); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_10, 0); -lean_dec(x_13); -x_14 = lean_box(0); -lean_ctor_set(x_10, 0, x_14); -return x_10; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_10, 1); -lean_inc(x_15); -lean_dec(x_10); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_10, 1); -lean_inc(x_18); -lean_dec(x_10); -x_19 = lean_ctor_get(x_11, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_11, 1); -lean_inc(x_20); -lean_dec(x_11); -x_21 = l_Lean_Meta_injection___closed__1; -x_22 = l_Lean_Meta_injectionIntro(x_20, x_19, x_21, x_3, x_5, x_6, x_7, x_8, x_18); -return x_22; -} -} -else -{ -uint8_t x_23; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_23 = !lean_is_exclusive(x_10); -if (x_23 == 0) -{ -return x_10; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_10, 0); -x_25 = lean_ctor_get(x_10, 1); -lean_inc(x_25); +lean_object* x_24; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_10); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; +lean_dec(x_17); +lean_dec(x_14); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_2 = x_18; +x_3 = x_15; +x_9 = x_25; +goto _start; +} +else +{ +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_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_dec(x_23); +x_30 = lean_ctor_get(x_28, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_dec(x_28); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_32 = lean_whnf(x_30, x_5, x_6, x_7, x_8, x_29); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_35 = lean_whnf(x_31, x_5, x_6, x_7, x_8, x_34); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_80; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_80 = l_Lean_Expr_isNatLit(x_33); +lean_dec(x_33); +if (x_80 == 0) +{ +lean_object* x_81; +lean_dec(x_36); +x_81 = lean_box(0); +x_38 = x_81; +goto block_79; +} +else +{ +uint8_t x_82; +x_82 = l_Lean_Expr_isNatLit(x_36); +lean_dec(x_36); +if (x_82 == 0) +{ +lean_object* x_83; +x_83 = lean_box(0); +x_38 = x_83; +goto block_79; +} +else +{ +lean_dec(x_17); +lean_dec(x_14); +x_2 = x_18; +x_3 = x_15; +x_9 = x_37; +goto _start; +} +} +block_79: +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_38); +x_39 = lean_box(0); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_40 = l_Lean_Meta_injection(x_4, x_14, x_39, x_5, x_6, x_7, x_8, x_37); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_40, 0); +lean_dec(x_43); +x_44 = lean_box(0); +lean_ctor_set(x_40, 0, x_44); +return x_40; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_40, 1); +lean_inc(x_45); +lean_dec(x_40); +x_46 = lean_box(0); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +return x_47; +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_48 = lean_ctor_get(x_40, 1); +lean_inc(x_48); +lean_dec(x_40); +x_49 = lean_ctor_get(x_41, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_41, 1); +lean_inc(x_50); +lean_dec(x_41); +x_51 = lean_array_to_list(lean_box(0), x_50); +lean_inc(x_15); +x_52 = l_List_appendTR___rarg(x_51, x_15); +lean_inc(x_49); +lean_inc(x_1); +x_53 = lean_alloc_closure((void*)(l_Lean_Meta_injections_go), 9, 4); +lean_closure_set(x_53, 0, x_1); +lean_closure_set(x_53, 1, x_17); +lean_closure_set(x_53, 2, x_52); +lean_closure_set(x_53, 3, x_49); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_54 = l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(x_49, x_53, x_5, x_6, x_7, x_8, x_48); +if (lean_obj_tag(x_54) == 0) +{ +uint8_t x_55; +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +return x_54; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_54, 0); +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_54); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_54, 1); +lean_inc(x_59); +lean_dec(x_54); +x_60 = l_Lean_Meta_injections_go(x_1, x_18, x_15, x_4, x_5, x_6, x_7, x_8, x_59); +if (lean_obj_tag(x_60) == 0) +{ +uint8_t x_61; +x_61 = !lean_is_exclusive(x_60); +if (x_61 == 0) +{ +return x_60; +} +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_inc(x_63); +lean_inc(x_62); +lean_dec(x_60); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +else +{ +uint8_t x_65; +x_65 = !lean_is_exclusive(x_60); +if (x_65 == 0) +{ +return x_60; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_60, 0); +x_67 = lean_ctor_get(x_60, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_60); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; } } } } -lean_object* l_Lean_Meta_injection___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) { +} +else +{ +lean_object* x_69; lean_object* x_70; +lean_dec(x_17); +x_69 = lean_ctor_get(x_40, 1); +lean_inc(x_69); +lean_dec(x_40); +x_70 = l_Lean_Meta_injections_go(x_1, x_18, x_15, x_4, x_5, x_6, x_7, x_8, x_69); +if (lean_obj_tag(x_70) == 0) +{ +uint8_t x_71; +x_71 = !lean_is_exclusive(x_70); +if (x_71 == 0) +{ +return x_70; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_70, 0); +x_73 = lean_ctor_get(x_70, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_70); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +else +{ +uint8_t x_75; +x_75 = !lean_is_exclusive(x_70); +if (x_75 == 0) +{ +return x_70; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_70, 0); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_70); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +} +} +else +{ +uint8_t x_85; +lean_dec(x_33); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_85 = !lean_is_exclusive(x_35); +if (x_85 == 0) +{ +return x_35; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_35, 0); +x_87 = lean_ctor_get(x_35, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_35); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +} +else +{ +uint8_t x_89; +lean_dec(x_31); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_89 = !lean_is_exclusive(x_32); +if (x_89 == 0) +{ +return x_32; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_32, 0); +x_91 = lean_ctor_get(x_32, 1); +lean_inc(x_91); +lean_inc(x_90); +lean_dec(x_32); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; +} +} +} +} +else +{ +uint8_t x_93; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_93 = !lean_is_exclusive(x_23); +if (x_93 == 0) +{ +return x_23; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_23, 0); +x_95 = lean_ctor_get(x_23, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_23); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +else +{ +uint8_t x_97; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_97 = !lean_is_exclusive(x_19); +if (x_97 == 0) +{ +return x_19; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_19, 0); +x_99 = lean_ctor_get(x_19, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_19); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; +} +} +} +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_101 = l_Lean_Meta_injections_go___closed__2; +x_102 = l_Lean_Meta_injections_go___closed__5; +x_103 = lean_box(0); +x_104 = l_Lean_Meta_throwTacticEx___rarg(x_101, x_1, x_102, x_103, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +return x_104; +} +} +} +lean_object* l_Lean_Meta_injections___lambda__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) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Meta_injection(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 1); +lean_inc(x_8); +x_9 = l_Lean_LocalContext_getFVarIds(x_8); +x_10 = lean_array_to_list(lean_box(0), x_9); +lean_inc(x_1); +x_11 = l_Lean_Meta_injections_go(x_1, x_2, x_10, x_1, x_3, x_4, x_5, x_6, x_7); return x_11; } } +lean_object* l_Lean_Meta_injections(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) { +_start: +{ +lean_object* x_8; lean_object* x_9; +lean_inc(x_1); +x_8 = lean_alloc_closure((void*)(l_Lean_Meta_injections___lambda__1), 7, 2); +lean_closure_set(x_8, 0, x_1); +lean_closure_set(x_8, 1, x_2); +x_9 = l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Meta_AppBuilder(lean_object*); +lean_object* initialize_Lean_Meta_MatchUtil(lean_object*); lean_object* initialize_Lean_Meta_Tactic_Clear(lean_object*); lean_object* initialize_Lean_Meta_Tactic_Assert(lean_object*); lean_object* initialize_Lean_Meta_Tactic_Intro(lean_object*); @@ -2766,6 +3571,9 @@ lean_dec_ref(res); res = initialize_Lean_Meta_AppBuilder(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Meta_MatchUtil(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Meta_Tactic_Clear(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -2801,12 +3609,24 @@ l_Lean_Meta_injectionCore___closed__1 = _init_l_Lean_Meta_injectionCore___closed lean_mark_persistent(l_Lean_Meta_injectionCore___closed__1); l_Lean_Meta_injectionCore___closed__2 = _init_l_Lean_Meta_injectionCore___closed__2(); lean_mark_persistent(l_Lean_Meta_injectionCore___closed__2); -l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__1 = _init_l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__1); -l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__2 = _init_l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__1___closed__2); -l_Lean_Meta_injection___closed__1 = _init_l_Lean_Meta_injection___closed__1(); -lean_mark_persistent(l_Lean_Meta_injection___closed__1); +l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__1 = _init_l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__1); +l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__2 = _init_l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__2); +l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__3 = _init_l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_Injection_0__Lean_Meta_heqToEq___lambda__2___closed__3); +l_Lean_Meta_injectionIntro___closed__1 = _init_l_Lean_Meta_injectionIntro___closed__1(); +lean_mark_persistent(l_Lean_Meta_injectionIntro___closed__1); +l_Lean_Meta_injections_go___closed__1 = _init_l_Lean_Meta_injections_go___closed__1(); +lean_mark_persistent(l_Lean_Meta_injections_go___closed__1); +l_Lean_Meta_injections_go___closed__2 = _init_l_Lean_Meta_injections_go___closed__2(); +lean_mark_persistent(l_Lean_Meta_injections_go___closed__2); +l_Lean_Meta_injections_go___closed__3 = _init_l_Lean_Meta_injections_go___closed__3(); +lean_mark_persistent(l_Lean_Meta_injections_go___closed__3); +l_Lean_Meta_injections_go___closed__4 = _init_l_Lean_Meta_injections_go___closed__4(); +lean_mark_persistent(l_Lean_Meta_injections_go___closed__4); +l_Lean_Meta_injections_go___closed__5 = _init_l_Lean_Meta_injections_go___closed__5(); +lean_mark_persistent(l_Lean_Meta_injections_go___closed__5); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c index 17fde9f4ba..fa66496a36 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c @@ -187,6 +187,7 @@ lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__7; lean_object* l_Lean_Meta_simpTarget___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__10; lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_Simp_simp_simpLambda___spec__2(lean_object*); lean_object* l_Lean_Meta_simpGoal___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*, lean_object*); @@ -390,6 +391,7 @@ static lean_object* l_Lean_Meta_Simp_simp_simpForall___closed__7; static lean_object* l_Lean_Meta_simpTargetCore___closed__2; lean_object* l_Lean_Meta_simpLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkEqTrans_match__1(lean_object*); +lean_object* l_Lean_Meta_simpLocalDecl_match__2(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__9; lean_object* l_Lean_Meta_SimpLemmas_add(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProj_match__1(lean_object*); @@ -485,6 +487,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec__2___lambda lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3___closed__5; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__7___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Meta_simpLocalDecl_match__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryCongrLemma_x3f___spec__1___closed__1; static lean_object* l_Lean_Meta_Simp_simp_simpArrow___closed__2; lean_object* l_Lean_Meta_Simp_simp_cacheResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -525,7 +528,7 @@ lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Ma lean_object* l_Lean_Meta_simp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__8; lean_object* l_Lean_Meta_mkImpCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_simpLocalDecl_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_simpLocalDecl_match__1___rarg(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); extern lean_object* l_Lean_Name_instBEqName; lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -22187,7 +22190,28 @@ return x_191; } } } -lean_object* l_Lean_Meta_simpLocalDecl_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Meta_simpLocalDecl_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Meta_simpLocalDecl_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_simpLocalDecl_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_simpLocalDecl_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -22215,11 +22239,11 @@ return x_9; } } } -lean_object* l_Lean_Meta_simpLocalDecl_match__1(lean_object* x_1) { +lean_object* l_Lean_Meta_simpLocalDecl_match__2(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_simpLocalDecl_match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_simpLocalDecl_match__2___rarg), 3, 0); return x_2; } } @@ -22335,7 +22359,9 @@ lean_dec(x_18); if (x_37 == 0) { lean_object* x_38; lean_object* x_39; +lean_free_object(x_31); lean_free_object(x_21); +lean_dec(x_3); x_38 = l_Lean_LocalDecl_userName(x_14); lean_inc(x_9); lean_inc(x_8); @@ -22352,90 +22378,164 @@ lean_inc(x_41); lean_dec(x_39); x_42 = l_Lean_LocalDecl_fvarId(x_14); lean_dec(x_14); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); x_43 = l_Lean_Meta_tryClear(x_40, x_42, x_6, x_7, x_8, x_9, x_41); if (lean_obj_tag(x_43) == 0) { -uint8_t x_44; -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; -x_45 = lean_ctor_get(x_43, 0); -lean_ctor_set(x_31, 1, x_45); -lean_ctor_set(x_31, 0, x_3); -lean_ctor_set(x_43, 0, x_22); -return x_43; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_43, 0); -x_47 = lean_ctor_get(x_43, 1); -lean_inc(x_47); -lean_inc(x_46); +lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); lean_dec(x_43); -lean_ctor_set(x_31, 1, x_46); -lean_ctor_set(x_31, 0, x_3); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_22); -lean_ctor_set(x_48, 1, x_47); -return x_48; -} +x_46 = 1; +x_47 = l_Lean_Meta_intro1Core(x_44, x_46, x_6, x_7, x_8, x_9, x_45); +if (lean_obj_tag(x_47) == 0) +{ +uint8_t x_48; +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +lean_object* x_49; uint8_t x_50; +x_49 = lean_ctor_get(x_47, 0); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_ctor_set(x_22, 0, x_49); +lean_ctor_set(x_47, 0, x_22); +return x_47; } else { -uint8_t x_49; -lean_free_object(x_31); -lean_free_object(x_22); -lean_dec(x_3); -x_49 = !lean_is_exclusive(x_43); -if (x_49 == 0) -{ -return x_43; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_43, 0); -x_51 = lean_ctor_get(x_43, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_49, 0); +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_43); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_22, 0, x_53); +lean_ctor_set(x_47, 0, x_22); +return x_47; +} +} +else +{ +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; +x_54 = lean_ctor_get(x_47, 0); +x_55 = lean_ctor_get(x_47, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_47); +x_56 = lean_ctor_get(x_54, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_58 = x_54; +} else { + lean_dec_ref(x_54); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +lean_ctor_set(x_22, 0, x_59); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_22); +lean_ctor_set(x_60, 1, x_55); +return x_60; +} +} +else +{ +uint8_t x_61; +lean_free_object(x_22); +x_61 = !lean_is_exclusive(x_47); +if (x_61 == 0) +{ +return x_47; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_47, 0); +x_63 = lean_ctor_get(x_47, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_47); +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; } } } else { -uint8_t x_53; -lean_free_object(x_31); +uint8_t x_65; +lean_free_object(x_22); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_65 = !lean_is_exclusive(x_43); +if (x_65 == 0) +{ +return x_43; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_43, 0); +x_67 = lean_ctor_get(x_43, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_43); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +else +{ +uint8_t x_69; lean_free_object(x_22); lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_3); -x_53 = !lean_is_exclusive(x_39); -if (x_53 == 0) +x_69 = !lean_is_exclusive(x_39); +if (x_69 == 0) { return x_39; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_39, 0); -x_55 = lean_ctor_get(x_39, 1); -lean_inc(x_55); -lean_inc(x_54); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_39, 0); +x_71 = lean_ctor_get(x_39, 1); +lean_inc(x_71); +lean_inc(x_70); lean_dec(x_39); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } @@ -22455,539 +22555,674 @@ return x_21; } else { -lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_57 = lean_ctor_get(x_31, 0); -x_58 = lean_ctor_get(x_31, 1); -lean_inc(x_58); -lean_inc(x_57); +lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_73 = lean_ctor_get(x_31, 0); +x_74 = lean_ctor_get(x_31, 1); +lean_inc(x_74); +lean_inc(x_73); lean_dec(x_31); -x_59 = lean_expr_eqv(x_18, x_58); +x_75 = lean_expr_eqv(x_18, x_74); lean_dec(x_18); -if (x_59 == 0) +if (x_75 == 0) { -lean_object* x_60; lean_object* x_61; +lean_object* x_76; lean_object* x_77; lean_free_object(x_21); -x_60 = l_Lean_LocalDecl_userName(x_14); +lean_dec(x_3); +x_76 = l_Lean_LocalDecl_userName(x_14); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_61 = l_Lean_Meta_assert(x_1, x_60, x_58, x_57, x_6, x_7, x_8, x_9, x_32); -if (lean_obj_tag(x_61) == 0) +x_77 = l_Lean_Meta_assert(x_1, x_76, x_74, x_73, x_6, x_7, x_8, x_9, x_32); +if (lean_obj_tag(x_77) == 0) { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = l_Lean_LocalDecl_fvarId(x_14); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = l_Lean_LocalDecl_fvarId(x_14); lean_dec(x_14); -x_65 = l_Lean_Meta_tryClear(x_62, x_64, x_6, x_7, x_8, x_9, x_63); -if (lean_obj_tag(x_65) == 0) +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_81 = l_Lean_Meta_tryClear(x_78, x_80, x_6, x_7, x_8, x_9, x_79); +if (lean_obj_tag(x_81) == 0) { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_68 = x_65; +lean_object* x_82; lean_object* x_83; uint8_t x_84; lean_object* x_85; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = 1; +x_85 = l_Lean_Meta_intro1Core(x_82, x_84, x_6, x_7, x_8, x_9, x_83); +if (lean_obj_tag(x_85) == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_88 = x_85; } else { - lean_dec_ref(x_65); - x_68 = lean_box(0); + lean_dec_ref(x_85); + x_88 = lean_box(0); } -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_3); -lean_ctor_set(x_69, 1, x_66); -lean_ctor_set(x_22, 0, x_69); -if (lean_is_scalar(x_68)) { - x_70 = lean_alloc_ctor(0, 2, 0); +x_89 = lean_ctor_get(x_86, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_86, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + x_91 = x_86; } else { - x_70 = x_68; + lean_dec_ref(x_86); + x_91 = lean_box(0); } -lean_ctor_set(x_70, 0, x_22); -lean_ctor_set(x_70, 1, x_67); -return x_70; +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(0, 2, 0); +} else { + x_92 = x_91; +} +lean_ctor_set(x_92, 0, x_89); +lean_ctor_set(x_92, 1, x_90); +lean_ctor_set(x_22, 0, x_92); +if (lean_is_scalar(x_88)) { + x_93 = lean_alloc_ctor(0, 2, 0); +} else { + x_93 = x_88; +} +lean_ctor_set(x_93, 0, x_22); +lean_ctor_set(x_93, 1, x_87); +return x_93; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_free_object(x_22); -lean_dec(x_3); -x_71 = lean_ctor_get(x_65, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_65, 1); -lean_inc(x_72); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_73 = x_65; +x_94 = lean_ctor_get(x_85, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_85, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_96 = x_85; } else { - lean_dec_ref(x_65); - x_73 = lean_box(0); + lean_dec_ref(x_85); + x_96 = lean_box(0); } -if (lean_is_scalar(x_73)) { - x_74 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); } else { - x_74 = x_73; + x_97 = x_96; } -lean_ctor_set(x_74, 0, x_71); -lean_ctor_set(x_74, 1, x_72); -return x_74; +lean_ctor_set(x_97, 0, x_94); +lean_ctor_set(x_97, 1, x_95); +return x_97; } } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_free_object(x_22); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_98 = lean_ctor_get(x_81, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_81, 1); +lean_inc(x_99); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_100 = x_81; +} else { + lean_dec_ref(x_81); + x_100 = lean_box(0); +} +if (lean_is_scalar(x_100)) { + x_101 = lean_alloc_ctor(1, 2, 0); +} else { + x_101 = x_100; +} +lean_ctor_set(x_101, 0, x_98); +lean_ctor_set(x_101, 1, x_99); +return x_101; +} +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_free_object(x_22); lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_3); -x_75 = lean_ctor_get(x_61, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_61, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_77 = x_61; +x_102 = lean_ctor_get(x_77, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_77, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_104 = x_77; } else { - lean_dec_ref(x_61); - x_77 = lean_box(0); + lean_dec_ref(x_77); + x_104 = lean_box(0); } -if (lean_is_scalar(x_77)) { - x_78 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_104)) { + x_105 = lean_alloc_ctor(1, 2, 0); } else { - x_78 = x_77; + x_105 = x_104; } -lean_ctor_set(x_78, 0, x_75); -lean_ctor_set(x_78, 1, x_76); -return x_78; +lean_ctor_set(x_105, 0, x_102); +lean_ctor_set(x_105, 1, x_103); +return x_105; } } else { -lean_object* x_79; -lean_dec(x_58); -lean_dec(x_57); +lean_object* x_106; +lean_dec(x_74); +lean_dec(x_73); lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_79 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_79, 0, x_3); -lean_ctor_set(x_79, 1, x_1); -lean_ctor_set(x_22, 0, x_79); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_3); +lean_ctor_set(x_106, 1, x_1); +lean_ctor_set(x_22, 0, x_106); return x_21; } } } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_80 = lean_ctor_get(x_22, 0); -x_81 = lean_ctor_get(x_21, 1); -lean_inc(x_81); -lean_dec(x_21); -x_82 = lean_ctor_get(x_80, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_80, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - x_84 = x_80; -} else { - lean_dec_ref(x_80); - x_84 = lean_box(0); -} -x_85 = lean_expr_eqv(x_18, x_83); -lean_dec(x_18); -if (x_85 == 0) -{ -lean_object* x_86; lean_object* x_87; -x_86 = l_Lean_LocalDecl_userName(x_14); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_87 = l_Lean_Meta_assert(x_1, x_86, x_83, x_82, x_6, x_7, x_8, x_9, x_81); -if (lean_obj_tag(x_87) == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); -x_90 = l_Lean_LocalDecl_fvarId(x_14); -lean_dec(x_14); -x_91 = l_Lean_Meta_tryClear(x_88, x_90, x_6, x_7, x_8, x_9, x_89); -if (lean_obj_tag(x_91) == 0) -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - x_94 = x_91; -} else { - lean_dec_ref(x_91); - x_94 = lean_box(0); -} -if (lean_is_scalar(x_84)) { - x_95 = lean_alloc_ctor(0, 2, 0); -} else { - x_95 = x_84; -} -lean_ctor_set(x_95, 0, x_3); -lean_ctor_set(x_95, 1, x_92); -lean_ctor_set(x_22, 0, x_95); -if (lean_is_scalar(x_94)) { - x_96 = lean_alloc_ctor(0, 2, 0); -} else { - x_96 = x_94; -} -lean_ctor_set(x_96, 0, x_22); -lean_ctor_set(x_96, 1, x_93); -return x_96; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -lean_dec(x_84); -lean_free_object(x_22); -lean_dec(x_3); -x_97 = lean_ctor_get(x_91, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_91, 1); -lean_inc(x_98); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - x_99 = x_91; -} else { - lean_dec_ref(x_91); - x_99 = lean_box(0); -} -if (lean_is_scalar(x_99)) { - x_100 = lean_alloc_ctor(1, 2, 0); -} else { - x_100 = x_99; -} -lean_ctor_set(x_100, 0, x_97); -lean_ctor_set(x_100, 1, x_98); -return x_100; -} -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -lean_dec(x_84); -lean_free_object(x_22); -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_101 = lean_ctor_get(x_87, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_87, 1); -lean_inc(x_102); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - x_103 = x_87; -} else { - lean_dec_ref(x_87); - x_103 = lean_box(0); -} -if (lean_is_scalar(x_103)) { - x_104 = lean_alloc_ctor(1, 2, 0); -} else { - x_104 = x_103; -} -lean_ctor_set(x_104, 0, x_101); -lean_ctor_set(x_104, 1, x_102); -return x_104; -} -} -else -{ -lean_object* x_105; lean_object* x_106; -lean_dec(x_83); -lean_dec(x_82); -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -if (lean_is_scalar(x_84)) { - x_105 = lean_alloc_ctor(0, 2, 0); -} else { - x_105 = x_84; -} -lean_ctor_set(x_105, 0, x_3); -lean_ctor_set(x_105, 1, x_1); -lean_ctor_set(x_22, 0, x_105); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_22); -lean_ctor_set(x_106, 1, x_81); -return x_106; -} -} -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; x_107 = lean_ctor_get(x_22, 0); -lean_inc(x_107); -lean_dec(x_22); x_108 = lean_ctor_get(x_21, 1); lean_inc(x_108); -if (lean_is_exclusive(x_21)) { - lean_ctor_release(x_21, 0); - lean_ctor_release(x_21, 1); - x_109 = x_21; -} else { - lean_dec_ref(x_21); - x_109 = lean_box(0); -} -x_110 = lean_ctor_get(x_107, 0); +lean_dec(x_21); +x_109 = lean_ctor_get(x_107, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_107, 1); lean_inc(x_110); -x_111 = lean_ctor_get(x_107, 1); -lean_inc(x_111); if (lean_is_exclusive(x_107)) { lean_ctor_release(x_107, 0); lean_ctor_release(x_107, 1); - x_112 = x_107; + x_111 = x_107; } else { lean_dec_ref(x_107); - x_112 = lean_box(0); + x_111 = lean_box(0); } -x_113 = lean_expr_eqv(x_18, x_111); +x_112 = lean_expr_eqv(x_18, x_110); lean_dec(x_18); -if (x_113 == 0) +if (x_112 == 0) { -lean_object* x_114; lean_object* x_115; -lean_dec(x_109); -x_114 = l_Lean_LocalDecl_userName(x_14); +lean_object* x_113; lean_object* x_114; +lean_dec(x_111); +lean_dec(x_3); +x_113 = l_Lean_LocalDecl_userName(x_14); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_115 = l_Lean_Meta_assert(x_1, x_114, x_111, x_110, x_6, x_7, x_8, x_9, x_108); -if (lean_obj_tag(x_115) == 0) +x_114 = l_Lean_Meta_assert(x_1, x_113, x_110, x_109, x_6, x_7, x_8, x_9, x_108); +if (lean_obj_tag(x_114) == 0) { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_116 = lean_ctor_get(x_115, 0); +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = l_Lean_LocalDecl_fvarId(x_14); +lean_dec(x_114); +x_117 = l_Lean_LocalDecl_fvarId(x_14); lean_dec(x_14); -x_119 = l_Lean_Meta_tryClear(x_116, x_118, x_6, x_7, x_8, x_9, x_117); -if (lean_obj_tag(x_119) == 0) +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_118 = l_Lean_Meta_tryClear(x_115, x_117, x_6, x_7, x_8, x_9, x_116); +if (lean_obj_tag(x_118) == 0) { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_120 = lean_ctor_get(x_119, 0); +lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_122 = x_119; -} else { - lean_dec_ref(x_119); - x_122 = lean_box(0); -} -if (lean_is_scalar(x_112)) { - x_123 = lean_alloc_ctor(0, 2, 0); -} else { - x_123 = x_112; -} -lean_ctor_set(x_123, 0, x_3); -lean_ctor_set(x_123, 1, x_120); -x_124 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_124, 0, x_123); -if (lean_is_scalar(x_122)) { - x_125 = lean_alloc_ctor(0, 2, 0); -} else { - x_125 = x_122; -} -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_121); -return x_125; -} -else +lean_dec(x_118); +x_121 = 1; +x_122 = l_Lean_Meta_intro1Core(x_119, x_121, x_6, x_7, x_8, x_9, x_120); +if (lean_obj_tag(x_122) == 0) { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -lean_dec(x_112); -lean_dec(x_3); -x_126 = lean_ctor_get(x_119, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_119, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_128 = x_119; +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_123 = lean_ctor_get(x_122, 0); +lean_inc(x_123); +x_124 = lean_ctor_get(x_122, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_125 = x_122; } else { - lean_dec_ref(x_119); + lean_dec_ref(x_122); + x_125 = lean_box(0); +} +x_126 = lean_ctor_get(x_123, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_123, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_128 = x_123; +} else { + lean_dec_ref(x_123); x_128 = lean_box(0); } if (lean_is_scalar(x_128)) { - x_129 = lean_alloc_ctor(1, 2, 0); + x_129 = lean_alloc_ctor(0, 2, 0); } else { x_129 = x_128; } lean_ctor_set(x_129, 0, x_126); lean_ctor_set(x_129, 1, x_127); -return x_129; +lean_ctor_set(x_22, 0, x_129); +if (lean_is_scalar(x_125)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_125; } +lean_ctor_set(x_130, 0, x_22); +lean_ctor_set(x_130, 1, x_124); +return x_130; } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -lean_dec(x_112); -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -x_130 = lean_ctor_get(x_115, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_115, 1); +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_free_object(x_22); +x_131 = lean_ctor_get(x_122, 0); lean_inc(x_131); -if (lean_is_exclusive(x_115)) { - lean_ctor_release(x_115, 0); - lean_ctor_release(x_115, 1); - x_132 = x_115; +x_132 = lean_ctor_get(x_122, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_133 = x_122; } else { - lean_dec_ref(x_115); - x_132 = lean_box(0); + lean_dec_ref(x_122); + x_133 = lean_box(0); } -if (lean_is_scalar(x_132)) { - x_133 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); } else { - x_133 = x_132; + x_134 = x_133; } -lean_ctor_set(x_133, 0, x_130); -lean_ctor_set(x_133, 1, x_131); -return x_133; +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; } } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; -lean_dec(x_111); -lean_dec(x_110); +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_free_object(x_22); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_135 = lean_ctor_get(x_118, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_118, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_137 = x_118; +} else { + lean_dec_ref(x_118); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_free_object(x_22); lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -if (lean_is_scalar(x_112)) { - x_134 = lean_alloc_ctor(0, 2, 0); -} else { - x_134 = x_112; -} -lean_ctor_set(x_134, 0, x_3); -lean_ctor_set(x_134, 1, x_1); -x_135 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_135, 0, x_134); -if (lean_is_scalar(x_109)) { - x_136 = lean_alloc_ctor(0, 2, 0); -} else { - x_136 = x_109; -} -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_108); -return x_136; -} -} -} -} -else -{ -uint8_t x_137; -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_1); -x_137 = !lean_is_exclusive(x_21); -if (x_137 == 0) -{ -return x_21; -} -else -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_138 = lean_ctor_get(x_21, 0); -x_139 = lean_ctor_get(x_21, 1); +x_139 = lean_ctor_get(x_114, 0); lean_inc(x_139); -lean_inc(x_138); -lean_dec(x_21); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -return x_140; +x_140 = lean_ctor_get(x_114, 1); +lean_inc(x_140); +if (lean_is_exclusive(x_114)) { + lean_ctor_release(x_114, 0); + lean_ctor_release(x_114, 1); + x_141 = x_114; +} else { + lean_dec_ref(x_114); + x_141 = lean_box(0); } +if (lean_is_scalar(x_141)) { + x_142 = lean_alloc_ctor(1, 2, 0); +} else { + x_142 = x_141; +} +lean_ctor_set(x_142, 0, x_139); +lean_ctor_set(x_142, 1, x_140); +return x_142; } } else { -uint8_t x_141; +lean_object* x_143; lean_object* x_144; +lean_dec(x_110); +lean_dec(x_109); lean_dec(x_14); 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_141 = !lean_is_exclusive(x_17); -if (x_141 == 0) -{ -return x_17; +if (lean_is_scalar(x_111)) { + x_143 = lean_alloc_ctor(0, 2, 0); +} else { + x_143 = x_111; } -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_142 = lean_ctor_get(x_17, 0); -x_143 = lean_ctor_get(x_17, 1); -lean_inc(x_143); -lean_inc(x_142); -lean_dec(x_17); -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_142); -lean_ctor_set(x_144, 1, x_143); +lean_ctor_set(x_143, 0, x_3); +lean_ctor_set(x_143, 1, x_1); +lean_ctor_set(x_22, 0, x_143); +x_144 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_144, 0, x_22); +lean_ctor_set(x_144, 1, x_108); return x_144; } } } else { -uint8_t x_145; +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_145 = lean_ctor_get(x_22, 0); +lean_inc(x_145); +lean_dec(x_22); +x_146 = lean_ctor_get(x_21, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + x_147 = x_21; +} else { + lean_dec_ref(x_21); + x_147 = lean_box(0); +} +x_148 = lean_ctor_get(x_145, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_145, 1); +lean_inc(x_149); +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_150 = x_145; +} else { + lean_dec_ref(x_145); + x_150 = lean_box(0); +} +x_151 = lean_expr_eqv(x_18, x_149); +lean_dec(x_18); +if (x_151 == 0) +{ +lean_object* x_152; lean_object* x_153; +lean_dec(x_150); +lean_dec(x_147); +lean_dec(x_3); +x_152 = l_Lean_LocalDecl_userName(x_14); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_153 = l_Lean_Meta_assert(x_1, x_152, x_149, x_148, x_6, x_7, x_8, x_9, x_146); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +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); +x_156 = l_Lean_LocalDecl_fvarId(x_14); +lean_dec(x_14); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_157 = l_Lean_Meta_tryClear(x_154, x_156, x_6, x_7, x_8, x_9, x_155); +if (lean_obj_tag(x_157) == 0) +{ +lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); +lean_dec(x_157); +x_160 = 1; +x_161 = l_Lean_Meta_intro1Core(x_158, x_160, x_6, x_7, x_8, x_9, x_159); +if (lean_obj_tag(x_161) == 0) +{ +lean_object* x_162; 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; +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +if (lean_is_exclusive(x_161)) { + lean_ctor_release(x_161, 0); + lean_ctor_release(x_161, 1); + x_164 = x_161; +} else { + lean_dec_ref(x_161); + x_164 = lean_box(0); +} +x_165 = lean_ctor_get(x_162, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_162, 1); +lean_inc(x_166); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_167 = x_162; +} else { + lean_dec_ref(x_162); + x_167 = lean_box(0); +} +if (lean_is_scalar(x_167)) { + x_168 = lean_alloc_ctor(0, 2, 0); +} else { + x_168 = x_167; +} +lean_ctor_set(x_168, 0, x_165); +lean_ctor_set(x_168, 1, x_166); +x_169 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_169, 0, x_168); +if (lean_is_scalar(x_164)) { + x_170 = lean_alloc_ctor(0, 2, 0); +} else { + x_170 = x_164; +} +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_163); +return x_170; +} +else +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_171 = lean_ctor_get(x_161, 0); +lean_inc(x_171); +x_172 = lean_ctor_get(x_161, 1); +lean_inc(x_172); +if (lean_is_exclusive(x_161)) { + lean_ctor_release(x_161, 0); + lean_ctor_release(x_161, 1); + x_173 = x_161; +} else { + lean_dec_ref(x_161); + x_173 = lean_box(0); +} +if (lean_is_scalar(x_173)) { + x_174 = lean_alloc_ctor(1, 2, 0); +} else { + x_174 = x_173; +} +lean_ctor_set(x_174, 0, x_171); +lean_ctor_set(x_174, 1, x_172); +return x_174; +} +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_175 = lean_ctor_get(x_157, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_157, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_157)) { + lean_ctor_release(x_157, 0); + lean_ctor_release(x_157, 1); + x_177 = x_157; +} else { + lean_dec_ref(x_157); + x_177 = lean_box(0); +} +if (lean_is_scalar(x_177)) { + x_178 = lean_alloc_ctor(1, 2, 0); +} else { + x_178 = x_177; +} +lean_ctor_set(x_178, 0, x_175); +lean_ctor_set(x_178, 1, x_176); +return x_178; +} +} +else +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_179 = lean_ctor_get(x_153, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_153, 1); +lean_inc(x_180); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_181 = x_153; +} else { + lean_dec_ref(x_153); + x_181 = lean_box(0); +} +if (lean_is_scalar(x_181)) { + x_182 = lean_alloc_ctor(1, 2, 0); +} else { + x_182 = x_181; +} +lean_ctor_set(x_182, 0, x_179); +lean_ctor_set(x_182, 1, x_180); +return x_182; +} +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_dec(x_149); +lean_dec(x_148); +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +if (lean_is_scalar(x_150)) { + x_183 = lean_alloc_ctor(0, 2, 0); +} else { + x_183 = x_150; +} +lean_ctor_set(x_183, 0, x_3); +lean_ctor_set(x_183, 1, x_1); +x_184 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_184, 0, x_183); +if (lean_is_scalar(x_147)) { + x_185 = lean_alloc_ctor(0, 2, 0); +} else { + x_185 = x_147; +} +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_146); +return x_185; +} +} +} +} +else +{ +uint8_t x_186; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_186 = !lean_is_exclusive(x_21); +if (x_186 == 0) +{ +return x_21; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_187 = lean_ctor_get(x_21, 0); +x_188 = lean_ctor_get(x_21, 1); +lean_inc(x_188); +lean_inc(x_187); +lean_dec(x_21); +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_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -22996,29 +23231,60 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_145 = !lean_is_exclusive(x_13); -if (x_145 == 0) +x_190 = !lean_is_exclusive(x_17); +if (x_190 == 0) +{ +return x_17; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; +x_191 = lean_ctor_get(x_17, 0); +x_192 = lean_ctor_get(x_17, 1); +lean_inc(x_192); +lean_inc(x_191); +lean_dec(x_17); +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; +} +} +} +else +{ +uint8_t x_194; +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_194 = !lean_is_exclusive(x_13); +if (x_194 == 0) { return x_13; } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_13, 0); -x_147 = lean_ctor_get(x_13, 1); -lean_inc(x_147); -lean_inc(x_146); +lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_195 = lean_ctor_get(x_13, 0); +x_196 = lean_ctor_get(x_13, 1); +lean_inc(x_196); +lean_inc(x_195); lean_dec(x_13); -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; +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; } } } else { -uint8_t x_149; +uint8_t x_198; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -23027,23 +23293,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_149 = !lean_is_exclusive(x_11); -if (x_149 == 0) +x_198 = !lean_is_exclusive(x_11); +if (x_198 == 0) { return x_11; } else { -lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_150 = lean_ctor_get(x_11, 0); -x_151 = lean_ctor_get(x_11, 1); -lean_inc(x_151); -lean_inc(x_150); +lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_199 = lean_ctor_get(x_11, 0); +x_200 = lean_ctor_get(x_11, 1); +lean_inc(x_200); +lean_inc(x_199); lean_dec(x_11); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -return x_152; +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; } } } diff --git a/stage0/stdlib/Lean/Meta/Tactic/Split.c b/stage0/stdlib/Lean/Meta/Tactic/Split.c index 25efe281ee..83d0df2741 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Split.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Split.c @@ -42,6 +42,7 @@ extern lean_object* l_instInhabitedNat; uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_getSimpMatchContext___rarg(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); uint8_t l_Lean_Expr_isIte(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatch___closed__1; @@ -58,6 +59,7 @@ lean_object* l_Lean_Meta_splitTarget_x3f_match__1___rarg(lean_object*, lean_obje extern lean_object* l_Lean_levelZero; lean_object* l_Lean_Meta_Split_findSplit_x3f_match__1(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +lean_object* l_Lean_Meta_splitLocalDecl_x3f_match__1(lean_object*); lean_object* l_List_foldlM___at_Lean_Meta_Split_splitMatch___spec__2___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* l_Lean_Meta_apply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); @@ -75,7 +77,9 @@ lean_object* l_Lean_Meta_Simp_main(lean_object*, lean_object*, lean_object*, lea lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatchPre___boxed(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_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoal___spec__1(size_t, size_t, lean_object*); +lean_object* l_Lean_Meta_splitLocalDecl_x3f_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_tryLemma_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_splitLocalDecl_x3f___lambda__1___closed__1; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Meta_isMatcherAppCore(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -91,6 +95,7 @@ lean_object* l_Lean_Meta_Split_splitMatch___lambda__1(lean_object*, lean_object* lean_object* l_Lean_Meta_generalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_revert(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); +lean_object* l_Lean_Meta_splitLocalDecl_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___spec__1___closed__2; lean_object* l_Lean_Meta_Split_splitMatch_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_match__1___rarg(lean_object*, lean_object*); @@ -101,9 +106,13 @@ lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_getSimpMatchC lean_object* l_Lean_Meta_splitTarget_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Split_splitMatch___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* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatchPre_match__2(lean_object*); +lean_object* l_Lean_Meta_splitIfLocalDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkFVar(lean_object*); lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Std_PersistentHashMap_empty___at_Lean_Meta_Instances_instanceNames___default___spec__1; +lean_object* l_Lean_Meta_splitLocalDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapM___at_Lean_Meta_splitLocalDecl_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Split_splitMatch___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*); lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatchPre_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -131,6 +140,7 @@ extern lean_object* l_Lean_instInhabitedName; lean_object* l_Lean_throwError___at_Lean_Meta_Split_splitMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_simpMatch___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_getEquationsFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_splitMatch___closed__8; @@ -2058,7 +2068,7 @@ lean_object* l_Lean_Meta_Split_splitMatch___lambda__3(lean_object* x_1, lean_obj _start: { uint8_t x_11; lean_object* x_12; -x_11 = 0; +x_11 = 1; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -2081,12 +2091,12 @@ lean_dec(x_13); x_17 = lean_array_get_size(x_2); lean_dec(x_2); x_18 = lean_box(0); -x_19 = 1; +x_19 = 0; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_20 = l_Lean_Meta_introNCore(x_16, x_17, x_18, x_11, x_19, x_6, x_7, x_8, x_9, x_14); +x_20 = l_Lean_Meta_introNCore(x_16, x_17, x_18, x_19, x_11, x_6, x_7, x_8, x_9, x_14); if (lean_obj_tag(x_20) == 0) { 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; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; @@ -3652,6 +3662,1650 @@ x_7 = l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitTarget_x3f___spec__1___at_Le return x_7; } } +lean_object* l_Lean_Meta_splitLocalDecl_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_2(x_2, x_3, x_4); +return x_5; +} +} +lean_object* l_Lean_Meta_splitLocalDecl_x3f_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_splitLocalDecl_x3f_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l_List_mapM___at_Lean_Meta_splitLocalDecl_x3f___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) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_11 = lean_ctor_get(x_2, 0); +x_12 = lean_ctor_get(x_2, 1); +x_13 = lean_box(0); +x_14 = 0; +x_15 = 1; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_16 = l_Lean_Meta_introNCore(x_11, x_1, x_13, x_14, x_15, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +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_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_List_mapM___at_Lean_Meta_splitLocalDecl_x3f___spec__1(x_1, x_12, x_3, x_4, x_5, x_6, x_18); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_ctor_set(x_2, 1, x_22); +lean_ctor_set(x_2, 0, x_19); +lean_ctor_set(x_20, 0, x_2); +return x_20; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_20, 0); +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_20); +lean_ctor_set(x_2, 1, x_23); +lean_ctor_set(x_2, 0, x_19); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_2); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_19); +lean_free_object(x_2); +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) +{ +return x_20; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_20, 0); +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_20); +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; +} +} +} +else +{ +uint8_t x_30; +lean_free_object(x_2); +lean_dec(x_12); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_16); +if (x_30 == 0) +{ +return x_16; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_16, 0); +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_16); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; +x_34 = lean_ctor_get(x_2, 0); +x_35 = lean_ctor_get(x_2, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_2); +x_36 = lean_box(0); +x_37 = 0; +x_38 = 1; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_39 = l_Lean_Meta_introNCore(x_34, x_1, x_36, x_37, x_38, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_List_mapM___at_Lean_Meta_splitLocalDecl_x3f___spec__1(x_1, x_35, x_3, x_4, x_5, x_6, x_41); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; +} else { + lean_dec_ref(x_43); + x_46 = lean_box(0); +} +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_42); +lean_ctor_set(x_47, 1, x_44); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_42); +x_49 = lean_ctor_get(x_43, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_51 = x_43; +} else { + lean_dec_ref(x_43); + x_51 = lean_box(0); +} +if (lean_is_scalar(x_51)) { + x_52 = lean_alloc_ctor(1, 2, 0); +} else { + x_52 = x_51; +} +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_50); +return x_52; +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_35); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_53 = lean_ctor_get(x_39, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_39, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_55 = x_39; +} else { + lean_dec_ref(x_39); + x_55 = lean_box(0); +} +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(1, 2, 0); +} else { + x_56 = x_55; +} +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +return x_56; +} +} +} +} +} +static lean_object* _init_l_Lean_Meta_splitLocalDecl_x3f___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Lean_Meta_splitLocalDecl_x3f___lambda__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) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_8 = lean_st_ref_get(x_6, x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +lean_inc(x_1); +x_12 = l_Lean_mkFVar(x_1); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_13 = lean_infer_type(x_12, x_3, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +x_17 = l_Lean_Meta_Split_findSplit_x3f(x_11, x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_18 = lean_box(0); +lean_ctor_set(x_13, 0, x_18); +return x_13; +} +else +{ +uint8_t x_19; +lean_free_object(x_13); +x_19 = !lean_is_exclusive(x_17); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_17, 0); +x_21 = l_Lean_Expr_isIte(x_20); +if (x_21 == 0) +{ +uint8_t x_22; +x_22 = l_Lean_Expr_isDIte(x_20); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_23 = l_Lean_Meta_splitLocalDecl_x3f___lambda__1___closed__1; +x_24 = lean_array_push(x_23, x_1); +x_25 = 0; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_26 = l_Lean_Meta_revert(x_2, x_24, x_25, x_3, x_4, x_5, x_6, x_16); +if (lean_obj_tag(x_26) == 0) +{ +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_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 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = lean_array_get_size(x_29); +lean_dec(x_29); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_32 = l_Lean_Meta_Split_splitMatch(x_30, x_20, x_3, x_4, x_5, x_6, x_28); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l_List_mapM___at_Lean_Meta_splitLocalDecl_x3f___spec__1(x_31, x_33, x_3, x_4, x_5, x_6, x_34); +if (lean_obj_tag(x_35) == 0) +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_ctor_set(x_17, 0, x_37); +lean_ctor_set(x_35, 0, x_17); +return x_35; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_35, 0); +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_35); +lean_ctor_set(x_17, 0, x_38); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_17); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +uint8_t x_41; +lean_free_object(x_17); +x_41 = !lean_is_exclusive(x_35); +if (x_41 == 0) +{ +return x_35; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_35, 0); +x_43 = lean_ctor_get(x_35, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_35); +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; +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_31); +lean_free_object(x_17); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_45 = !lean_is_exclusive(x_32); +if (x_45 == 0) +{ +return x_32; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_32, 0); +x_47 = lean_ctor_get(x_32, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_32); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +uint8_t x_49; +lean_free_object(x_17); +lean_dec(x_20); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_49 = !lean_is_exclusive(x_26); +if (x_49 == 0) +{ +return x_26; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_26, 0); +x_51 = lean_ctor_get(x_26, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_26); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +else +{ +lean_object* x_53; lean_object* x_54; +lean_free_object(x_17); +lean_dec(x_20); +x_53 = lean_box(0); +x_54 = l_Lean_Meta_splitIfLocalDecl_x3f(x_2, x_1, x_53, x_3, x_4, x_5, x_6, x_16); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +if (lean_obj_tag(x_55) == 0) +{ +uint8_t x_56; +x_56 = !lean_is_exclusive(x_54); +if (x_56 == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_54, 0); +lean_dec(x_57); +lean_ctor_set(x_54, 0, x_53); +return x_54; +} +else +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_54, 1); +lean_inc(x_58); +lean_dec(x_54); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_53); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +else +{ +uint8_t x_60; +x_60 = !lean_is_exclusive(x_55); +if (x_60 == 0) +{ +uint8_t x_61; +x_61 = !lean_is_exclusive(x_54); +if (x_61 == 0) +{ +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; +x_62 = lean_ctor_get(x_55, 0); +x_63 = lean_ctor_get(x_54, 0); +lean_dec(x_63); +x_64 = lean_ctor_get(x_62, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_62, 1); +lean_inc(x_65); +lean_dec(x_62); +x_66 = lean_box(0); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_64); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_55, 0, x_68); +return x_54; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_69 = lean_ctor_get(x_55, 0); +x_70 = lean_ctor_get(x_54, 1); +lean_inc(x_70); +lean_dec(x_54); +x_71 = lean_ctor_get(x_69, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_69, 1); +lean_inc(x_72); +lean_dec(x_69); +x_73 = lean_box(0); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_71); +lean_ctor_set(x_75, 1, x_74); +lean_ctor_set(x_55, 0, x_75); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_55); +lean_ctor_set(x_76, 1, x_70); +return x_76; +} +} +else +{ +lean_object* x_77; lean_object* x_78; 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; +x_77 = lean_ctor_get(x_55, 0); +lean_inc(x_77); +lean_dec(x_55); +x_78 = lean_ctor_get(x_54, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_79 = x_54; +} else { + lean_dec_ref(x_54); + x_79 = lean_box(0); +} +x_80 = lean_ctor_get(x_77, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_77, 1); +lean_inc(x_81); +lean_dec(x_77); +x_82 = lean_box(0); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_80); +lean_ctor_set(x_84, 1, x_83); +x_85 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_85, 0, x_84); +if (lean_is_scalar(x_79)) { + x_86 = lean_alloc_ctor(0, 2, 0); +} else { + x_86 = x_79; +} +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_78); +return x_86; +} +} +} +else +{ +uint8_t x_87; +x_87 = !lean_is_exclusive(x_54); +if (x_87 == 0) +{ +return x_54; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_54, 0); +x_89 = lean_ctor_get(x_54, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_54); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} +} +} +} +else +{ +lean_object* x_91; lean_object* x_92; +lean_free_object(x_17); +lean_dec(x_20); +x_91 = lean_box(0); +x_92 = l_Lean_Meta_splitIfLocalDecl_x3f(x_2, x_1, x_91, x_3, x_4, x_5, x_6, x_16); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +if (lean_obj_tag(x_93) == 0) +{ +uint8_t x_94; +x_94 = !lean_is_exclusive(x_92); +if (x_94 == 0) +{ +lean_object* x_95; +x_95 = lean_ctor_get(x_92, 0); +lean_dec(x_95); +lean_ctor_set(x_92, 0, x_91); +return x_92; +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_92, 1); +lean_inc(x_96); +lean_dec(x_92); +x_97 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_97, 0, x_91); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +else +{ +uint8_t x_98; +x_98 = !lean_is_exclusive(x_93); +if (x_98 == 0) +{ +uint8_t x_99; +x_99 = !lean_is_exclusive(x_92); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_100 = lean_ctor_get(x_93, 0); +x_101 = lean_ctor_get(x_92, 0); +lean_dec(x_101); +x_102 = lean_ctor_get(x_100, 0); +lean_inc(x_102); +x_103 = lean_ctor_get(x_100, 1); +lean_inc(x_103); +lean_dec(x_100); +x_104 = lean_box(0); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_102); +lean_ctor_set(x_106, 1, x_105); +lean_ctor_set(x_93, 0, x_106); +return x_92; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_107 = lean_ctor_get(x_93, 0); +x_108 = lean_ctor_get(x_92, 1); +lean_inc(x_108); +lean_dec(x_92); +x_109 = lean_ctor_get(x_107, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_107, 1); +lean_inc(x_110); +lean_dec(x_107); +x_111 = lean_box(0); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_109); +lean_ctor_set(x_113, 1, x_112); +lean_ctor_set(x_93, 0, x_113); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_93); +lean_ctor_set(x_114, 1, x_108); +return x_114; +} +} +else +{ +lean_object* x_115; 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_object* x_124; +x_115 = lean_ctor_get(x_93, 0); +lean_inc(x_115); +lean_dec(x_93); +x_116 = lean_ctor_get(x_92, 1); +lean_inc(x_116); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + lean_ctor_release(x_92, 1); + x_117 = x_92; +} else { + lean_dec_ref(x_92); + x_117 = lean_box(0); +} +x_118 = lean_ctor_get(x_115, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_115, 1); +lean_inc(x_119); +lean_dec(x_115); +x_120 = lean_box(0); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_118); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_123, 0, x_122); +if (lean_is_scalar(x_117)) { + x_124 = lean_alloc_ctor(0, 2, 0); +} else { + x_124 = x_117; +} +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_116); +return x_124; +} +} +} +else +{ +uint8_t x_125; +x_125 = !lean_is_exclusive(x_92); +if (x_125 == 0) +{ +return x_92; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_92, 0); +x_127 = lean_ctor_get(x_92, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_92); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +return x_128; +} +} +} +} +else +{ +lean_object* x_129; uint8_t x_130; +x_129 = lean_ctor_get(x_17, 0); +lean_inc(x_129); +lean_dec(x_17); +x_130 = l_Lean_Expr_isIte(x_129); +if (x_130 == 0) +{ +uint8_t x_131; +x_131 = l_Lean_Expr_isDIte(x_129); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; +x_132 = l_Lean_Meta_splitLocalDecl_x3f___lambda__1___closed__1; +x_133 = lean_array_push(x_132, x_1); +x_134 = 0; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_135 = l_Lean_Meta_revert(x_2, x_133, x_134, x_3, x_4, x_5, x_6, x_16); +if (lean_obj_tag(x_135) == 0) +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_136 = lean_ctor_get(x_135, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_135, 1); +lean_inc(x_137); +lean_dec(x_135); +x_138 = lean_ctor_get(x_136, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_136, 1); +lean_inc(x_139); +lean_dec(x_136); +x_140 = lean_array_get_size(x_138); +lean_dec(x_138); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_141 = l_Lean_Meta_Split_splitMatch(x_139, x_129, x_3, x_4, x_5, x_6, x_137); +if (lean_obj_tag(x_141) == 0) +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +x_144 = l_List_mapM___at_Lean_Meta_splitLocalDecl_x3f___spec__1(x_140, x_142, x_3, x_4, x_5, x_6, x_143); +if (lean_obj_tag(x_144) == 0) +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + x_147 = x_144; +} else { + lean_dec_ref(x_144); + x_147 = lean_box(0); +} +x_148 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_148, 0, x_145); +if (lean_is_scalar(x_147)) { + x_149 = lean_alloc_ctor(0, 2, 0); +} else { + x_149 = x_147; +} +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_146); +return x_149; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_150 = lean_ctor_get(x_144, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_144, 1); +lean_inc(x_151); +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + x_152 = x_144; +} else { + lean_dec_ref(x_144); + x_152 = lean_box(0); +} +if (lean_is_scalar(x_152)) { + x_153 = lean_alloc_ctor(1, 2, 0); +} else { + x_153 = x_152; +} +lean_ctor_set(x_153, 0, x_150); +lean_ctor_set(x_153, 1, x_151); +return x_153; +} +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_dec(x_140); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_154 = lean_ctor_get(x_141, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_141, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_141)) { + lean_ctor_release(x_141, 0); + lean_ctor_release(x_141, 1); + x_156 = x_141; +} else { + lean_dec_ref(x_141); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); +} else { + x_157 = x_156; +} +lean_ctor_set(x_157, 0, x_154); +lean_ctor_set(x_157, 1, x_155); +return x_157; +} +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +lean_dec(x_129); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_158 = lean_ctor_get(x_135, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_135, 1); +lean_inc(x_159); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_160 = x_135; +} else { + lean_dec_ref(x_135); + x_160 = lean_box(0); +} +if (lean_is_scalar(x_160)) { + x_161 = lean_alloc_ctor(1, 2, 0); +} else { + x_161 = x_160; +} +lean_ctor_set(x_161, 0, x_158); +lean_ctor_set(x_161, 1, x_159); +return x_161; +} +} +else +{ +lean_object* x_162; lean_object* x_163; +lean_dec(x_129); +x_162 = lean_box(0); +x_163 = l_Lean_Meta_splitIfLocalDecl_x3f(x_2, x_1, x_162, x_3, x_4, x_5, x_6, x_16); +if (lean_obj_tag(x_163) == 0) +{ +lean_object* x_164; +x_164 = lean_ctor_get(x_163, 0); +lean_inc(x_164); +if (lean_obj_tag(x_164) == 0) +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_165 = lean_ctor_get(x_163, 1); +lean_inc(x_165); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_166 = x_163; +} else { + lean_dec_ref(x_163); + x_166 = lean_box(0); +} +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(0, 2, 0); +} else { + x_167 = x_166; +} +lean_ctor_set(x_167, 0, x_162); +lean_ctor_set(x_167, 1, x_165); +return x_167; +} +else +{ +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; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_168 = lean_ctor_get(x_164, 0); +lean_inc(x_168); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + x_169 = x_164; +} else { + lean_dec_ref(x_164); + x_169 = lean_box(0); +} +x_170 = lean_ctor_get(x_163, 1); +lean_inc(x_170); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_171 = x_163; +} else { + lean_dec_ref(x_163); + x_171 = lean_box(0); +} +x_172 = lean_ctor_get(x_168, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_168, 1); +lean_inc(x_173); +lean_dec(x_168); +x_174 = lean_box(0); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_172); +lean_ctor_set(x_176, 1, x_175); +if (lean_is_scalar(x_169)) { + x_177 = lean_alloc_ctor(1, 1, 0); +} else { + x_177 = x_169; +} +lean_ctor_set(x_177, 0, x_176); +if (lean_is_scalar(x_171)) { + x_178 = lean_alloc_ctor(0, 2, 0); +} else { + x_178 = x_171; +} +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_170); +return x_178; +} +} +else +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_179 = lean_ctor_get(x_163, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_163, 1); +lean_inc(x_180); +if (lean_is_exclusive(x_163)) { + lean_ctor_release(x_163, 0); + lean_ctor_release(x_163, 1); + x_181 = x_163; +} else { + lean_dec_ref(x_163); + x_181 = lean_box(0); +} +if (lean_is_scalar(x_181)) { + x_182 = lean_alloc_ctor(1, 2, 0); +} else { + x_182 = x_181; +} +lean_ctor_set(x_182, 0, x_179); +lean_ctor_set(x_182, 1, x_180); +return x_182; +} +} +} +else +{ +lean_object* x_183; lean_object* x_184; +lean_dec(x_129); +x_183 = lean_box(0); +x_184 = l_Lean_Meta_splitIfLocalDecl_x3f(x_2, x_1, x_183, x_3, x_4, x_5, x_6, x_16); +if (lean_obj_tag(x_184) == 0) +{ +lean_object* x_185; +x_185 = lean_ctor_get(x_184, 0); +lean_inc(x_185); +if (lean_obj_tag(x_185) == 0) +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_186 = lean_ctor_get(x_184, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_187 = x_184; +} else { + lean_dec_ref(x_184); + x_187 = lean_box(0); +} +if (lean_is_scalar(x_187)) { + x_188 = lean_alloc_ctor(0, 2, 0); +} else { + x_188 = x_187; +} +lean_ctor_set(x_188, 0, x_183); +lean_ctor_set(x_188, 1, x_186); +return x_188; +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_189 = lean_ctor_get(x_185, 0); +lean_inc(x_189); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + x_190 = x_185; +} else { + lean_dec_ref(x_185); + x_190 = lean_box(0); +} +x_191 = lean_ctor_get(x_184, 1); +lean_inc(x_191); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_192 = x_184; +} else { + lean_dec_ref(x_184); + x_192 = lean_box(0); +} +x_193 = lean_ctor_get(x_189, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_189, 1); +lean_inc(x_194); +lean_dec(x_189); +x_195 = lean_box(0); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set(x_196, 1, x_195); +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_193); +lean_ctor_set(x_197, 1, x_196); +if (lean_is_scalar(x_190)) { + x_198 = lean_alloc_ctor(1, 1, 0); +} else { + x_198 = x_190; +} +lean_ctor_set(x_198, 0, x_197); +if (lean_is_scalar(x_192)) { + x_199 = lean_alloc_ctor(0, 2, 0); +} else { + x_199 = x_192; +} +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_191); +return x_199; +} +} +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_200 = lean_ctor_get(x_184, 0); +lean_inc(x_200); +x_201 = lean_ctor_get(x_184, 1); +lean_inc(x_201); +if (lean_is_exclusive(x_184)) { + lean_ctor_release(x_184, 0); + lean_ctor_release(x_184, 1); + x_202 = x_184; +} else { + lean_dec_ref(x_184); + x_202 = lean_box(0); +} +if (lean_is_scalar(x_202)) { + x_203 = lean_alloc_ctor(1, 2, 0); +} else { + x_203 = x_202; +} +lean_ctor_set(x_203, 0, x_200); +lean_ctor_set(x_203, 1, x_201); +return x_203; +} +} +} +} +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_204 = lean_ctor_get(x_13, 0); +x_205 = lean_ctor_get(x_13, 1); +lean_inc(x_205); +lean_inc(x_204); +lean_dec(x_13); +x_206 = l_Lean_Meta_Split_findSplit_x3f(x_11, x_204); +if (lean_obj_tag(x_206) == 0) +{ +lean_object* x_207; lean_object* x_208; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_207 = lean_box(0); +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_205); +return x_208; +} +else +{ +lean_object* x_209; lean_object* x_210; uint8_t x_211; +x_209 = lean_ctor_get(x_206, 0); +lean_inc(x_209); +if (lean_is_exclusive(x_206)) { + lean_ctor_release(x_206, 0); + x_210 = x_206; +} else { + lean_dec_ref(x_206); + x_210 = lean_box(0); +} +x_211 = l_Lean_Expr_isIte(x_209); +if (x_211 == 0) +{ +uint8_t x_212; +x_212 = l_Lean_Expr_isDIte(x_209); +if (x_212 == 0) +{ +lean_object* x_213; lean_object* x_214; uint8_t x_215; lean_object* x_216; +x_213 = l_Lean_Meta_splitLocalDecl_x3f___lambda__1___closed__1; +x_214 = lean_array_push(x_213, x_1); +x_215 = 0; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_216 = l_Lean_Meta_revert(x_2, x_214, x_215, x_3, x_4, x_5, x_6, x_205); +if (lean_obj_tag(x_216) == 0) +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_217 = lean_ctor_get(x_216, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_216, 1); +lean_inc(x_218); +lean_dec(x_216); +x_219 = lean_ctor_get(x_217, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_217, 1); +lean_inc(x_220); +lean_dec(x_217); +x_221 = lean_array_get_size(x_219); +lean_dec(x_219); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_222 = l_Lean_Meta_Split_splitMatch(x_220, x_209, x_3, x_4, x_5, x_6, x_218); +if (lean_obj_tag(x_222) == 0) +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; +x_223 = lean_ctor_get(x_222, 0); +lean_inc(x_223); +x_224 = lean_ctor_get(x_222, 1); +lean_inc(x_224); +lean_dec(x_222); +x_225 = l_List_mapM___at_Lean_Meta_splitLocalDecl_x3f___spec__1(x_221, x_223, x_3, x_4, x_5, x_6, x_224); +if (lean_obj_tag(x_225) == 0) +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_226 = lean_ctor_get(x_225, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_225, 1); +lean_inc(x_227); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + x_228 = x_225; +} else { + lean_dec_ref(x_225); + x_228 = lean_box(0); +} +if (lean_is_scalar(x_210)) { + x_229 = lean_alloc_ctor(1, 1, 0); +} else { + x_229 = x_210; +} +lean_ctor_set(x_229, 0, x_226); +if (lean_is_scalar(x_228)) { + x_230 = lean_alloc_ctor(0, 2, 0); +} else { + x_230 = x_228; +} +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_227); +return x_230; +} +else +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; +lean_dec(x_210); +x_231 = lean_ctor_get(x_225, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_225, 1); +lean_inc(x_232); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + x_233 = x_225; +} else { + lean_dec_ref(x_225); + x_233 = lean_box(0); +} +if (lean_is_scalar(x_233)) { + x_234 = lean_alloc_ctor(1, 2, 0); +} else { + x_234 = x_233; +} +lean_ctor_set(x_234, 0, x_231); +lean_ctor_set(x_234, 1, x_232); +return x_234; +} +} +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec(x_221); +lean_dec(x_210); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_235 = lean_ctor_get(x_222, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_222, 1); +lean_inc(x_236); +if (lean_is_exclusive(x_222)) { + lean_ctor_release(x_222, 0); + lean_ctor_release(x_222, 1); + x_237 = x_222; +} else { + lean_dec_ref(x_222); + x_237 = lean_box(0); +} +if (lean_is_scalar(x_237)) { + x_238 = lean_alloc_ctor(1, 2, 0); +} else { + x_238 = x_237; +} +lean_ctor_set(x_238, 0, x_235); +lean_ctor_set(x_238, 1, x_236); +return x_238; +} +} +else +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_dec(x_210); +lean_dec(x_209); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_239 = lean_ctor_get(x_216, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_216, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_216)) { + lean_ctor_release(x_216, 0); + lean_ctor_release(x_216, 1); + x_241 = x_216; +} else { + lean_dec_ref(x_216); + x_241 = lean_box(0); +} +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(1, 2, 0); +} else { + x_242 = x_241; +} +lean_ctor_set(x_242, 0, x_239); +lean_ctor_set(x_242, 1, x_240); +return x_242; +} +} +else +{ +lean_object* x_243; lean_object* x_244; +lean_dec(x_210); +lean_dec(x_209); +x_243 = lean_box(0); +x_244 = l_Lean_Meta_splitIfLocalDecl_x3f(x_2, x_1, x_243, x_3, x_4, x_5, x_6, x_205); +if (lean_obj_tag(x_244) == 0) +{ +lean_object* x_245; +x_245 = lean_ctor_get(x_244, 0); +lean_inc(x_245); +if (lean_obj_tag(x_245) == 0) +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_246 = lean_ctor_get(x_244, 1); +lean_inc(x_246); +if (lean_is_exclusive(x_244)) { + lean_ctor_release(x_244, 0); + lean_ctor_release(x_244, 1); + x_247 = x_244; +} else { + lean_dec_ref(x_244); + x_247 = lean_box(0); +} +if (lean_is_scalar(x_247)) { + x_248 = lean_alloc_ctor(0, 2, 0); +} else { + x_248 = x_247; +} +lean_ctor_set(x_248, 0, x_243); +lean_ctor_set(x_248, 1, x_246); +return x_248; +} +else +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_249 = lean_ctor_get(x_245, 0); +lean_inc(x_249); +if (lean_is_exclusive(x_245)) { + lean_ctor_release(x_245, 0); + x_250 = x_245; +} else { + lean_dec_ref(x_245); + x_250 = lean_box(0); +} +x_251 = lean_ctor_get(x_244, 1); +lean_inc(x_251); +if (lean_is_exclusive(x_244)) { + lean_ctor_release(x_244, 0); + lean_ctor_release(x_244, 1); + x_252 = x_244; +} else { + lean_dec_ref(x_244); + x_252 = lean_box(0); +} +x_253 = lean_ctor_get(x_249, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_249, 1); +lean_inc(x_254); +lean_dec(x_249); +x_255 = lean_box(0); +x_256 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_256, 0, x_254); +lean_ctor_set(x_256, 1, x_255); +x_257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_257, 0, x_253); +lean_ctor_set(x_257, 1, x_256); +if (lean_is_scalar(x_250)) { + x_258 = lean_alloc_ctor(1, 1, 0); +} else { + x_258 = x_250; +} +lean_ctor_set(x_258, 0, x_257); +if (lean_is_scalar(x_252)) { + x_259 = lean_alloc_ctor(0, 2, 0); +} else { + x_259 = x_252; +} +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_251); +return x_259; +} +} +else +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; +x_260 = lean_ctor_get(x_244, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_244, 1); +lean_inc(x_261); +if (lean_is_exclusive(x_244)) { + lean_ctor_release(x_244, 0); + lean_ctor_release(x_244, 1); + x_262 = x_244; +} else { + lean_dec_ref(x_244); + x_262 = lean_box(0); +} +if (lean_is_scalar(x_262)) { + x_263 = lean_alloc_ctor(1, 2, 0); +} else { + x_263 = x_262; +} +lean_ctor_set(x_263, 0, x_260); +lean_ctor_set(x_263, 1, x_261); +return x_263; +} +} +} +else +{ +lean_object* x_264; lean_object* x_265; +lean_dec(x_210); +lean_dec(x_209); +x_264 = lean_box(0); +x_265 = l_Lean_Meta_splitIfLocalDecl_x3f(x_2, x_1, x_264, x_3, x_4, x_5, x_6, x_205); +if (lean_obj_tag(x_265) == 0) +{ +lean_object* x_266; +x_266 = lean_ctor_get(x_265, 0); +lean_inc(x_266); +if (lean_obj_tag(x_266) == 0) +{ +lean_object* x_267; lean_object* x_268; lean_object* x_269; +x_267 = lean_ctor_get(x_265, 1); +lean_inc(x_267); +if (lean_is_exclusive(x_265)) { + lean_ctor_release(x_265, 0); + lean_ctor_release(x_265, 1); + x_268 = x_265; +} else { + lean_dec_ref(x_265); + x_268 = lean_box(0); +} +if (lean_is_scalar(x_268)) { + x_269 = lean_alloc_ctor(0, 2, 0); +} else { + x_269 = x_268; +} +lean_ctor_set(x_269, 0, x_264); +lean_ctor_set(x_269, 1, x_267); +return x_269; +} +else +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; +x_270 = lean_ctor_get(x_266, 0); +lean_inc(x_270); +if (lean_is_exclusive(x_266)) { + lean_ctor_release(x_266, 0); + x_271 = x_266; +} else { + lean_dec_ref(x_266); + x_271 = lean_box(0); +} +x_272 = lean_ctor_get(x_265, 1); +lean_inc(x_272); +if (lean_is_exclusive(x_265)) { + lean_ctor_release(x_265, 0); + lean_ctor_release(x_265, 1); + x_273 = x_265; +} else { + lean_dec_ref(x_265); + x_273 = lean_box(0); +} +x_274 = lean_ctor_get(x_270, 0); +lean_inc(x_274); +x_275 = lean_ctor_get(x_270, 1); +lean_inc(x_275); +lean_dec(x_270); +x_276 = lean_box(0); +x_277 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_277, 0, x_275); +lean_ctor_set(x_277, 1, x_276); +x_278 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_278, 0, x_274); +lean_ctor_set(x_278, 1, x_277); +if (lean_is_scalar(x_271)) { + x_279 = lean_alloc_ctor(1, 1, 0); +} else { + x_279 = x_271; +} +lean_ctor_set(x_279, 0, x_278); +if (lean_is_scalar(x_273)) { + x_280 = lean_alloc_ctor(0, 2, 0); +} else { + x_280 = x_273; +} +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_272); +return x_280; +} +} +else +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; +x_281 = lean_ctor_get(x_265, 0); +lean_inc(x_281); +x_282 = lean_ctor_get(x_265, 1); +lean_inc(x_282); +if (lean_is_exclusive(x_265)) { + lean_ctor_release(x_265, 0); + lean_ctor_release(x_265, 1); + x_283 = x_265; +} else { + lean_dec_ref(x_265); + x_283 = lean_box(0); +} +if (lean_is_scalar(x_283)) { + x_284 = lean_alloc_ctor(1, 2, 0); +} else { + x_284 = x_283; +} +lean_ctor_set(x_284, 0, x_281); +lean_ctor_set(x_284, 1, x_282); +return x_284; +} +} +} +} +} +else +{ +uint8_t x_285; +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_285 = !lean_is_exclusive(x_13); +if (x_285 == 0) +{ +return x_13; +} +else +{ +lean_object* x_286; lean_object* x_287; lean_object* x_288; +x_286 = lean_ctor_get(x_13, 0); +x_287 = lean_ctor_get(x_13, 1); +lean_inc(x_287); +lean_inc(x_286); +lean_dec(x_13); +x_288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_288, 0, x_286); +lean_ctor_set(x_288, 1, x_287); +return x_288; +} +} +} +} +lean_object* l_Lean_Meta_splitLocalDecl_x3f(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) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_inc(x_1); +x_8 = lean_alloc_closure((void*)(l_Lean_Meta_splitLocalDecl_x3f___lambda__1), 7, 2); +lean_closure_set(x_8, 0, x_2); +lean_closure_set(x_8, 1, x_1); +x_9 = lean_alloc_closure((void*)(l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg), 7, 2); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_8); +x_10 = l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitTarget_x3f___spec__1(x_9, x_3, x_4, x_5, x_6, x_7); +return x_10; +} +} lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Meta_Match_MatchEqs(lean_object*); lean_object* initialize_Lean_Meta_Tactic_Generalize(lean_object*); @@ -3717,6 +5371,8 @@ l_Lean_Meta_Split_findSplit_x3f___closed__1 = _init_l_Lean_Meta_Split_findSplit_ lean_mark_persistent(l_Lean_Meta_Split_findSplit_x3f___closed__1); l_Lean_Meta_Split_findSplit_x3f___closed__2 = _init_l_Lean_Meta_Split_findSplit_x3f___closed__2(); lean_mark_persistent(l_Lean_Meta_Split_findSplit_x3f___closed__2); +l_Lean_Meta_splitLocalDecl_x3f___lambda__1___closed__1 = _init_l_Lean_Meta_splitLocalDecl_x3f___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_splitLocalDecl_x3f___lambda__1___closed__1); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/SplitIf.c b/stage0/stdlib/Lean/Meta/Tactic/SplitIf.c index 8be765d63b..257f234b52 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/SplitIf.c +++ b/stage0/stdlib/Lean/Meta/Tactic/SplitIf.c @@ -23,6 +23,7 @@ lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); static lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__2; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Meta_SplitIf_findIfToSplit_x3f___closed__2; +lean_object* l_Lean_Meta_simpIfLocalDecl_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Meta_getCongrLemmas___rarg(lean_object*, lean_object*); @@ -33,6 +34,7 @@ lean_object* l_Lean_Meta_splitIfTarget_x3f_match__1(lean_object*); static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___closed__1; lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SplitIf_discharge_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_simpIfLocalDecl___closed__4; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_simpIfTarget_match__1(lean_object*); lean_object* l_Lean_Meta_SplitIf_findIfToSplit_x3f_match__1(lean_object*); @@ -91,8 +93,10 @@ static lean_object* l_Lean_Meta_SplitIf_initFn____x40_Lean_Meta_Tactic_SplitIf__ static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___closed__8; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___closed__6; +static lean_object* l_Lean_Meta_simpIfLocalDecl___closed__3; static lean_object* l_Lean_Meta_SplitIf_ext___elambda__1___rarg___closed__7; lean_object* l_Lean_Meta_SplitIf_discharge_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_simpIfLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SplitIf_splitIfAt_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_findSomeRevMAux___at_Lean_Meta_SplitIf_discharge_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_findSomeRevM_x3f___at_Lean_Meta_SplitIf_discharge_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -105,19 +109,25 @@ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_ lean_object* l_Lean_LocalDecl_toExpr(lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l_Lean_Meta_SplitIf_discharge_x3f_match__1(lean_object*); -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_827_(lean_object*); +lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfLocalDecl_x3f___spec__1___at_Lean_Meta_splitIfLocalDecl_x3f___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1016_(lean_object*); static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___lambda__2___closed__7; lean_object* l_Lean_Meta_SplitIf_ext___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_simpIfTarget___closed__5; +lean_object* l_Lean_Meta_splitIfLocalDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfLocalDecl_x3f___spec__1___at_Lean_Meta_splitIfLocalDecl_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SplitIf_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_4____lambda__1___closed__4; lean_object* l_Lean_addTrace___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_simpIfTarget___closed__3; static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___closed__12; +lean_object* l_Lean_mkFVar(lean_object*); static lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__1; +lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfLocalDecl_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SplitIf_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_4____lambda__1___closed__2; extern lean_object* l_Std_PersistentHashMap_empty___at_Lean_Meta_Instances_instanceNames___default___spec__1; +lean_object* l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SplitIf_ext___closed__4; static lean_object* l_Lean_Meta_SplitIf_splitIfAt_x3f___lambda__2___closed__2; lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); @@ -138,6 +148,7 @@ lean_object* l_Lean_Meta_SplitIf_discharge_x3f(uint8_t, lean_object*, lean_objec static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Meta_SplitIf_getSimpContext___spec__2___closed__2; static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___closed__10; lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* l_Lean_Meta_simpLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SplitIf_ext___elambda__1___rarg___closed__6; lean_object* l_Lean_Meta_simpIfTarget(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfTarget_x3f___spec__1___at_Lean_Meta_splitIfTarget_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -148,6 +159,8 @@ static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___closed__15; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___closed__3; static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___closed__14; +lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_simpIfLocalDecl___closed__2; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Meta_SplitIf_discharge_x3f___spec__3___closed__3; lean_object* l_Lean_Meta_SplitIf_ext___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -158,6 +171,7 @@ lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_objec static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___closed__13; static lean_object* l_Lean_Meta_SplitIf_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_4____closed__2; lean_object* l_Lean_Expr_FindImpl_findM_x3f_visit(lean_object*, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_simpIfLocalDecl___closed__1; static lean_object* l_Lean_Meta_simpIfTarget___closed__2; lean_object* l_Lean_Meta_SplitIf_splitIfAt_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_SplitIf_ext___elambda__1___rarg___closed__5; @@ -172,6 +186,7 @@ lean_object* l_Lean_Meta_SplitIf_splitIfAt_x3f___lambda__1(lean_object*, lean_ob static lean_object* l_Lean_Meta_SplitIf_ext___closed__1; lean_object* l_Lean_registerLazyInitExtension___rarg(lean_object*, lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_simpIfLocalDecl_match__1(lean_object*); uint8_t l_Lean_Expr_hasFVar(lean_object*); static lean_object* l_Lean_Meta_SplitIf_discharge_x3f___closed__5; static lean_object* l_Lean_Meta_simpIfTarget___closed__4; @@ -4009,6 +4024,219 @@ x_9 = l_Lean_Meta_simpIfTarget(x_1, x_8, x_3, x_4, x_5, x_6, x_7); return x_9; } } +lean_object* l_Lean_Meta_simpIfLocalDecl_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_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_apply_2(x_2, x_6, x_7); +return x_8; +} +} +} +lean_object* l_Lean_Meta_simpIfLocalDecl_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_simpIfLocalDecl_match__1___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_simpIfLocalDecl___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = lean_box(x_1); +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_SplitIf_discharge_x3f___boxed), 9, 1); +lean_closure_set(x_3, 0, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_simpIfLocalDecl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_simpIfLocalDecl___closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_simpIfLocalDecl___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Meta.simpIfLocalDecl"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_simpIfLocalDecl___closed__4() { +_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_Meta_simpIfTarget___closed__2; +x_2 = l_Lean_Meta_simpIfLocalDecl___closed__3; +x_3 = lean_unsigned_to_nat(99u); +x_4 = lean_unsigned_to_nat(4u); +x_5 = l_Lean_Meta_simpIfTarget___closed__4; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +lean_object* l_Lean_Meta_simpIfLocalDecl(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) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_Meta_SplitIf_ext; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_9 = l_Lean_LazyInitExtension_get___at_Lean_Meta_SplitIf_getSimpContext___spec__1(x_8, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Meta_simpIfLocalDecl___closed__2; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_13 = l_Lean_Meta_simpLocalDecl(x_1, x_2, x_10, x_12, x_3, x_4, x_5, x_6, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_Meta_simpIfTarget___closed__1; +x_17 = l_Lean_Meta_simpIfLocalDecl___closed__4; +x_18 = lean_panic_fn(x_16, x_17); +x_19 = lean_apply_5(x_18, x_3, x_4, x_5, x_6, x_15); +return x_19; +} +else +{ +lean_object* x_20; uint8_t x_21; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_20 = lean_ctor_get(x_14, 0); +lean_inc(x_20); +lean_dec(x_14); +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_13, 0); +lean_dec(x_22); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +lean_ctor_set(x_13, 0, x_23); +return x_13; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_13, 1); +lean_inc(x_24); +lean_dec(x_13); +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +} +} +else +{ +uint8_t x_27; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +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; +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_9); +if (x_31 == 0) +{ +return x_9; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_9, 0); +x_33 = lean_ctor_get(x_9, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_9); +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_object* l_Lean_Meta_splitIfTarget_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -5173,7 +5401,997 @@ x_8 = l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfTarget_x3f___spec__1___at_ return x_8; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_827_(lean_object* x_1) { +lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfLocalDecl_x3f___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) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = l_Lean_Meta_saveState___rarg(x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_10 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Meta_SavedState_restore(x_8, x_2, x_3, x_4, x_5, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +lean_dec(x_15); +x_16 = lean_box(0); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_10); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_10, 0); +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_11); +if (x_22 == 0) +{ +return x_10; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_11, 0); +lean_inc(x_23); +lean_dec(x_11); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_10, 0, x_24); +return x_10; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = lean_ctor_get(x_10, 1); +lean_inc(x_25); +lean_dec(x_10); +x_26 = lean_ctor_get(x_11, 0); +lean_inc(x_26); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + x_27 = x_11; +} else { + lean_dec_ref(x_11); + x_27 = lean_box(0); +} +if (lean_is_scalar(x_27)) { + x_28 = lean_alloc_ctor(1, 1, 0); +} else { + x_28 = x_27; +} +lean_ctor_set(x_28, 0, x_26); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_25); +return x_29; +} +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_30 = lean_ctor_get(x_10, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_10, 1); +lean_inc(x_31); +lean_dec(x_10); +x_32 = l_Lean_Meta_SavedState_restore(x_8, x_2, x_3, x_4, x_5, x_31); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_8); +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; +x_34 = lean_ctor_get(x_32, 0); +lean_dec(x_34); +lean_ctor_set_tag(x_32, 1); +lean_ctor_set(x_32, 0, x_30); +return x_32; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_30); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +} +lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfLocalDecl_x3f___spec__1___at_Lean_Meta_splitIfLocalDecl_x3f___spec__2___lambda__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) { +_start: +{ +lean_object* x_10; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_10 = lean_infer_type(x_1, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_13 = l_Lean_Meta_SplitIf_splitIfAt_x3f(x_2, x_11, x_3, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_13, 0); +lean_dec(x_16); +x_17 = lean_box(0); +lean_ctor_set(x_13, 0, x_17); +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_dec(x_13); +x_19 = lean_box(0); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_dec(x_13); +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_22, 0); +x_26 = lean_ctor_get(x_22, 1); +x_27 = lean_ctor_get(x_25, 0); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_27); +x_28 = l_Lean_Meta_simpIfLocalDecl(x_27, x_4, x_5, x_6, x_7, x_8, x_23); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +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_26, 0); +lean_inc(x_31); +lean_dec(x_26); +lean_inc(x_31); +x_32 = l_Lean_Meta_simpIfLocalDecl(x_31, x_4, x_5, x_6, x_7, x_8, x_30); +if (lean_obj_tag(x_32) == 0) +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_32, 0); +x_35 = lean_name_eq(x_27, x_29); +lean_dec(x_27); +if (x_35 == 0) +{ +lean_dec(x_31); +lean_ctor_set(x_22, 1, x_34); +lean_ctor_set(x_22, 0, x_29); +lean_ctor_set(x_32, 0, x_14); +return x_32; +} +else +{ +uint8_t x_36; +x_36 = lean_name_eq(x_31, x_34); +lean_dec(x_31); +if (x_36 == 0) +{ +lean_ctor_set(x_22, 1, x_34); +lean_ctor_set(x_22, 0, x_29); +lean_ctor_set(x_32, 0, x_14); +return x_32; +} +else +{ +lean_object* x_37; +lean_dec(x_34); +lean_dec(x_29); +lean_free_object(x_22); +lean_free_object(x_14); +x_37 = lean_box(0); +lean_ctor_set(x_32, 0, x_37); +return x_32; +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_32, 0); +x_39 = lean_ctor_get(x_32, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_32); +x_40 = lean_name_eq(x_27, x_29); +lean_dec(x_27); +if (x_40 == 0) +{ +lean_object* x_41; +lean_dec(x_31); +lean_ctor_set(x_22, 1, x_38); +lean_ctor_set(x_22, 0, x_29); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_14); +lean_ctor_set(x_41, 1, x_39); +return x_41; +} +else +{ +uint8_t x_42; +x_42 = lean_name_eq(x_31, x_38); +lean_dec(x_31); +if (x_42 == 0) +{ +lean_object* x_43; +lean_ctor_set(x_22, 1, x_38); +lean_ctor_set(x_22, 0, x_29); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_14); +lean_ctor_set(x_43, 1, x_39); +return x_43; +} +else +{ +lean_object* x_44; lean_object* x_45; +lean_dec(x_38); +lean_dec(x_29); +lean_free_object(x_22); +lean_free_object(x_14); +x_44 = lean_box(0); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_39); +return x_45; +} +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_31); +lean_dec(x_29); +lean_dec(x_27); +lean_free_object(x_22); +lean_free_object(x_14); +x_46 = !lean_is_exclusive(x_32); +if (x_46 == 0) +{ +return x_32; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_32, 0); +x_48 = lean_ctor_get(x_32, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_32); +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; +} +} +} +else +{ +uint8_t x_50; +lean_dec(x_27); +lean_free_object(x_22); +lean_dec(x_26); +lean_free_object(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_50 = !lean_is_exclusive(x_28); +if (x_50 == 0) +{ +return x_28; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_28, 0); +x_52 = lean_ctor_get(x_28, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_28); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_54 = lean_ctor_get(x_22, 0); +x_55 = lean_ctor_get(x_22, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_22); +x_56 = lean_ctor_get(x_54, 0); +lean_inc(x_56); +lean_dec(x_54); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_56); +x_57 = l_Lean_Meta_simpIfLocalDecl(x_56, x_4, x_5, x_6, x_7, x_8, x_23); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_ctor_get(x_55, 0); +lean_inc(x_60); +lean_dec(x_55); +lean_inc(x_60); +x_61 = l_Lean_Meta_simpIfLocalDecl(x_60, x_4, x_5, x_6, x_7, x_8, x_59); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_64 = x_61; +} else { + lean_dec_ref(x_61); + x_64 = lean_box(0); +} +x_65 = lean_name_eq(x_56, x_58); +lean_dec(x_56); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +lean_dec(x_60); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_58); +lean_ctor_set(x_66, 1, x_62); +lean_ctor_set(x_14, 0, x_66); +if (lean_is_scalar(x_64)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_64; +} +lean_ctor_set(x_67, 0, x_14); +lean_ctor_set(x_67, 1, x_63); +return x_67; +} +else +{ +uint8_t x_68; +x_68 = lean_name_eq(x_60, x_62); +lean_dec(x_60); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_58); +lean_ctor_set(x_69, 1, x_62); +lean_ctor_set(x_14, 0, x_69); +if (lean_is_scalar(x_64)) { + x_70 = lean_alloc_ctor(0, 2, 0); +} else { + x_70 = x_64; +} +lean_ctor_set(x_70, 0, x_14); +lean_ctor_set(x_70, 1, x_63); +return x_70; +} +else +{ +lean_object* x_71; lean_object* x_72; +lean_dec(x_62); +lean_dec(x_58); +lean_free_object(x_14); +x_71 = lean_box(0); +if (lean_is_scalar(x_64)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_64; +} +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_63); +return x_72; +} +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_60); +lean_dec(x_58); +lean_dec(x_56); +lean_free_object(x_14); +x_73 = lean_ctor_get(x_61, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_61, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_75 = x_61; +} else { + lean_dec_ref(x_61); + 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 +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_56); +lean_dec(x_55); +lean_free_object(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_77 = lean_ctor_get(x_57, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_57, 1); +lean_inc(x_78); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_79 = x_57; +} else { + lean_dec_ref(x_57); + x_79 = lean_box(0); +} +if (lean_is_scalar(x_79)) { + x_80 = lean_alloc_ctor(1, 2, 0); +} else { + x_80 = x_79; +} +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_78); +return x_80; +} +} +} +else +{ +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; +x_81 = lean_ctor_get(x_14, 0); +lean_inc(x_81); +lean_dec(x_14); +x_82 = lean_ctor_get(x_13, 1); +lean_inc(x_82); +lean_dec(x_13); +x_83 = lean_ctor_get(x_81, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_85 = x_81; +} else { + lean_dec_ref(x_81); + x_85 = lean_box(0); +} +x_86 = lean_ctor_get(x_83, 0); +lean_inc(x_86); +lean_dec(x_83); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_86); +x_87 = l_Lean_Meta_simpIfLocalDecl(x_86, x_4, x_5, x_6, x_7, x_8, x_82); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); +x_90 = lean_ctor_get(x_84, 0); +lean_inc(x_90); +lean_dec(x_84); +lean_inc(x_90); +x_91 = l_Lean_Meta_simpIfLocalDecl(x_90, x_4, x_5, x_6, x_7, x_8, x_89); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_94 = x_91; +} else { + lean_dec_ref(x_91); + x_94 = lean_box(0); +} +x_95 = lean_name_eq(x_86, x_88); +lean_dec(x_86); +if (x_95 == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +lean_dec(x_90); +if (lean_is_scalar(x_85)) { + x_96 = lean_alloc_ctor(0, 2, 0); +} else { + x_96 = x_85; +} +lean_ctor_set(x_96, 0, x_88); +lean_ctor_set(x_96, 1, x_92); +x_97 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_97, 0, x_96); +if (lean_is_scalar(x_94)) { + x_98 = lean_alloc_ctor(0, 2, 0); +} else { + x_98 = x_94; +} +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_93); +return x_98; +} +else +{ +uint8_t x_99; +x_99 = lean_name_eq(x_90, x_92); +lean_dec(x_90); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +if (lean_is_scalar(x_85)) { + x_100 = lean_alloc_ctor(0, 2, 0); +} else { + x_100 = x_85; +} +lean_ctor_set(x_100, 0, x_88); +lean_ctor_set(x_100, 1, x_92); +x_101 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_101, 0, x_100); +if (lean_is_scalar(x_94)) { + x_102 = lean_alloc_ctor(0, 2, 0); +} else { + x_102 = x_94; +} +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_93); +return x_102; +} +else +{ +lean_object* x_103; lean_object* x_104; +lean_dec(x_92); +lean_dec(x_88); +lean_dec(x_85); +x_103 = lean_box(0); +if (lean_is_scalar(x_94)) { + x_104 = lean_alloc_ctor(0, 2, 0); +} else { + x_104 = x_94; +} +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_93); +return x_104; +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_90); +lean_dec(x_88); +lean_dec(x_86); +lean_dec(x_85); +x_105 = lean_ctor_get(x_91, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_91, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_107 = x_91; +} else { + lean_dec_ref(x_91); + x_107 = lean_box(0); +} +if (lean_is_scalar(x_107)) { + x_108 = lean_alloc_ctor(1, 2, 0); +} else { + x_108 = x_107; +} +lean_ctor_set(x_108, 0, x_105); +lean_ctor_set(x_108, 1, x_106); +return x_108; +} +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_86); +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_109 = lean_ctor_get(x_87, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_87, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_111 = x_87; +} else { + lean_dec_ref(x_87); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(1, 2, 0); +} else { + x_112 = x_111; +} +lean_ctor_set(x_112, 0, x_109); +lean_ctor_set(x_112, 1, x_110); +return x_112; +} +} +} +} +else +{ +uint8_t x_113; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_113 = !lean_is_exclusive(x_13); +if (x_113 == 0) +{ +return x_13; +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_13, 0); +x_115 = lean_ctor_get(x_13, 1); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_13); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +return x_116; +} +} +} +else +{ +uint8_t x_117; +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_117 = !lean_is_exclusive(x_10); +if (x_117 == 0) +{ +return x_10; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_10, 0); +x_119 = lean_ctor_get(x_10, 1); +lean_inc(x_119); +lean_inc(x_118); +lean_dec(x_10); +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +return x_120; +} +} +} +} +lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfLocalDecl_x3f___spec__1___at_Lean_Meta_splitIfLocalDecl_x3f___spec__2(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) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_inc(x_1); +x_10 = lean_alloc_closure((void*)(l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfLocalDecl_x3f___spec__1___at_Lean_Meta_splitIfLocalDecl_x3f___spec__2___lambda__1), 9, 4); +lean_closure_set(x_10, 0, x_4); +lean_closure_set(x_10, 1, x_1); +lean_closure_set(x_10, 2, x_3); +lean_closure_set(x_10, 3, x_2); +x_11 = l_Lean_Meta_saveState___rarg(x_6, x_7, x_8, x_9); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_14 = l_Lean_Meta_withMVarContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1___rarg(x_1, x_10, x_5, x_6, x_7, x_8, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_16); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_12); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_17, 0); +lean_dec(x_19); +x_20 = lean_box(0); +lean_ctor_set(x_17, 0, x_20); +return x_17; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_17, 1); +lean_inc(x_21); +lean_dec(x_17); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +return x_23; +} +} +else +{ +uint8_t x_24; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_24 = !lean_is_exclusive(x_14); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_14, 0); +lean_dec(x_25); +x_26 = !lean_is_exclusive(x_15); +if (x_26 == 0) +{ +return x_14; +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_15, 0); +lean_inc(x_27); +lean_dec(x_15); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_14, 0, x_28); +return x_14; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_14, 1); +lean_inc(x_29); +lean_dec(x_14); +x_30 = lean_ctor_get(x_15, 0); +lean_inc(x_30); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + x_31 = x_15; +} else { + lean_dec_ref(x_15); + x_31 = lean_box(0); +} +if (lean_is_scalar(x_31)) { + x_32 = lean_alloc_ctor(1, 1, 0); +} else { + x_32 = x_31; +} +lean_ctor_set(x_32, 0, x_30); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_29); +return x_33; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_ctor_get(x_14, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_14, 1); +lean_inc(x_35); +lean_dec(x_14); +x_36 = l_Lean_Meta_SavedState_restore(x_12, x_5, x_6, x_7, x_8, x_35); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_12); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_dec(x_38); +lean_ctor_set_tag(x_36, 1); +lean_ctor_set(x_36, 0, x_34); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_34); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +} +lean_object* l_Lean_Meta_splitIfLocalDecl_x3f(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) { +_start: +{ +lean_object* x_9; lean_object* x_10; +lean_inc(x_2); +x_9 = l_Lean_mkFVar(x_2); +x_10 = l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitIfLocalDecl_x3f___spec__1___at_Lean_Meta_splitIfLocalDecl_x3f___spec__2(x_1, x_2, x_3, x_9, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1016_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -5344,7 +6562,15 @@ l_Lean_Meta_simpIfTarget___closed__4 = _init_l_Lean_Meta_simpIfTarget___closed__ lean_mark_persistent(l_Lean_Meta_simpIfTarget___closed__4); l_Lean_Meta_simpIfTarget___closed__5 = _init_l_Lean_Meta_simpIfTarget___closed__5(); lean_mark_persistent(l_Lean_Meta_simpIfTarget___closed__5); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_827_(lean_io_mk_world()); +l_Lean_Meta_simpIfLocalDecl___closed__1 = _init_l_Lean_Meta_simpIfLocalDecl___closed__1(); +lean_mark_persistent(l_Lean_Meta_simpIfLocalDecl___closed__1); +l_Lean_Meta_simpIfLocalDecl___closed__2 = _init_l_Lean_Meta_simpIfLocalDecl___closed__2(); +lean_mark_persistent(l_Lean_Meta_simpIfLocalDecl___closed__2); +l_Lean_Meta_simpIfLocalDecl___closed__3 = _init_l_Lean_Meta_simpIfLocalDecl___closed__3(); +lean_mark_persistent(l_Lean_Meta_simpIfLocalDecl___closed__3); +l_Lean_Meta_simpIfLocalDecl___closed__4 = _init_l_Lean_Meta_simpIfLocalDecl___closed__4(); +lean_mark_persistent(l_Lean_Meta_simpIfLocalDecl___closed__4); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_SplitIf___hyg_1016_(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)); diff --git a/stage0/stdlib/Lean/Parser/Basic.c b/stage0/stdlib/Lean/Parser/Basic.c index d116215527..ff923b338e 100644 --- a/stage0/stdlib/Lean/Parser/Basic.c +++ b/stage0/stdlib/Lean/Parser/Basic.c @@ -22,7 +22,6 @@ lean_object* l_Lean_Parser_leadingParserAux___lambda__2___boxed(lean_object*, le lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_qsort_sort___at_Lean_Parser_Error_toString___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_findSomeRevM_x3f_find___at___private_Lean_Parser_Basic_0__Lean_Parser_pickNonNone___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_indexed_match__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Parser_info___default___elambda__1(lean_object*); lean_object* l_Lean_Parser_finishCommentBlock(lean_object*, lean_object*, lean_object*); lean_object* lean_string_push(lean_object*, uint32_t); @@ -36,6 +35,7 @@ size_t l_USize_add(size_t, size_t); extern lean_object* l_Lean_fieldIdxKind; lean_object* l_Lean_Syntax_forArgsM___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkLinebreakBeforeFn(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603____closed__1; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqError____x40_Lean_Parser_Basic___hyg_353__match__1(lean_object*); lean_object* l_Lean_Parser_ParserInfo_firstTokens___default; static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_nameLitAux___closed__1; @@ -75,6 +75,7 @@ extern lean_object* l_Lean_nullKind; static lean_object* l_Lean_Parser_Parser_info___default___closed__3; lean_object* l_Lean_Parser_leadPrec; lean_object* l_Lean_Parser_notFollowedByFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__19; lean_object* l_Lean_Parser_strLitNoAntiquot; static lean_object* l_Lean_Parser_octalNumberFn___closed__1; lean_object* l_Lean_Parser_quotedCharCoreFn(lean_object*, lean_object*, lean_object*); @@ -92,6 +93,7 @@ lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavio lean_object* l_Lean_Parser_ParserState_errorMsg___default; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7222__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optionaInfo___elambda__2(lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__4; static lean_object* l_Lean_Parser_binNumberFn___closed__1; static lean_object* l_Lean_Parser_hexNumberFn___closed__1; lean_object* l_Lean_Parser_checkInsideQuotFn(lean_object*, lean_object*); @@ -102,6 +104,7 @@ lean_object* l_Lean_Parser_numberFnAux(lean_object*, lean_object*); static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Parser_categoryParserFn___spec__1___closed__1; lean_object* l_Lean_Parser_manyAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_withAntiquotSuffixSpliceFn___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__3; lean_object* l_Lean_Parser_withoutInfo(lean_object*); lean_object* l_Lean_Parser_mkAntiquotSplice(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_identEqFn___closed__1; @@ -120,6 +123,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_forArgsM___spec__1___at_ lean_object* l_Lean_Parser_longestMatchFn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_fieldIdx___closed__6; static lean_object* l_Lean_Parser_errorAtSavedPos___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__5; lean_object* l_Lean_Parser_dbgTraceState___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nameLitNoAntiquot; lean_object* l_Lean_Parser_runLongestMatchParser___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -153,8 +157,10 @@ lean_object* l_Lean_Parser_dbgTraceStateFn___boxed(lean_object*, lean_object*, l lean_object* l_Lean_Parser_Parser_info___default___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_longestMatchFn_match__1(lean_object*); uint8_t l_Lean_Parser_ParserContext_suppressInsideQuot___default; +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__2; lean_object* l_Lean_Parser_ParserInfo_collectKinds___default(lean_object*); lean_object* l_Lean_Parser_PrattParsingTables_leadingTable___default; +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_pushSyntax(lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__17; lean_object* l_Lean_Parser_dbgTraceStateFn___lambda__1___boxed(lean_object*, lean_object*); @@ -162,6 +168,7 @@ lean_object* l_Lean_Parser_tokenWithAntiquotFn(lean_object*, lean_object*, lean_ static lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__2; lean_object* l_Lean_Parser_anyOfFn_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_strAux_parse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__1; uint8_t l_Lean_Parser_isLitKind(lean_object*); lean_object* l_instInhabitedDepArrow___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_instBEqError___closed__1; @@ -207,14 +214,12 @@ static lean_object* l_Lean_Parser_instInhabitedInputContext___closed__3; lean_object* l_Lean_Parser_ParserInfo_collectTokens___default___boxed(lean_object*); lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__4(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526____lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__4; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_Error_expectedToString_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Parser_rawCh___elambda__1(uint32_t, uint8_t, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7545____closed__1; lean_object* l_Lean_Parser_tokenFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_withoutForbidden___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAtomicInfo(lean_object*); @@ -249,8 +254,8 @@ static lean_object* l_Lean_Parser_checkPrecFn___closed__1; lean_object* l_Lean_Parser_TokenCacheEntry_startPos___default; lean_object* l_Lean_Parser_initCacheForInput___boxed(lean_object*); lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_nameLitAux_match__1(lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__9; lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__8(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526____closed__1; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Parser_ParserState_mkErrorsAt(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_instInhabitedParserInfo___lambda__2___closed__1; @@ -260,6 +265,7 @@ static lean_object* l_Lean_Parser_binNumberFn___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_forArgsM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkColGeFn___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__6; static lean_object* l_Lean_Parser_instInhabitedParserInfo___closed__3; lean_object* l_Lean_Parser_nameLitFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_setExpected___elambda__1___rarg(lean_object*, lean_object*, lean_object*); @@ -269,7 +275,7 @@ extern lean_object* l_Lean_nameLitKind; static lean_object* l_Lean_Parser_categoryParserFnExtension___closed__1; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux_parse___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_decimalNumberFn_parseOptDot___closed__1; -lean_object* l_Lean_Parser_indexed_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_indexed_match__4___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_strLitFnAux___closed__1; lean_object* l_Lean_Parser_suppressInsideQuotFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_instInhabitedParser___lambda__1___boxed(lean_object*, lean_object*); @@ -297,7 +303,6 @@ static lean_object* l_Lean_Parser_internal_parseQuotWithCurrentStage___closed__1 lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux_parse___lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_identFnAux_parse___lambda__2___closed__3; lean_object* l_Lean_Parser_identEqFn(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_indexed_match__5___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_antiquotExpr___closed__2; static lean_object* l_Lean_Parser_scientificLitFn___closed__2; static lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; @@ -319,11 +324,11 @@ static lean_object* l_Lean_Parser_invalidLongestMatchParser___closed__1; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_isIdFirstOrBeginEscape___boxed(lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__5; lean_object* l_Lean_Parser_nonReservedSymbolNoAntiquot(lean_object*, uint8_t); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526____lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_forArgsM(lean_object*); lean_object* l_Lean_Parser_octalNumberFn___lambda__1___boxed(lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__15; lean_object* l_Lean_Parser_decimalNumberFn(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__13; static lean_object* l_Lean_Parser_mkAntiquotSplice___closed__4; static lean_object* l_Lean_Parser_evalParserConstUnsafe___closed__6; lean_object* l_Lean_Parser_takeWhileFn(lean_object*, lean_object*, lean_object*); @@ -356,6 +361,7 @@ lean_object* l_Lean_Parser_sepBy1NoAntiquot___boxed(lean_object*, lean_object*, lean_object* l_Lean_Parser_antiquotExpr___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_longestMatchStep_match__1(lean_object*); lean_object* l_Std_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__3(lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__18; lean_object* l_Lean_Parser_trailingLoop___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkTokenAndFixPos___closed__1; lean_object* l_Lean_Parser_whitespace___boxed(lean_object*, lean_object*); @@ -372,6 +378,7 @@ lean_object* l_Lean_Parser_Error_instToStringError; lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseFnCore_match__1(lean_object*); static lean_object* l_Lean_Parser_strLitFn___closed__2; +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__5; lean_object* l_Lean_Parser_evalParserConst___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_FirstTokens_instToStringFirstTokens___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -384,10 +391,12 @@ static lean_object* l_Lean_Parser_numLitNoAntiquot___closed__4; lean_object* l_Lean_Parser_indexed_match__1(lean_object*, lean_object*); static lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1___closed__1; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_pickNonNone___boxed(lean_object*); +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265_(uint8_t, lean_object*); static lean_object* l_Lean_Parser_sepByElemParser___closed__2; static lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__6; static lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__2___closed__7; lean_object* l_Lean_Parser_takeUntilFn___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__14; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux_parse(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_isToken___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_instInhabitedParserInfo___lambda__1___boxed(lean_object*); @@ -396,11 +405,11 @@ lean_object* l_Lean_Parser_longestMatchFnAux(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Parser_lookaheadFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_withResultOfInfo___elambda__2(lean_object*, lean_object*); static lean_object* l_Lean_Parser_rawIdentNoAntiquot___closed__1; +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265__match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkLhsPrecFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolFn___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7545____lambda__1(lean_object*); static lean_object* l_Lean_Parser_numLitNoAntiquot___closed__1; lean_object* l_Lean_Parser_indexed_match__4(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -413,7 +422,6 @@ lean_object* l_Lean_Parser_mkAntiquotSplice___elambda__1(lean_object*, lean_obje static lean_object* l_Lean_Parser_antiquotNestedExpr___closed__1; static lean_object* l_Lean_Parser_fieldIdx___closed__9; lean_object* l_Lean_Parser_checkNoWsBefore(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__6; uint8_t l_List_beq___at_Lean_Syntax_structEq___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Parser_antiquotNestedExpr___closed__2; lean_object* l_Lean_Parser_noFirstTokenInfo(lean_object*); @@ -466,6 +474,7 @@ lean_object* l_Lean_Parser_manyAux___lambda__1(lean_object*, lean_object*, lean_ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_mkResult(lean_object*, lean_object*); uint8_t l_Lean_Parser_tryAnti(lean_object*, lean_object*); +lean_object* l_Lean_Parser_instReprLeadingIdentBehavior; lean_object* l_Lean_Parser_optionaInfo(lean_object*); lean_object* l_Lean_Parser_FirstTokens_seq(lean_object*, lean_object*); static lean_object* l_Lean_Parser_parserOfStackFnUnsafe___closed__4; @@ -476,7 +485,6 @@ static lean_object* l_Lean_Parser_Error_toString___closed__4; static lean_object* l_Lean_Parser_withAntiquotSuffixSpliceFn___lambda__1___closed__1; lean_object* l_Lean_Parser_SyntaxNodeKindSet_insert(lean_object*, lean_object*); lean_object* l_Lean_Parser_atomic(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__5; lean_object* l_Lean_Parser_nodeWithAntiquot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_antiquotNestedExpr___closed__4; lean_object* l_Lean_Parser_withAntiquotSuffixSpliceFn___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -500,7 +508,9 @@ lean_object* l_Lean_Parser_longestMatchFnAux_parse(lean_object*, lean_object*, l lean_object* l_Lean_Parser_argPrec; lean_object* l_Lean_Parser_charLitFn(lean_object*, lean_object*); lean_object* l_Lean_Parser_trailingLoopStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7622____closed__1; static lean_object* l_Lean_Parser_sepByElemParser___closed__1; +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__16; static lean_object* l_Lean_Parser_charLitNoAntiquot___closed__2; static lean_object* l_Lean_Parser_dbgTraceStateFn___closed__7; lean_object* l_Lean_Parser_longestMatchStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -527,7 +537,6 @@ static lean_object* l_Lean_Parser_mkAntiquot___closed__20; uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_checkLhsPrec(lean_object*); lean_object* l_Lean_Parser_checkWsBefore(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__3; lean_object* l_Lean_Parser_checkNoWsBeforeFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_setCache(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_foldArgsM___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -551,6 +560,7 @@ static lean_object* l_Lean_Parser_termParser___closed__2; extern lean_object* l_Lean_choiceKind; extern lean_object* l_Lean_charLitKind; lean_object* l_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__6; lean_object* l_Lean_Parser_errorFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_maxPrec; lean_object* l_Lean_Parser_withForbidden___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -595,6 +605,7 @@ lean_object* l_Lean_Parser_ParserState_hasError___boxed(lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__3(lean_object*); lean_object* l_Lean_Parser_unicodeSymbol___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_nodeInfo___elambda__2(lean_object*, lean_object*); +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265__match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_parserOfStack(lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__23; lean_object* l_Lean_Parser_identFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -632,8 +643,9 @@ lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__7___rarg(lean_ob lean_object* l_Lean_Parser_longestMatchMkResult(lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__7___rarg___boxed(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_forArgsM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_instReprLeadingIdentBehavior___closed__1; lean_object* l_Lean_Parser_whitespace(lean_object*, lean_object*); -lean_object* l_Lean_Parser_indexed_match__3___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_indexed_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawCh(uint32_t, uint8_t); lean_object* l_Lean_Parser_trailingLoop___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -724,6 +736,7 @@ lean_object* l_Lean_Parser_quotedCharFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_sepBy1Fn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_instInhabitedExt___lambda__1(lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__10; lean_object* l_Lean_Parser_longestMatchFnAux_parse_match__1___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__1___closed__2; lean_object* l_Lean_Parser_checkTailNoWs_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -734,7 +747,6 @@ lean_object* l_Lean_Parser_symbolNoAntiquot___boxed(lean_object*); lean_object* l_Lean_Parser_checkColGeFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_charLitFnAux___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_prattParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__4; static lean_object* l_Lean_Parser_evalParserConstUnsafe___closed__3; lean_object* l_Lean_Parser_nodeWithAntiquot(lean_object*, lean_object*, lean_object*, uint8_t); extern lean_object* l_Lean_identKind; @@ -771,6 +783,7 @@ lean_object* l_Lean_Parser_FirstTokens_merge_match__1___rarg(lean_object*, lean_ lean_object* l_Lean_Syntax_getNumArgs(lean_object*); static lean_object* l_Lean_Parser_withAntiquotSuffixSpliceFn___lambda__1___closed__2; lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603____lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_forArgsM___spec__1___at_Lean_Syntax_forArgsM___spec__2___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); extern lean_object* l_Lean_scientificLitKind; lean_object* l_Lean_Parser_ParserState_keepNewError___boxed(lean_object*, lean_object*); @@ -782,12 +795,10 @@ static lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__1___closed__1; lean_object* l_Lean_Parser_PrattParsingTables_trailingTable___default; lean_object* l_Lean_Parser_ParserModuleContext_currNamespace___default; lean_object* l_Lean_Parser_ParserState_setError(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__1; lean_object* l_Std_RBNode_insert___at_Lean_Parser_TokenMap_insert___spec__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkUnexpectedErrorAt(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__24; lean_object* l_Std_RBNode_find___at_Lean_Parser_TokenMap_insert___spec__1(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__2; lean_object* l_Lean_Parser_mergeOrElseErrors(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Parser_dbgTraceStateFn___closed__6; static lean_object* l_Lean_Parser_decQuotDepth___closed__1; @@ -803,6 +814,7 @@ lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); lean_object* l_Lean_Parser_Parser_info___default___elambda__2___boxed(lean_object*); uint8_t l_Std_RBNode_isRed___rarg(lean_object*); lean_object* l_Lean_Parser_decQuotDepth(lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__15; static lean_object* l_Lean_Parser_antiquotNestedExpr___closed__6; static lean_object* l_Lean_Parser_mkAntiquot___closed__22; lean_object* l_Lean_Parser_TokenMap_insert_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -812,6 +824,7 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Parser_many1NoAntiquot(lean_object*); lean_object* l_Lean_Parser_TokenCacheEntry_token___default; lean_object* l_Lean_Parser_ParserState_toErrorMsg_match__1(lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__3; lean_object* l_Lean_Parser_dbgTraceState___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_foldArgsM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Lean_Parser_chFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -845,9 +858,11 @@ lean_object* l_Lean_Parser_sepBy1Fn(uint8_t, lean_object*, lean_object*, lean_ob lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_epsilonInfo; lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7622____lambda__1(lean_object*); static lean_object* l_Lean_Parser_epsilonInfo___closed__3; lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__2___closed__1; +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__7; lean_object* l_Lean_Parser_nonReservedSymbolInfo___elambda__2___boxed(lean_object*); lean_object* l_Lean_Parser_instInhabitedParser; lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -856,7 +871,6 @@ static lean_object* l_Lean_Parser_FirstTokens_toStr___closed__2; lean_object* l_Lean_Parser_checkLinebreakBefore___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawIdentNoAntiquot; lean_object* l_Lean_Parser_ParserState_replaceLongest(lean_object*, lean_object*); -lean_object* l_Lean_Parser_indexed_match__5(lean_object*); lean_object* l_Lean_Parser_fieldIdxFn___boxed(lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__4___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___at_Lean_Parser_categoryParserFn___spec__1___closed__4; @@ -885,6 +899,7 @@ static lean_object* l_Lean_Parser_epsilonInfo___closed__2; uint8_t l_Lean_Parser_tryAnti___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawCh___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_numberFnAux___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__1; static lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__1; static lean_object* l_Lean_Parser_instAndThenParser___closed__1; lean_object* l_List_eraseReps___at_Lean_Parser_Error_toString___spec__3(lean_object*); @@ -929,6 +944,7 @@ static lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__4; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_nameLitAux_match__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_instInhabitedInputContext___closed__2; lean_object* l_Lean_Parser_strAux_parse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603____lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_evalParserConstUnsafe___closed__2; uint8_t l_Lean_isIdFirst(uint32_t); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); @@ -943,16 +959,18 @@ lean_object* l_Lean_Parser_many1Unbox(lean_object*); lean_object* l_Lean_Parser_parserOfStackFnUnsafe___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepByInfo___elambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkColGt(lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__11; static lean_object* l_Lean_Parser_symbolInfo___closed__1; lean_object* l_Lean_Parser_indexed_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_tokenFnAux_match__1(lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__6; static lean_object* l_Lean_Parser_parserOfStackFnUnsafe___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7545_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7622_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739_(lean_object*); uint8_t l_Lean_Parser_instInhabitedLeadingIdentBehavior; static lean_object* l_Lean_Parser_fieldIdx___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__2; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Parser_instBEqLeadingIdentBehavior___closed__1; lean_object* l_Lean_Parser_optionaInfo___elambda__1(lean_object*, lean_object*); @@ -1028,6 +1046,7 @@ lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_obje lean_object* l_Lean_Parser_checkTailLinebreak___boxed(lean_object*); uint8_t l_UInt32_decLe(uint32_t, uint32_t); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__4___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__8; uint8_t l_Lean_Parser_ParserState_hasError(lean_object*); lean_object* l_Lean_Parser_symbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_hexDigitFn___closed__1; @@ -1037,6 +1056,7 @@ lean_object* l_Lean_Parser_parserOfStackFn___rarg___boxed(lean_object*); lean_object* l_Lean_Parser_ParserState_mkEOIError(lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__17; lean_object* l_Lean_Parser_indexed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserOfStackFn(lean_object*, lean_object*, lean_object*); @@ -1055,8 +1075,10 @@ lean_object* l_Lean_Parser_ParserState_replaceLongest___boxed(lean_object*, lean lean_object* l_Lean_Parser_longestMatchStep___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedCharCoreFn___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Error_toString___closed__1; +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265__match__1(lean_object*); lean_object* l_Lean_Parser_instInhabitedParserInfo___lambda__1(lean_object*); lean_object* l_Std_RBNode_find___at_Lean_Parser_indexed___spec__2___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__12; static lean_object* l_Lean_Parser_mkAntiquot___closed__2; lean_object* l_Lean_Parser_withResultOfInfo(lean_object*); lean_object* l_Lean_Parser_withAntiquotSuffixSpliceFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1074,6 +1096,7 @@ static lean_object* l_Lean_Parser_antiquotExpr___closed__3; lean_object* l_Lean_Parser_charLitNoAntiquot; lean_object* l_Lean_Parser_FirstTokens_merge_match__1(lean_object*); lean_object* l_Lean_mkErrorStringWithPos(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__4; lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_isToken_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); @@ -1119,6 +1142,7 @@ lean_object* l_Char_isDigit___boxed(lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__1; lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_stxStack___default; +lean_object* l_Repr_addAppParen(lean_object*, lean_object*); lean_object* l_Lean_Parser_tokenWithAntiquot(lean_object*); uint8_t l_Lean_Parser_isLitKind(lean_object* x_1) { _start: @@ -26041,6 +26065,359 @@ x_1 = l_Lean_Parser_instBEqLeadingIdentBehavior___closed__1; return x_1; } } +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265__match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_4); +lean_dec(x_3); +x_5 = lean_box(0); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +case 1: +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_2); +x_7 = lean_box(0); +x_8 = lean_apply_1(x_3, x_7); +return x_8; +} +default: +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +lean_dec(x_2); +x_9 = lean_box(0); +x_10 = lean_apply_1(x_4, x_9); +return x_10; +} +} +} +} +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265__match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265__match__1___rarg___boxed), 4, 0); +return x_2; +} +} +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265__match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_1); +lean_dec(x_1); +x_6 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265__match__1___rarg(x_5, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Parser.LeadingIdentBehavior.default"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__3; +x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__2; +x_3 = lean_alloc_ctor(3, 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___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__5() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__4; +x_2 = 0; +x_3 = lean_alloc_ctor(5, 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___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_incQuotDepth___closed__1; +x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__2; +x_3 = lean_alloc_ctor(3, 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___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__7() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__6; +x_2 = 0; +x_3 = lean_alloc_ctor(5, 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___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Parser.LeadingIdentBehavior.symbol"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__8; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__3; +x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__9; +x_3 = lean_alloc_ctor(3, 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___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__11() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__10; +x_2 = 0; +x_3 = lean_alloc_ctor(5, 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___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_incQuotDepth___closed__1; +x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__9; +x_3 = lean_alloc_ctor(3, 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___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__13() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__12; +x_2 = 0; +x_3 = lean_alloc_ctor(5, 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___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Parser.LeadingIdentBehavior.both"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__14; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__3; +x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__15; +x_3 = lean_alloc_ctor(3, 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___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__17() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__16; +x_2 = 0; +x_3 = lean_alloc_ctor(5, 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___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_incQuotDepth___closed__1; +x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__15; +x_3 = lean_alloc_ctor(3, 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___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__19() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__18; +x_2 = 0; +x_3 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265_(uint8_t x_1, lean_object* x_2) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_unsigned_to_nat(1024u); +x_4 = lean_nat_dec_le(x_3, x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__5; +x_6 = l_Repr_addAppParen(x_5, x_2); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__7; +x_8 = l_Repr_addAppParen(x_7, x_2); +return x_8; +} +} +case 1: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_unsigned_to_nat(1024u); +x_10 = lean_nat_dec_le(x_9, x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__11; +x_12 = l_Repr_addAppParen(x_11, x_2); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__13; +x_14 = l_Repr_addAppParen(x_13, x_2); +return x_14; +} +} +default: +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_unsigned_to_nat(1024u); +x_16 = lean_nat_dec_le(x_15, x_2); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__17; +x_18 = l_Repr_addAppParen(x_17, x_2); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__19; +x_20 = l_Repr_addAppParen(x_19, x_2); +return x_20; +} +} +} +} +} +lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265_(x_3, x_2); +lean_dec(x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_instReprLeadingIdentBehavior___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_instReprLeadingIdentBehavior() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_instReprLeadingIdentBehavior___closed__1; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_instInhabitedParserCategory___closed__1() { _start: { @@ -26122,59 +26499,7 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Parser_indexed_match__2___rarg), 3, 0); return x_3; } } -lean_object* l_Lean_Parser_indexed_match__3___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -switch (x_1) { -case 0: -{ -lean_object* x_5; lean_object* x_6; -lean_dec(x_4); -lean_dec(x_3); -x_5 = lean_box(0); -x_6 = lean_apply_1(x_2, x_5); -return x_6; -} -case 1: -{ -lean_object* x_7; lean_object* x_8; -lean_dec(x_4); -lean_dec(x_2); -x_7 = lean_box(0); -x_8 = lean_apply_1(x_3, x_7); -return x_8; -} -default: -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_3); -lean_dec(x_2); -x_9 = lean_box(0); -x_10 = lean_apply_1(x_4, x_9); -return x_10; -} -} -} -} -lean_object* l_Lean_Parser_indexed_match__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_indexed_match__3___rarg___boxed), 4, 0); -return x_2; -} -} -lean_object* l_Lean_Parser_indexed_match__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_1); -lean_dec(x_1); -x_6 = l_Lean_Parser_indexed_match__3___rarg(x_5, x_2, x_3, x_4); -return x_6; -} -} -lean_object* l_Lean_Parser_indexed_match__4___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) { +lean_object* l_Lean_Parser_indexed_match__3___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) @@ -26257,15 +26582,15 @@ return x_21; } } } -lean_object* l_Lean_Parser_indexed_match__4(lean_object* x_1) { +lean_object* l_Lean_Parser_indexed_match__3(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_indexed_match__4___rarg), 6, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_indexed_match__3___rarg), 6, 0); return x_2; } } -lean_object* l_Lean_Parser_indexed_match__5___rarg(lean_object* x_1, lean_object* x_2) { +lean_object* l_Lean_Parser_indexed_match__4___rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -26278,11 +26603,11 @@ x_5 = lean_apply_2(x_2, x_3, x_4); return x_5; } } -lean_object* l_Lean_Parser_indexed_match__5(lean_object* x_1) { +lean_object* l_Lean_Parser_indexed_match__4(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_indexed_match__5___rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_indexed_match__4___rarg), 2, 0); return x_2; } } @@ -27267,7 +27592,7 @@ lean_dec(x_1); return x_6; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -27275,34 +27600,34 @@ x_4 = l_Lean_Parser_whitespace(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526____lambda__1___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603____lambda__1___boxed), 3, 0); return x_1; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603____closed__1; x_3 = l_IO_mkRef___rarg(x_2, x_1); return x_3; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526____lambda__1(x_1, x_2, x_3); +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603____lambda__1(x_1, x_2, x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7545____lambda__1(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7622____lambda__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -27328,19 +27653,19 @@ return x_7; } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7545____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7622____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7545____lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7622____lambda__1), 1, 0); return x_1; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7545_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7622_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7545____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7622____closed__1; x_3 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_2, x_1); return x_3; } @@ -30862,7 +31187,7 @@ lean_dec(x_1); return x_5; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__1() { _start: { lean_object* x_1; @@ -30870,17 +31195,17 @@ x_1 = lean_mk_string("internal"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__3() { _start: { lean_object* x_1; @@ -30888,17 +31213,17 @@ x_1 = lean_mk_string("parseQuotWithCurrentStage"); return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__2; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__3; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__2; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__5() { _start: { lean_object* x_1; @@ -30906,13 +31231,13 @@ x_1 = lean_mk_string("(Lean bootstrapping) use parsers from the current stage in return x_1; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__6() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__1; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__5; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__1; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -30921,12 +31246,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__4; -x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__6; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__4; +x_3 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__6; x_4 = l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_48____spec__1(x_2, x_3, x_1); return x_4; } @@ -32597,24 +32922,66 @@ l_Lean_Parser_instBEqLeadingIdentBehavior___closed__1 = _init_l_Lean_Parser_inst lean_mark_persistent(l_Lean_Parser_instBEqLeadingIdentBehavior___closed__1); l_Lean_Parser_instBEqLeadingIdentBehavior = _init_l_Lean_Parser_instBEqLeadingIdentBehavior(); lean_mark_persistent(l_Lean_Parser_instBEqLeadingIdentBehavior); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__1 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__1(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__1); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__2 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__2(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__2); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__3 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__3(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__3); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__4 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__4(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__4); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__5 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__5(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__5); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__6 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__6(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__6); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__7 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__7(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__7); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__8 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__8(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__8); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__9 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__9(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__9); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__10 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__10(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__10); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__11 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__11(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__11); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__12 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__12(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__12); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__13 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__13(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__13); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__14 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__14(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__14); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__15 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__15(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__15); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__16 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__16(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__16); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__17 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__17(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__17); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__18 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__18(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__18); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__19 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__19(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_7265____closed__19); +l_Lean_Parser_instReprLeadingIdentBehavior___closed__1 = _init_l_Lean_Parser_instReprLeadingIdentBehavior___closed__1(); +lean_mark_persistent(l_Lean_Parser_instReprLeadingIdentBehavior___closed__1); +l_Lean_Parser_instReprLeadingIdentBehavior = _init_l_Lean_Parser_instReprLeadingIdentBehavior(); +lean_mark_persistent(l_Lean_Parser_instReprLeadingIdentBehavior); l_Lean_Parser_instInhabitedParserCategory___closed__1 = _init_l_Lean_Parser_instInhabitedParserCategory___closed__1(); lean_mark_persistent(l_Lean_Parser_instInhabitedParserCategory___closed__1); l_Lean_Parser_instInhabitedParserCategory = _init_l_Lean_Parser_instInhabitedParserCategory(); lean_mark_persistent(l_Lean_Parser_instInhabitedParserCategory); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526____closed__1); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7526_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603____closed__1); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7603_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_categoryParserFnRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_categoryParserFnRef); lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7545____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7545____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7545____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7622____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7622____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7622____closed__1); l_Lean_Parser_categoryParserFnExtension___closed__1 = _init_l_Lean_Parser_categoryParserFnExtension___closed__1(); lean_mark_persistent(l_Lean_Parser_categoryParserFnExtension___closed__1); l_Lean_Parser_categoryParserFnExtension___closed__2 = _init_l_Lean_Parser_categoryParserFnExtension___closed__2(); lean_mark_persistent(l_Lean_Parser_categoryParserFnExtension___closed__2); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7545_(lean_io_mk_world()); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_7622_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_categoryParserFnExtension = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_categoryParserFnExtension); @@ -32831,21 +33198,21 @@ l_Lean_Parser_parserOfStackFnUnsafe___closed__4 = _init_l_Lean_Parser_parserOfSt lean_mark_persistent(l_Lean_Parser_parserOfStackFnUnsafe___closed__4); l_Lean_Parser_parserOfStackFnUnsafe___closed__5 = _init_l_Lean_Parser_parserOfStackFnUnsafe___closed__5(); lean_mark_persistent(l_Lean_Parser_parserOfStackFnUnsafe___closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739____closed__6); l_Lean_Parser_internal_parseQuotWithCurrentStage___closed__1 = _init_l_Lean_Parser_internal_parseQuotWithCurrentStage___closed__1(); lean_mark_persistent(l_Lean_Parser_internal_parseQuotWithCurrentStage___closed__1); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8662_(lean_io_mk_world()); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_8739_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_internal_parseQuotWithCurrentStage = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_internal_parseQuotWithCurrentStage); diff --git a/stage0/stdlib/Lean/Parser/Syntax.c b/stage0/stdlib/Lean/Parser/Syntax.c index 0917282dd1..fd1119c4e5 100644 --- a/stage0/stdlib/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Lean/Parser/Syntax.c @@ -15,12 +15,14 @@ extern "C" { #endif static lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__6; +static lean_object* l_Lean_Parser_Command_catBehavior_parenthesizer___closed__7; lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1___lambda__1(lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_prec_quot(lean_object*); static lean_object* l_Lean_Parser_Term_prio_quot___elambda__1___closed__15; static lean_object* l___regBuiltin_Lean_Parser_Syntax_nonReserved_formatter___closed__1; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__12; static lean_object* l_Lean_Parser_Syntax_cat___closed__6; +static lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__15; lean_object* l_Lean_Parser_Command_syntax_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_stx_quot_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__3; @@ -56,6 +58,7 @@ static lean_object* l_Lean_Parser_Command_elabTail___closed__2; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__13; static lean_object* l_Lean_Parser_Command_macroTail_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__25; +static lean_object* l_Lean_Parser_Command_catBehavior_formatter___closed__4; static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_elabTail_formatter___closed__2; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__7; @@ -69,6 +72,7 @@ lean_object* l_Lean_Parser_Command_macroRhs___elambda__1(lean_object*, lean_obje static lean_object* l_Lean_Parser_Command_elab_formatter___closed__3; static lean_object* l_Lean_Parser_Command_elabTail_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__10; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__17; static lean_object* l_Lean_Parser_Command_mixfixKind___closed__2; static lean_object* l_Lean_Parser_Syntax_atom___closed__6; static lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__3; @@ -81,6 +85,7 @@ static lean_object* l_Lean_Parser_Term_prec_quot_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__5; static lean_object* l_Lean_Parser_Command_optKind_parenthesizer___closed__1; lean_object* l_Lean_Parser_syntaxParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehavior_formatter___closed__8; static lean_object* l_Lean_Parser_Command_optKind___closed__13; static lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_macroArg_formatter___closed__1; @@ -92,6 +97,7 @@ static lean_object* l_Lean_Parser_Command_postfix_formatter___closed__3; lean_object* l_Lean_Parser_Command_mixfix; static lean_object* l_Lean_Parser_Syntax_sepBy___closed__10; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__15; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__7; static lean_object* l_Lean_Parser_Syntax_unary___elambda__1___closed__5; static lean_object* l_Lean_Parser_precedence___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_prio_quot_formatter___closed__1; @@ -99,6 +105,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Syntax_sepBy_formatter___closed__ static lean_object* l_Lean_Parser_precedence___elambda__1___lambda__2___closed__5; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__13; static lean_object* l_Lean_Parser_Command_macroTail_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_elab__rules___closed__12; static lean_object* l_Lean_Parser_Term_prec_quot_formatter___closed__6; @@ -115,6 +122,7 @@ lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1(lean_object*, lean_ static lean_object* l_Lean_Parser_precedence___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_optKind_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__13; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_macroRhs_formatter___closed__1; static lean_object* l_Lean_Parser_Term_prio_quot___closed__3; @@ -123,6 +131,7 @@ static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__21; lean_object* l_Lean_Parser_Term_prec_quot; static lean_object* l_Lean_Parser_Command_namedName_parenthesizer___closed__9; static lean_object* l_Lean_Parser_Command_macroRhs_formatter___closed__2; +lean_object* l_Lean_Parser_Command_catBehavior; lean_object* l_Lean_Parser_Command_macroTailCommand_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_stx_quot___closed__9; static lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__3; @@ -138,6 +147,7 @@ lean_object* l_Lean_Parser_many(lean_object*); static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__14; static lean_object* l___regBuiltin_Lean_Parser_Syntax_sepBy1_parenthesizer___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehavior_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_elab_formatter___closed__7; @@ -155,19 +165,23 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_prio_quot_parenthesizer___cl lean_object* l_Lean_Parser_Command_notationItem_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_stx_quot_parenthesizer___closed__5; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__13; +static lean_object* l_Lean_Parser_Command_catBehavior_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_namedName_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Syntax_unary___closed__1; static lean_object* l_Lean_Parser_Term_stx_quot_formatter___closed__2; static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__13; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__15; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___closed__1; static lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__12; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___closed__3; static lean_object* l_Lean_Parser_Command_infixl_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_namedName___closed__6; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_namedName_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__10; lean_object* l_Lean_Parser_Command_infixr___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__18; static lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Command_elab__rules(lean_object*); @@ -178,6 +192,7 @@ static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__10; static lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__10; lean_object* l_Lean_Parser_symbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehavior_formatter___closed__2; static lean_object* l_Lean_Parser_Term_prec_quot_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__6; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__16; @@ -189,6 +204,7 @@ static lean_object* l_Lean_Parser_Command_macroTail___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__17; lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_notation_formatter___closed__7; +lean_object* l_Lean_Parser_Command_catBehavior_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__20; static lean_object* l_Lean_Parser_Term_prio_quot___closed__2; static lean_object* l_Lean_Parser_Syntax_cat___closed__4; @@ -220,6 +236,7 @@ static lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__11; static lean_object* l_Lean_Parser_Syntax_paren_formatter___closed__4; static lean_object* l_Lean_Parser_Syntax_sepBy1_formatter___closed__2; static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__8; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___closed__4; lean_object* l_Lean_Parser_Command_macro_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__14; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29_(lean_object*); @@ -243,6 +260,7 @@ static lean_object* l_Lean_Parser_Term_stx_quot___closed__2; static lean_object* l_Lean_Parser_Term_prec_quot_formatter___closed__3; static lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_Command_catBehavior_formatter___closed__1; static lean_object* l_Lean_Parser_Command_optKind___closed__18; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_stx_quot_formatter(lean_object*); @@ -251,6 +269,7 @@ lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer(lean_object*, lean_ lean_object* l___regBuiltin_Lean_Parser_Command_macro__rules_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__3; static lean_object* l_Lean_Parser_Term_prec_quot_formatter___closed__5; +static lean_object* l_Lean_Parser_Command_catBehavior_formatter___closed__3; static lean_object* l_Lean_Parser_precedence___elambda__1___lambda__2___closed__2; static lean_object* l_Lean_Parser_Command_macro_formatter___closed__14; static lean_object* l___regBuiltin_Lean_Parser_Command_syntaxCat_parenthesizer___closed__2; @@ -279,6 +298,7 @@ lean_object* l_Lean_Parser_Command_elab__rules_formatter(lean_object*, lean_obje extern lean_object* l_Lean_Parser_ident; static lean_object* l_Lean_Parser_Command_namedName___closed__8; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__15; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__1; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__2; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__10; @@ -322,6 +342,7 @@ static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__23; lean_object* l_Lean_Parser_Tactic_seq1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__12; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__22; +lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__10; static lean_object* l___regBuiltin_Lean_Parser_Syntax_atom_formatter___closed__2; static lean_object* l_Lean_Parser_Command_elab_formatter___closed__1; @@ -346,6 +367,7 @@ static lean_object* l_Lean_Parser_Command_macro___closed__12; static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__18; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__17; lean_object* l_Lean_Parser_Command_macroTail_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__8; static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_macroTail___closed__7; static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__10; @@ -377,12 +399,14 @@ lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__6; extern lean_object* l_Lean_Parser_Tactic_seq1; lean_object* l_Lean_Parser_Syntax_paren_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__9; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Command_macroRhs___closed__5; static lean_object* l_Lean_Parser_Syntax_binary_formatter___closed__7; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__4; static lean_object* l_Lean_Parser_Syntax_binary___closed__6; lean_object* l_Lean_Parser_Command_infixr; static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__2; @@ -399,6 +423,7 @@ lean_object* l___regBuiltin_Lean_Parser_Syntax_sepBy1_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_macroArg_formatter___closed__2; static lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_mixfix___elambda__1___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehavior_formatter___closed__5; static lean_object* l_Lean_Parser_Command_macroTail___elambda__1___closed__1; lean_object* l_Lean_Parser_precedence___elambda__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Syntax_numPrec_parenthesizer___closed__2; @@ -412,6 +437,7 @@ static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__16; static lean_object* l_Lean_Parser_Command_elab___closed__3; lean_object* l___regBuiltin_Lean_Parser_Syntax_nonReserved_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_syntax_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__2; static lean_object* l_Lean_Parser_Command_notationItem_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__4; @@ -429,6 +455,7 @@ static lean_object* l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__11; static lean_object* l_Lean_Parser_Syntax_nonReserved___closed__6; static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__12; +lean_object* l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_sepBy___closed__8; static lean_object* l_Lean_Parser_Term_prec_quot___closed__7; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__4; @@ -443,6 +470,7 @@ static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__16; static lean_object* l_Lean_Parser_Command_elab___closed__5; static lean_object* l_Lean_Parser_Command_postfix_parenthesizer___closed__1; static lean_object* l_Lean_Parser_precedence___elambda__1___lambda__2___closed__8; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_nonReserved(lean_object*); static lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__11; static lean_object* l_Lean_Parser_Command_infixl___closed__4; @@ -485,6 +513,7 @@ lean_object* l_Lean_Parser_Command_identPrec; static lean_object* l_Lean_Parser_Command_optKind___closed__6; static lean_object* l_Lean_Parser_Command_elabTail_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_infixl___closed__2; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__9; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__1; static lean_object* l_Lean_Parser_Syntax_paren_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_mixfix___closed__12; @@ -502,7 +531,9 @@ static lean_object* l_Lean_Parser_Command_syntaxAbbrev_parenthesizer___closed__2 lean_object* l_Lean_Parser_Command_syntaxAbbrev; lean_object* l_Lean_Parser_Command_notation_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_infix_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__11; static lean_object* l___regBuiltin_Lean_Parser_Term_stx_quot_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_catBehavior_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_macroArg___closed__5; lean_object* l_Lean_Parser_checkPrecFn(lean_object*, lean_object*, lean_object*); @@ -523,6 +554,7 @@ static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_identPrec_formatter___closed__2; static lean_object* l_Lean_Parser_Command_mixfix___closed__4; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__1; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_macro___closed__14; lean_object* l_Lean_Parser_Command_syntax; @@ -539,6 +571,7 @@ lean_object* l_Lean_Parser_identEqFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optional(lean_object*); static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_mixfix___closed__8; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___closed__6; static lean_object* l_Lean_Parser_Command_elab__rules___closed__3; static lean_object* l_Lean_Parser_Syntax_nonReserved___closed__3; static lean_object* l_Lean_Parser_Command_infixr_parenthesizer___closed__3; @@ -614,6 +647,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_stx_quot_formatter___closed_ static lean_object* l_Lean_Parser_Command_macroTailCommand_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_syntax_formatter___closed__1; static lean_object* l_Lean_Parser_precedence_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_catBehavior_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_Parser_Syntax_atom_formatter(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_withAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__3; @@ -626,6 +660,7 @@ static lean_object* l_Lean_Parser_Term_stx_quot_formatter___closed__6; static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__11; lean_object* l_Lean_Parser_Command_infixl; lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__3; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_macro__rules_formatter___closed__10; @@ -665,6 +700,7 @@ static lean_object* l_Lean_Parser_Command_elabTail___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_unary_formatter___closed__5; static lean_object* l_Lean_Parser_Command_macro__rules_formatter___closed__3; +lean_object* l_Lean_Parser_nonReservedSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_elabTail_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_mixfixKind___elambda__1___closed__1; static lean_object* l_Lean_Parser_Syntax_sepBy1_parenthesizer___closed__4; @@ -747,7 +783,9 @@ lean_object* l_Lean_Parser_nonReservedSymbolInfo(lean_object*, uint8_t); static lean_object* l_Lean_Parser_Command_syntax___closed__15; lean_object* l_Lean_Parser_strLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__7; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__7; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__25; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__10; lean_object* l_Lean_Parser_checkNoWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkPrec_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_notationItem___elambda__1___closed__1; @@ -785,6 +823,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Command_macro__rules(lean_object*) lean_object* l_Lean_Parser_optPrecedence_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_binary_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__10; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Command_elab_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__32; @@ -830,6 +869,7 @@ lean_object* l_Lean_Parser_precedence_parenthesizer(lean_object*, lean_object*, lean_object* l_Lean_Parser_syntaxParser_formatter___boxed(lean_object*); static lean_object* l_Lean_Parser_Syntax_binary___closed__7; static lean_object* l_Lean_Parser_Command_macroTail___elambda__1___closed__6; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__13; static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__7; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__7; @@ -859,6 +899,7 @@ static lean_object* l_Lean_Parser_Command_macroArg___closed__7; static lean_object* l_Lean_Parser_Command_infixr_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__8; static lean_object* l_Lean_Parser_Term_stx_quot___closed__8; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__14; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_macroRhs___closed__1; static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__10; @@ -874,6 +915,7 @@ static lean_object* l_Lean_Parser_Command_namedName_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__2; static lean_object* l_Lean_Parser_precedence___elambda__1___closed__15; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__12; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_notation_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_elab_formatter___closed__11; lean_object* l_Lean_Parser_Syntax_binary_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -895,11 +937,13 @@ lean_object* l_Lean_Parser_checkNoWsBeforeFn(lean_object*, lean_object*, lean_ob static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_stx_quot___closed__6; static lean_object* l_Lean_Parser_Command_optKind_formatter___closed__5; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__12; static lean_object* l_Lean_Parser_Term_prio_quot___closed__1; lean_object* l_Lean_Parser_Syntax_cat; static lean_object* l_Lean_Parser_Command_macroTailDefault_formatter___closed__1; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__1; +static lean_object* l_Lean_Parser_Command_catBehavior_formatter___closed__6; static lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__15; lean_object* l_Lean_Parser_Syntax_binary___elambda__1(lean_object*, lean_object*); @@ -915,12 +959,14 @@ static lean_object* l_Lean_Parser_Command_macroTailCommand_parenthesizer___close static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__4; static lean_object* l_Lean_Parser_Syntax_paren___closed__8; lean_object* l_Lean_Parser_Command_notationItem___elambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__5; static lean_object* l_Lean_Parser_Term_stx_quot___closed__1; lean_object* l_Lean_Parser_Command_syntaxCat_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macroRhs___elambda__1___closed__2; lean_object* l_Lean_Parser_Syntax_nonReserved_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_nonReserved___closed__7; lean_object* l_Lean_Parser_Command_macroTailTactic; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__13; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__27; static lean_object* l_Lean_Parser_Command_namedName_formatter___closed__9; static lean_object* l_Lean_Parser_Command_syntaxAbbrev_parenthesizer___closed__5; @@ -929,6 +975,7 @@ static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__5; static lean_object* l_Lean_Parser_Syntax_binary_formatter___closed__6; static lean_object* l_Lean_Parser_Command_macro_formatter___closed__9; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__3; static lean_object* l_Lean_Parser_Syntax_sepBy1_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_stx_quot_formatter___closed__4; static lean_object* l_Lean_Parser_Command_optKind_formatter___closed__3; @@ -946,6 +993,7 @@ extern lean_object* l_Lean_Parser_maxPrec; static lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__11; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__17; lean_object* l_Lean_Parser_strLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_macroTailDefault_formatter___closed__2; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_elab_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -970,12 +1018,14 @@ static lean_object* l_Lean_Parser_Command_mixfixKind___closed__1; static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__28; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__11; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___closed__4; static lean_object* l_Lean_Parser_Command_macro_formatter___closed__8; static lean_object* l_Lean_Parser_Syntax_unary___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_optKind_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__15; static lean_object* l_Lean_Parser_Command_macroTailDefault___closed__3; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__10; static lean_object* l_Lean_Parser_Syntax_numPrec___closed__3; static lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer___closed__11; static lean_object* l_Lean_Parser_Command_macroTail_parenthesizer___closed__1; @@ -991,6 +1041,7 @@ static lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__17; static lean_object* l_Lean_Parser_Command_syntaxAbbrev_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__5; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_4____closed__4; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___closed__5; static lean_object* l_Lean_Parser_Term_prio_quot_parenthesizer___closed__7; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__4; extern lean_object* l_Lean_Parser_Command_optNamedPrio; @@ -1011,6 +1062,7 @@ static lean_object* l_Lean_Parser_Syntax_nonReserved_formatter___closed__4; static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__8; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_infixr___closed__3; +static lean_object* l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_infixr_formatter___closed__2; @@ -1022,16 +1074,21 @@ static lean_object* l_Lean_Parser_Command_macroTail___closed__4; static lean_object* l_Lean_Parser_Command_macroArg_formatter___closed__3; lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Parser_Term_prio_quot___closed__9; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___closed__2; lean_object* l_Lean_Parser_Command_elab___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Command_catBehaviorBoth_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_macroTailCommand_parenthesizer___closed__2; +lean_object* l_Lean_Parser_Command_catBehaviorSymbol; lean_object* l___regBuiltin_Lean_Parser_Command_syntax_formatter(lean_object*); static lean_object* l_Lean_Parser_precedence_parenthesizer___closed__4; lean_object* l_Lean_PrettyPrinter_Parenthesizer_many1Unbox_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___closed__7; static lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__4; static lean_object* l_Lean_Parser_precedence_formatter___closed__5; static lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__12; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__16; static lean_object* l_Lean_Parser_Syntax_paren_formatter___closed__2; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____closed__6; static lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__2; @@ -1058,6 +1115,7 @@ static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_elabTail; static lean_object* l_Lean_Parser_Command_elabTail___closed__6; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__2; +lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__23; lean_object* l_Lean_Parser_Syntax_unary; @@ -1066,6 +1124,7 @@ static lean_object* l_Lean_Parser_Command_macroArg_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_prio_quot_formatter___closed__6; lean_object* l___regBuiltin_Lean_Parser_Syntax_cat_formatter(lean_object*); static lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___closed__1; static lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__3; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_mixfixKind_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1075,6 +1134,7 @@ static lean_object* l_Lean_Parser_Syntax_numPrec___closed__2; static lean_object* l_Lean_Parser_Command_syntaxAbbrev_formatter___closed__1; static lean_object* l_Lean_Parser_Term_prio_quot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_prio_quot___elambda__1___closed__19; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__3; static lean_object* l_Lean_Parser_Syntax_sepBy___closed__2; static lean_object* l_Lean_Parser_Command_mixfixKind_formatter___closed__5; static lean_object* l_Lean_Parser_Command_macroTail_formatter___closed__5; @@ -1123,6 +1183,7 @@ static lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__2; static lean_object* l_Lean_Parser_Syntax_binary_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_macroTail_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1___closed__2; +static lean_object* l_Lean_Parser_Command_catBehavior_formatter___closed__7; static lean_object* l_Lean_Parser_Syntax_cat_formatter___closed__1; static lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_namedName_parenthesizer___closed__7; @@ -1133,8 +1194,10 @@ static lean_object* l_Lean_Parser_Command_macroTailCommand___closed__1; static lean_object* l_Lean_Parser_Command_identPrec___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Command_elab__rules_formatter___closed__1; static lean_object* l_Lean_Parser_Syntax_paren_formatter___closed__7; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__1; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_syntax___closed__1; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__12; static lean_object* l___regBuiltinParser_Lean_Parser_Term_stx_quot___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Syntax_paren_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__5; @@ -1152,6 +1215,7 @@ static lean_object* l_Lean_Parser_Command_notationItem___closed__1; static lean_object* l_Lean_Parser_precedence___elambda__1___lambda__2___closed__11; static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__12; lean_object* l___regBuiltin_Lean_Parser_Term_prec_quot_formatter(lean_object*); +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__5; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_paren(lean_object*); lean_object* l_Lean_Parser_withResultOfFn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_nonReserved_formatter___closed__2; @@ -1170,6 +1234,7 @@ static lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__2; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_4____closed__6; static lean_object* l___regBuiltin_Lean_Parser_Syntax_binary_formatter___closed__1; static lean_object* l_Lean_Parser_Command_infixr_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__2; static lean_object* l_Lean_Parser_Command_macroRhs_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__21; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__7; @@ -1183,6 +1248,7 @@ static lean_object* l_Lean_Parser_Command_macroArg_formatter___closed__5; static lean_object* l_Lean_Parser_Command_elab__rules___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Syntax_nonReserved_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_Command_catBehavior_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_syntax___closed__13; static lean_object* l_Lean_Parser_Command_macroTail___closed__8; static lean_object* l_Lean_Parser_Syntax_unary_parenthesizer___closed__2; @@ -1193,6 +1259,7 @@ static lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__17; static lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer___closed__9; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_postfix___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_precedence; static lean_object* l___regBuiltin_Lean_Parser_Command_syntax_parenthesizer___closed__1; @@ -1213,6 +1280,7 @@ static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__19; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_optKind___closed__11; static lean_object* l_Lean_Parser_Term_prec_quot_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__6; static lean_object* l_Lean_Parser_Syntax_atom___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_mixfix___closed__2; static lean_object* l_Lean_Parser_Term_prio_quot___elambda__1___closed__12; @@ -1247,6 +1315,7 @@ static lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1___closed_ static lean_object* l_Lean_Parser_Syntax_sepBy___closed__11; static lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__4; +static lean_object* l_Lean_Parser_Command_catBehavior_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__9; extern lean_object* l_Lean_Parser_numLit; @@ -1258,6 +1327,7 @@ static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_29____c static lean_object* l_Lean_Parser_precedence___elambda__1___closed__20; static lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__11; static lean_object* l_Lean_Parser_Syntax_sepBy_parenthesizer___closed__5; +lean_object* l_Lean_Parser_Command_catBehaviorBoth_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__22; static lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__1; @@ -1307,6 +1377,7 @@ static lean_object* l_Lean_Parser_Command_namedName___closed__10; static lean_object* l_Lean_Parser_Command_optKind___closed__17; static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__17; static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__8; +lean_object* l_Lean_Parser_Command_catBehavior_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Syntax_numPrec_formatter___closed__2; static lean_object* l_Lean_Parser_Syntax_atom_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_postfix___closed__4; @@ -1319,6 +1390,7 @@ static lean_object* l___regBuiltinParser_Lean_Parser_Term_stx_quot___closed__2; static lean_object* l_Lean_Parser_Command_identPrec___closed__6; static lean_object* l_Lean_Parser_Command_syntaxCat___closed__3; static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__6; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__3; static lean_object* l_Lean_Parser_Syntax_cat_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Syntax_unary_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___boxed(lean_object*); @@ -1372,6 +1444,7 @@ static lean_object* l_Lean_Parser_Command_notationItem___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_infixl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_binary_formatter___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Syntax_unary_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__10; static lean_object* l_Lean_Parser_Syntax_sepBy1_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_prec_quot___closed__9; static lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__9; @@ -1379,10 +1452,12 @@ static lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Syntax_paren_formatter___closed__1; static lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__10; static lean_object* l___regBuiltin_Lean_Parser_Syntax_paren_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__9; static lean_object* l_Lean_Parser_Syntax_atom___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_prec_quot_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__11; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_macroTail_parenthesizer___closed__5; lean_object* l_Lean_Parser_Command_macro__rules___elambda__1(lean_object*, lean_object*); @@ -1397,6 +1472,7 @@ static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__12; static lean_object* l_Lean_Parser_Command_elab_formatter___closed__10; static lean_object* l___regBuiltin_Lean_Parser_Syntax_unary_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__2; lean_object* l_Lean_Parser_Command_syntaxAbbrev_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_syntaxAbbrev_formatter___closed__2; lean_object* l_Lean_Parser_precedenceParser(lean_object*); @@ -1411,6 +1487,7 @@ static lean_object* l_Lean_Parser_Command_elab__rules___closed__2; static lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__19; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_macro__rules_formatter___closed__4; static lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__13; @@ -1418,6 +1495,7 @@ static lean_object* l_Lean_Parser_precedence_formatter___closed__3; lean_object* l_Lean_Parser_addQuotDepthFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_symbolInfo(lean_object*); static lean_object* l_Lean_Parser_Term_stx_quot_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___closed__6; static lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__4; static lean_object* l_Lean_Parser_Term_prio_quot_parenthesizer___closed__6; @@ -1430,6 +1508,7 @@ static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__9; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__27; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___closed__5; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__9; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_optKind___closed__2; static lean_object* l_Lean_Parser_Command_notationItem_formatter___closed__4; lean_object* l_Lean_Parser_Command_elabArg_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1480,8 +1559,10 @@ static lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Syntax_unary_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__10; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__8; static lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__5; +static lean_object* l_Lean_Parser_Command_syntaxCat_formatter___closed__6; static lean_object* l_Lean_Parser_Syntax_cat___closed__7; lean_object* l_Lean_Parser_Syntax_cat_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_syntaxCat___closed__8; @@ -1548,9 +1629,11 @@ static lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__19; static lean_object* l_Lean_Parser_Command_prefix_formatter___closed__1; lean_object* l_Lean_ppSpace_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_elabTail_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehavior___closed__8; static lean_object* l_Lean_Parser_Command_elab__rules___closed__4; static lean_object* l_Lean_Parser_Command_elabTail___closed__7; static lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__12; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__13; static lean_object* l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__3; static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__14; @@ -1596,12 +1679,14 @@ static lean_object* l_Lean_Parser_Syntax_sepBy_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_namedName___closed__7; static lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_notationItem___closed__5; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_macroTailTactic___closed__2; static lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_postfix_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_elab___closed__9; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__14; lean_object* l___regBuiltinParser_Lean_Parser_Command_syntaxAbbrev(lean_object*); +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Command_macro__rules_formatter___closed__2; static lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Syntax_sepBy1_parenthesizer___closed__1; @@ -1616,6 +1701,7 @@ static lean_object* l_Lean_Parser_Command_macro___closed__8; static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__7; static lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_mixfixKind___closed__4; +static lean_object* l_Lean_Parser_Command_syntaxCat___closed__9; static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__15; static lean_object* l_Lean_Parser_Command_mixfix___closed__14; static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__1; @@ -1627,6 +1713,7 @@ lean_object* l_Lean_Parser_Term_prec_quot_parenthesizer(lean_object*, lean_objec static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__18; static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__12; static lean_object* l_Lean_Parser_Command_syntax_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__9; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__18; static lean_object* l_Lean_Parser_Syntax_sepBy___elambda__1___closed__26; static lean_object* l_Lean_Parser_Command_notationItem_parenthesizer___closed__3; @@ -1665,7 +1752,9 @@ static lean_object* l_Lean_Parser_Command_prefix___closed__3; static lean_object* l_Lean_Parser_Syntax_atom___elambda__1___closed__5; static lean_object* l_Lean_Parser_Command_macro__rules_formatter___closed__2; static lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__5; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__1; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__15; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__6; static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__1; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_prec_quot___closed__3; @@ -1675,6 +1764,7 @@ static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__6; static lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__17; static lean_object* l_Lean_Parser_Command_elab__rules___closed__11; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__2; static lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__6; static lean_object* l_Lean_Parser_Syntax_atom_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__2; @@ -1722,6 +1812,7 @@ static lean_object* l_Lean_Parser_Syntax_atom___closed__2; static lean_object* l_Lean_Parser_precedence___closed__2; static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__13; static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_syntaxCat_formatter___closed__5; static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__10; static lean_object* l_Lean_Parser_Command_prefix___closed__7; static lean_object* l_Lean_Parser_Term_prio_quot___closed__5; @@ -1734,6 +1825,7 @@ static lean_object* l_Lean_Parser_Command_optKind___closed__15; static lean_object* l___regBuiltin_Lean_Parser_Command_macro__rules_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_prec_quot___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_infix_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__1; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__18; static lean_object* l___regBuiltin_Lean_Parser_Command_elab__rules_parenthesizer___closed__1; lean_object* l_Lean_Parser_syntaxParser_formatter(lean_object*); @@ -1749,6 +1841,7 @@ static lean_object* l_Lean_Parser_Command_macroRhs_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_syntax_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_matchAlts_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___closed__2; static lean_object* l_Lean_Parser_Syntax_sepBy_formatter___closed__4; static lean_object* l_Lean_Parser_Syntax_cat_formatter___closed__4; static lean_object* l_Lean_Parser_Term_prec_quot_formatter___closed__2; @@ -1774,13 +1867,16 @@ static lean_object* l_Lean_Parser_Command_syntax___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_atom(lean_object*); static lean_object* l_Lean_Parser_Command_macroTail___closed__6; static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__2; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___closed__7; static lean_object* l_Lean_Parser_Command_elabTail___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Syntax_cat_formatter___closed__1; static lean_object* l_Lean_Parser_Command_optNamedName___closed__1; static lean_object* l_Lean_Parser_Command_mixfixKind___closed__5; +static lean_object* l_Lean_Parser_Command_catBehavior___closed__11; static lean_object* l_Lean_Parser_Command_infix_formatter___closed__2; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__19; static lean_object* l_Lean_Parser_Syntax_atom___closed__5; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___closed__1; static lean_object* l_Lean_Parser_Command_macro___closed__4; static lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_numPrec(lean_object*); @@ -1825,6 +1921,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_elab__rules_parenthesizer lean_object* l_Lean_Parser_withResultOfInfo(lean_object*); static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__4; lean_object* l_Lean_Parser_Command_macroTailTactic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_catBehavior___closed__12; static lean_object* l_Lean_Parser_Command_namedName___elambda__1___closed__24; static lean_object* l_Lean_Parser_Command_macroArg_formatter___closed__7; static lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__14; @@ -1834,10 +1931,12 @@ static lean_object* l_Lean_Parser_optPrecedence_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_elabTail___closed__3; static lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__5; static lean_object* l_Lean_Parser_Syntax_sepBy1_formatter___closed__3; +lean_object* l_Lean_Parser_Command_catBehaviorBoth; lean_object* l_Lean_Parser_identFn(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Command_elab(lean_object*); lean_object* lean_nat_to_int(lean_object*); +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___closed__5; static lean_object* l_Lean_Parser_Command_syntax___closed__8; static lean_object* l_Lean_Parser_Command_macroTail_formatter___closed__3; static lean_object* l_Lean_Parser_precedence___closed__4; @@ -1856,6 +1955,7 @@ static lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__9; static lean_object* l_Lean_Parser_precedence___closed__1; static lean_object* l_Lean_Parser_Command_macroTail___closed__3; static lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__9; +static lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_macroTail___closed__1; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Syntax___hyg_4____closed__3; static lean_object* l_Lean_Parser_Command_mixfixKind_formatter___closed__4; @@ -1865,6 +1965,7 @@ lean_object* l_Lean_Parser_Term_attrKind___elambda__1(lean_object*, lean_object* static lean_object* l_Lean_Parser_Command_infixl_formatter___closed__3; lean_object* l___regBuiltin_Lean_Parser_Command_macro_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__6; +lean_object* l_Lean_Parser_Command_catBehaviorSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_macroArg___elambda__1___closed__7; static lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__14; @@ -1897,6 +1998,7 @@ static lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__4; static lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__24; static lean_object* l_Lean_Parser_Command_mixfix___closed__7; static lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__1; +static lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_syntaxAbbrev_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_syntaxCat___closed__2; static lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__6; @@ -1922,6 +2024,7 @@ lean_object* l_Lean_Parser_termParser_parenthesizer(lean_object*, lean_object*, static lean_object* l_Lean_Parser_Command_mixfixKind_formatter___closed__8; static lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__11; static lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__9; +static lean_object* l_Lean_Parser_Command_catBehavior_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_elab__rules___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__5; static lean_object* l_Lean_Parser_Syntax_sepBy___closed__12; @@ -20139,6 +20242,882 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("catBehaviorBoth"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_namedName___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__3; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("both"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__5; +x_2 = l_String_trim(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__6; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbolFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__7; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__9; +x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; +x_2 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__10; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; +x_2 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__12; +x_2 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_Command_catBehaviorBoth___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_5 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_dec(x_4); +x_6 = lean_unsigned_to_nat(1024u); +x_7 = l_Lean_Parser_checkPrecFn(x_6, x_1, x_2); +x_8 = lean_ctor_get(x_7, 4); +lean_inc(x_8); +x_9 = lean_box(0); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +lean_dec(x_8); +if (x_10 == 0) +{ +lean_dec(x_1); +return x_7; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +x_12 = lean_array_get_size(x_11); +lean_dec(x_11); +x_13 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__6; +x_14 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__13; +lean_inc(x_1); +x_15 = l_Lean_Parser_nonReservedSymbolFnAux(x_13, x_14, x_1, x_7); +x_16 = lean_ctor_get(x_15, 4); +lean_inc(x_16); +x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_9); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__2; +x_19 = l_Lean_Parser_ParserState_mkNode(x_15, x_18, x_12); +x_20 = lean_ctor_get(x_19, 4); +lean_inc(x_20); +x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_20, x_9); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_dec(x_1); +return x_19; +} +else +{ +lean_object* x_22; +x_22 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_19); +lean_dec(x_1); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_1, 4); +lean_inc(x_23); +x_24 = lean_unsigned_to_nat(0u); +x_25 = lean_nat_dec_eq(x_23, x_24); +lean_dec(x_23); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_26 = lean_box(0); +lean_inc(x_1); +x_27 = l_Lean_Parser_precedence___elambda__1___lambda__2(x_15, x_1, x_9, x_26); +x_28 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__2; +x_29 = l_Lean_Parser_ParserState_mkNode(x_27, x_28, x_12); +x_30 = lean_ctor_get(x_29, 4); +lean_inc(x_30); +x_31 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_30, x_9); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_dec(x_1); +return x_29; +} +else +{ +lean_object* x_32; +x_32 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_29); +lean_dec(x_1); +return x_32; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__2; +x_34 = l_Lean_Parser_ParserState_mkNode(x_15, x_33, x_12); +x_35 = lean_ctor_get(x_34, 4); +lean_inc(x_35); +x_36 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_35, x_9); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_dec(x_1); +return x_34; +} +else +{ +lean_object* x_37; +x_37 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_34); +lean_dec(x_1); +return x_37; +} +} +} +} +} +else +{ +lean_object* x_38; uint8_t x_39; lean_object* x_40; +x_38 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__11; +x_39 = 1; +x_40 = l_Lean_Parser_orelseFnCore(x_4, x_38, x_39, x_1, x_2); +return x_40; +} +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__6; +x_2 = 0; +x_3 = l_Lean_Parser_nonReservedSymbolInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_catBehaviorBoth___closed__1; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___closed__2; +x_2 = l_Lean_Parser_epsilonInfo; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_catBehaviorBoth___closed__3; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_catBehaviorBoth___closed__4; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_catBehaviorBoth___elambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___closed__5; +x_2 = l_Lean_Parser_Command_catBehaviorBoth___closed__6; +x_3 = lean_alloc_ctor(0, 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_Command_catBehaviorBoth() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("catBehaviorSymbol"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_namedName___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__3; +x_3 = 1; +x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("symbol"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__5; +x_2 = l_String_trim(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__6; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbolFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__7; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__9; +x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; +x_2 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__10; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; +x_2 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__12; +x_2 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_Command_catBehaviorSymbol___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_5 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_dec(x_4); +x_6 = lean_unsigned_to_nat(1024u); +x_7 = l_Lean_Parser_checkPrecFn(x_6, x_1, x_2); +x_8 = lean_ctor_get(x_7, 4); +lean_inc(x_8); +x_9 = lean_box(0); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +lean_dec(x_8); +if (x_10 == 0) +{ +lean_dec(x_1); +return x_7; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_11 = lean_ctor_get(x_7, 0); +lean_inc(x_11); +x_12 = lean_array_get_size(x_11); +lean_dec(x_11); +x_13 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__6; +x_14 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__13; +lean_inc(x_1); +x_15 = l_Lean_Parser_nonReservedSymbolFnAux(x_13, x_14, x_1, x_7); +x_16 = lean_ctor_get(x_15, 4); +lean_inc(x_16); +x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_9); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__2; +x_19 = l_Lean_Parser_ParserState_mkNode(x_15, x_18, x_12); +x_20 = lean_ctor_get(x_19, 4); +lean_inc(x_20); +x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_20, x_9); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_dec(x_1); +return x_19; +} +else +{ +lean_object* x_22; +x_22 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_19); +lean_dec(x_1); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_1, 4); +lean_inc(x_23); +x_24 = lean_unsigned_to_nat(0u); +x_25 = lean_nat_dec_eq(x_23, x_24); +lean_dec(x_23); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_26 = lean_box(0); +lean_inc(x_1); +x_27 = l_Lean_Parser_precedence___elambda__1___lambda__2(x_15, x_1, x_9, x_26); +x_28 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__2; +x_29 = l_Lean_Parser_ParserState_mkNode(x_27, x_28, x_12); +x_30 = lean_ctor_get(x_29, 4); +lean_inc(x_30); +x_31 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_30, x_9); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_dec(x_1); +return x_29; +} +else +{ +lean_object* x_32; +x_32 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_29); +lean_dec(x_1); +return x_32; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__2; +x_34 = l_Lean_Parser_ParserState_mkNode(x_15, x_33, x_12); +x_35 = lean_ctor_get(x_34, 4); +lean_inc(x_35); +x_36 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_35, x_9); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_dec(x_1); +return x_34; +} +else +{ +lean_object* x_37; +x_37 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_34); +lean_dec(x_1); +return x_37; +} +} +} +} +} +else +{ +lean_object* x_38; uint8_t x_39; lean_object* x_40; +x_38 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__11; +x_39 = 1; +x_40 = l_Lean_Parser_orelseFnCore(x_4, x_38, x_39, x_1, x_2); +return x_40; +} +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__6; +x_2 = 0; +x_3 = l_Lean_Parser_nonReservedSymbolInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_catBehaviorSymbol___closed__1; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___closed__2; +x_2 = l_Lean_Parser_epsilonInfo; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_catBehaviorSymbol___closed__3; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_catBehaviorSymbol___closed__4; +x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___closed__5; +x_2 = l_Lean_Parser_Command_catBehaviorSymbol___closed__6; +x_3 = lean_alloc_ctor(0, 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_Command_catBehaviorSymbol() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("behavior"); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_catBehavior___closed__1; +x_2 = l_String_trim(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehavior___closed__2; +x_2 = 0; +x_3 = l_Lean_Parser_nonReservedSymbolInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_catBehavior___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbolFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_catBehavior___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_tokenWithAntiquotFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Command_catBehaviorBoth; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_catBehaviorSymbol; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Lean_Parser_orelseInfo(x_2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___closed__6; +x_2 = l_Lean_Parser_Command_catBehaviorSymbol___closed__6; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehavior___closed__6; +x_2 = l_Lean_Parser_Syntax_paren___closed__2; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehavior___closed__7; +x_2 = l_Lean_Parser_Syntax_paren___elambda__1___closed__14; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_namedName___closed__3; +x_2 = l_Lean_Parser_Command_catBehavior___closed__8; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_namedName___elambda__1___closed__16; +x_2 = l_Lean_Parser_Command_catBehavior___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehavior___closed__3; +x_2 = l_Lean_Parser_Command_catBehavior___closed__10; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehavior___closed__5; +x_2 = l_Lean_Parser_Command_catBehavior___closed__11; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_paren___closed__1; +x_2 = l_Lean_Parser_Command_catBehavior___closed__12; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_paren___elambda__1___closed__8; +x_2 = l_Lean_Parser_Command_catBehavior___closed__13; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehavior___closed__14; +x_2 = l_Lean_Parser_Command_catBehavior___closed__15; +x_3 = lean_alloc_ctor(0, 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_Command_catBehavior___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Command_catBehavior___closed__16; +x_2 = l_Lean_Parser_optional(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Command_catBehavior___closed__17; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_Command_syntaxCat___elambda__1___closed__1() { _start: { @@ -20218,22 +21197,24 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_syntaxCat___elambda__1___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__8; -x_2 = l_Lean_Parser_Syntax_cat___elambda__1___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehavior; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Syntax_cat___elambda__1___closed__5; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_syntaxCat___elambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; +x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__8; x_2 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__9; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -20243,9 +21224,9 @@ static lean_object* _init_l_Lean_Parser_Command_syntaxCat___elambda__1___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__10; -x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__10; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -20255,8 +21236,8 @@ static lean_object* _init_l_Lean_Parser_Command_syntaxCat___elambda__1___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; -x_2 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__11; +x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__11; +x_2 = l_Lean_Parser_precedence___elambda__1___closed__17; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -20267,9 +21248,11 @@ static lean_object* _init_l_Lean_Parser_Command_syntaxCat___elambda__1___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; -x_2 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__6; -x_3 = lean_string_append(x_1, x_2); +x_1 = l_Lean_Parser_precedence___elambda__1___closed__15; +x_2 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__12; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); return x_3; } } @@ -20277,7 +21260,17 @@ static lean_object* _init_l_Lean_Parser_Command_syntaxCat___elambda__1___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__13; +x_1 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; +x_2 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_syntaxCat___elambda__1___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__14; x_2 = l_Lean_Parser_precedence___elambda__1___lambda__2___closed__6; x_3 = lean_string_append(x_1, x_2); return x_3; @@ -20286,123 +21279,161 @@ return x_3; lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__4; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_3 = l_Lean_Parser_Command_catBehavior; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); +x_5 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__4; +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); lean_inc(x_2); lean_inc(x_1); -x_5 = l_Lean_Parser_tryAnti(x_1, x_2); -if (x_5 == 0) +x_7 = l_Lean_Parser_tryAnti(x_1, x_2); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_dec(x_6); +x_8 = lean_unsigned_to_nat(1024u); +x_9 = l_Lean_Parser_checkPrecFn(x_8, x_1, x_2); +x_10 = lean_ctor_get(x_9, 4); +lean_inc(x_10); +x_11 = lean_box(0); +x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_dec(x_4); -x_6 = lean_unsigned_to_nat(1024u); -x_7 = l_Lean_Parser_checkPrecFn(x_6, x_1, x_2); -x_8 = lean_ctor_get(x_7, 4); -lean_inc(x_8); -x_9 = lean_box(0); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); -lean_dec(x_8); -if (x_10 == 0) +lean_dec(x_1); +return x_9; +} +else +{ +lean_object* x_13; 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; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +x_14 = lean_array_get_size(x_13); +lean_dec(x_13); +x_15 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__6; +x_16 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__15; +lean_inc(x_1); +x_17 = l_Lean_Parser_symbolFnAux(x_15, x_16, x_1, x_9); +x_18 = lean_ctor_get(x_17, 4); +lean_inc(x_18); +x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_18, x_11); +lean_dec(x_18); +if (x_19 == 0) +{ +x_20 = x_17; +goto block_42; +} +else +{ +lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_43 = lean_ctor_get(x_1, 4); +lean_inc(x_43); +x_44 = lean_unsigned_to_nat(0u); +x_45 = lean_nat_dec_eq(x_43, x_44); +lean_dec(x_43); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_box(0); +lean_inc(x_1); +x_47 = l_Lean_Parser_precedence___elambda__1___lambda__2(x_17, x_1, x_11, x_46); +x_20 = x_47; +goto block_42; +} +else +{ +x_20 = x_17; +goto block_42; +} +} +block_42: +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_20, 4); +lean_inc(x_21); +x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_21, x_11); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_dec(x_4); +x_23 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; +x_24 = l_Lean_Parser_ParserState_mkNode(x_20, x_23, x_14); +x_25 = lean_ctor_get(x_24, 4); +lean_inc(x_25); +x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_25, x_11); +lean_dec(x_25); +if (x_26 == 0) { lean_dec(x_1); -return x_7; +return x_24; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_11 = lean_ctor_get(x_7, 0); -lean_inc(x_11); -x_12 = lean_array_get_size(x_11); -lean_dec(x_11); -x_13 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__6; -x_14 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__14; -lean_inc(x_1); -x_15 = l_Lean_Parser_symbolFnAux(x_13, x_14, x_1, x_7); -x_16 = lean_ctor_get(x_15, 4); -lean_inc(x_16); -x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_16, x_9); -lean_dec(x_16); -if (x_17 == 0) -{ -x_18 = x_15; -goto block_32; -} -else -{ -lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_33 = lean_ctor_get(x_1, 4); -lean_inc(x_33); -x_34 = lean_unsigned_to_nat(0u); -x_35 = lean_nat_dec_eq(x_33, x_34); -lean_dec(x_33); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_box(0); -lean_inc(x_1); -x_37 = l_Lean_Parser_precedence___elambda__1___lambda__2(x_15, x_1, x_9, x_36); -x_18 = x_37; -goto block_32; -} -else -{ -x_18 = x_15; -goto block_32; -} -} -block_32: -{ -lean_object* x_19; uint8_t x_20; -x_19 = lean_ctor_get(x_18, 4); -lean_inc(x_19); -x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_19, x_9); -lean_dec(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_21 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; -x_22 = l_Lean_Parser_ParserState_mkNode(x_18, x_21, x_12); -x_23 = lean_ctor_get(x_22, 4); -lean_inc(x_23); -x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_23, x_9); -lean_dec(x_23); -if (x_24 == 0) -{ +lean_object* x_27; +x_27 = l_Lean_Parser_setLhsPrecFn(x_8, x_1, x_24); lean_dec(x_1); -return x_22; -} -else -{ -lean_object* x_25; -x_25 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_22); -lean_dec(x_1); -return x_25; +return x_27; } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_inc(x_1); -x_26 = l_Lean_Parser_ident___elambda__1(x_1, x_18); -x_27 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_12); +x_28 = l_Lean_Parser_ident___elambda__1(x_1, x_20); x_29 = lean_ctor_get(x_28, 4); lean_inc(x_29); -x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_9); +x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_11); lean_dec(x_29); if (x_30 == 0) { +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_dec(x_4); +x_31 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; +x_32 = l_Lean_Parser_ParserState_mkNode(x_28, x_31, x_14); +x_33 = lean_ctor_get(x_32, 4); +lean_inc(x_33); +x_34 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_33, x_11); +lean_dec(x_33); +if (x_34 == 0) +{ lean_dec(x_1); -return x_28; +return x_32; } else { -lean_object* x_31; -x_31 = l_Lean_Parser_setLhsPrecFn(x_6, x_1, x_28); +lean_object* x_35; +x_35 = l_Lean_Parser_setLhsPrecFn(x_8, x_1, x_32); lean_dec(x_1); -return x_31; +return x_35; +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +lean_inc(x_1); +x_36 = lean_apply_2(x_4, x_1, x_28); +x_37 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; +x_38 = l_Lean_Parser_ParserState_mkNode(x_36, x_37, x_14); +x_39 = lean_ctor_get(x_38, 4); +lean_inc(x_39); +x_40 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_672____at_Lean_Parser_ParserState_hasError___spec__1(x_39, x_11); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_dec(x_1); +return x_38; +} +else +{ +lean_object* x_41; +x_41 = l_Lean_Parser_setLhsPrecFn(x_8, x_1, x_38); +lean_dec(x_1); +return x_41; +} } } } @@ -20410,11 +21441,12 @@ return x_31; } else { -lean_object* x_38; uint8_t x_39; lean_object* x_40; -x_38 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__12; -x_39 = 1; -x_40 = l_Lean_Parser_orelseFnCore(x_4, x_38, x_39, x_1, x_2); -return x_40; +lean_object* x_48; uint8_t x_49; lean_object* x_50; +lean_dec(x_4); +x_48 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__13; +x_49 = 1; +x_50 = l_Lean_Parser_orelseFnCore(x_6, x_48, x_49, x_1, x_2); +return x_50; } } } @@ -20430,22 +21462,24 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_syntaxCat___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Parser_ident; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_syntaxCat___closed__1; -x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); -return x_4; +x_3 = l_Lean_Parser_Command_catBehavior; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); +return x_5; } } static lean_object* _init_l_Lean_Parser_Command_syntaxCat___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; +x_1 = l_Lean_Parser_Command_syntaxCat___closed__1; x_2 = l_Lean_Parser_Command_syntaxCat___closed__2; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } @@ -20453,9 +21487,9 @@ static lean_object* _init_l_Lean_Parser_Command_syntaxCat___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntaxCat___closed__3; -x_2 = l_Lean_Parser_epsilonInfo; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_syntaxCat___closed__3; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } @@ -20463,8 +21497,8 @@ static lean_object* _init_l_Lean_Parser_Command_syntaxCat___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_syntaxCat___closed__4; +x_1 = l_Lean_Parser_Command_syntaxCat___closed__4; +x_2 = l_Lean_Parser_epsilonInfo; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -20472,16 +21506,26 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_syntaxCat___closed__6() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_syntaxCat___closed__5; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_syntaxCat___closed__7() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_syntaxCat___closed__5; +x_3 = l_Lean_Parser_Command_syntaxCat___closed__6; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_syntaxCat___closed__7() { +static lean_object* _init_l_Lean_Parser_Command_syntaxCat___closed__8() { _start: { lean_object* x_1; @@ -20489,12 +21533,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_syntaxCat___elambda__1), return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_syntaxCat___closed__8() { +static lean_object* _init_l_Lean_Parser_Command_syntaxCat___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntaxCat___closed__6; -x_2 = l_Lean_Parser_Command_syntaxCat___closed__7; +x_1 = l_Lean_Parser_Command_syntaxCat___closed__7; +x_2 = l_Lean_Parser_Command_syntaxCat___closed__8; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -20505,7 +21549,7 @@ static lean_object* _init_l_Lean_Parser_Command_syntaxCat() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_syntaxCat___closed__8; +x_1 = l_Lean_Parser_Command_syntaxCat___closed__9; return x_1; } } @@ -20522,6 +21566,208 @@ x_7 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_6, x_1); return x_7; } } +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth_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_Command_catBehaviorBoth___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__2() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__5; +x_2 = 0; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth_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_Command_catBehaviorBoth___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__2; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Command_catBehaviorBoth_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__1; +x_7 = l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__3; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol_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_Command_catBehaviorSymbol___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__2() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__5; +x_2 = 0; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol_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_Command_catBehaviorSymbol___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__2; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Command_catBehaviorSymbol_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__1; +x_7 = l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__3; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_formatter___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehavior___closed__1; +x_2 = 0; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_formatter___boxed), 7, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_formatter___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_catBehaviorBoth_formatter), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_formatter___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_catBehaviorSymbol_formatter), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_formatter___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehavior_formatter___closed__2; +x_2 = l_Lean_Parser_Command_catBehavior_formatter___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehavior_formatter___closed__4; +x_2 = l_Lean_Parser_Syntax_paren_formatter___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_formatter___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_namedName_formatter___closed__5; +x_2 = l_Lean_Parser_Command_catBehavior_formatter___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_formatter___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehavior_formatter___closed__1; +x_2 = l_Lean_Parser_Command_catBehavior_formatter___closed__6; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_formatter___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_paren_formatter___closed__2; +x_2 = l_Lean_Parser_Command_catBehavior_formatter___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_Command_catBehavior_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +x_6 = l_Lean_Parser_Command_catBehavior_formatter___closed__8; +x_7 = l_Lean_Parser_optional_formatter(x_6, x_1, x_2, x_3, x_4, x_5); +return x_7; +} +} static lean_object* _init_l_Lean_Parser_Command_syntaxCat_formatter___closed__1() { _start: { @@ -20550,22 +21796,42 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_syntaxCat_formatter___closed__3() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_catBehavior_formatter), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_syntaxCat_formatter___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntaxCat_formatter___closed__2; -x_2 = l_Lean_Parser_Syntax_cat_formatter___closed__2; +x_1 = l_Lean_Parser_Syntax_cat_formatter___closed__2; +x_2 = l_Lean_Parser_Command_syntaxCat_formatter___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_syntaxCat_formatter___closed__4() { +static lean_object* _init_l_Lean_Parser_Command_syntaxCat_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_syntaxCat_formatter___closed__2; +x_2 = l_Lean_Parser_Command_syntaxCat_formatter___closed__4; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_syntaxCat_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_syntaxCat_formatter___closed__3; +x_3 = l_Lean_Parser_Command_syntaxCat_formatter___closed__5; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -20578,7 +21844,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_syntaxCat_formatter___closed__1; -x_7 = l_Lean_Parser_Command_syntaxCat_formatter___closed__4; +x_7 = l_Lean_Parser_Command_syntaxCat_formatter___closed__6; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -20613,6 +21879,208 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___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_Command_catBehaviorBoth___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__5; +x_2 = 0; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed), 7, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__2; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Command_catBehaviorBoth_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__3; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___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_Command_catBehaviorSymbol___elambda__1___closed__1; +x_2 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__3; +x_3 = 1; +x_4 = lean_box(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 8, 3); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__5; +x_2 = 0; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed), 7, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__2; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__1; +x_7 = l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__3; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_catBehavior___closed__1; +x_2 = 0; +x_3 = lean_box(x_2); +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_nonReservedSymbol_parenthesizer___boxed), 7, 2); +lean_closure_set(x_4, 0, x_1); +lean_closure_set(x_4, 1, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_catBehaviorBoth_parenthesizer), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehavior_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_catBehavior_parenthesizer___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehavior_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Syntax_paren_parenthesizer___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_namedName_parenthesizer___closed__5; +x_2 = l_Lean_Parser_Command_catBehavior_parenthesizer___closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_catBehavior_parenthesizer___closed__1; +x_2 = l_Lean_Parser_Command_catBehavior_parenthesizer___closed__6; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_paren_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_catBehavior_parenthesizer___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Parser_Command_catBehavior_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +x_6 = l_Lean_Parser_Command_catBehavior_parenthesizer___closed__8; +x_7 = l_Lean_Parser_optional_parenthesizer(x_6, x_1, x_2, x_3, x_4, x_5); +return x_7; +} +} static lean_object* _init_l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__1() { _start: { @@ -20641,22 +22109,42 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__3() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_catBehavior_parenthesizer), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__2; +x_1 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__4() { +static lean_object* _init_l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__4; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__3; +x_3 = l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__5; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -20669,7 +22157,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__4; +x_7 = l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__6; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -28650,6 +30138,126 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_syntaxAbbrev_parenthesiz res = l___regBuiltin_Lean_Parser_Command_syntaxAbbrev_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__1 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__1); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__2 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__2); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__3 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__3); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__4 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__4); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__5 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__5); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__6 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__6); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__7 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__7); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__8 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__8); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__9 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__9); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__10 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__10); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__11 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__11); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__12 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__12); +l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__13 = _init_l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___elambda__1___closed__13); +l_Lean_Parser_Command_catBehaviorBoth___closed__1 = _init_l_Lean_Parser_Command_catBehaviorBoth___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___closed__1); +l_Lean_Parser_Command_catBehaviorBoth___closed__2 = _init_l_Lean_Parser_Command_catBehaviorBoth___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___closed__2); +l_Lean_Parser_Command_catBehaviorBoth___closed__3 = _init_l_Lean_Parser_Command_catBehaviorBoth___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___closed__3); +l_Lean_Parser_Command_catBehaviorBoth___closed__4 = _init_l_Lean_Parser_Command_catBehaviorBoth___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___closed__4); +l_Lean_Parser_Command_catBehaviorBoth___closed__5 = _init_l_Lean_Parser_Command_catBehaviorBoth___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___closed__5); +l_Lean_Parser_Command_catBehaviorBoth___closed__6 = _init_l_Lean_Parser_Command_catBehaviorBoth___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___closed__6); +l_Lean_Parser_Command_catBehaviorBoth___closed__7 = _init_l_Lean_Parser_Command_catBehaviorBoth___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth___closed__7); +l_Lean_Parser_Command_catBehaviorBoth = _init_l_Lean_Parser_Command_catBehaviorBoth(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__1 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__1); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__2 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__2); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__3 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__3); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__4 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__4); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__5 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__5); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__6 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__6); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__7 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__7); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__8 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__8); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__9 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__9); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__10 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__10); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__11 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__11); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__12 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__12); +l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__13 = _init_l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___elambda__1___closed__13); +l_Lean_Parser_Command_catBehaviorSymbol___closed__1 = _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___closed__1); +l_Lean_Parser_Command_catBehaviorSymbol___closed__2 = _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___closed__2); +l_Lean_Parser_Command_catBehaviorSymbol___closed__3 = _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___closed__3); +l_Lean_Parser_Command_catBehaviorSymbol___closed__4 = _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___closed__4); +l_Lean_Parser_Command_catBehaviorSymbol___closed__5 = _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___closed__5); +l_Lean_Parser_Command_catBehaviorSymbol___closed__6 = _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___closed__6); +l_Lean_Parser_Command_catBehaviorSymbol___closed__7 = _init_l_Lean_Parser_Command_catBehaviorSymbol___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol___closed__7); +l_Lean_Parser_Command_catBehaviorSymbol = _init_l_Lean_Parser_Command_catBehaviorSymbol(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol); +l_Lean_Parser_Command_catBehavior___closed__1 = _init_l_Lean_Parser_Command_catBehavior___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__1); +l_Lean_Parser_Command_catBehavior___closed__2 = _init_l_Lean_Parser_Command_catBehavior___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__2); +l_Lean_Parser_Command_catBehavior___closed__3 = _init_l_Lean_Parser_Command_catBehavior___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__3); +l_Lean_Parser_Command_catBehavior___closed__4 = _init_l_Lean_Parser_Command_catBehavior___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__4); +l_Lean_Parser_Command_catBehavior___closed__5 = _init_l_Lean_Parser_Command_catBehavior___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__5); +l_Lean_Parser_Command_catBehavior___closed__6 = _init_l_Lean_Parser_Command_catBehavior___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__6); +l_Lean_Parser_Command_catBehavior___closed__7 = _init_l_Lean_Parser_Command_catBehavior___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__7); +l_Lean_Parser_Command_catBehavior___closed__8 = _init_l_Lean_Parser_Command_catBehavior___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__8); +l_Lean_Parser_Command_catBehavior___closed__9 = _init_l_Lean_Parser_Command_catBehavior___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__9); +l_Lean_Parser_Command_catBehavior___closed__10 = _init_l_Lean_Parser_Command_catBehavior___closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__10); +l_Lean_Parser_Command_catBehavior___closed__11 = _init_l_Lean_Parser_Command_catBehavior___closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__11); +l_Lean_Parser_Command_catBehavior___closed__12 = _init_l_Lean_Parser_Command_catBehavior___closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__12); +l_Lean_Parser_Command_catBehavior___closed__13 = _init_l_Lean_Parser_Command_catBehavior___closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__13); +l_Lean_Parser_Command_catBehavior___closed__14 = _init_l_Lean_Parser_Command_catBehavior___closed__14(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__14); +l_Lean_Parser_Command_catBehavior___closed__15 = _init_l_Lean_Parser_Command_catBehavior___closed__15(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__15); +l_Lean_Parser_Command_catBehavior___closed__16 = _init_l_Lean_Parser_Command_catBehavior___closed__16(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__16); +l_Lean_Parser_Command_catBehavior___closed__17 = _init_l_Lean_Parser_Command_catBehavior___closed__17(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior___closed__17); +l_Lean_Parser_Command_catBehavior = _init_l_Lean_Parser_Command_catBehavior(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior); l_Lean_Parser_Command_syntaxCat___elambda__1___closed__1 = _init_l_Lean_Parser_Command_syntaxCat___elambda__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_syntaxCat___elambda__1___closed__1); l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2 = _init_l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2(); @@ -28678,6 +30286,8 @@ l_Lean_Parser_Command_syntaxCat___elambda__1___closed__13 = _init_l_Lean_Parser_ lean_mark_persistent(l_Lean_Parser_Command_syntaxCat___elambda__1___closed__13); l_Lean_Parser_Command_syntaxCat___elambda__1___closed__14 = _init_l_Lean_Parser_Command_syntaxCat___elambda__1___closed__14(); lean_mark_persistent(l_Lean_Parser_Command_syntaxCat___elambda__1___closed__14); +l_Lean_Parser_Command_syntaxCat___elambda__1___closed__15 = _init_l_Lean_Parser_Command_syntaxCat___elambda__1___closed__15(); +lean_mark_persistent(l_Lean_Parser_Command_syntaxCat___elambda__1___closed__15); l_Lean_Parser_Command_syntaxCat___closed__1 = _init_l_Lean_Parser_Command_syntaxCat___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_syntaxCat___closed__1); l_Lean_Parser_Command_syntaxCat___closed__2 = _init_l_Lean_Parser_Command_syntaxCat___closed__2(); @@ -28694,11 +30304,41 @@ l_Lean_Parser_Command_syntaxCat___closed__7 = _init_l_Lean_Parser_Command_syntax lean_mark_persistent(l_Lean_Parser_Command_syntaxCat___closed__7); l_Lean_Parser_Command_syntaxCat___closed__8 = _init_l_Lean_Parser_Command_syntaxCat___closed__8(); lean_mark_persistent(l_Lean_Parser_Command_syntaxCat___closed__8); +l_Lean_Parser_Command_syntaxCat___closed__9 = _init_l_Lean_Parser_Command_syntaxCat___closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_syntaxCat___closed__9); l_Lean_Parser_Command_syntaxCat = _init_l_Lean_Parser_Command_syntaxCat(); lean_mark_persistent(l_Lean_Parser_Command_syntaxCat); res = l___regBuiltinParser_Lean_Parser_Command_syntaxCat(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__1 = _init_l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__1); +l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__2 = _init_l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__2); +l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__3 = _init_l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth_formatter___closed__3); +l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__1 = _init_l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__1); +l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__2 = _init_l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__2); +l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__3 = _init_l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol_formatter___closed__3); +l_Lean_Parser_Command_catBehavior_formatter___closed__1 = _init_l_Lean_Parser_Command_catBehavior_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_formatter___closed__1); +l_Lean_Parser_Command_catBehavior_formatter___closed__2 = _init_l_Lean_Parser_Command_catBehavior_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_formatter___closed__2); +l_Lean_Parser_Command_catBehavior_formatter___closed__3 = _init_l_Lean_Parser_Command_catBehavior_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_formatter___closed__3); +l_Lean_Parser_Command_catBehavior_formatter___closed__4 = _init_l_Lean_Parser_Command_catBehavior_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_formatter___closed__4); +l_Lean_Parser_Command_catBehavior_formatter___closed__5 = _init_l_Lean_Parser_Command_catBehavior_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_formatter___closed__5); +l_Lean_Parser_Command_catBehavior_formatter___closed__6 = _init_l_Lean_Parser_Command_catBehavior_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_formatter___closed__6); +l_Lean_Parser_Command_catBehavior_formatter___closed__7 = _init_l_Lean_Parser_Command_catBehavior_formatter___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_formatter___closed__7); +l_Lean_Parser_Command_catBehavior_formatter___closed__8 = _init_l_Lean_Parser_Command_catBehavior_formatter___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_formatter___closed__8); l_Lean_Parser_Command_syntaxCat_formatter___closed__1 = _init_l_Lean_Parser_Command_syntaxCat_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_syntaxCat_formatter___closed__1); l_Lean_Parser_Command_syntaxCat_formatter___closed__2 = _init_l_Lean_Parser_Command_syntaxCat_formatter___closed__2(); @@ -28707,6 +30347,10 @@ l_Lean_Parser_Command_syntaxCat_formatter___closed__3 = _init_l_Lean_Parser_Comm lean_mark_persistent(l_Lean_Parser_Command_syntaxCat_formatter___closed__3); l_Lean_Parser_Command_syntaxCat_formatter___closed__4 = _init_l_Lean_Parser_Command_syntaxCat_formatter___closed__4(); lean_mark_persistent(l_Lean_Parser_Command_syntaxCat_formatter___closed__4); +l_Lean_Parser_Command_syntaxCat_formatter___closed__5 = _init_l_Lean_Parser_Command_syntaxCat_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_syntaxCat_formatter___closed__5); +l_Lean_Parser_Command_syntaxCat_formatter___closed__6 = _init_l_Lean_Parser_Command_syntaxCat_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_syntaxCat_formatter___closed__6); l___regBuiltin_Lean_Parser_Command_syntaxCat_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_syntaxCat_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_syntaxCat_formatter___closed__1); l___regBuiltin_Lean_Parser_Command_syntaxCat_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_syntaxCat_formatter___closed__2(); @@ -28714,6 +30358,34 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_syntaxCat_formatter___cl res = l___regBuiltin_Lean_Parser_Command_syntaxCat_formatter(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__1); +l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__2); +l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorBoth_parenthesizer___closed__3); +l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__1); +l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__2); +l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_catBehaviorSymbol_parenthesizer___closed__3); +l_Lean_Parser_Command_catBehavior_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_parenthesizer___closed__1); +l_Lean_Parser_Command_catBehavior_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_parenthesizer___closed__2); +l_Lean_Parser_Command_catBehavior_parenthesizer___closed__3 = _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_parenthesizer___closed__3); +l_Lean_Parser_Command_catBehavior_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_parenthesizer___closed__4); +l_Lean_Parser_Command_catBehavior_parenthesizer___closed__5 = _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_parenthesizer___closed__5); +l_Lean_Parser_Command_catBehavior_parenthesizer___closed__6 = _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_parenthesizer___closed__6); +l_Lean_Parser_Command_catBehavior_parenthesizer___closed__7 = _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_parenthesizer___closed__7); +l_Lean_Parser_Command_catBehavior_parenthesizer___closed__8 = _init_l_Lean_Parser_Command_catBehavior_parenthesizer___closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_catBehavior_parenthesizer___closed__8); l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__1 = _init_l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__1); l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__2 = _init_l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__2(); @@ -28722,6 +30394,10 @@ l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__3 = _init_l_Lean_Parser_ lean_mark_persistent(l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__3); l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__4(); lean_mark_persistent(l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__4); +l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__5 = _init_l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__5); +l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__6 = _init_l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__6); l___regBuiltin_Lean_Parser_Command_syntaxCat_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_syntaxCat_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_syntaxCat_parenthesizer___closed__1); l___regBuiltin_Lean_Parser_Command_syntaxCat_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_syntaxCat_parenthesizer___closed__2();