From bac4774b751e4072ed25edea7869f719067fe896 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Wed, 26 Oct 2022 21:56:23 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Core.lean | 3 + stage0/src/Init/Notation.lean | 1 + .../Lean/Compiler/IR/ElimDeadBranches.lean | 25 +- stage0/src/Lean/Elab/Open.lean | 1 + stage0/src/Lean/Elab/Structure.lean | 1 + stage0/src/Lean/Elab/Tactic/ElabTerm.lean | 27 +- stage0/src/Lean/Meta/AppBuilder.lean | 7 + stage0/src/Lean/Meta/Tactic/Apply.lean | 45 +- stage0/src/Lean/Meta/Tactic/Simp.lean | 1 + stage0/src/Lean/Meta/Tactic/Simp/Main.lean | 12 +- .../Meta/Tactic/Simp/SimpCongrTheorems.lean | 8 +- stage0/src/Lean/Parser/Term.lean | 3 +- stage0/src/Lean/ResolveName.lean | 14 +- stage0/src/Lean/Util/Recognizers.lean | 6 + stage0/stdlib/Init/Notation.c | 95 + .../Lean/Compiler/IR/ElimDeadBranches.c | 1574 ++-- stage0/stdlib/Lean/Data/JsonRpc.c | 48 +- stage0/stdlib/Lean/Elab/BuiltinCommand.c | 1189 +-- stage0/stdlib/Lean/Elab/BuiltinTerm.c | 3329 ++++----- stage0/stdlib/Lean/Elab/ComputedFields.c | 4 +- stage0/stdlib/Lean/Elab/Inductive.c | 6 +- stage0/stdlib/Lean/Elab/Open.c | 1730 +++-- stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c | 6 +- .../Elab/PreDefinition/Structural/BRecOn.c | 4 +- .../stdlib/Lean/Elab/PreDefinition/WF/Eqns.c | 4 +- .../Lean/Elab/PreDefinition/WF/PackDomain.c | 8 +- stage0/stdlib/Lean/Elab/Structure.c | 742 +- .../stdlib/Lean/Elab/Tactic/BuiltinTactic.c | 3415 ++++----- stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c | 576 +- stage0/stdlib/Lean/Elab/Tactic/Induction.c | 8 +- stage0/stdlib/Lean/Elab/Tactic/Simp.c | 4 +- stage0/stdlib/Lean/Meta/AppBuilder.c | 74 +- stage0/stdlib/Lean/Meta/IndPredBelow.c | 4 +- stage0/stdlib/Lean/Meta/Match/Match.c | 6 +- stage0/stdlib/Lean/Meta/Match/MatchEqs.c | 4 +- stage0/stdlib/Lean/Meta/Tactic/Apply.c | 1336 ++-- stage0/stdlib/Lean/Meta/Tactic/Cases.c | 4 +- stage0/stdlib/Lean/Meta/Tactic/Simp.c | 31 + stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c | 1899 ++--- .../Lean/Meta/Tactic/Simp/SimpCongrTheorems.c | 6489 +++++++++-------- stage0/stdlib/Lean/Meta/Tactic/Split.c | 14 +- stage0/stdlib/Lean/Meta/Tactic/Unfold.c | 6 +- stage0/stdlib/Lean/Parser/Term.c | 717 +- stage0/stdlib/Lean/ResolveName.c | 114 +- stage0/stdlib/Lean/Util/Recognizers.c | 61 + 45 files changed, 12521 insertions(+), 11134 deletions(-) diff --git a/stage0/src/Init/Core.lean b/stage0/src/Init/Core.lean index bade81ce07..80bd05a339 100644 --- a/stage0/src/Init/Core.lean +++ b/stage0/src/Init/Core.lean @@ -676,6 +676,9 @@ theorem Iff.symm (h : a ↔ b) : b ↔ a := theorem Iff.comm : (a ↔ b) ↔ (b ↔ a) := Iff.intro Iff.symm Iff.symm +theorem Iff.of_eq (h : a = b) : a ↔ b := + h ▸ Iff.refl _ + theorem And.comm : a ∧ b ↔ b ∧ a := by constructor <;> intro ⟨h₁, h₂⟩ <;> exact ⟨h₂, h₁⟩ diff --git a/stage0/src/Init/Notation.lean b/stage0/src/Init/Notation.lean index ccaffbffc6..8c492826ee 100644 --- a/stage0/src/Init/Notation.lean +++ b/stage0/src/Init/Notation.lean @@ -280,6 +280,7 @@ macro_rules | `($x / $y) => `(binop% HDiv.hDiv $x $y) macro_rules | `($x % $y) => `(binop% HMod.hMod $x $y) macro_rules | `($x ^ $y) => `(binop% HPow.hPow $x $y) macro_rules | `($x ++ $y) => `(binop% HAppend.hAppend $x $y) +macro_rules | `(- $x) => `(unop% Neg.neg $x) -- declare ASCII alternatives first so that the latter Unicode unexpander wins @[inherit_doc] infix:50 " <= " => LE.le diff --git a/stage0/src/Lean/Compiler/IR/ElimDeadBranches.lean b/stage0/src/Lean/Compiler/IR/ElimDeadBranches.lean index d2a1c36d4d..60f08ce731 100644 --- a/stage0/src/Lean/Compiler/IR/ElimDeadBranches.lean +++ b/stage0/src/Lean/Compiler/IR/ElimDeadBranches.lean @@ -122,21 +122,34 @@ def widening (env : Environment) (v₁ v₂ : Value) : Value := end Value -abbrev FunctionSummaries := SMap FunId Value +abbrev FunctionSummaries := PHashMap FunId Value + +private abbrev declLt (a b : FunId × Value) := + Name.quickLt a.1 b.1 + +private abbrev sortEntries (entries : Array (FunId × Value)) : Array (FunId × Value) := + entries.qsort declLt + +private abbrev findAtSorted? (entries : Array (FunId × Value)) (fid : FunId) : Option Value := + if let some (_, value) := entries.binSearch (fid, default) declLt then + some value + else + none builtin_initialize functionSummariesExt : SimplePersistentEnvExtension (FunId × Value) FunctionSummaries ← registerSimplePersistentEnvExtension { - addImportedFn := fun as => - let cache : FunctionSummaries := mkStateFromImportedEntries (fun s (p : FunId × Value) => s.insert p.1 p.2) {} as - cache.switch, + addImportedFn := fun _ => {} addEntryFn := fun s ⟨e, n⟩ => s.insert e n + toArrayFn := fun s => sortEntries s.toArray } def addFunctionSummary (env : Environment) (fid : FunId) (v : Value) : Environment := - functionSummariesExt.addEntry env (fid, v) + functionSummariesExt.addEntry (env.addExtraName fid) (fid, v) def getFunctionSummary? (env : Environment) (fid : FunId) : Option Value := - (functionSummariesExt.getState env).find? fid + match env.getModuleIdxFor? fid with + | some modIdx => findAtSorted? (functionSummariesExt.getModuleEntries env modIdx) fid + | none => functionSummariesExt.getState env |>.find? fid abbrev Assignment := HashMap VarId Value diff --git a/stage0/src/Lean/Elab/Open.lean b/stage0/src/Lean/Elab/Open.lean index 196dc4c786..d47bdb33e6 100644 --- a/stage0/src/Lean/Elab/Open.lean +++ b/stage0/src/Lean/Elab/Open.lean @@ -76,6 +76,7 @@ def elabOpenDecl [MonadResolveName m] (stx : TSyntax ``Parser.Command.openDecl) addOpenDecl (OpenDecl.explicit idStx.getId declName) | `(Parser.Command.openDecl| $ns hiding $ids*) => let ns ← resolveUniqueNamespace ns + activateScoped ns for id in ids do let _ ← resolveId ns id let ids := ids.map (·.getId) |>.toList diff --git a/stage0/src/Lean/Elab/Structure.lean b/stage0/src/Lean/Elab/Structure.lean index e70b7dcc32..92e00137a6 100644 --- a/stage0/src/Lean/Elab/Structure.lean +++ b/stage0/src/Lean/Elab/Structure.lean @@ -413,6 +413,7 @@ where withLocalDecl fieldName fieldInfo.binderInfo fieldType fun fieldFVar => do let fieldDeclName := structDeclName ++ fieldName let fieldDeclName ← applyVisibility (← toVisibility fieldInfo) fieldDeclName + addDocString' fieldDeclName (← findDocString? (← getEnv) fieldInfo.projFn) let infos := infos.push { name := fieldName, declName := fieldDeclName, fvar := fieldFVar, value?, kind := StructFieldKind.copiedField } copy (i+1) infos (fieldMap.insert fieldName fieldFVar) expandedStructNames diff --git a/stage0/src/Lean/Elab/Tactic/ElabTerm.lean b/stage0/src/Lean/Elab/Tactic/ElabTerm.lean index 623ff77a64..dacbeabeae 100644 --- a/stage0/src/Lean/Elab/Tactic/ElabTerm.lean +++ b/stage0/src/Lean/Elab/Tactic/ElabTerm.lean @@ -237,13 +237,6 @@ def elabTermForApply (stx : Syntax) (mayPostpone := true) : TacticM Expr := do -/ withoutRecover <| elabTerm stx none mayPostpone -def evalApplyLikeTactic (tac : MVarId → Expr → MetaM (List MVarId)) (e : Syntax) : TacticM Unit := do - withMainContext do - let val ← elabTermForApply e - let mvarIds' ← tac (← getMainGoal) val - Term.synthesizeSyntheticMVarsNoPostponing - replaceMainGoal mvarIds' - def getFVarId (id : Syntax) : TacticM FVarId := withRef id do -- use apply-like elaboration to suppress insertion of implicit arguments let e ← withMainContext do @@ -255,6 +248,26 @@ def getFVarId (id : Syntax) : TacticM FVarId := withRef id do def getFVarIds (ids : Array Syntax) : TacticM (Array FVarId) := do withMainContext do ids.mapM getFVarId +def evalApplyLikeTactic (tac : MVarId → Expr → MetaM (List MVarId)) (e : Syntax) : TacticM Unit := do + withMainContext do + let mut val ← instantiateMVars (← elabTermForApply e) + if val.isMVar then + /- + If `val` is a metavariable, we force the elaboration of postponed terms. + This is useful for producing a more useful error message in examples such as + ``` + example (h : P) : P ∨ Q := by + apply .inl + ``` + Recall that `apply` elaborates terms without using the expected type, + and the notation `.inl` requires the expected type to be available. + -/ + Term.synthesizeSyntheticMVarsNoPostponing + val ← instantiateMVars val + let mvarIds' ← tac (← getMainGoal) val + Term.synthesizeSyntheticMVarsNoPostponing + replaceMainGoal mvarIds' + @[builtin_tactic Lean.Parser.Tactic.apply] def evalApply : Tactic := fun stx => match stx with | `(tactic| apply $e) => evalApplyLikeTactic (·.apply) e diff --git a/stage0/src/Lean/Meta/AppBuilder.lean b/stage0/src/Lean/Meta/AppBuilder.lean index d8e5c84e8d..ee59df2fce 100644 --- a/stage0/src/Lean/Meta/AppBuilder.lean +++ b/stage0/src/Lean/Meta/AppBuilder.lean @@ -589,6 +589,13 @@ def mkLE (a b : Expr) : MetaM Expr := mkBinaryRel ``LE ``LE.le a b /-- Return `a < b`. This method assumes `a` and `b` have the same type. -/ def mkLT (a b : Expr) : MetaM Expr := mkBinaryRel ``LT ``LT.lt a b +/-- Given `h : a = b`, return a proof for `a ↔ b`. -/ +def mkIffOfEq (h : Expr) : MetaM Expr := do + if h.isAppOfArity ``propext 3 then + return h.appArg! + else + mkAppM ``Iff.of_eq #[h] + builtin_initialize do registerTraceClass `Meta.appBuilder registerTraceClass `Meta.appBuilder.result (inherited := true) diff --git a/stage0/src/Lean/Meta/Tactic/Apply.lean b/stage0/src/Lean/Meta/Tactic/Apply.lean index b6ff612de8..1cf31dffe0 100644 --- a/stage0/src/Lean/Meta/Tactic/Apply.lean +++ b/stage0/src/Lean/Meta/Tactic/Apply.lean @@ -111,12 +111,46 @@ def _root_.Lean.MVarId.apply (mvarId : MVarId) (e : Expr) (cfg : ApplyConfig := mvarId.checkNotAssigned `apply let targetType ← mvarId.getType let eType ← inferType e - let mut (numArgs, hasMVarHead) ← getExpectedNumArgsAux eType - unless hasMVarHead do + let (numArgs, hasMVarHead) ← getExpectedNumArgsAux eType + /- + The `apply` tactic adds `_`s to `e`, and some of these `_`s become new goals. + When `hasMVarHead` is `false` we try different numbers, until we find a type compatible with `targetType`. + We used to try only `numArgs-targetTypeNumArgs` when `hasMVarHead = false`, but this is not always correct. + For example, consider the following example + ``` + example {α β} [LE_trans β] (x y z : α → β) (h₀ : x ≤ y) (h₁ : y ≤ z) : x ≤ z := by + apply le_trans + assumption + assumption + ``` + In this example, `targetTypeNumArgs = 1` because `LE` for functions is defined as + ``` + instance {α : Type u} {β : Type v} [LE β] : LE (α → β) where + le f g := ∀ i, f i ≤ g i + ``` + -/ + let rangeNumArgs ← if hasMVarHead then + pure [numArgs : numArgs+1] + else let targetTypeNumArgs ← getExpectedNumArgs targetType - numArgs := numArgs - targetTypeNumArgs - let (newMVars, binderInfos, eType) ← forallMetaTelescopeReducing eType (some numArgs) - unless (← isDefEq eType targetType) do throwApplyError mvarId eType targetType + pure [numArgs - targetTypeNumArgs : numArgs+1] + /- + Auxiliary function for trying to add `n` underscores where `n ∈ [i: rangeNumArgs.stop)` + See comment above + -/ + let rec go (i : Nat) : MetaM (Array Expr × Array BinderInfo) := do + if i < rangeNumArgs.stop then + let s ← saveState + let (newMVars, binderInfos, eType) ← forallMetaTelescopeReducing eType i + if (← isDefEqGuarded eType targetType) then + return (newMVars, binderInfos) + else + s.restore + go (i+1) + else + let (_, _, eType) ← forallMetaTelescopeReducing eType (some rangeNumArgs.start) + throwApplyError mvarId eType targetType + let (newMVars, binderInfos) ← go rangeNumArgs.start postprocessAppMVars `apply mvarId newMVars binderInfos cfg.synthAssignedInstances let e ← instantiateMVars e mvarId.assign (mkAppN e newMVars) @@ -127,6 +161,7 @@ def _root_.Lean.MVarId.apply (mvarId : MVarId) (e : Expr) (cfg : ApplyConfig := let result := newMVarIds ++ otherMVarIds.toList result.forM (·.headBetaType) return result +termination_by go i => rangeNumArgs.stop - i @[deprecated MVarId.apply] def apply (mvarId : MVarId) (e : Expr) (cfg : ApplyConfig := {}) : MetaM (List MVarId) := diff --git a/stage0/src/Lean/Meta/Tactic/Simp.lean b/stage0/src/Lean/Meta/Tactic/Simp.lean index aaadb53a41..30554e3d5c 100644 --- a/stage0/src/Lean/Meta/Tactic/Simp.lean +++ b/stage0/src/Lean/Meta/Tactic/Simp.lean @@ -18,5 +18,6 @@ builtin_initialize registerTraceClass `Meta.Tactic.simp.discharge (inherited := builtin_initialize registerTraceClass `Meta.Tactic.simp.rewrite (inherited := true) builtin_initialize registerTraceClass `Meta.Tactic.simp.unify (inherited := true) builtin_initialize registerTraceClass `Debug.Meta.Tactic.simp +builtin_initialize registerTraceClass `Debug.Meta.Tactic.simp.congr (inherited := true) end Lean diff --git a/stage0/src/Lean/Meta/Tactic/Simp/Main.lean b/stage0/src/Lean/Meta/Tactic/Simp/Main.lean index fffbe58046..9e87b662c1 100644 --- a/stage0/src/Lean/Meta/Tactic/Simp/Main.lean +++ b/stage0/src/Lean/Meta/Tactic/Simp/Main.lean @@ -488,7 +488,11 @@ where let val ← mkLambdaFVars zs r.expr unless (← isDefEq m val) do throwCongrHypothesisFailed - unless (← isDefEq h (← mkLambdaFVars xs (← r.getProof))) do + let mut proof ← r.getProof + if hType.isAppOf ``Iff then + try proof ← mkIffOfEq proof + catch _ => throwCongrHypothesisFailed + unless (← isDefEq h (← mkLambdaFVars xs proof)) do throwCongrHypothesisFailed /- We used to return `false` if `r.proof? = none` (i.e., an implicit `rfl` proof) because we assumed `dsimp` would also be able to simplify the term, but this is not true @@ -515,6 +519,7 @@ where let (xs, bis, type) ← forallMetaTelescopeReducing (← inferType thm) if c.hypothesesPos.any (· ≥ xs.size) then return none + let isIff := type.isAppOf ``Iff let lhs := type.appFn!.appArg! let rhs := type.appArg! let numArgs := lhs.getAppNumArgs @@ -545,7 +550,10 @@ where trace[Meta.Tactic.simp.congr] "{c.theoremName} synthesizeArgs failed" return none let eNew ← instantiateMVars rhs - let proof ← instantiateMVars (mkAppN thm xs) + let mut proof ← instantiateMVars (mkAppN thm xs) + if isIff then + try proof ← mkAppM ``propext #[proof] + catch _ => return none congrArgs { expr := eNew, proof? := proof } extraArgs else return none diff --git a/stage0/src/Lean/Meta/Tactic/Simp/SimpCongrTheorems.lean b/stage0/src/Lean/Meta/Tactic/Simp/SimpCongrTheorems.lean index fecade5fef..17868a869d 100644 --- a/stage0/src/Lean/Meta/Tactic/Simp/SimpCongrTheorems.lean +++ b/stage0/src/Lean/Meta/Tactic/Simp/SimpCongrTheorems.lean @@ -52,9 +52,9 @@ builtin_initialize congrExtension : SimpleScopedEnvExtension SimpCongrTheorem Si def mkSimpCongrTheorem (declName : Name) (prio : Nat) : MetaM SimpCongrTheorem := withReducible do let c ← mkConstWithLevelParams declName let (xs, bis, type) ← forallMetaTelescopeReducing (← inferType c) - match type.eq? with + match type.eqOrIff? with | none => throwError "invalid 'congr' theorem, equality expected{indentExpr type}" - | some (_, lhs, rhs) => + | some (lhs, rhs) => lhs.withApp fun lhsFn lhsArgs => rhs.withApp fun rhsFn rhsArgs => do unless lhsFn.isConst && rhsFn.isConst && lhsFn.constName! == rhsFn.constName! && lhsArgs.size == rhsArgs.size do throwError "invalid 'congr' theorem, equality left/right-hand sides must be applications of the same function{indentExpr type}" @@ -67,9 +67,9 @@ def mkSimpCongrTheorem (declName : Name) (prio : Nat) : MetaM SimpCongrTheorem : for x in xs, bi in bis do if bi.isExplicit && !foundMVars.contains x.mvarId! then let rhsFn? ← forallTelescopeReducing (← inferType x) fun ys xType => do - match xType.eq? with + match xType.eqOrIff? with | none => pure none -- skip - | some (_, xLhs, xRhs) => + | some (xLhs, xRhs) => let mut j := 0 for y in ys do let yType ← inferType y diff --git a/stage0/src/Lean/Parser/Term.lean b/stage0/src/Lean/Parser/Term.lean index ec695095b1..ba235199e3 100644 --- a/stage0/src/Lean/Parser/Term.lean +++ b/stage0/src/Lean/Parser/Term.lean @@ -547,7 +547,8 @@ We use them to implement `macro_rules` and `elab_rules` def namedArgument := leading_parser (withAnonymousAntiquot := false) atomic ("(" >> ident >> " := ") >> withoutPosition termParser >> ")" -def ellipsis := leading_parser (withAnonymousAntiquot := false) ".." +def ellipsis := leading_parser (withAnonymousAntiquot := false) + ".." >> notFollowedBy "." "`.` immediately after `..`" def argument := checkWsBefore "expected space" >> checkColGt "expected to be indented" >> diff --git a/stage0/src/Lean/ResolveName.lean b/stage0/src/Lean/ResolveName.lean index 6238ec3ad8..6ab7d4aa1d 100644 --- a/stage0/src/Lean/ResolveName.lean +++ b/stage0/src/Lean/ResolveName.lean @@ -20,7 +20,7 @@ abbrev AliasEntry := Name × Name def addAliasEntry (s : AliasState) (e : AliasEntry) : AliasState := match s.find? e.1 with | none => s.insert e.1 [e.2] - | some es => if es.elem e.2 then s else s.insert e.1 (e.2 :: es) + | some es => if es.contains e.2 then s else s.insert e.1 (e.2 :: es) builtin_initialize aliasExtension : SimplePersistentEnvExtension AliasEntry AliasState ← registerSimplePersistentEnvExtension { @@ -93,7 +93,7 @@ private def resolveExact (env : Environment) (id : Name) : Option Name := private def resolveOpenDecls (env : Environment) (id : Name) : List OpenDecl → List Name → List Name | [], resolvedIds => resolvedIds | OpenDecl.simple ns exs :: openDecls, resolvedIds => - if exs.elem id then + if exs.contains id then resolveOpenDecls env id openDecls resolvedIds else let newResolvedIds := resolveQualifiedName env ns id @@ -145,9 +145,13 @@ def resolveNamespaceUsingScope? (env : Environment) (n : Name) : Name → Option | _ => unreachable! def resolveNamespaceUsingOpenDecls (env : Environment) (n : Name) : List OpenDecl → List Name - | [] => [] - | OpenDecl.simple ns [] :: ds => if env.isNamespace (ns ++ n) then (ns ++ n) :: resolveNamespaceUsingOpenDecls env n ds else resolveNamespaceUsingOpenDecls env n ds - | _ :: ds => resolveNamespaceUsingOpenDecls env n ds + | [] => [] + | OpenDecl.simple ns exs :: ds => + if env.isNamespace (ns ++ n) && !exs.contains n then + (ns ++ n) :: resolveNamespaceUsingOpenDecls env n ds + else + resolveNamespaceUsingOpenDecls env n ds + | _ :: ds => resolveNamespaceUsingOpenDecls env n ds /-- Given a name `id` try to find namespaces it may refer to. The resolution procedure works as follows diff --git a/stage0/src/Lean/Util/Recognizers.lean b/stage0/src/Lean/Util/Recognizers.lean index 98125141f3..fc074065fc 100644 --- a/stage0/src/Lean/Util/Recognizers.lean +++ b/stage0/src/Lean/Util/Recognizers.lean @@ -46,6 +46,12 @@ namespace Expr @[inline] def iff? (p : Expr) : Option (Expr × Expr) := p.app2? ``Iff +@[inline] def eqOrIff? (p : Expr) : Option (Expr × Expr) := + if let some (_, lhs, rhs) := p.app3? ``Eq then + some (lhs, rhs) + else + p.iff? + @[inline] def not? (p : Expr) : Option Expr := p.app1? ``Not diff --git a/stage0/stdlib/Init/Notation.c b/stage0/stdlib/Init/Notation.c index c41821bd2b..35ec371edc 100644 --- a/stage0/stdlib/Init/Notation.c +++ b/stage0/stdlib/Init/Notation.c @@ -235,6 +235,7 @@ static lean_object* l___aux__Init__Notation______macroRules__term___x2b____1___c LEAN_EXPORT lean_object* l_Lean_instCoeHeadTSyntaxSyntax___rarg(lean_object*); static lean_object* l___aux__Init__Notation______macroRules__term___x25____1___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x24_x3e____1___closed__5; +static lean_object* l___aux__Init__Notation______macroRules__term_x2d____2___closed__1; static lean_object* l_term___x3e_x3e_____closed__3; static lean_object* l_rawNatLit___closed__2; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); @@ -244,6 +245,7 @@ static lean_object* l_term_x7b___x3a___x2f_x2f___x7d___closed__3; static lean_object* l_term___xd7_____closed__7; static lean_object* l___aux__Init__Notation______macroRules__term___x2d____1___closed__7; static lean_object* l___aux__Init__Notation______macroRules__term_x21____1___closed__1; +static lean_object* l___aux__Init__Notation______macroRules__term_x2d____2___closed__2; static lean_object* l_term_x25_x5b___x7c___x5d___closed__6; static lean_object* l_term___x3e_x3e_____closed__5; static lean_object* l_termDepIfThenElse___closed__15; @@ -339,6 +341,7 @@ LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__HOr__hOr__1(lean static lean_object* l_termIfThenElse___closed__11; static lean_object* l___aux__Init__Notation______macroRules__stx___x3c_x7c_x3e____1___closed__5; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__11; +LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term_x2d____2(lean_object*, lean_object*, lean_object*); static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__14; static lean_object* l_prec_x28___x29___closed__2; static lean_object* l_boolIfThenElse___closed__10; @@ -1015,6 +1018,7 @@ static lean_object* l___aux__Init__Notation______macroRules__termIfLet___x3a_x3d static lean_object* l___aux__Init__Notation______macroRules__stx___x2c_x2b__1___closed__3; static lean_object* l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__12; static lean_object* l___aux__Init__Notation______macroRules__term___x3d_x3d____2___closed__2; +static lean_object* l___aux__Init__Notation______macroRules__term_x2d____2___closed__3; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__and__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_rawStx_quot___closed__5; static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__6; @@ -11619,6 +11623,91 @@ return x_26; } } } +static lean_object* _init_l___aux__Init__Notation______macroRules__term_x2d____2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unop", 4); +return x_1; +} +} +static lean_object* _init_l___aux__Init__Notation______macroRules__term_x2d____2___closed__2() { +_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_Syntax_addPrec___closed__1; +x_2 = l_Lean_Parser_Syntax_addPrec___closed__2; +x_3 = l___aux__Init__Notation______macroRules__term___u2218____1___closed__1; +x_4 = l___aux__Init__Notation______macroRules__term_x2d____2___closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___aux__Init__Notation______macroRules__term_x2d____2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unop%", 5); +return x_1; +} +} +LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term_x2d____2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_term_x2d_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 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; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_1); +x_10 = lean_ctor_get(x_2, 5); +lean_inc(x_10); +x_11 = 0; +x_12 = l_Lean_SourceInfo_fromRef(x_10, x_11); +x_13 = lean_ctor_get(x_2, 2); +lean_inc(x_13); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +lean_dec(x_2); +x_15 = l___aux__Init__Notation______macroRules__term_x2d____2___closed__3; +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___aux__Init__Notation______macroRules__term_x2d____1___closed__5; +x_18 = l_Lean_addMacroScope(x_14, x_17, x_13); +x_19 = l___aux__Init__Notation______macroRules__term_x2d____1___closed__2; +x_20 = l___aux__Init__Notation______macroRules__term_x2d____1___closed__7; +lean_inc(x_12); +x_21 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_21, 0, x_12); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_20); +x_22 = l___aux__Init__Notation______macroRules__term_x2d____2___closed__2; +x_23 = l_Lean_Syntax_node3(x_12, x_22, x_16, x_21, x_9); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_3); +return x_24; +} +} +} static lean_object* _init_l_term___x3c_x3d_____closed__1() { _start: { @@ -28022,6 +28111,12 @@ l___aux__Init__Notation______macroRules__term___x7c_x7c_x7c____2___closed__2 = _ lean_mark_persistent(l___aux__Init__Notation______macroRules__term___x7c_x7c_x7c____2___closed__2); l___aux__Init__Notation______macroRules__term___x7c_x7c_x7c____2___closed__3 = _init_l___aux__Init__Notation______macroRules__term___x7c_x7c_x7c____2___closed__3(); lean_mark_persistent(l___aux__Init__Notation______macroRules__term___x7c_x7c_x7c____2___closed__3); +l___aux__Init__Notation______macroRules__term_x2d____2___closed__1 = _init_l___aux__Init__Notation______macroRules__term_x2d____2___closed__1(); +lean_mark_persistent(l___aux__Init__Notation______macroRules__term_x2d____2___closed__1); +l___aux__Init__Notation______macroRules__term_x2d____2___closed__2 = _init_l___aux__Init__Notation______macroRules__term_x2d____2___closed__2(); +lean_mark_persistent(l___aux__Init__Notation______macroRules__term_x2d____2___closed__2); +l___aux__Init__Notation______macroRules__term_x2d____2___closed__3 = _init_l___aux__Init__Notation______macroRules__term_x2d____2___closed__3(); +lean_mark_persistent(l___aux__Init__Notation______macroRules__term_x2d____2___closed__3); l_term___x3c_x3d_____closed__1 = _init_l_term___x3c_x3d_____closed__1(); lean_mark_persistent(l_term___x3c_x3d_____closed__1); l_term___x3c_x3d_____closed__2 = _init_l_term___x3c_x3d_____closed__2(); diff --git a/stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c b/stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c index 1490dc4ba5..524dd0bd12 100644 --- a/stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c +++ b/stage0/stdlib/Lean/Compiler/IR/ElimDeadBranches.c @@ -16,7 +16,6 @@ extern "C" { lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__12; LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_InterpContext_currFnIdx___default; -LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_truncateMaxDepth; size_t lean_usize_add(size_t, size_t); static lean_object* l_Lean_IR_UnreachableBranches_Value_format___closed__3; @@ -26,41 +25,46 @@ LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_findArgValue(lean_object* lean_object* l_Std_Format_join(lean_object*); static lean_object* l_List_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__3___closed__10; static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__10; +static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__1; LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at_Lean_IR_elimDeadBranches___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__6(lean_object*, lean_object*); +lean_object* lean_nat_div(lean_object*, lean_object*); +lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___boxed(lean_object*); LEAN_EXPORT lean_object* l_Nat_foldM_loop___at_Lean_IR_UnreachableBranches_updateJPParamsAssignment___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__7(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at_Lean_IR_UnreachableBranches_Value_beq___spec__5(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at_Lean_IR_elimDeadBranches___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__3___closed__7; -LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__9(lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_updateJPParamsAssignment___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_instToStringValue(lean_object*); +static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___closed__1; static lean_object* l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__1; static lean_object* l_Lean_IR_UnreachableBranches_Value_format___closed__2; -LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__6(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__3; -static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_elimDeadAux___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); extern lean_object* l_Std_Format_defWidth; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__20; +LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2(lean_object*); lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__15; static lean_object* l_Lean_IR_UnreachableBranches_Value_format___closed__8; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT uint8_t l_List_elem___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__12(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_elem___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__12___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_merge(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_interpFnBody___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_format___closed__4; +static lean_object* l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__10(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_modify___at_Lean_IR_UnreachableBranches_updateCurrFnSummary___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__3(lean_object*); lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); lean_object* lean_environment_find(lean_object*, lean_object*); @@ -81,41 +85,43 @@ static lean_object* l_Lean_IR_UnreachableBranches_instToFormatValue___closed__1; lean_object* l_Lean_IR_LocalContext_getJPParams(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_instToStringValue___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_interpExpr___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldr___at_Lean_IR_UnreachableBranches_Value_beq___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__11; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_resetNestedJPParams___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_interpFnBody___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_instToStringValue___closed__1; +LEAN_EXPORT uint8_t l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_declLt(lean_object*, lean_object*); +lean_object* l_Array_qpartition_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_instInhabitedValue; LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_IR_UnreachableBranches_findVarValue___spec__2___boxed(lean_object*, lean_object*); static lean_object* l_List_mapTRAux___at_Lean_IR_UnreachableBranches_Value_toFormat___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_projValue(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__1(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_resetNestedJPParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__7; LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat(lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_resetParamAssignment___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__8(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_interpFnBody___closed__4; static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__7; +static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_elimDeadAux___spec__1(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__4; -static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__2; lean_object* l_Lean_registerSimplePersistentEnvExtension___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__1(lean_object*, lean_object*); lean_object* l_Lean_IR_Decl_name(lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_interpExpr(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__4; LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_interpExpr___lambda__1___boxed(lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); static lean_object* l_Lean_IR_UnreachableBranches_Value_instToStringValue___closed__2; @@ -123,47 +129,40 @@ LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_instToStringValue; static lean_object* l_Lean_IR_UnreachableBranches_Value_addChoice___closed__2; static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__18; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); -static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__1; -static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__9; LEAN_EXPORT lean_object* l_panic___at_Lean_IR_UnreachableBranches_interpFnBody___spec__3(lean_object*); -static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__2; static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__8; -LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__12___boxed(lean_object*); lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__13(lean_object*, lean_object*); +static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__8; uint64_t l_Lean_Name_hash___override(lean_object*); -static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__8; static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__24; static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__9; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_Value_format___spec__2(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_interpFnBody___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_inferStep___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__8(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); static lean_object* l_List_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__3___closed__6; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_format(lean_object*); static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__22; -static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__1; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__2(lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_get_x21___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__1; static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__6; LEAN_EXPORT uint8_t l_Lean_IR_UnreachableBranches_Value_beq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_instToFormatValue; LEAN_EXPORT lean_object* l_Lean_IR_formatArray___at_Lean_IR_UnreachableBranches_Value_format___spec__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_declLt___boxed(lean_object*, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_addChoice___closed__3; LEAN_EXPORT lean_object* l_Nat_foldM_loop___at_Lean_IR_UnreachableBranches_inferStep___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_IR_UnreachableBranches_inferStep___spec__1(lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Lean_IR_UnreachableBranches_Value_merge___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldr___at_Lean_IR_UnreachableBranches_containsCtor___spec__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__7___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__3; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_resetNestedJPParams(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_LocalContext_addJP(lean_object*, lean_object*, lean_object*, lean_object*); @@ -181,20 +180,18 @@ lean_object* l_Lean_mkPersistentArray___rarg(lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_widening(lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__3___closed__3; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__2(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_IR_FnBody_isTerminal(lean_object*); -static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries(lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_interpFnBody___closed__2; +LEAN_EXPORT lean_object* l_Array_binSearchAux___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_updateCurrFnSummary(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_findVarValue(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_inferStep___spec__2(size_t, size_t, lean_object*); -lean_object* l_Lean_SMap_instInhabitedSMap___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__11; -LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__11(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__6___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_IR_UnreachableBranches_Value_beq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__1; static lean_object* l_List_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__3___closed__5; LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_IR_UnreachableBranches_Value_beq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -204,7 +201,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_interpExpr___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_IR_instInhabitedFnBody; static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__16; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_IR_UnreachableBranches_Value_toFormat___spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at_Lean_IR_UnreachableBranches_Value_beq___spec__2(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_findArgValue___boxed(lean_object*, lean_object*, lean_object*); @@ -215,13 +211,14 @@ lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_IR_UnreachableBranches_inferStep___spec__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_List_foldr___at_Lean_IR_UnreachableBranches_Value_beq___spec__4___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_IR_instInhabitedDecl; +LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__5___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__6(lean_object*, lean_object*); -static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__7; uint64_t lean_uint64_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_instToFormatValue; static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_inferStep___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__5(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__3; size_t lean_usize_modn(size_t, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); @@ -229,6 +226,7 @@ extern lean_object* l_Lean_IR_instInhabitedParam; static lean_object* l_List_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__3___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____boxed(lean_object*, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_format___closed__5; +static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__5; size_t lean_usize_mul(size_t, size_t); LEAN_EXPORT lean_object* l_List_format___at_Lean_IR_UnreachableBranches_Value_format___spec__3(lean_object*); static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__21; @@ -236,12 +234,13 @@ LEAN_EXPORT lean_object* l_Nat_foldM_loop___at_Lean_IR_UnreachableBranches_infer LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_instReprValue; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT uint8_t l_Lean_IR_UnreachableBranches_containsCtor(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_addChoice(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_inferStep___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_List_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__3___closed__9; static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__2; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_IR_UnreachableBranches_findVarValue___spec__2(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); @@ -254,52 +253,58 @@ lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_obj LEAN_EXPORT lean_object* l_panic___at_Lean_IR_UnreachableBranches_Value_addChoice___spec__1(lean_object*); static lean_object* l_List_foldl___at_Lean_IR_UnreachableBranches_Value_merge___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_updateJPParamsAssignment(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__7; -LEAN_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__16(lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_instBEqValue___closed__1; LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_updateVarAssignment___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Lean_IR_UnreachableBranches_projValue___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_InterpContext_lctx___default; LEAN_EXPORT lean_object* l_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__1(lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_instToFormatValue___closed__1; lean_object* l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(lean_object*); +lean_object* l_List_redLength___rarg(lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_format___closed__7; +static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__4; +LEAN_EXPORT lean_object* l_Array_binSearchAux___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__2(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_elimDeadBranches(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__9; LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_beq___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_FnBody_setBody(lean_object*, lean_object*); -lean_object* lean_list_to_array(lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at_Lean_IR_UnreachableBranches_updateCurrFnSummary___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_findVarValue___closed__1; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Environment_addExtraName(lean_object*, lean_object*); static lean_object* l_List_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__3___closed__1; LEAN_EXPORT lean_object* l_List_foldr___at_Lean_IR_UnreachableBranches_Value_beq___spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__1; LEAN_EXPORT lean_object* l_List_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__3___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at_Lean_IR_UnreachableBranches_Value_merge___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__7(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__1; static lean_object* l_List_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__3___closed__8; LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_inferStep(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_truncate(lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__3___closed__2; uint8_t l_Lean_IR_CtorInfo_beq(lean_object*, lean_object*); -static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__6; static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__25; -static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__2; lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_Name_getPrefix(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__8; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedName; static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__17; LEAN_EXPORT lean_object* l_Lean_IR_elimDeadBranches___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldr___at_Lean_IR_UnreachableBranches_Value_beq___spec__5___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_elimDead(lean_object*, lean_object*); +lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_IR_UnreachableBranches_Value_toFormat___spec__2(lean_object*, lean_object*); lean_object* l_Lean_IR_Decl_updateBody_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_IR_UnreachableBranches_interpFnBody___spec__2(lean_object*); @@ -308,6 +313,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_modifyAux___at_Lean_IR_Unreachab lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_inferMain(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__9; +LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_x3f___boxed(lean_object*, lean_object*); lean_object* l_Lean_IR_LocalContext_getJPBody(lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -319,22 +325,21 @@ LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_interpFnBody(lean_object* LEAN_EXPORT lean_object* l_Lean_IR_formatArray___at_Lean_IR_UnreachableBranches_Value_format___spec__1(lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_addFunctionSummary___closed__1; static lean_object* l_Lean_IR_UnreachableBranches_instReprValue___closed__1; -LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__1(lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_IR_elimDeadBranches___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_interpFnBody___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_Value_format___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_addChoice___closed__4; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__15(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__12(lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_elimDeadAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_elimDeadAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_IR_UnreachableBranches_updateVarAssignment___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__2; LEAN_EXPORT lean_object* l_Nat_foldM_loop___at_Lean_IR_UnreachableBranches_updateJPParamsAssignment___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__3; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418_(lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_addChoice___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__7(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_IR_elimDeadBranches___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -344,7 +349,6 @@ lean_object* lean_usize_to_nat(size_t); static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__3; static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__10; lean_object* l_Lean_IR_FnBody_body(lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__14(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__12; LEAN_EXPORT uint8_t l_List_foldr___at_Lean_IR_UnreachableBranches_containsCtor___spec__1(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_toFormat___closed__5; @@ -353,21 +357,20 @@ LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_Value_truncate_go(lean_ob LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__14; lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__10(lean_object*, lean_object*); static lean_object* l_Lean_IR_UnreachableBranches_Value_merge___closed__1; lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_findVarValue___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_List_mapTRAux___at_Lean_IR_UnreachableBranches_Value_toFormat___spec__1___closed__1; +lean_object* l_Lean_PersistentHashMap_instInhabitedPersistentHashMap___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_IR_UnreachableBranches_Value_truncate_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at_Lean_IR_UnreachableBranches_Value_beq___spec__3(lean_object*, uint8_t, lean_object*); static lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentArray_modify___at_Lean_IR_UnreachableBranches_updateCurrFnSummary___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_resetNestedJPParams___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__3; +static lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__6; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); extern lean_object* l_Lean_Name_instBEqName; static lean_object* l_List_repr___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_reprValue____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_40____spec__3___closed__11; @@ -3777,7 +3780,415 @@ x_7 = l_Lean_IR_UnreachableBranches_Value_truncate_go(x_1, x_4, x_5, x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__4(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT uint8_t l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_declLt(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_ctor_get(x_1, 0); +x_4 = lean_ctor_get(x_2, 0); +x_5 = l_Lean_Name_quickLt(x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_declLt___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_declLt(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +static lean_object* _init_l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_declLt___boxed), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_14; +x_14 = lean_nat_dec_lt(x_3, x_4); +if (x_14 == 0) +{ +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_15 = lean_nat_add(x_3, x_4); +x_16 = lean_unsigned_to_nat(2u); +x_17 = lean_nat_div(x_15, x_16); +lean_dec(x_15); +lean_inc(x_1); +x_46 = lean_array_get(x_1, x_2, x_17); +lean_inc(x_1); +x_47 = lean_array_get(x_1, x_2, x_3); +x_48 = lean_ctor_get(x_46, 0); +lean_inc(x_48); +lean_dec(x_46); +x_49 = lean_ctor_get(x_47, 0); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l_Lean_Name_quickLt(x_48, x_49); +lean_dec(x_49); +lean_dec(x_48); +if (x_50 == 0) +{ +x_18 = x_2; +goto block_45; +} +else +{ +lean_object* x_51; +x_51 = lean_array_swap(x_2, x_3, x_17); +x_18 = x_51; +goto block_45; +} +block_45: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_inc(x_1); +x_19 = lean_array_get(x_1, x_18, x_4); +lean_inc(x_1); +x_20 = lean_array_get(x_1, x_18, x_3); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Name_quickLt(x_21, x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_inc(x_1); +x_24 = lean_array_get(x_1, x_18, x_17); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +x_26 = l_Lean_Name_quickLt(x_25, x_21); +lean_dec(x_21); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_17); +x_27 = l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1___closed__1; +lean_inc_n(x_3, 2); +lean_inc(x_1); +x_28 = l_Array_qpartition_loop___rarg(x_1, x_27, x_4, x_19, x_18, x_3, x_3); +x_5 = x_28; +goto block_13; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_19); +x_29 = lean_array_swap(x_18, x_17, x_4); +lean_dec(x_17); +lean_inc(x_1); +x_30 = lean_array_get(x_1, x_29, x_4); +x_31 = l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1___closed__1; +lean_inc_n(x_3, 2); +lean_inc(x_1); +x_32 = l_Array_qpartition_loop___rarg(x_1, x_31, x_4, x_30, x_29, x_3, x_3); +x_5 = x_32; +goto block_13; +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +lean_dec(x_21); +lean_dec(x_19); +x_33 = lean_array_swap(x_18, x_3, x_4); +lean_inc(x_1); +x_34 = lean_array_get(x_1, x_33, x_17); +lean_inc(x_1); +x_35 = lean_array_get(x_1, x_33, x_4); +x_36 = lean_ctor_get(x_34, 0); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); +x_38 = l_Lean_Name_quickLt(x_36, x_37); +lean_dec(x_37); +lean_dec(x_36); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_17); +x_39 = l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1___closed__1; +lean_inc_n(x_3, 2); +lean_inc(x_1); +x_40 = l_Array_qpartition_loop___rarg(x_1, x_39, x_4, x_35, x_33, x_3, x_3); +x_5 = x_40; +goto block_13; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_35); +x_41 = lean_array_swap(x_33, x_17, x_4); +lean_dec(x_17); +lean_inc(x_1); +x_42 = lean_array_get(x_1, x_41, x_4); +x_43 = l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1___closed__1; +lean_inc_n(x_3, 2); +lean_inc(x_1); +x_44 = l_Array_qpartition_loop___rarg(x_1, x_43, x_4, x_42, x_41, x_3, x_3); +x_5 = x_44; +goto block_13; +} +} +} +} +block_13: +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +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_nat_dec_le(x_4, x_6); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_inc(x_1); +x_9 = l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1(x_1, x_7, x_3, x_6); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_6, x_10); +lean_dec(x_6); +x_2 = x_9; +x_3 = x_11; +goto _start; +} +else +{ +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_7; +} +} +} +} +static lean_object* _init_l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedName; +x_2 = l_Lean_IR_UnreachableBranches_instInhabitedValue; +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; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries(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; lean_object* x_7; +x_2 = lean_array_get_size(x_1); +x_3 = lean_unsigned_to_nat(1u); +x_4 = lean_nat_sub(x_2, x_3); +lean_dec(x_2); +x_5 = l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___closed__1; +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1(x_5, x_1, x_6, x_4); +lean_dec(x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_binSearchAux___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_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: +{ +uint8_t x_7; +x_7 = lean_nat_dec_le(x_5, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_9 = lean_nat_add(x_5, x_6); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_div(x_9, x_10); +lean_dec(x_9); +lean_inc(x_1); +x_12 = lean_array_get(x_1, x_3, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_4, 0); +x_15 = l_Lean_Name_quickLt(x_13, x_14); +if (x_15 == 0) +{ +uint8_t x_16; +lean_dec(x_6); +x_16 = l_Lean_Name_quickLt(x_14, x_13); +lean_dec(x_13); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_1); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_12); +return x_17; +} +else +{ +lean_object* x_18; uint8_t x_19; +lean_dec(x_12); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_nat_dec_eq(x_11, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_sub(x_11, x_20); +lean_dec(x_11); +x_6 = x_21; +goto _start; +} +else +{ +lean_object* x_23; +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_1); +x_23 = lean_box(0); +return x_23; +} +} +} +else +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_5); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_11, x_24); +lean_dec(x_11); +x_5 = x_25; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_x3f(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_3 = lean_box(0); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_3); +x_5 = lean_array_get_size(x_1); +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_sub(x_5, x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_lt(x_8, x_5); +lean_dec(x_5); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_4); +x_10 = lean_box(0); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_box(0); +x_12 = l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___closed__1; +x_13 = l_Array_binSearchAux___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_x3f___spec__1(x_12, x_11, x_1, x_4, x_8, x_7); +lean_dec(x_4); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +x_14 = lean_box(0); +return x_14; +} +else +{ +uint8_t x_15; +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); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +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, 0); +lean_inc(x_18); +lean_dec(x_13); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_binSearchAux___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_x3f___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Array_binSearchAux___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_x3f___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_x3f(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__3(size_t 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; @@ -3804,7 +4215,7 @@ x_17 = lean_usize_shift_right(x_12, x_16); x_18 = lean_unsigned_to_nat(1u); x_19 = lean_nat_add(x_5, x_18); lean_dec(x_5); -x_20 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3(x_6, x_17, x_1, x_9, x_10); +x_20 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2(x_6, x_17, x_1, x_9, x_10); x_4 = lean_box(0); x_5 = x_19; x_6 = x_20; @@ -3812,7 +4223,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__4(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; uint8_t x_8; @@ -3904,7 +4315,7 @@ return x_29; } } } -static size_t _init_l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__1() { +static size_t _init_l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__1() { _start: { size_t x_1; size_t x_2; size_t x_3; @@ -3914,17 +4325,17 @@ x_3 = lean_usize_shift_left(x_1, x_2); return x_3; } } -static size_t _init_l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__2() { +static size_t _init_l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__2() { _start: { size_t x_1; size_t x_2; size_t x_3; x_1 = 1; -x_2 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__1; +x_2 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__1; x_3 = lean_usize_sub(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__3() { +static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__3() { _start: { lean_object* x_1; @@ -3932,7 +4343,7 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_1) == 0) @@ -3945,7 +4356,7 @@ lean_object* x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; lean_object* x_7 = lean_ctor_get(x_1, 0); x_8 = 1; x_9 = 5; -x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__2; +x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__2; x_11 = lean_usize_land(x_2, x_10); x_12 = lean_usize_to_nat(x_11); x_13 = lean_array_get_size(x_7); @@ -4045,7 +4456,7 @@ lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_3 x_35 = lean_ctor_get(x_15, 0); x_36 = lean_usize_shift_right(x_2, x_9); x_37 = lean_usize_add(x_3, x_8); -x_38 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3(x_35, x_36, x_37, x_4, x_5); +x_38 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2(x_35, x_36, x_37, x_4, x_5); lean_ctor_set(x_15, 0, x_38); x_39 = lean_array_fset(x_17, x_12, x_15); lean_dec(x_12); @@ -4060,7 +4471,7 @@ lean_inc(x_40); lean_dec(x_15); x_41 = lean_usize_shift_right(x_2, x_9); x_42 = lean_usize_add(x_3, x_8); -x_43 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3(x_40, x_41, x_42, x_4, x_5); +x_43 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2(x_40, x_41, x_42, x_4, x_5); x_44 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_44, 0, x_43); x_45 = lean_array_fset(x_17, x_12, x_44); @@ -4091,7 +4502,7 @@ lean_inc(x_48); lean_dec(x_1); x_49 = 1; x_50 = 5; -x_51 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__2; +x_51 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__2; x_52 = lean_usize_land(x_2, x_51); x_53 = lean_usize_to_nat(x_52); x_54 = lean_array_get_size(x_48); @@ -4176,7 +4587,7 @@ if (lean_is_exclusive(x_57)) { } x_73 = lean_usize_shift_right(x_2, x_50); x_74 = lean_usize_add(x_3, x_49); -x_75 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3(x_71, x_73, x_74, x_4, x_5); +x_75 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2(x_71, x_73, x_74, x_4, x_5); if (lean_is_scalar(x_72)) { x_76 = lean_alloc_ctor(1, 1, 0); } else { @@ -4213,7 +4624,7 @@ if (x_82 == 0) { lean_object* x_83; lean_object* x_84; size_t x_85; uint8_t x_86; x_83 = lean_unsigned_to_nat(0u); -x_84 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__5(x_1, x_83, x_4, x_5); +x_84 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__4(x_1, x_83, x_4, x_5); x_85 = 7; x_86 = lean_usize_dec_le(x_85, x_3); if (x_86 == 0) @@ -4231,8 +4642,8 @@ lean_inc(x_90); x_91 = lean_ctor_get(x_84, 1); lean_inc(x_91); lean_dec(x_84); -x_92 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__3; -x_93 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__4(x_3, x_90, x_91, lean_box(0), x_83, x_92); +x_92 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__3; +x_93 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__3(x_3, x_90, x_91, lean_box(0), x_83, x_92); lean_dec(x_91); lean_dec(x_90); return x_93; @@ -4259,7 +4670,7 @@ x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_94); lean_ctor_set(x_96, 1, x_95); x_97 = lean_unsigned_to_nat(0u); -x_98 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__5(x_96, x_97, x_4, x_5); +x_98 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__4(x_96, x_97, x_4, x_5); x_99 = 7; x_100 = lean_usize_dec_le(x_99, x_3); if (x_100 == 0) @@ -4277,8 +4688,8 @@ lean_inc(x_104); x_105 = lean_ctor_get(x_98, 1); lean_inc(x_105); lean_dec(x_98); -x_106 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__3; -x_107 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__4(x_3, x_104, x_105, lean_box(0), x_97, x_106); +x_106 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__3; +x_107 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__3(x_3, x_104, x_105, lean_box(0), x_97, x_106); lean_dec(x_105); lean_dec(x_104); return x_107; @@ -4296,7 +4707,7 @@ return x_98; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -4309,7 +4720,7 @@ x_6 = lean_ctor_get(x_1, 1); x_7 = l_Lean_Name_hash___override(x_2); x_8 = lean_uint64_to_usize(x_7); x_9 = 1; -x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3(x_5, x_8, x_9, x_2, x_3); +x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2(x_5, x_8, x_9, x_2, x_3); x_11 = lean_unsigned_to_nat(1u); x_12 = lean_nat_add(x_6, x_11); lean_dec(x_6); @@ -4328,7 +4739,7 @@ lean_dec(x_1); x_15 = l_Lean_Name_hash___override(x_2); x_16 = lean_uint64_to_usize(x_15); x_17 = 1; -x_18 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3(x_13, x_16, x_17, x_2, x_3); +x_18 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2(x_13, x_16, x_17, x_2, x_3); x_19 = lean_unsigned_to_nat(1u); x_20 = lean_nat_add(x_14, x_19); lean_dec(x_14); @@ -4339,557 +4750,7 @@ return x_21; } } } -LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__7(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -uint8_t x_3; -x_3 = 0; -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_name_eq(x_4, x_1); -if (x_6 == 0) -{ -x_2 = x_5; -goto _start; -} -else -{ -uint8_t x_8; -x_8 = 1; -return x_8; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__10(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -return x_1; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 2); -x_6 = lean_array_get_size(x_1); -x_7 = l_Lean_Name_hash___override(x_4); -x_8 = lean_uint64_to_usize(x_7); -x_9 = lean_usize_modn(x_8, x_6); -lean_dec(x_6); -x_10 = lean_array_uget(x_1, x_9); -lean_ctor_set(x_2, 2, x_10); -x_11 = lean_array_uset(x_1, x_9, x_2); -x_1 = x_11; -x_2 = x_5; -goto _start; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint64_t x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_13 = lean_ctor_get(x_2, 0); -x_14 = lean_ctor_get(x_2, 1); -x_15 = lean_ctor_get(x_2, 2); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_2); -x_16 = lean_array_get_size(x_1); -x_17 = l_Lean_Name_hash___override(x_13); -x_18 = lean_uint64_to_usize(x_17); -x_19 = lean_usize_modn(x_18, x_16); -lean_dec(x_16); -x_20 = lean_array_uget(x_1, x_19); -x_21 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_21, 0, x_13); -lean_ctor_set(x_21, 1, x_14); -lean_ctor_set(x_21, 2, x_20); -x_22 = lean_array_uset(x_1, x_19, x_21); -x_1 = x_22; -x_2 = x_15; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_2); -x_5 = lean_nat_dec_lt(x_1, x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -else -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_6 = lean_array_fget(x_2, x_1); -x_7 = lean_box(0); -x_8 = lean_array_fset(x_2, x_1, x_7); -x_9 = l_Lean_AssocList_foldlM___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__10(x_3, x_6); -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_add(x_1, x_10); -lean_dec(x_1); -x_1 = x_11; -x_2 = x_8; -x_3 = x_9; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__8(lean_object* x_1, lean_object* x_2) { -_start: -{ -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; -x_3 = lean_array_get_size(x_2); -x_4 = lean_unsigned_to_nat(2u); -x_5 = lean_nat_mul(x_3, x_4); -lean_dec(x_3); -x_6 = lean_box(0); -x_7 = lean_mk_array(x_5, x_6); -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_HashMapImp_moveEntries___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__9(x_8, x_2, x_7); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(0); -return x_4; -} -else -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_3); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_3, 0); -x_7 = lean_ctor_get(x_3, 1); -x_8 = lean_ctor_get(x_3, 2); -x_9 = lean_name_eq(x_6, x_1); -if (x_9 == 0) -{ -lean_object* x_10; -x_10 = l_Lean_AssocList_replace___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__11(x_1, x_2, x_8); -lean_ctor_set(x_3, 2, x_10); -return x_3; -} -else -{ -lean_dec(x_7); -lean_dec(x_6); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 0, x_1); -return x_3; -} -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_3, 0); -x_12 = lean_ctor_get(x_3, 1); -x_13 = lean_ctor_get(x_3, 2); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_3); -x_14 = lean_name_eq(x_11, x_1); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = l_Lean_AssocList_replace___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__11(x_1, x_2, x_13); -x_16 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_16, 0, x_11); -lean_ctor_set(x_16, 1, x_12); -lean_ctor_set(x_16, 2, x_15); -return x_16; -} -else -{ -lean_object* x_17; -lean_dec(x_12); -lean_dec(x_11); -x_17 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_2); -lean_ctor_set(x_17, 2, x_13); -return x_17; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; size_t x_9; size_t x_10; lean_object* x_11; uint8_t x_12; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_array_get_size(x_6); -x_8 = l_Lean_Name_hash___override(x_2); -x_9 = lean_uint64_to_usize(x_8); -x_10 = lean_usize_modn(x_9, x_7); -x_11 = lean_array_uget(x_6, x_10); -x_12 = l_Lean_AssocList_contains___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__7(x_2, x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_add(x_5, x_13); -lean_dec(x_5); -x_15 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_15, 0, x_2); -lean_ctor_set(x_15, 1, x_3); -lean_ctor_set(x_15, 2, x_11); -x_16 = lean_array_uset(x_6, x_10, x_15); -x_17 = l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(x_14); -x_18 = lean_nat_dec_le(x_17, x_7); -lean_dec(x_7); -lean_dec(x_17); -if (x_18 == 0) -{ -lean_object* x_19; -lean_free_object(x_1); -x_19 = l_Lean_HashMapImp_expand___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__8(x_14, x_16); -return x_19; -} -else -{ -lean_ctor_set(x_1, 1, x_16); -lean_ctor_set(x_1, 0, x_14); -return x_1; -} -} -else -{ -lean_object* x_20; lean_object* x_21; -lean_dec(x_7); -x_20 = l_Lean_AssocList_replace___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__11(x_2, x_3, x_11); -x_21 = lean_array_uset(x_6, x_10, x_20); -lean_ctor_set(x_1, 1, x_21); -return x_1; -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint64_t x_25; size_t x_26; size_t x_27; lean_object* x_28; uint8_t x_29; -x_22 = lean_ctor_get(x_1, 0); -x_23 = lean_ctor_get(x_1, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_1); -x_24 = lean_array_get_size(x_23); -x_25 = l_Lean_Name_hash___override(x_2); -x_26 = lean_uint64_to_usize(x_25); -x_27 = lean_usize_modn(x_26, x_24); -x_28 = lean_array_uget(x_23, x_27); -x_29 = l_Lean_AssocList_contains___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__7(x_2, x_28); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_30 = lean_unsigned_to_nat(1u); -x_31 = lean_nat_add(x_22, x_30); -lean_dec(x_22); -x_32 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_32, 0, x_2); -lean_ctor_set(x_32, 1, x_3); -lean_ctor_set(x_32, 2, x_28); -x_33 = lean_array_uset(x_23, x_27, x_32); -x_34 = l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(x_31); -x_35 = lean_nat_dec_le(x_34, x_24); -lean_dec(x_24); -lean_dec(x_34); -if (x_35 == 0) -{ -lean_object* x_36; -x_36 = l_Lean_HashMapImp_expand___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__8(x_31, x_33); -return x_36; -} -else -{ -lean_object* x_37; -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_31); -lean_ctor_set(x_37, 1, x_33); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_dec(x_24); -x_38 = l_Lean_AssocList_replace___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__11(x_2, x_3, x_28); -x_39 = lean_array_uset(x_23, x_27, x_38); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_22); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); -if (x_4 == 0) -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_1); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_1, 1); -x_7 = l_Lean_PersistentHashMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__2(x_6, x_2, x_3); -x_8 = 0; -lean_ctor_set(x_1, 1, x_7); -lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_8); -return x_1; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_1); -x_11 = l_Lean_PersistentHashMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__2(x_10, x_2, x_3); -x_12 = 0; -x_13 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_13, 0, x_9); -lean_ctor_set(x_13, 1, x_11); -lean_ctor_set_uint8(x_13, sizeof(void*)*2, x_12); -return x_13; -} -} -else -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_1); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_ctor_get(x_1, 0); -x_16 = l_Lean_HashMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__6(x_15, x_2, x_3); -x_17 = 1; -lean_ctor_set(x_1, 0, x_16); -lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_17); -return x_1; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_1, 0); -x_19 = lean_ctor_get(x_1, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_1); -x_20 = l_Lean_HashMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__6(x_18, x_2, x_3); -x_21 = 1; -x_22 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_19); -lean_ctor_set_uint8(x_22, sizeof(void*)*2, x_21); -return x_22; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__12(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_mkHashMapImp___rarg(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__14(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_2, x_3); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; -x_6 = lean_array_uget(x_1, x_2); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_SMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__1(x_4, x_7, x_8); -x_10 = 1; -x_11 = lean_usize_add(x_2, x_10); -x_2 = x_11; -x_4 = x_9; -goto _start; -} -else -{ -return x_4; -} -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__15(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_eq(x_2, x_3); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; size_t x_10; size_t x_11; -x_6 = lean_array_uget(x_1, x_2); -x_7 = lean_array_get_size(x_6); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_lt(x_8, x_7); -x_10 = 1; -x_11 = lean_usize_add(x_2, x_10); -if (x_9 == 0) -{ -lean_dec(x_7); -lean_dec(x_6); -x_2 = x_11; -goto _start; -} -else -{ -uint8_t x_13; -x_13 = lean_nat_dec_le(x_7, x_7); -if (x_13 == 0) -{ -lean_dec(x_7); -lean_dec(x_6); -x_2 = x_11; -goto _start; -} -else -{ -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = 0; -x_16 = lean_usize_of_nat(x_7); -lean_dec(x_7); -x_17 = l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__14(x_6, x_15, x_16, x_4); -lean_dec(x_6); -x_2 = x_11; -x_4 = x_17; -goto _start; -} -} -} -else -{ -return x_4; -} -} -} -LEAN_EXPORT lean_object* l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__13(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_array_get_size(x_2); -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_nat_dec_lt(x_4, x_3); -if (x_5 == 0) -{ -lean_dec(x_3); -lean_dec(x_2); -return x_1; -} -else -{ -uint8_t x_6; -x_6 = lean_nat_dec_le(x_3, x_3); -if (x_6 == 0) -{ -lean_dec(x_3); -lean_dec(x_2); -return x_1; -} -else -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = 0; -x_8 = lean_usize_of_nat(x_3); -lean_dec(x_3); -x_9 = l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__15(x_2, x_7, x_8, x_1); -lean_dec(x_2); -return x_9; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__16(lean_object* x_1) { -_start: -{ -uint8_t x_2; -x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); -if (x_2 == 0) -{ -return x_1; -} -else -{ -uint8_t x_3; -x_3 = !lean_is_exclusive(x_1); -if (x_3 == 0) -{ -uint8_t x_4; -x_4 = 0; -lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_4); -return x_1; -} -else -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -lean_inc(x_6); -lean_inc(x_5); -lean_dec(x_1); -x_7 = 0; -x_8 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_6); -lean_ctor_set_uint8(x_8, sizeof(void*)*2, x_7); -return x_8; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -4898,11 +4759,11 @@ lean_inc(x_3); x_4 = lean_ctor_get(x_2, 1); lean_inc(x_4); lean_dec(x_2); -x_5 = l_Lean_SMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__1(x_1, x_3, x_4); +x_5 = l_Lean_PersistentHashMap_insert___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__1(x_1, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__1() { +static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__1() { _start: { lean_object* x_1; @@ -4910,21 +4771,21 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__2() { +static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__1; +x_1 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__3() { +static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__2; +x_1 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__2; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4932,24 +4793,34 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2(lean_object* x_1) { _start: { -lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_mkHashMapImp___rarg(x_2); -x_4 = 1; -x_5 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__3; -x_6 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_6, 0, x_3); -lean_ctor_set(x_6, 1, x_5); -lean_ctor_set_uint8(x_6, sizeof(void*)*2, x_4); -x_7 = l_Lean_mkStateFromImportedEntries___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__13(x_6, x_1); -x_8 = l_Lean_SMap_switch___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__16(x_7); -return x_8; +lean_object* x_2; +x_2 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__3; +return x_2; } } -static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__1() { +LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__3(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; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_2 = l_List_redLength___rarg(x_1); +x_3 = lean_mk_empty_array_with_capacity(x_2); +lean_dec(x_2); +x_4 = l_List_toArrayAux___rarg(x_1, x_3); +x_5 = lean_array_get_size(x_4); +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_sub(x_5, x_6); +lean_dec(x_5); +x_8 = l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___closed__1; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1(x_8, x_4, x_9, x_7); +lean_dec(x_7); +return x_10; +} +} +static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__1() { _start: { lean_object* x_1; @@ -4957,7 +4828,7 @@ x_1 = lean_mk_string_from_bytes("Lean", 4); return x_1; } } -static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__2() { +static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__2() { _start: { lean_object* x_1; @@ -4965,7 +4836,7 @@ x_1 = lean_mk_string_from_bytes("IR", 2); return x_1; } } -static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__3() { +static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__3() { _start: { lean_object* x_1; @@ -4973,7 +4844,7 @@ x_1 = lean_mk_string_from_bytes("UnreachableBranches", 19); return x_1; } } -static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__4() { +static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__4() { _start: { lean_object* x_1; @@ -4981,51 +4852,50 @@ x_1 = lean_mk_string_from_bytes("functionSummariesExt", 20); return x_1; } } -static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__5() { +static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__5() { _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_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__1; -x_2 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__2; -x_3 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__3; -x_4 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__4; +x_1 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__1; +x_2 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__2; +x_3 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__3; +x_4 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__4; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__6() { +static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__6() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(lean_list_to_array), 2, 1); -lean_closure_set(x_1, 0, lean_box(0)); +x_1 = lean_alloc_closure((void*)(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__1), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__7() { +static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__7() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__1), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__8() { +static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__8() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__3), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__9() { +static lean_object* _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__9() { _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_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__5; -x_2 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__7; -x_3 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__8; -x_4 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__6; +x_1 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__5; +x_2 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__6; +x_3 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__7; +x_4 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__8; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -5034,28 +4904,28 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__9; +x_2 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__9; x_3 = l_Lean_registerSimplePersistentEnvExtension___rarg(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__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_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__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) { _start: { size_t x_7; lean_object* x_8; x_7 = lean_unbox_usize(x_1); lean_dec(x_1); -x_8 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__4(x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__3(x_7, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { size_t x_6; size_t x_7; lean_object* x_8; @@ -5063,56 +4933,19 @@ x_6 = lean_unbox_usize(x_2); lean_dec(x_2); x_7 = lean_unbox_usize(x_3); lean_dec(x_3); -x_8 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3(x_1, x_6, x_7, x_4, x_5); +x_8 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2(x_1, x_6, x_7, x_4, x_5); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__7___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_AssocList_contains___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__7(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__12___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_mkHashMap___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__12(x_1); +x_2 = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__14(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = l_Array_foldlMUnsafe_fold___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__15(x_1, x_5, x_6, x_4); -lean_dec(x_1); -return x_7; -} -} static lean_object* _init_l_Lean_IR_UnreachableBranches_addFunctionSummary___closed__1() { _start: { @@ -5124,16 +4957,18 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_addFunctionSummary(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_3); -x_5 = l_Lean_IR_UnreachableBranches_addFunctionSummary___closed__1; -x_6 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_5, x_1, x_4); -return x_6; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_inc(x_2); +x_4 = l_Lean_Environment_addExtraName(x_1, x_2); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +x_6 = l_Lean_IR_UnreachableBranches_addFunctionSummary___closed__1; +x_7 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_6, x_4, x_5); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3(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; uint8_t x_7; @@ -5175,7 +5010,7 @@ return x_15; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3(lean_object* x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__2(lean_object* x_1, size_t x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) @@ -5185,7 +5020,7 @@ x_4 = lean_ctor_get(x_1, 0); lean_inc(x_4); lean_dec(x_1); x_5 = 5; -x_6 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__2; +x_6 = l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__2; x_7 = lean_usize_land(x_2, x_6); x_8 = lean_usize_to_nat(x_7); x_9 = lean_box(2); @@ -5246,14 +5081,14 @@ x_21 = lean_ctor_get(x_1, 1); lean_inc(x_21); lean_dec(x_1); x_22 = lean_unsigned_to_nat(0u); -x_23 = l_Lean_PersistentHashMap_findAtAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__4(x_20, x_21, lean_box(0), x_22, x_3); +x_23 = l_Lean_PersistentHashMap_findAtAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3(x_20, x_21, lean_box(0), x_22, x_3); lean_dec(x_21); lean_dec(x_20); return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint64_t x_4; size_t x_5; lean_object* x_6; @@ -5262,171 +5097,148 @@ lean_inc(x_3); lean_dec(x_1); x_4 = l_Lean_Name_hash___override(x_2); x_5 = lean_uint64_to_usize(x_4); -x_6 = l_Lean_PersistentHashMap_findAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3(x_3, x_5, x_2); +x_6 = l_Lean_PersistentHashMap_findAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__2(x_3, x_5, x_2); lean_dec(x_2); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__6(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_ctor_get(x_2, 2); -x_7 = lean_name_eq(x_4, x_1); -if (x_7 == 0) -{ -x_2 = x_6; -goto _start; -} -else -{ -lean_object* x_9; -lean_inc(x_5); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_5); -return x_9; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__5(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint64_t x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -lean_dec(x_1); -x_4 = lean_array_get_size(x_3); -x_5 = l_Lean_Name_hash___override(x_2); -x_6 = lean_uint64_to_usize(x_5); -x_7 = lean_usize_modn(x_6, x_4); -lean_dec(x_4); -x_8 = lean_array_uget(x_3, x_7); -lean_dec(x_3); -x_9 = l_Lean_AssocList_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__6(x_2, x_8); -lean_dec(x_8); -lean_dec(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); -if (x_3 == 0) -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; -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); -lean_inc(x_2); -x_6 = l_Lean_PersistentHashMap_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__2(x_5, x_2); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; -x_7 = l_Lean_HashMapImp_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__5(x_4, x_2); -return x_7; -} -else -{ -uint8_t x_8; -lean_dec(x_4); -lean_dec(x_2); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) -{ -return x_6; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_6, 0); -lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_9); -return x_10; -} -} -} -else -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_1, 0); -lean_inc(x_11); -lean_dec(x_1); -x_12 = l_Lean_HashMapImp_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__5(x_11, x_2); -return x_12; -} -} -} static lean_object* _init_l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Name_instBEqName; x_2 = l_Lean_instHashableName; -x_3 = l_Lean_SMap_instInhabitedSMap___rarg(x_1, x_2); +x_3 = l_Lean_PersistentHashMap_instInhabitedPersistentHashMap___rarg(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__1; +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; } } LEAN_EXPORT lean_object* l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_3 = l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__1; -x_4 = l_Lean_IR_UnreachableBranches_addFunctionSummary___closed__1; -x_5 = l_Lean_SimplePersistentEnvExtension_getState___rarg(x_3, x_4, x_1); +lean_object* x_3; +lean_inc(x_2); +lean_inc(x_1); +x_3 = l_Lean_Environment_getModuleIdxFor_x3f(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__1; +x_5 = l_Lean_IR_UnreachableBranches_addFunctionSummary___closed__1; +x_6 = l_Lean_SimplePersistentEnvExtension_getState___rarg(x_4, x_5, x_1); lean_dec(x_1); -x_6 = l_Lean_SMap_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__1(x_5, x_2); -return x_6; +x_7 = l_Lean_PersistentHashMap_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__1(x_6, x_2); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__2; +x_10 = l_Lean_IR_UnreachableBranches_addFunctionSummary___closed__1; +x_11 = l_Lean_PersistentEnvExtension_getModuleEntries___rarg(x_9, x_10, x_1, x_8); +lean_dec(x_8); +lean_dec(x_1); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_2); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_array_get_size(x_11); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_sub(x_14, x_15); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_nat_dec_lt(x_17, x_14); +lean_dec(x_14); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_13); +lean_dec(x_11); +x_19 = lean_box(0); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_box(0); +x_21 = l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___closed__1; +x_22 = l_Array_binSearchAux___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_findAtSorted_x3f___spec__1(x_21, x_20, x_11, x_13, x_17, x_16); +lean_dec(x_13); +lean_dec(x_11); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = lean_box(0); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_22, 0); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +lean_ctor_set(x_22, 0, x_26); +return x_22; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_22, 0); +lean_inc(x_27); +lean_dec(x_22); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +return x_29; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3___boxed(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; -x_6 = l_Lean_PersistentHashMap_findAtAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__4(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_PersistentHashMap_findAtAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3(x_1, x_2, x_3, x_4, x_5); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; lean_object* x_5; x_4 = lean_unbox_usize(x_2); lean_dec(x_2); -x_5 = l_Lean_PersistentHashMap_findAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__3(x_1, x_4, x_3); +x_5 = l_Lean_PersistentHashMap_findAux___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__2(x_1, x_4, x_3); lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__6___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_AssocList_find_x3f___at_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___spec__6(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} static lean_object* _init_l_Lean_IR_UnreachableBranches_InterpContext_currFnIdx___default() { _start: { @@ -9657,35 +9469,39 @@ l_Lean_IR_UnreachableBranches_Value_instToStringValue = _init_l_Lean_IR_Unreacha lean_mark_persistent(l_Lean_IR_UnreachableBranches_Value_instToStringValue); l_Lean_IR_UnreachableBranches_Value_truncateMaxDepth = _init_l_Lean_IR_UnreachableBranches_Value_truncateMaxDepth(); lean_mark_persistent(l_Lean_IR_UnreachableBranches_Value_truncateMaxDepth); -l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__1(); -l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__2 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__2(); -l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__3 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__3(); -lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____spec__3___closed__3); -l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__1 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__1); -l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__2 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__2); -l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__3 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__3(); -lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____lambda__2___closed__3); -l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__1 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__1(); -lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__1); -l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__2 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__2(); -lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__2); -l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__3 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__3(); -lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__3); -l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__4 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__4(); -lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__4); -l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__5 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__5(); -lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__5); -l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__6 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__6(); -lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__6); -l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__7 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__7(); -lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__7); -l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__8 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__8(); -lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__8); -l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__9 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__9(); -lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287____closed__9); -if (builtin) {res = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1287_(lean_io_mk_world()); +l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1___closed__1 = _init_l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1___closed__1(); +lean_mark_persistent(l_Array_qsort_sort___at___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___spec__1___closed__1); +l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___closed__1 = _init_l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___closed__1(); +lean_mark_persistent(l___private_Lean_Compiler_IR_ElimDeadBranches_0__Lean_IR_UnreachableBranches_sortEntries___closed__1); +l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__1(); +l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__2 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__2(); +l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__3 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__3(); +lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____spec__2___closed__3); +l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__1 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__1); +l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__2 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__2); +l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__3 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__3(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____lambda__2___closed__3); +l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__1 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__1(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__1); +l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__2 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__2(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__2); +l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__3 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__3(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__3); +l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__4 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__4(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__4); +l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__5 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__5(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__5); +l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__6 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__6(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__6); +l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__7 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__7(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__7); +l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__8 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__8(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__8); +l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__9 = _init_l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__9(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418____closed__9); +if (builtin) {res = l_Lean_IR_UnreachableBranches_initFn____x40_Lean_Compiler_IR_ElimDeadBranches___hyg_1418_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_IR_UnreachableBranches_functionSummariesExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_IR_UnreachableBranches_functionSummariesExt); @@ -9694,6 +9510,8 @@ lean_dec_ref(res); lean_mark_persistent(l_Lean_IR_UnreachableBranches_addFunctionSummary___closed__1); l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__1 = _init_l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__1(); lean_mark_persistent(l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__1); +l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__2 = _init_l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__2(); +lean_mark_persistent(l_Lean_IR_UnreachableBranches_getFunctionSummary_x3f___closed__2); l_Lean_IR_UnreachableBranches_InterpContext_currFnIdx___default = _init_l_Lean_IR_UnreachableBranches_InterpContext_currFnIdx___default(); lean_mark_persistent(l_Lean_IR_UnreachableBranches_InterpContext_currFnIdx___default); l_Lean_IR_UnreachableBranches_InterpContext_lctx___default = _init_l_Lean_IR_UnreachableBranches_InterpContext_lctx___default(); diff --git a/stage0/stdlib/Lean/Data/JsonRpc.c b/stage0/stdlib/Lean/Data/JsonRpc.c index f0baa6479f..85954d98a9 100644 --- a/stage0/stdlib/Lean/Data/JsonRpc.c +++ b/stage0/stdlib/Lean/Data/JsonRpc.c @@ -21,7 +21,6 @@ static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__15; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedRequest(lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instToJsonErrorCode___boxed(lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_writeMessage___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1673____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponseError(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequestID____x40_Lean_Data_JsonRpc___hyg_34_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instOfNatRequestID(lean_object*); @@ -40,7 +39,6 @@ static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__5; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeNotificationMessage___rarg(lean_object*, lean_object*); lean_object* l_Lean_JsonNumber_toString(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__16; -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1479____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedRequestID; static lean_object* l_Lean_JsonRpc_instBEqErrorCode___closed__1; lean_object* l_Lean_Json_toStructured_x3f___rarg(lean_object*, lean_object*); @@ -80,7 +78,7 @@ static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__6; LEAN_EXPORT uint8_t l_Lean_JsonRpc_instDecidableLtRequestIDInstLTRequestID(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_ErrorCode_noConfusion___rarg___lambda__1(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1479_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1467_(lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqRequestID; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqErrorCode; lean_object* l_Lean_Json_compress(lean_object*); @@ -88,6 +86,7 @@ static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__21; static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__38; LEAN_EXPORT lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2___boxed(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1661____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedNotification___rarg(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__7; static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__29; @@ -100,7 +99,6 @@ static lean_object* l_IO_FS_Stream_readRequestAs___closed__3; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedResponse(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__39; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1308____rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__35; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonMessage___boxed(lean_object*); static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__7; @@ -138,7 +136,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instToJsonRequestID(lean_object*); static lean_object* l_IO_FS_Stream_readNotificationAs___closed__1; LEAN_EXPORT lean_object* l_IO_FS_Stream_readNotificationAs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_int_neg(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_1110_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_1098_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___closed__6; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeNotificationMessage(lean_object*); @@ -194,10 +192,11 @@ LEAN_EXPORT lean_object* l_IO_FS_Stream_writeResponseErrorWithData(lean_object*) LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonErrorCode(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___closed__4; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instCoeResponseErrorMessage___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1467____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqNotification(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1673_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1661_(lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedResponseError(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1308_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1296_(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__4; static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__1; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instToJsonMessage___boxed(lean_object*); @@ -206,7 +205,6 @@ LEAN_EXPORT uint8_t l_Lean_JsonRpc_instInhabitedErrorCode; static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__5; LEAN_EXPORT lean_object* l_Lean_JsonRpc_ErrorCode_noConfusion(lean_object*); static lean_object* l_Lean_JsonRpc_instOrdRequestID___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_1110____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_writeRequest(lean_object*); static lean_object* l_Lean_JsonRpc_instFromJsonRequestID___closed__1; lean_object* l_IO_FS_Stream_writeJson(lean_object*, lean_object*, lean_object*); @@ -216,6 +214,7 @@ static lean_object* l_IO_FS_Stream_readResponseAs___closed__4; static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__1; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonRequestID___boxed(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__13; +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_1098____rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__26; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instToJsonRequestID___boxed(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__12; @@ -228,6 +227,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instToJsonErrorCode(uint8_t); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__37; static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__8; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instFromJsonRequestID(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1296____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_JsonRpc_ErrorCode_noConfusion___rarg___lambda__1___boxed(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__22; static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__2; @@ -1856,7 +1856,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_JsonRpc_instInhabitedRequest___rarg), 1, return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_1110____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_1098____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -1914,11 +1914,11 @@ return x_16; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_1110_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_1098_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_1110____rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_1098____rarg), 3, 0); return x_2; } } @@ -1926,7 +1926,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqRequest___rarg(lean_object* x_1) _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_1110____rarg), 3, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequest____x40_Lean_Data_JsonRpc___hyg_1098____rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -2005,7 +2005,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_JsonRpc_instInhabitedNotification___rarg return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1308____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1296____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; @@ -2040,11 +2040,11 @@ return x_11; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1308_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1296_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1308____rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1296____rarg), 3, 0); return x_2; } } @@ -2052,7 +2052,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqNotification___rarg(lean_object* _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1308____rarg), 3, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqNotification____x40_Lean_Data_JsonRpc___hyg_1296____rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -2127,7 +2127,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_JsonRpc_instInhabitedResponse___rarg), 1 return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1479____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1467____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; @@ -2162,11 +2162,11 @@ return x_11; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1479_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1467_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1479____rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1467____rarg), 3, 0); return x_2; } } @@ -2174,7 +2174,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponse___rarg(lean_object* x_1) _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1479____rarg), 3, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponse____x40_Lean_Data_JsonRpc___hyg_1467____rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -2243,7 +2243,7 @@ x_2 = l_Lean_JsonRpc_instInhabitedResponseError___closed__1; return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1673____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1661____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -2320,11 +2320,11 @@ return x_21; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1673_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1661_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1673____rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1661____rarg), 3, 0); return x_2; } } @@ -2332,7 +2332,7 @@ LEAN_EXPORT lean_object* l_Lean_JsonRpc_instBEqResponseError___rarg(lean_object* _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1673____rarg), 3, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqResponseError____x40_Lean_Data_JsonRpc___hyg_1661____rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } diff --git a/stage0/stdlib/Lean/Elab/BuiltinCommand.c b/stage0/stdlib/Lean/Elab/BuiltinCommand.c index 2f44047e97..403e125aa4 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinCommand.c +++ b/stage0/stdlib/Lean/Elab/BuiltinCommand.c @@ -122,6 +122,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabExport_declRange___clos static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabExport___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabVariable___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__14___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_Command_expandInCmd_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabExport___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck_declRange___closed__5; @@ -375,6 +376,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabExpor static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace_declRange___closed__2; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabExport___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__14(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalUnsafe___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_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Command_elabExport___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit_declRange___closed__5; @@ -386,6 +388,7 @@ static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__ static lean_object* l_Lean_Elab_Command_elabCheckCore___lambda__3___closed__2; static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Command_elabExport___spec__17___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc___closed__1; +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen___closed__1; lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Elab_Command_elabEvalUnsafe___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -546,6 +549,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSetOption___boxed(lean_object*, LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabImport_declRange___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Command_elabSetOption___spec__1___closed__1; static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabChoice_declRange___closed__4; @@ -678,11 +682,9 @@ static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveName lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__35; static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace_declRange___closed__5; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Command_elabReduce___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabAddDeclDoc___spec__12(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabAddDeclDoc___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_popScopes___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_macroAttribute; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure_declRange(lean_object*); @@ -771,6 +773,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot_declRange___cl lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object*); lean_object* l_Lean_PersistentArray_mapM___at_Lean_MessageLog_errorsToWarnings___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckCore___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35(size_t, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit___closed__5; static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___closed__2; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__3(lean_object*, lean_object*, size_t, size_t); @@ -830,7 +833,6 @@ LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Command_elab static lean_object* l_Lean_Elab_Command_expandInCmd___closed__1; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabVariable___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabImport___closed__1; LEAN_EXPORT lean_object* l_Lean_popScope___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_popScopes___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalUnsafe___lambda__4___closed__3; @@ -922,7 +924,6 @@ static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mk extern lean_object* l_Lean_scopedEnvExtensionsRef; uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_Command_elabOpen___spec__3___closed__1; -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInitQuot(lean_object*); LEAN_EXPORT lean_object* l_Lean_evalConst___at_Lean_Elab_Command_elabEvalUnsafe___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse___closed__1; @@ -1000,7 +1001,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck_declRange___close static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addNamespace(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__2___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEval_declRange___closed__7; @@ -9112,76 +9112,6 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__12(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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; -x_10 = lean_usize_dec_lt(x_4, x_3); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_5); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; -lean_dec(x_5); -x_12 = lean_array_uget(x_2, x_4); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_1); -x_13 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Command_elabExport___spec__6(x_1, x_12, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -lean_dec(x_13); -x_15 = 1; -x_16 = lean_usize_add(x_4, x_15); -x_17 = lean_box(0); -x_4 = x_16; -x_5 = x_17; -x_9 = x_14; -goto _start; -} -else -{ -uint8_t x_19; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_19 = !lean_is_exclusive(x_13); -if (x_19 == 0) -{ -return x_13; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_13, 0); -x_21 = lean_ctor_get(x_13, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_13); -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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__13(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -9190,89 +9120,6 @@ x_10 = lean_usize_dec_lt(x_4, x_3); if (x_10 == 0) { lean_object* x_11; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_5); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; -lean_dec(x_5); -x_12 = lean_array_uget(x_2, x_4); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_12); -lean_inc(x_1); -x_13 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5(x_1, x_12, 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; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; -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_Syntax_getId(x_12); -lean_dec(x_12); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_14); -x_18 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Command_elabOpen___spec__10(x_17, x_6, x_7, x_8, x_15); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = 1; -x_21 = lean_usize_add(x_4, x_20); -x_22 = lean_box(0); -x_4 = x_21; -x_5 = x_22; -x_9 = x_19; -goto _start; -} -else -{ -uint8_t x_24; -lean_dec(x_12); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_13); -if (x_24 == 0) -{ -return x_13; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_13, 0); -x_26 = lean_ctor_get(x_13, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_13); -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; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__15(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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; -x_10 = lean_usize_dec_lt(x_4, x_3); -if (x_10 == 0) -{ -lean_object* x_11; lean_dec(x_1); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_5); @@ -9359,7 +9206,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__12(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; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -9375,7 +9222,7 @@ x_11 = lean_usize_of_nat(x_10); lean_dec(x_10); x_12 = 0; x_13 = lean_box(0); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__15(x_1, x_8, x_11, x_12, x_13, x_2, x_3, x_4, x_9); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__13(x_1, x_8, x_11, x_12, x_13, x_2, x_3, x_4, x_9); lean_dec(x_8); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) @@ -9399,6 +9246,159 @@ return x_18; } } } +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__14(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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; +x_10 = lean_usize_dec_lt(x_4, x_3); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_5); +x_12 = lean_array_uget(x_2, x_4); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +x_13 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Command_elabExport___spec__6(x_1, x_12, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = 1; +x_16 = lean_usize_add(x_4, x_15); +x_17 = lean_box(0); +x_4 = x_16; +x_5 = x_17; +x_9 = x_14; +goto _start; +} +else +{ +uint8_t x_19; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_13); +if (x_19 == 0) +{ +return x_13; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_13, 0); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_13); +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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__15(lean_object* x_1, lean_object* x_2, size_t x_3, size_t 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; +x_10 = lean_usize_dec_lt(x_4, x_3); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_5); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_5); +x_12 = lean_array_uget(x_2, x_4); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_12); +lean_inc(x_1); +x_13 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5(x_1, x_12, 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; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +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_Syntax_getId(x_12); +lean_dec(x_12); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_14); +x_18 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Command_elabOpen___spec__10(x_17, x_6, x_7, x_8, x_15); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = 1; +x_21 = lean_usize_add(x_4, x_20); +x_22 = lean_box(0); +x_4 = x_21; +x_5 = x_22; +x_9 = x_19; +goto _start; +} +else +{ +uint8_t x_24; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_13); +if (x_24 == 0) +{ +return x_13; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_13, 0); +x_26 = lean_ctor_get(x_13, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_13); +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; +} +} +} +} +} LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabOpen___spec__16(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: { @@ -9419,7 +9419,7 @@ lean_inc(x_8); x_9 = lean_ctor_get(x_1, 1); lean_inc(x_9); lean_dec(x_1); -x_10 = l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__14(x_8, x_3, x_4, x_5, x_6); +x_10 = l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__12(x_8, x_3, x_4, x_5, x_6); x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); lean_dec(x_10); @@ -9533,7 +9533,7 @@ x_12 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_El x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); -x_14 = l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__14(x_8, x_3, x_4, x_5, x_13); +x_14 = l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__12(x_8, x_3, x_4, x_5, x_13); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); @@ -9863,17 +9863,17 @@ lean_ctor_set(x_29, 0, x_21); lean_ctor_set(x_29, 1, x_25); if (x_28 == 0) { -uint8_t x_248; -x_248 = 0; -x_30 = x_248; -goto block_247; +uint8_t x_250; +x_250 = 0; +x_30 = x_250; +goto block_249; } else { -uint8_t x_249; -x_249 = 1; -x_30 = x_249; -goto block_247; +uint8_t x_251; +x_251 = 1; +x_30 = x_251; +goto block_249; } block_17: { @@ -9931,7 +9931,7 @@ return x_16; } } } -block_247: +block_249: { lean_object* x_31; x_31 = lean_st_mk_ref(x_29, x_24); @@ -10266,162 +10266,167 @@ lean_inc(x_32); x_114 = l_Lean_resolveUniqueNamespace___at_Lean_Elab_Command_elabOpen___spec__3(x_110, x_32, x_2, x_3, x_33); if (lean_obj_tag(x_114) == 0) { -lean_object* x_115; lean_object* x_116; lean_object* x_117; size_t x_118; size_t x_119; lean_object* x_120; lean_object* x_121; +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; size_t x_120; size_t x_121; lean_object* x_122; lean_object* x_123; x_115 = lean_ctor_get(x_114, 0); lean_inc(x_115); x_116 = lean_ctor_get(x_114, 1); lean_inc(x_116); lean_dec(x_114); -x_117 = lean_array_get_size(x_113); -x_118 = lean_usize_of_nat(x_117); +lean_inc(x_115); +x_117 = l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__12(x_115, x_32, x_2, x_3, x_116); +x_118 = lean_ctor_get(x_117, 1); +lean_inc(x_118); lean_dec(x_117); -x_119 = 0; -x_120 = lean_box(0); +x_119 = lean_array_get_size(x_113); +x_120 = lean_usize_of_nat(x_119); +lean_dec(x_119); +x_121 = 0; +x_122 = lean_box(0); lean_inc(x_3); lean_inc(x_2); lean_inc(x_32); lean_inc(x_115); -x_121 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__12(x_115, x_113, x_118, x_119, x_120, x_32, x_2, x_3, x_116); -if (lean_obj_tag(x_121) == 0) +x_123 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__14(x_115, x_113, x_120, x_121, x_122, x_32, x_2, x_3, x_118); +if (lean_obj_tag(x_123) == 0) { -lean_object* x_122; 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; -x_122 = lean_ctor_get(x_121, 1); -lean_inc(x_122); -lean_dec(x_121); -x_123 = l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33(x_118, x_119, x_113); -x_124 = lean_array_to_list(lean_box(0), x_123); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_115); -lean_ctor_set(x_125, 1, x_124); -x_126 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Command_elabOpen___spec__10(x_125, x_32, x_2, x_3, x_122); -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); -lean_inc(x_32); -x_129 = lean_apply_5(x_26, x_127, x_32, x_2, x_3, x_128); -if (lean_obj_tag(x_129) == 0) -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; -x_130 = lean_ctor_get(x_129, 0); +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; lean_object* x_131; +x_124 = lean_ctor_get(x_123, 1); +lean_inc(x_124); +lean_dec(x_123); +x_125 = l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35(x_120, x_121, x_113); +x_126 = lean_array_to_list(lean_box(0), x_125); +x_127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_127, 0, x_115); +lean_ctor_set(x_127, 1, x_126); +x_128 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Command_elabOpen___spec__10(x_127, x_32, x_2, x_3, x_124); +x_129 = lean_ctor_get(x_128, 0); +lean_inc(x_129); +x_130 = lean_ctor_get(x_128, 1); lean_inc(x_130); -x_131 = lean_ctor_get(x_129, 1); -lean_inc(x_131); -lean_dec(x_129); -x_132 = lean_st_ref_get(x_32, x_131); +lean_dec(x_128); +lean_inc(x_32); +x_131 = lean_apply_5(x_26, x_129, x_32, x_2, x_3, x_130); +if (lean_obj_tag(x_131) == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +lean_dec(x_131); +x_134 = lean_st_ref_get(x_32, x_133); lean_dec(x_32); -x_133 = !lean_is_exclusive(x_132); -if (x_133 == 0) +x_135 = !lean_is_exclusive(x_134); +if (x_135 == 0) { -lean_object* x_134; lean_object* x_135; -x_134 = lean_ctor_get(x_132, 0); -x_135 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_135, 0, x_130); -lean_ctor_set(x_135, 1, x_134); -lean_ctor_set(x_132, 0, x_135); -x_5 = x_132; +lean_object* x_136; lean_object* x_137; +x_136 = lean_ctor_get(x_134, 0); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_132); +lean_ctor_set(x_137, 1, x_136); +lean_ctor_set(x_134, 0, x_137); +x_5 = x_134; goto block_17; } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_136 = lean_ctor_get(x_132, 0); -x_137 = lean_ctor_get(x_132, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_132); -x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_130); -lean_ctor_set(x_138, 1, x_136); -x_139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_137); -x_5 = x_139; +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_138 = lean_ctor_get(x_134, 0); +x_139 = lean_ctor_get(x_134, 1); +lean_inc(x_139); +lean_inc(x_138); +lean_dec(x_134); +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_132); +lean_ctor_set(x_140, 1, x_138); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_139); +x_5 = x_141; goto block_17; } } else { -uint8_t x_140; +uint8_t x_142; lean_dec(x_32); -x_140 = !lean_is_exclusive(x_129); -if (x_140 == 0) +x_142 = !lean_is_exclusive(x_131); +if (x_142 == 0) { -x_5 = x_129; +x_5 = x_131; goto block_17; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_129, 0); -x_142 = lean_ctor_get(x_129, 1); -lean_inc(x_142); -lean_inc(x_141); -lean_dec(x_129); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -x_5 = x_143; +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_131, 0); +x_144 = lean_ctor_get(x_131, 1); +lean_inc(x_144); +lean_inc(x_143); +lean_dec(x_131); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +x_5 = x_145; goto block_17; } } } else { -uint8_t x_144; +uint8_t x_146; lean_dec(x_115); lean_dec(x_113); lean_dec(x_32); lean_dec(x_3); lean_dec(x_2); -x_144 = !lean_is_exclusive(x_121); -if (x_144 == 0) +x_146 = !lean_is_exclusive(x_123); +if (x_146 == 0) { -x_5 = x_121; +x_5 = x_123; goto block_17; } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_145 = lean_ctor_get(x_121, 0); -x_146 = lean_ctor_get(x_121, 1); -lean_inc(x_146); -lean_inc(x_145); -lean_dec(x_121); -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_145); -lean_ctor_set(x_147, 1, x_146); -x_5 = x_147; +lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_147 = lean_ctor_get(x_123, 0); +x_148 = lean_ctor_get(x_123, 1); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_123); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_147); +lean_ctor_set(x_149, 1, x_148); +x_5 = x_149; goto block_17; } } } else { -uint8_t x_148; +uint8_t x_150; lean_dec(x_113); lean_dec(x_32); lean_dec(x_3); lean_dec(x_2); -x_148 = !lean_is_exclusive(x_114); -if (x_148 == 0) +x_150 = !lean_is_exclusive(x_114); +if (x_150 == 0) { x_5 = x_114; goto block_17; } else { -lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_149 = lean_ctor_get(x_114, 0); -x_150 = lean_ctor_get(x_114, 1); -lean_inc(x_150); -lean_inc(x_149); +lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_151 = lean_ctor_get(x_114, 0); +x_152 = lean_ctor_get(x_114, 1); +lean_inc(x_152); +lean_inc(x_151); lean_dec(x_114); -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_150); -x_5 = x_151; +x_153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_153, 0, x_151); +lean_ctor_set(x_153, 1, x_152); +x_5 = x_153; goto block_17; } } @@ -10429,163 +10434,163 @@ goto block_17; } else { -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_152 = lean_unsigned_to_nat(0u); -x_153 = l_Lean_Syntax_getArg(x_1, x_152); -x_154 = lean_unsigned_to_nat(2u); +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_154 = lean_unsigned_to_nat(0u); x_155 = l_Lean_Syntax_getArg(x_1, x_154); +x_156 = lean_unsigned_to_nat(2u); +x_157 = l_Lean_Syntax_getArg(x_1, x_156); lean_dec(x_1); -x_156 = l_Lean_Syntax_getArgs(x_155); -lean_dec(x_155); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_32); -x_157 = l_Lean_resolveNamespace___at_Lean_Elab_Command_elabOpen___spec__4(x_153, x_32, x_2, x_3, x_33); -if (lean_obj_tag(x_157) == 0) -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; size_t x_161; size_t x_162; lean_object* x_163; lean_object* x_164; -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); +x_158 = l_Lean_Syntax_getArgs(x_157); lean_dec(x_157); -x_160 = lean_array_get_size(x_156); -x_161 = lean_usize_of_nat(x_160); -lean_dec(x_160); -x_162 = 0; -x_163 = lean_box(0); lean_inc(x_3); lean_inc(x_2); lean_inc(x_32); -x_164 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__13(x_158, x_156, x_161, x_162, x_163, x_32, x_2, x_3, x_159); -lean_dec(x_156); -if (lean_obj_tag(x_164) == 0) +x_159 = l_Lean_resolveNamespace___at_Lean_Elab_Command_elabOpen___spec__4(x_155, x_32, x_2, x_3, x_33); +if (lean_obj_tag(x_159) == 0) { -lean_object* x_165; lean_object* x_166; -x_165 = lean_ctor_get(x_164, 1); -lean_inc(x_165); -lean_dec(x_164); +lean_object* x_160; lean_object* x_161; lean_object* x_162; size_t x_163; size_t x_164; lean_object* x_165; lean_object* x_166; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +lean_dec(x_159); +x_162 = lean_array_get_size(x_158); +x_163 = lean_usize_of_nat(x_162); +lean_dec(x_162); +x_164 = 0; +x_165 = lean_box(0); +lean_inc(x_3); +lean_inc(x_2); lean_inc(x_32); -x_166 = lean_apply_5(x_26, x_163, x_32, x_2, x_3, x_165); +x_166 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__15(x_160, x_158, x_163, x_164, x_165, x_32, x_2, x_3, x_161); +lean_dec(x_158); if (lean_obj_tag(x_166) == 0) { -lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; -x_167 = lean_ctor_get(x_166, 0); +lean_object* x_167; lean_object* x_168; +x_167 = lean_ctor_get(x_166, 1); lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); lean_dec(x_166); -x_169 = lean_st_ref_get(x_32, x_168); -lean_dec(x_32); -x_170 = !lean_is_exclusive(x_169); -if (x_170 == 0) +lean_inc(x_32); +x_168 = lean_apply_5(x_26, x_165, x_32, x_2, x_3, x_167); +if (lean_obj_tag(x_168) == 0) { -lean_object* x_171; lean_object* x_172; -x_171 = lean_ctor_get(x_169, 0); -x_172 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_172, 0, x_167); -lean_ctor_set(x_172, 1, x_171); -lean_ctor_set(x_169, 0, x_172); -x_5 = x_169; +lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +x_171 = lean_st_ref_get(x_32, x_170); +lean_dec(x_32); +x_172 = !lean_is_exclusive(x_171); +if (x_172 == 0) +{ +lean_object* x_173; lean_object* x_174; +x_173 = lean_ctor_get(x_171, 0); +x_174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_174, 0, x_169); +lean_ctor_set(x_174, 1, x_173); +lean_ctor_set(x_171, 0, x_174); +x_5 = x_171; goto block_17; } else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_173 = lean_ctor_get(x_169, 0); -x_174 = lean_ctor_get(x_169, 1); -lean_inc(x_174); -lean_inc(x_173); -lean_dec(x_169); -x_175 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_175, 0, x_167); -lean_ctor_set(x_175, 1, x_173); -x_176 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_174); -x_5 = x_176; +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_175 = lean_ctor_get(x_171, 0); +x_176 = lean_ctor_get(x_171, 1); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_171); +x_177 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_177, 0, x_169); +lean_ctor_set(x_177, 1, x_175); +x_178 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_178, 0, x_177); +lean_ctor_set(x_178, 1, x_176); +x_5 = x_178; goto block_17; } } else { -uint8_t x_177; +uint8_t x_179; lean_dec(x_32); -x_177 = !lean_is_exclusive(x_166); -if (x_177 == 0) +x_179 = !lean_is_exclusive(x_168); +if (x_179 == 0) +{ +x_5 = x_168; +goto block_17; +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_180 = lean_ctor_get(x_168, 0); +x_181 = lean_ctor_get(x_168, 1); +lean_inc(x_181); +lean_inc(x_180); +lean_dec(x_168); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_180); +lean_ctor_set(x_182, 1, x_181); +x_5 = x_182; +goto block_17; +} +} +} +else +{ +uint8_t x_183; +lean_dec(x_32); +lean_dec(x_3); +lean_dec(x_2); +x_183 = !lean_is_exclusive(x_166); +if (x_183 == 0) { x_5 = x_166; goto block_17; } else { -lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_178 = lean_ctor_get(x_166, 0); -x_179 = lean_ctor_get(x_166, 1); -lean_inc(x_179); -lean_inc(x_178); +lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_184 = lean_ctor_get(x_166, 0); +x_185 = lean_ctor_get(x_166, 1); +lean_inc(x_185); +lean_inc(x_184); lean_dec(x_166); -x_180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_180, 0, x_178); -lean_ctor_set(x_180, 1, x_179); -x_5 = x_180; +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_184); +lean_ctor_set(x_186, 1, x_185); +x_5 = x_186; goto block_17; } } } else { -uint8_t x_181; +uint8_t x_187; +lean_dec(x_158); lean_dec(x_32); lean_dec(x_3); lean_dec(x_2); -x_181 = !lean_is_exclusive(x_164); -if (x_181 == 0) +x_187 = !lean_is_exclusive(x_159); +if (x_187 == 0) { -x_5 = x_164; +x_5 = x_159; goto block_17; } else { -lean_object* x_182; lean_object* x_183; lean_object* x_184; -x_182 = lean_ctor_get(x_164, 0); -x_183 = lean_ctor_get(x_164, 1); -lean_inc(x_183); -lean_inc(x_182); -lean_dec(x_164); -x_184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_184, 0, x_182); -lean_ctor_set(x_184, 1, x_183); -x_5 = x_184; -goto block_17; -} -} -} -else -{ -uint8_t x_185; -lean_dec(x_156); -lean_dec(x_32); -lean_dec(x_3); -lean_dec(x_2); -x_185 = !lean_is_exclusive(x_157); -if (x_185 == 0) -{ -x_5 = x_157; -goto block_17; -} -else -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_186 = lean_ctor_get(x_157, 0); -x_187 = lean_ctor_get(x_157, 1); -lean_inc(x_187); -lean_inc(x_186); -lean_dec(x_157); -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_186); -lean_ctor_set(x_188, 1, x_187); -x_5 = x_188; +lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_188 = lean_ctor_get(x_159, 0); +x_189 = lean_ctor_get(x_159, 1); +lean_inc(x_189); +lean_inc(x_188); +lean_dec(x_159); +x_190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_190, 0, x_188); +lean_ctor_set(x_190, 1, x_189); +x_5 = x_190; goto block_17; } } @@ -10593,246 +10598,246 @@ goto block_17; } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; size_t x_193; size_t x_194; lean_object* x_195; lean_object* x_196; -x_189 = lean_unsigned_to_nat(1u); -x_190 = l_Lean_Syntax_getArg(x_1, x_189); +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; size_t x_195; size_t x_196; lean_object* x_197; lean_object* x_198; +x_191 = lean_unsigned_to_nat(1u); +x_192 = l_Lean_Syntax_getArg(x_1, x_191); lean_dec(x_1); -x_191 = l_Lean_Syntax_getArgs(x_190); -lean_dec(x_190); -x_192 = lean_array_get_size(x_191); -x_193 = lean_usize_of_nat(x_192); +x_193 = l_Lean_Syntax_getArgs(x_192); lean_dec(x_192); -x_194 = 0; -x_195 = lean_box(0); +x_194 = lean_array_get_size(x_193); +x_195 = lean_usize_of_nat(x_194); +lean_dec(x_194); +x_196 = 0; +x_197 = lean_box(0); lean_inc(x_3); lean_inc(x_2); lean_inc(x_32); -x_196 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__17(x_191, x_193, x_194, x_195, x_32, x_2, x_3, x_33); -lean_dec(x_191); -if (lean_obj_tag(x_196) == 0) -{ -lean_object* x_197; lean_object* x_198; -x_197 = lean_ctor_get(x_196, 1); -lean_inc(x_197); -lean_dec(x_196); -lean_inc(x_32); -x_198 = lean_apply_5(x_26, x_195, x_32, x_2, x_3, x_197); +x_198 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__17(x_193, x_195, x_196, x_197, x_32, x_2, x_3, x_33); +lean_dec(x_193); if (lean_obj_tag(x_198) == 0) { -lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; -x_199 = lean_ctor_get(x_198, 0); +lean_object* x_199; lean_object* x_200; +x_199 = lean_ctor_get(x_198, 1); lean_inc(x_199); -x_200 = lean_ctor_get(x_198, 1); -lean_inc(x_200); lean_dec(x_198); -x_201 = lean_st_ref_get(x_32, x_200); -lean_dec(x_32); -x_202 = !lean_is_exclusive(x_201); -if (x_202 == 0) +lean_inc(x_32); +x_200 = lean_apply_5(x_26, x_197, x_32, x_2, x_3, x_199); +if (lean_obj_tag(x_200) == 0) { -lean_object* x_203; lean_object* x_204; -x_203 = lean_ctor_get(x_201, 0); -x_204 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_204, 0, x_199); -lean_ctor_set(x_204, 1, x_203); -lean_ctor_set(x_201, 0, x_204); -x_5 = x_201; +lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; +x_201 = lean_ctor_get(x_200, 0); +lean_inc(x_201); +x_202 = lean_ctor_get(x_200, 1); +lean_inc(x_202); +lean_dec(x_200); +x_203 = lean_st_ref_get(x_32, x_202); +lean_dec(x_32); +x_204 = !lean_is_exclusive(x_203); +if (x_204 == 0) +{ +lean_object* x_205; lean_object* x_206; +x_205 = lean_ctor_get(x_203, 0); +x_206 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_206, 0, x_201); +lean_ctor_set(x_206, 1, x_205); +lean_ctor_set(x_203, 0, x_206); +x_5 = x_203; goto block_17; } else { -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_205 = lean_ctor_get(x_201, 0); -x_206 = lean_ctor_get(x_201, 1); -lean_inc(x_206); -lean_inc(x_205); -lean_dec(x_201); -x_207 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_207, 0, x_199); -lean_ctor_set(x_207, 1, x_205); -x_208 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_206); -x_5 = x_208; +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_207 = lean_ctor_get(x_203, 0); +x_208 = lean_ctor_get(x_203, 1); +lean_inc(x_208); +lean_inc(x_207); +lean_dec(x_203); +x_209 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_209, 0, x_201); +lean_ctor_set(x_209, 1, x_207); +x_210 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_210, 0, x_209); +lean_ctor_set(x_210, 1, x_208); +x_5 = x_210; goto block_17; } } else { -uint8_t x_209; +uint8_t x_211; lean_dec(x_32); -x_209 = !lean_is_exclusive(x_198); -if (x_209 == 0) +x_211 = !lean_is_exclusive(x_200); +if (x_211 == 0) +{ +x_5 = x_200; +goto block_17; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; +x_212 = lean_ctor_get(x_200, 0); +x_213 = lean_ctor_get(x_200, 1); +lean_inc(x_213); +lean_inc(x_212); +lean_dec(x_200); +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_212); +lean_ctor_set(x_214, 1, x_213); +x_5 = x_214; +goto block_17; +} +} +} +else +{ +uint8_t x_215; +lean_dec(x_32); +lean_dec(x_3); +lean_dec(x_2); +x_215 = !lean_is_exclusive(x_198); +if (x_215 == 0) { x_5 = x_198; goto block_17; } else { -lean_object* x_210; lean_object* x_211; lean_object* x_212; -x_210 = lean_ctor_get(x_198, 0); -x_211 = lean_ctor_get(x_198, 1); -lean_inc(x_211); -lean_inc(x_210); -lean_dec(x_198); -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_210); -lean_ctor_set(x_212, 1, x_211); -x_5 = x_212; -goto block_17; -} -} -} -else -{ -uint8_t x_213; -lean_dec(x_32); -lean_dec(x_3); -lean_dec(x_2); -x_213 = !lean_is_exclusive(x_196); -if (x_213 == 0) -{ -x_5 = x_196; -goto block_17; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_214 = lean_ctor_get(x_196, 0); -x_215 = lean_ctor_get(x_196, 1); -lean_inc(x_215); -lean_inc(x_214); -lean_dec(x_196); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_214); -lean_ctor_set(x_216, 1, x_215); -x_5 = x_216; -goto block_17; -} -} -} -} -else -{ -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; size_t x_223; size_t x_224; lean_object* x_225; lean_object* x_226; -x_217 = lean_ctor_get(x_31, 0); +lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_216 = lean_ctor_get(x_198, 0); +x_217 = lean_ctor_get(x_198, 1); lean_inc(x_217); -x_218 = lean_ctor_get(x_31, 1); -lean_inc(x_218); +lean_inc(x_216); +lean_dec(x_198); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_216); +lean_ctor_set(x_218, 1, x_217); +x_5 = x_218; +goto block_17; +} +} +} +} +else +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; size_t x_225; size_t x_226; lean_object* x_227; lean_object* x_228; +x_219 = lean_ctor_get(x_31, 0); +lean_inc(x_219); +x_220 = lean_ctor_get(x_31, 1); +lean_inc(x_220); lean_dec(x_31); -x_219 = lean_unsigned_to_nat(0u); -x_220 = l_Lean_Syntax_getArg(x_1, x_219); +x_221 = lean_unsigned_to_nat(0u); +x_222 = l_Lean_Syntax_getArg(x_1, x_221); lean_dec(x_1); -x_221 = l_Lean_Syntax_getArgs(x_220); -lean_dec(x_220); -x_222 = lean_array_get_size(x_221); -x_223 = lean_usize_of_nat(x_222); +x_223 = l_Lean_Syntax_getArgs(x_222); lean_dec(x_222); -x_224 = 0; -x_225 = lean_box(0); +x_224 = lean_array_get_size(x_223); +x_225 = lean_usize_of_nat(x_224); +lean_dec(x_224); +x_226 = 0; +x_227 = lean_box(0); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_217); -x_226 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__19(x_221, x_223, x_224, x_225, x_217, x_2, x_3, x_218); -lean_dec(x_221); -if (lean_obj_tag(x_226) == 0) -{ -lean_object* x_227; lean_object* x_228; -x_227 = lean_ctor_get(x_226, 1); -lean_inc(x_227); -lean_dec(x_226); -lean_inc(x_217); -x_228 = lean_apply_5(x_26, x_225, x_217, x_2, x_3, x_227); +lean_inc(x_219); +x_228 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__19(x_223, x_225, x_226, x_227, x_219, x_2, x_3, x_220); +lean_dec(x_223); if (lean_obj_tag(x_228) == 0) { -lean_object* x_229; lean_object* x_230; lean_object* x_231; uint8_t x_232; -x_229 = lean_ctor_get(x_228, 0); +lean_object* x_229; lean_object* x_230; +x_229 = lean_ctor_get(x_228, 1); lean_inc(x_229); -x_230 = lean_ctor_get(x_228, 1); -lean_inc(x_230); lean_dec(x_228); -x_231 = lean_st_ref_get(x_217, x_230); -lean_dec(x_217); -x_232 = !lean_is_exclusive(x_231); -if (x_232 == 0) +lean_inc(x_219); +x_230 = lean_apply_5(x_26, x_227, x_219, x_2, x_3, x_229); +if (lean_obj_tag(x_230) == 0) { -lean_object* x_233; lean_object* x_234; -x_233 = lean_ctor_get(x_231, 0); -x_234 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_234, 0, x_229); -lean_ctor_set(x_234, 1, x_233); -lean_ctor_set(x_231, 0, x_234); -x_5 = x_231; +lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_234; +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_230, 1); +lean_inc(x_232); +lean_dec(x_230); +x_233 = lean_st_ref_get(x_219, x_232); +lean_dec(x_219); +x_234 = !lean_is_exclusive(x_233); +if (x_234 == 0) +{ +lean_object* x_235; lean_object* x_236; +x_235 = lean_ctor_get(x_233, 0); +x_236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_236, 0, x_231); +lean_ctor_set(x_236, 1, x_235); +lean_ctor_set(x_233, 0, x_236); +x_5 = x_233; goto block_17; } else { -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_235 = lean_ctor_get(x_231, 0); -x_236 = lean_ctor_get(x_231, 1); -lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_231); -x_237 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_237, 0, x_229); -lean_ctor_set(x_237, 1, x_235); -x_238 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_236); -x_5 = x_238; +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; +x_237 = lean_ctor_get(x_233, 0); +x_238 = lean_ctor_get(x_233, 1); +lean_inc(x_238); +lean_inc(x_237); +lean_dec(x_233); +x_239 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_239, 0, x_231); +lean_ctor_set(x_239, 1, x_237); +x_240 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_240, 0, x_239); +lean_ctor_set(x_240, 1, x_238); +x_5 = x_240; goto block_17; } } else { -uint8_t x_239; -lean_dec(x_217); -x_239 = !lean_is_exclusive(x_228); -if (x_239 == 0) +uint8_t x_241; +lean_dec(x_219); +x_241 = !lean_is_exclusive(x_230); +if (x_241 == 0) +{ +x_5 = x_230; +goto block_17; +} +else +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; +x_242 = lean_ctor_get(x_230, 0); +x_243 = lean_ctor_get(x_230, 1); +lean_inc(x_243); +lean_inc(x_242); +lean_dec(x_230); +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_242); +lean_ctor_set(x_244, 1, x_243); +x_5 = x_244; +goto block_17; +} +} +} +else +{ +uint8_t x_245; +lean_dec(x_219); +lean_dec(x_3); +lean_dec(x_2); +x_245 = !lean_is_exclusive(x_228); +if (x_245 == 0) { x_5 = x_228; goto block_17; } else { -lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_240 = lean_ctor_get(x_228, 0); -x_241 = lean_ctor_get(x_228, 1); -lean_inc(x_241); -lean_inc(x_240); +lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_246 = lean_ctor_get(x_228, 0); +x_247 = lean_ctor_get(x_228, 1); +lean_inc(x_247); +lean_inc(x_246); lean_dec(x_228); -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_240); -lean_ctor_set(x_242, 1, x_241); -x_5 = x_242; -goto block_17; -} -} -} -else -{ -uint8_t x_243; -lean_dec(x_217); -lean_dec(x_3); -lean_dec(x_2); -x_243 = !lean_is_exclusive(x_226); -if (x_243 == 0) -{ -x_5 = x_226; -goto block_17; -} -else -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_244 = lean_ctor_get(x_226, 0); -x_245 = lean_ctor_get(x_226, 1); -lean_inc(x_245); -lean_inc(x_244); -lean_dec(x_226); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_244); -lean_ctor_set(x_246, 1, x_245); -x_5 = x_246; +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_246); +lean_ctor_set(x_248, 1, x_247); +x_5 = x_248; goto block_17; } } @@ -11063,19 +11068,6 @@ lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__12___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: -{ -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_11 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__12(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -return x_12; -} -} LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__13___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: { @@ -11085,6 +11077,33 @@ lean_dec(x_3); x_11 = lean_unbox_usize(x_4); lean_dec(x_4); x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__13(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__12___boxed(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; +x_6 = l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__12(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__14___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: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_11 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__14(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); lean_dec(x_2); return x_12; } @@ -11098,24 +11117,10 @@ lean_dec(x_3); x_11 = lean_unbox_usize(x_4); lean_dec(x_4); x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpen___spec__15(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__14___boxed(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; -x_6 = l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__14(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_6; -} -} LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Command_elabOpen___spec__16___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) { _start: { diff --git a/stage0/stdlib/Lean/Elab/BuiltinTerm.c b/stage0/stdlib/Lean/Elab/BuiltinTerm.c index e5957e7576..a116fb3750 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinTerm.c +++ b/stage0/stdlib/Lean/Elab/BuiltinTerm.c @@ -35,7 +35,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_el static lean_object* l_Lean_Elab_Term_elabLetMVar___closed__5; LEAN_EXPORT lean_object* l_Lean_popScope___at_Lean_Elab_Term_elabOpen___spec__37(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabDeclName___lambda__1___closed__2; -static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__3; size_t lean_usize_add(size_t, size_t); lean_object* l_List_toString___at_Lean_OpenDecl_instToStringOpenDecl___spec__2(lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(lean_object*, lean_object*); @@ -78,6 +77,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabWithDeclName___closed__3; lean_object* l_List_filterTRAux___at_Lean_resolveGlobalConstCore___spec__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__3; +static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx_declRange___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabClear(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_elabClear___spec__10(lean_object*, lean_object*, lean_object*); @@ -107,13 +107,11 @@ lean_object* l_Lean_Level_succ___override(lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1; lean_object* l_Lean_Elab_Term_getDeclName_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; -static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName_declRange___closed__2; static lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_evalFilePathUnsafe___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic_declRange___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType_declRange(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2___closed__12; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDeclName_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf_declRange___closed__3; @@ -133,7 +131,6 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_getMVarFromUserName___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf___closed__1; -static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__11___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_Term_elabTypeStx___closed__3; @@ -156,11 +153,9 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__5; lean_object* lean_local_ctx_erase(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfTypeMVar_declRange___closed__6; -static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__1; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5___lambda__1(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_Term_elabProp_declRange___closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabOpen___spec__29___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_Term_elabPipeCompletion_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Elab_Term_elabClear___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___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_evalFilePathUnsafe___closed__3; @@ -200,10 +195,10 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfTypeContainsMVa LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion_declRange(lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_Elab_Term_elabClear___spec__19___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__24(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterMap___at_Lean_resolveNamespace___spec__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfTypeContainsMVar_declRange___closed__6; -static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabProp_declRange(lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__1; @@ -230,7 +225,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabClear_declRange(lean_ static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabWithAnnotateTerm_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__4; -static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot_declRange___closed__7; static lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_getMVarFromUserName___closed__3; @@ -262,7 +256,6 @@ static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDeclName_declRange___closed__5; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx_declRange___closed__1; -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__28___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabDoubleQuotedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); @@ -273,7 +266,6 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabNumLit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__2; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__30(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Term_elabOpen___spec__14___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_EXPORT lean_object* l_Lean_MetavarContext_isWellFormed___at_Lean_Elab_Term_elabSyntheticHole___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -283,12 +275,11 @@ LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Elab_Term_elabOpen___spec__18 static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabStrLit___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_Term_elabRawNatLit___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__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___regBuiltin_Lean_Elab_Term_elabByTactic_declRange___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfContainsMVar(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__2; -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__28___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__2___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeStx_declRange___closed__2; @@ -308,6 +299,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_e extern lean_object* l_Lean_maxRecDepth; static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole___closed__5; +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__30___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Term_elabOpen___spec__13(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_Term_elabWaitIfTypeMVar___closed__3; @@ -345,8 +337,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_ lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabClear_declRange___closed__6; +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__30(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkSilentAnnotationIfHole___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabSetOption___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__3; lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf_declRange(lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -359,9 +353,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda_declRange uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit_declRange(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabClear___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabOpen___spec__29(size_t, size_t, 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_Term_elabClear___closed__5; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkSaveInfoAnnotation(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__3; lean_object* l_Lean_Expr_mvar___override(lean_object*); @@ -382,8 +374,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption_declRange___clos LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_get___at_Std_Format_pretty_x27___spec__1(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole_declRange___closed__6; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_evalFilePathUnsafe___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__23(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp_declRange___closed__4; lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__4; @@ -404,6 +396,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole_declRan static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole_declRange___closed__5; lean_object* l_Lean_Elab_Term_withMacroExpansion___rarg(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_Term_elabByTactic___closed__2; +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__1; static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__6; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabPipeCompletion___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -415,12 +408,14 @@ lean_object* l_Lean_mkAnnotation(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabWithAnnotateTerm_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit_declRange___closed__6; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_elabOpen___spec__33___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_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28___closed__2; lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic_declRange___closed__5; lean_object* l_Lean_Syntax_isScientificLit_x3f(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit_declRange___closed__6; +static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfTypeContainsMVar_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPipeCompletion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -446,11 +441,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabTypeStx(lean_object*, lean_object* static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__8; LEAN_EXPORT lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_Term_elabOpen___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabClear___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___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_Syntax_setArgs(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Elab_Term_elabOpen___spec__20(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabClear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf___closed__5; lean_object* l_Array_sequenceMap___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_elabClear___spec__18___boxed(lean_object*, lean_object*, lean_object*); @@ -459,6 +455,7 @@ lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, l LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabWithDeclName_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic_declRange___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabWithAnnotateTerm(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__5; @@ -485,16 +482,16 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType_declRan LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabClear___spec__14(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at_Lean_Elab_Term_elabClear___spec__12(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__2; -static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabOpen___spec__31(size_t, size_t, 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_Term_elabRawNatLit___closed__2; lean_object* l_Lean_Expr_sort___override(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda_declRange___closed__3; +static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__4; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__6___closed__2; lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabProp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabWithAnnotateTerm_declRange___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabOpen___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabClear_declRange___closed__1; lean_object* lean_array_to_list(lean_object*, lean_object*); @@ -508,7 +505,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_evalFilePathUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabDoubleQuotedName___spec__6___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__30___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_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_Elab_Term_elabClear___spec__11(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabWaitIfContainsMVar___closed__2; @@ -556,6 +552,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLetMVar_declRange(lea static lean_object* l___regBuiltin_Lean_Elab_Term_elabDeclName___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort_declRange___closed__4; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__24___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*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfContainsMVar_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabEnsureExpectedType(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_Term_elabIncludeStr___closed__3; @@ -567,7 +564,6 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_pushScope___at_Lean_Elab_Term_elabOpen___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabClear_declRange___closed__7; size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__12; @@ -585,6 +581,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabClear___spec__5___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_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabDoubleQuotedName___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_tryPostponeIfHasMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__23(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_Term_elabEnsureExpectedType___closed__4; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__2; @@ -593,7 +590,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_mkFreshTypeMVarFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfTypeContainsMVar(lean_object*); -static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetMVar_declRange___closed__5; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); @@ -601,9 +597,9 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureTypeOf_declRange___c LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCharLit(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_Term_elabRawNatLit_declRange___closed__7; +static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__3; extern lean_object* l_Lean_Elab_Term_termElabAttribute; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda_declRange___closed__6; -LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at_Lean_Elab_Term_elabDoubleQuotedName___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabClear___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -629,7 +625,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort_declRange___closed__7 lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__5(size_t, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit_declRange___closed__5; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabRawNatLit_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabHole(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -652,7 +647,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption_declRange___clos lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabWaitIfTypeMVar(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_Term_elabNumLit_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName_declRange___closed__3; @@ -661,6 +655,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfContainsMVar_de static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Term_elabOpen___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabClear___spec__15(lean_object*, lean_object*, size_t, size_t); uint8_t lean_expr_eqv(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabStrLit_declRange___closed__3; @@ -701,6 +696,7 @@ static lean_object* l_Lean_Elab_Term_elabScientificLit___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_elabWithDeclName_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__3; +static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabWaitIfTypeContainsMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -712,25 +708,30 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfTypeMVar_declRa static lean_object* l___regBuiltin_Lean_Elab_Term_elabDeclName_declRange___closed__7; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabOpen___spec__31___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_Term_elabWaitIfTypeMVar_declRange___closed__3; uint8_t l_Lean_PersistentHashMap_contains___at_Lean_MVarId_isDelayedAssigned___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabEnsureTypeOf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabClear___lambda__2___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTerm___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_KVMap_insertCore(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__31(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Term_elabOpen___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__30___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at_Lean_Elab_Term_elabDoubleQuotedName___spec__8(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_Term_elabCharLit___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Term_elabDoubleQuotedName___spec__5___lambda__1___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_Term_elabSyntheticHole___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit_declRange(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Exception_getRef(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabSort_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabWithAnnotateTerm_declRange(lean_object*); +static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabByTactic_declRange(lean_object*); lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -752,11 +753,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole___closed__2; lean_object* l_Array_ofSubarray___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabCompletion___closed__5; lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_elabOpen___spec__25(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf_declRange___closed__3; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__2___closed__4; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__25(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabProp_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at_Lean_Elab_Term_elabClear___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -774,7 +775,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName(lean_objec static lean_object* l___regBuiltin_Lean_Elab_Term_elabSetOption_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPipeCompletion___lambda__1___boxed(lean_object*, lean_object*, 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_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__31___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinTerm_0__Lean_Elab_Term_elabOptLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName(lean_object*); @@ -783,7 +783,6 @@ extern lean_object* l_Lean_instInhabitedName; static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabHole_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetMVar_declRange___closed__6; -static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__1; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetMVar___closed__3; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_elabClear___spec__10___boxed(lean_object*, lean_object*, lean_object*); @@ -857,7 +856,6 @@ static lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStr static lean_object* l___regBuiltin_Lean_Elab_Term_elabEnsureExpectedType_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfTypeContainsMVar___closed__1; lean_object* l_System_FilePath_parent(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___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_Term_elabPipeCompletion_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabWithAnnotateTerm___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabOpen_declRange(lean_object*); @@ -870,7 +868,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRawNatLit(lean_object*, lean_objec static lean_object* l_Lean_Elab_Term_elabLetMVar___closed__4; static lean_object* l_Lean_Elab_Term_elabWaitIfTypeMVar___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabDeclName(lean_object*); -static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__2; lean_object* l_Lean_mkStrLit(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabIncludeStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -908,11 +905,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabNumLit_declRange___closed_ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabClear___spec__4___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__34(lean_object*, size_t, size_t, 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_Term_elabNumLit_declRange___closed__3; +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoImplicitLambda___closed__5; lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabIncludeStr_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__4; lean_object* l_Lean_MetavarContext_findUserName_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabCompletion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabWaitIfContainsMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -965,6 +962,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfTypeContainsMVar_dec uint8_t l_Lean_LocalContext_isSubPrefixOf(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__3; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_elabOpen___spec__27(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_Term_elabBadCDot___rarg___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_elabSyntheticHole___closed__5; @@ -984,6 +982,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetMVar_declRange___closed static lean_object* l_Lean_Elab_Term_elabWaitIfTypeMVar___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfContainsMVar_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit_declRange___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___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_Term_elabSetOption___closed__5; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabOpen___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabClear___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -995,6 +994,7 @@ lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDoubleQuotedName_declRange___closed__2; uint8_t l_Lean_Expr_isSorry(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabScientificLit___closed__5; +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__1; static lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___closed__4; uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeCompletion___closed__5; @@ -1002,8 +1002,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabNumLit(lean_object*, lean_object*, static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1___closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Elab_Term_elabClear___spec__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_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__28(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabClear___spec__4___closed__2; +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabWaitIfTypeContainsMVar_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Term_elabSetOption___spec__1(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_Term_elabNoImplicitLambda___closed__4; @@ -17037,1064 +17037,7 @@ return x_33; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__23(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = lean_usize_dec_lt(x_4, x_3); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_5); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_5); -x_16 = lean_array_uget(x_2, x_4); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_1); -x_17 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Term_elabOpen___spec__12(x_1, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = 1; -x_20 = lean_usize_add(x_4, x_19); -x_21 = lean_box(0); -x_4 = x_20; -x_5 = x_21; -x_13 = x_18; -goto _start; -} -else -{ -uint8_t x_23; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_23 = !lean_is_exclusive(x_17); -if (x_23 == 0) -{ -return x_17; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_17, 0); -x_25 = lean_ctor_get(x_17, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_17); -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; -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_elabOpen___spec__25(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: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_12; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_3); -lean_ctor_set(x_12, 1, x_11); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_2, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_2, 1); -lean_inc(x_14); -lean_dec(x_2); -x_15 = !lean_is_exclusive(x_3); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_3, 0); -x_17 = lean_ctor_get(x_3, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_1); -x_18 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Term_elabOpen___spec__12(x_13, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -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_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_array_push(x_17, x_19); -lean_ctor_set(x_3, 1, x_21); -x_2 = x_14; -x_11 = x_20; -goto _start; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_18, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_18, 1); -lean_inc(x_24); -lean_dec(x_18); -x_25 = lean_array_push(x_16, x_23); -lean_ctor_set(x_3, 0, x_25); -x_2 = x_14; -x_11 = x_24; -goto _start; -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_3, 0); -x_28 = lean_ctor_get(x_3, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_3); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_1); -x_29 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Term_elabOpen___spec__12(x_13, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_array_push(x_28, x_30); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_27); -lean_ctor_set(x_33, 1, x_32); -x_2 = x_14; -x_3 = x_33; -x_11 = x_31; -goto _start; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_35 = lean_ctor_get(x_29, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_29, 1); -lean_inc(x_36); -lean_dec(x_29); -x_37 = lean_array_push(x_27, x_35); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_28); -x_2 = x_14; -x_3 = x_38; -x_11 = x_36; -goto _start; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__28___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_1, 5); -x_5 = 0; -x_6 = l_Lean_Syntax_getPos_x3f(x_4, x_5); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_3); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_6, 0); -lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_3); -return x_10; -} -} -} -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__28(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; -x_6 = lean_alloc_closure((void*)(l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__28___rarg___boxed), 3, 0); -return x_6; -} -} -static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(":", 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(" ", 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27(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 = l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__28___rarg(x_7, x_8, x_9); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Exception_getRef(x_1); -x_14 = 0; -x_15 = l_Lean_Syntax_getPos_x3f(x_13, x_14); -lean_dec(x_13); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; -lean_dec(x_12); -x_16 = l_Lean_Exception_toMessageData(x_1); -lean_ctor_set(x_10, 0, x_16); -return x_10; -} -else -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_nat_dec_eq(x_12, x_17); -lean_dec(x_12); -if (x_18 == 0) -{ -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; -x_19 = lean_ctor_get(x_7, 1); -x_20 = l_Lean_FileMap_toPosition(x_19, x_17); -lean_dec(x_17); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = l_Nat_repr(x_21); -x_23 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_23, 0, x_22); -x_24 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__2; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = lean_ctor_get(x_20, 1); -lean_inc(x_29); -lean_dec(x_20); -x_30 = l_Nat_repr(x_29); -x_31 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_31, 0, x_30); -x_32 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_33, 0, x_28); -lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__4; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Exception_toMessageData(x_1); -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_25); -lean_ctor_set(x_10, 0, x_38); -return x_10; -} -else -{ -lean_object* x_39; -lean_dec(x_17); -x_39 = l_Lean_Exception_toMessageData(x_1); -lean_ctor_set(x_10, 0, x_39); -return x_10; -} -} -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; -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 = l_Lean_Exception_getRef(x_1); -x_43 = 0; -x_44 = l_Lean_Syntax_getPos_x3f(x_42, x_43); -lean_dec(x_42); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; lean_object* x_46; -lean_dec(x_40); -x_45 = l_Lean_Exception_toMessageData(x_1); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_41); -return x_46; -} -else -{ -lean_object* x_47; uint8_t x_48; -x_47 = lean_ctor_get(x_44, 0); -lean_inc(x_47); -lean_dec(x_44); -x_48 = lean_nat_dec_eq(x_40, x_47); -lean_dec(x_40); -if (x_48 == 0) -{ -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; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_49 = lean_ctor_get(x_7, 1); -x_50 = l_Lean_FileMap_toPosition(x_49, x_47); -lean_dec(x_47); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = l_Nat_repr(x_51); -x_53 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_53, 0, x_52); -x_54 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_54, 0, x_53); -x_55 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__2; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_ctor_get(x_50, 1); -lean_inc(x_59); -lean_dec(x_50); -x_60 = l_Nat_repr(x_59); -x_61 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_62 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_62, 0, x_61); -x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_58); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__4; -x_65 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_Exception_toMessageData(x_1); -x_67 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_55); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_41); -return x_69; -} -else -{ -lean_object* x_70; lean_object* x_71; -lean_dec(x_47); -x_70 = l_Lean_Exception_toMessageData(x_1); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_41); -return x_71; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabOpen___spec__29(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = lean_usize_dec_lt(x_2, x_1); -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_3); -lean_ctor_set(x_13, 1, x_11); -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; size_t x_20; size_t x_21; lean_object* x_22; -x_14 = lean_array_uget(x_3, x_2); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_array_uset(x_3, x_2, x_15); -x_17 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = 1; -x_21 = lean_usize_add(x_2, x_20); -x_22 = lean_array_uset(x_16, x_2, x_18); -x_2 = x_21; -x_3 = x_22; -x_11 = x_19; -goto _start; -} -} -} -static lean_object* _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(", errors ", 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26(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; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_11 = lean_array_get_size(x_2); -x_12 = lean_usize_of_nat(x_11); -lean_dec(x_11); -x_13 = 0; -x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabOpen___spec__29(x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_1); -x_19 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26___closed__2; -x_20 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_toMessageList(x_15); -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_17); -x_24 = l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__17(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_24; -} -} -static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___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* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; -lean_dec(x_3); -x_12 = lean_array_get_size(x_1); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_dec_eq(x_12, x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t 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; uint8_t x_31; -x_15 = l_Lean_Syntax_getId(x_2); -x_16 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___closed__1; -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___closed__2; -x_20 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_22 = 0; -x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__2(x_21, x_22, x_1); -x_24 = lean_array_to_list(lean_box(0), x_23); -x_25 = lean_box(0); -x_26 = l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_24, x_25); -x_27 = l_Lean_MessageData_ofList(x_26); -lean_dec(x_26); -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_20); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = !lean_is_exclusive(x_9); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_9, 5); -x_33 = l_Lean_replaceRef(x_2, x_32); -lean_dec(x_32); -lean_ctor_set(x_9, 5, x_33); -x_34 = l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__19(x_30, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -return x_34; -} -else -{ -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; -x_35 = lean_ctor_get(x_9, 0); -x_36 = lean_ctor_get(x_9, 1); -x_37 = lean_ctor_get(x_9, 2); -x_38 = lean_ctor_get(x_9, 3); -x_39 = lean_ctor_get(x_9, 4); -x_40 = lean_ctor_get(x_9, 5); -x_41 = lean_ctor_get(x_9, 6); -x_42 = lean_ctor_get(x_9, 7); -x_43 = lean_ctor_get(x_9, 8); -x_44 = lean_ctor_get(x_9, 9); -x_45 = lean_ctor_get(x_9, 10); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_9); -x_46 = l_Lean_replaceRef(x_2, x_40); -lean_dec(x_40); -x_47 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_47, 0, x_35); -lean_ctor_set(x_47, 1, x_36); -lean_ctor_set(x_47, 2, x_37); -lean_ctor_set(x_47, 3, x_38); -lean_ctor_set(x_47, 4, x_39); -lean_ctor_set(x_47, 5, x_46); -lean_ctor_set(x_47, 6, x_41); -lean_ctor_set(x_47, 7, x_42); -lean_ctor_set(x_47, 8, x_43); -lean_ctor_set(x_47, 9, x_44); -lean_ctor_set(x_47, 10, x_45); -x_48 = l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__19(x_30, x_4, x_5, x_6, x_7, x_8, x_47, x_10, x_11); -lean_dec(x_47); -lean_dec(x_7); -lean_dec(x_5); -return x_48; -} -} -else -{ -lean_object* x_49; uint8_t x_50; -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -x_49 = lean_unsigned_to_nat(0u); -x_50 = lean_nat_dec_lt(x_49, x_12); -lean_dec(x_12); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -lean_dec(x_1); -x_51 = l_Lean_instInhabitedName; -x_52 = l___private_Init_Util_0__outOfBounds___rarg(x_51); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_11); -return x_53; -} -else -{ -lean_object* x_54; lean_object* x_55; -x_54 = lean_array_fget(x_1, x_49); -lean_dec(x_1); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_11); -return x_55; -} -} -} -} -static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_MetavarContext_isWellFormed___at_Lean_Elab_Term_elabSyntheticHole___spec__3___closed__1; -x_2 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("failed to open", 14); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__2; -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_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__3; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_11 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__1; -lean_inc(x_9); -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_1); -lean_inc(x_2); -x_12 = l_List_forIn_loop___at_Lean_Elab_Term_elabOpen___spec__25(x_2, x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -if (lean_is_exclusive(x_12)) { - lean_ctor_release(x_12, 0); - lean_ctor_release(x_12, 1); - x_15 = x_12; -} else { - lean_dec_ref(x_12); - x_15 = lean_box(0); -} -x_16 = lean_ctor_get(x_13, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_13, 1); -lean_inc(x_17); -lean_dec(x_13); -x_18 = lean_array_get_size(x_16); -x_19 = lean_unsigned_to_nat(0u); -x_20 = l_List_lengthTRAux___rarg(x_1, x_19); -lean_dec(x_1); -x_21 = lean_nat_dec_eq(x_18, x_20); -lean_dec(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); -x_22 = lean_box(0); -x_23 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1(x_17, x_2, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -return x_23; -} -else -{ -lean_object* x_24; uint8_t x_25; uint8_t x_26; -lean_dec(x_17); -x_24 = lean_unsigned_to_nat(1u); -x_25 = lean_nat_dec_eq(x_18, x_24); -if (x_25 == 0) -{ -uint8_t x_62; -x_62 = 0; -x_26 = x_62; -goto block_61; -} -else -{ -uint8_t x_63; -x_63 = 1; -x_26 = x_63; -goto block_61; -} -block_61: -{ -if (x_26 == 0) -{ -uint8_t x_27; -lean_dec(x_18); -lean_dec(x_15); -x_27 = !lean_is_exclusive(x_8); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_28 = lean_ctor_get(x_8, 5); -x_29 = l_Lean_replaceRef(x_2, x_28); -lean_dec(x_28); -lean_dec(x_2); -lean_ctor_set(x_8, 5, x_29); -x_30 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__4; -x_31 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26(x_30, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -return x_31; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_31, 0); -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_31); -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; 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; -x_36 = lean_ctor_get(x_8, 0); -x_37 = lean_ctor_get(x_8, 1); -x_38 = lean_ctor_get(x_8, 2); -x_39 = lean_ctor_get(x_8, 3); -x_40 = lean_ctor_get(x_8, 4); -x_41 = lean_ctor_get(x_8, 5); -x_42 = lean_ctor_get(x_8, 6); -x_43 = lean_ctor_get(x_8, 7); -x_44 = lean_ctor_get(x_8, 8); -x_45 = lean_ctor_get(x_8, 9); -x_46 = lean_ctor_get(x_8, 10); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_8); -x_47 = l_Lean_replaceRef(x_2, x_41); -lean_dec(x_41); -lean_dec(x_2); -x_48 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_48, 0, x_36); -lean_ctor_set(x_48, 1, x_37); -lean_ctor_set(x_48, 2, x_38); -lean_ctor_set(x_48, 3, x_39); -lean_ctor_set(x_48, 4, x_40); -lean_ctor_set(x_48, 5, x_47); -lean_ctor_set(x_48, 6, x_42); -lean_ctor_set(x_48, 7, x_43); -lean_ctor_set(x_48, 8, x_44); -lean_ctor_set(x_48, 9, x_45); -lean_ctor_set(x_48, 10, x_46); -x_49 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__4; -x_50 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26(x_49, x_16, x_3, x_4, x_5, x_6, x_7, x_48, x_9, x_14); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - lean_ctor_release(x_50, 1); - x_53 = x_50; -} else { - lean_dec_ref(x_50); - x_53 = lean_box(0); -} -if (lean_is_scalar(x_53)) { - x_54 = lean_alloc_ctor(1, 2, 0); -} else { - x_54 = x_53; -} -lean_ctor_set(x_54, 0, x_51); -lean_ctor_set(x_54, 1, x_52); -return x_54; -} -} -else -{ -uint8_t x_55; -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_55 = lean_nat_dec_lt(x_19, x_18); -lean_dec(x_18); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -lean_dec(x_16); -x_56 = l_Lean_instInhabitedException; -x_57 = l___private_Init_Util_0__outOfBounds___rarg(x_56); -if (lean_is_scalar(x_15)) { - x_58 = lean_alloc_ctor(1, 2, 0); -} else { - x_58 = x_15; - lean_ctor_set_tag(x_58, 1); -} -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_14); -return x_58; -} -else -{ -lean_object* x_59; lean_object* x_60; -x_59 = lean_array_fget(x_16, x_19); -lean_dec(x_16); -if (lean_is_scalar(x_15)) { - x_60 = lean_alloc_ctor(1, 2, 0); -} else { - x_60 = x_15; - lean_ctor_set_tag(x_60, 1); -} -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_14); -return x_60; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__30(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = lean_usize_dec_lt(x_4, x_3); -if (x_14 == 0) -{ -lean_object* x_15; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_5); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_5); -x_16 = lean_array_uget(x_2, x_4); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_16); -lean_inc(x_1); -x_17 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24(x_1, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_Syntax_getId(x_16); -lean_dec(x_16); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_18); -x_22 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__21(x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = 1; -x_25 = lean_usize_add(x_4, x_24); -x_26 = lean_box(0); -x_4 = x_25; -x_5 = x_26; -x_13 = x_23; -goto _start; -} -else -{ -uint8_t x_28; -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -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; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__32(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__24(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -18276,7 +17219,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__31(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_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__23(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_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; @@ -18296,7 +17239,7 @@ x_17 = lean_usize_of_nat(x_16); lean_dec(x_16); x_18 = 0; x_19 = lean_box(0); -x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__32(x_1, x_14, x_17, x_18, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__24(x_1, x_14, x_17, x_18, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); lean_dec(x_14); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) @@ -18320,6 +17263,1063 @@ return x_24; } } } +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__25(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_4, x_3); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_5); +x_16 = lean_array_uget(x_2, x_4); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +x_17 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Term_elabOpen___spec__12(x_1, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = 1; +x_20 = lean_usize_add(x_4, x_19); +x_21 = lean_box(0); +x_4 = x_20; +x_5 = x_21; +x_13 = x_18; +goto _start; +} +else +{ +uint8_t x_23; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_17); +if (x_23 == 0) +{ +return x_17; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_17, 0); +x_25 = lean_ctor_get(x_17, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_17); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_elabOpen___spec__27(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: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_12; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_3); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_2, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +lean_dec(x_2); +x_15 = !lean_is_exclusive(x_3); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_3, 0); +x_17 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_1); +x_18 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Term_elabOpen___spec__12(x_13, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +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_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_array_push(x_17, x_19); +lean_ctor_set(x_3, 1, x_21); +x_2 = x_14; +x_11 = x_20; +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_18, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_18, 1); +lean_inc(x_24); +lean_dec(x_18); +x_25 = lean_array_push(x_16, x_23); +lean_ctor_set(x_3, 0, x_25); +x_2 = x_14; +x_11 = x_24; +goto _start; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_3, 0); +x_28 = lean_ctor_get(x_3, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_3); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_1); +x_29 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Term_elabOpen___spec__12(x_13, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_array_push(x_28, x_30); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_27); +lean_ctor_set(x_33, 1, x_32); +x_2 = x_14; +x_3 = x_33; +x_11 = x_31; +goto _start; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_29, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_29, 1); +lean_inc(x_36); +lean_dec(x_29); +x_37 = lean_array_push(x_27, x_35); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_28); +x_2 = x_14; +x_3 = x_38; +x_11 = x_36; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__30___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 5); +x_5 = 0; +x_6 = l_Lean_Syntax_getPos_x3f(x_4, x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_3); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__30(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; +x_6 = lean_alloc_closure((void*)(l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__30___rarg___boxed), 3, 0); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(":", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29(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 = l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__30___rarg(x_7, x_8, x_9); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_10, 0); +x_13 = l_Lean_Exception_getRef(x_1); +x_14 = 0; +x_15 = l_Lean_Syntax_getPos_x3f(x_13, x_14); +lean_dec(x_13); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +lean_dec(x_12); +x_16 = l_Lean_Exception_toMessageData(x_1); +lean_ctor_set(x_10, 0, x_16); +return x_10; +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_nat_dec_eq(x_12, x_17); +lean_dec(x_12); +if (x_18 == 0) +{ +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; +x_19 = lean_ctor_get(x_7, 1); +x_20 = l_Lean_FileMap_toPosition(x_19, x_17); +lean_dec(x_17); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = l_Nat_repr(x_21); +x_23 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__2; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_ctor_get(x_20, 1); +lean_inc(x_29); +lean_dec(x_20); +x_30 = l_Nat_repr(x_29); +x_31 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_31, 0, x_30); +x_32 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_28); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__4; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_Exception_toMessageData(x_1); +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_25); +lean_ctor_set(x_10, 0, x_38); +return x_10; +} +else +{ +lean_object* x_39; +lean_dec(x_17); +x_39 = l_Lean_Exception_toMessageData(x_1); +lean_ctor_set(x_10, 0, x_39); +return x_10; +} +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; +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 = l_Lean_Exception_getRef(x_1); +x_43 = 0; +x_44 = l_Lean_Syntax_getPos_x3f(x_42, x_43); +lean_dec(x_42); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_40); +x_45 = l_Lean_Exception_toMessageData(x_1); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_41); +return x_46; +} +else +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_44, 0); +lean_inc(x_47); +lean_dec(x_44); +x_48 = lean_nat_dec_eq(x_40, x_47); +lean_dec(x_40); +if (x_48 == 0) +{ +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; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_49 = lean_ctor_get(x_7, 1); +x_50 = l_Lean_FileMap_toPosition(x_49, x_47); +lean_dec(x_47); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = l_Nat_repr(x_51); +x_53 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_53, 0, x_52); +x_54 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_54, 0, x_53); +x_55 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__2; +x_58 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_ctor_get(x_50, 1); +lean_inc(x_59); +lean_dec(x_50); +x_60 = l_Nat_repr(x_59); +x_61 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_62 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_62, 0, x_61); +x_63 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_63, 0, x_58); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__4; +x_65 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_Exception_toMessageData(x_1); +x_67 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_55); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_41); +return x_69; +} +else +{ +lean_object* x_70; lean_object* x_71; +lean_dec(x_47); +x_70 = l_Lean_Exception_toMessageData(x_1); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_41); +return x_71; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabOpen___spec__31(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_2, x_1); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_3); +lean_ctor_set(x_13, 1, x_11); +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; size_t x_20; size_t x_21; lean_object* x_22; +x_14 = lean_array_uget(x_3, x_2); +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_uset(x_3, x_2, x_15); +x_17 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = 1; +x_21 = lean_usize_add(x_2, x_20); +x_22 = lean_array_uset(x_16, x_2, x_18); +x_2 = x_21; +x_3 = x_22; +x_11 = x_19; +goto _start; +} +} +} +static lean_object* _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(", errors ", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28(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; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_11 = lean_array_get_size(x_2); +x_12 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_13 = 0; +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabOpen___spec__31(x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_1); +x_19 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28___closed__2; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_toMessageList(x_15); +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_17); +x_24 = l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__17(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_24; +} +} +static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabDoubleQuotedName___spec__2___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___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* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +lean_dec(x_3); +x_12 = lean_array_get_size(x_1); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_dec_eq(x_12, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; size_t 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; uint8_t x_31; +x_15 = l_Lean_Syntax_getId(x_2); +x_16 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___closed__1; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___closed__2; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = lean_usize_of_nat(x_12); +lean_dec(x_12); +x_22 = 0; +x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__2(x_21, x_22, x_1); +x_24 = lean_array_to_list(lean_box(0), x_23); +x_25 = lean_box(0); +x_26 = l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_24, x_25); +x_27 = l_Lean_MessageData_ofList(x_26); +lean_dec(x_26); +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_Elab_Term_elabSyntheticHole___closed__8; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = !lean_is_exclusive(x_9); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_9, 5); +x_33 = l_Lean_replaceRef(x_2, x_32); +lean_dec(x_32); +lean_ctor_set(x_9, 5, x_33); +x_34 = l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__19(x_30, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +return x_34; +} +else +{ +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; +x_35 = lean_ctor_get(x_9, 0); +x_36 = lean_ctor_get(x_9, 1); +x_37 = lean_ctor_get(x_9, 2); +x_38 = lean_ctor_get(x_9, 3); +x_39 = lean_ctor_get(x_9, 4); +x_40 = lean_ctor_get(x_9, 5); +x_41 = lean_ctor_get(x_9, 6); +x_42 = lean_ctor_get(x_9, 7); +x_43 = lean_ctor_get(x_9, 8); +x_44 = lean_ctor_get(x_9, 9); +x_45 = lean_ctor_get(x_9, 10); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_9); +x_46 = l_Lean_replaceRef(x_2, x_40); +lean_dec(x_40); +x_47 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_47, 0, x_35); +lean_ctor_set(x_47, 1, x_36); +lean_ctor_set(x_47, 2, x_37); +lean_ctor_set(x_47, 3, x_38); +lean_ctor_set(x_47, 4, x_39); +lean_ctor_set(x_47, 5, x_46); +lean_ctor_set(x_47, 6, x_41); +lean_ctor_set(x_47, 7, x_42); +lean_ctor_set(x_47, 8, x_43); +lean_ctor_set(x_47, 9, x_44); +lean_ctor_set(x_47, 10, x_45); +x_48 = l_Lean_throwError___at_Lean_Elab_Term_elabOpen___spec__19(x_30, x_4, x_5, x_6, x_7, x_8, x_47, x_10, x_11); +lean_dec(x_47); +lean_dec(x_7); +lean_dec(x_5); +return x_48; +} +} +else +{ +lean_object* x_49; uint8_t x_50; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +x_49 = lean_unsigned_to_nat(0u); +x_50 = lean_nat_dec_lt(x_49, x_12); +lean_dec(x_12); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_1); +x_51 = l_Lean_instInhabitedName; +x_52 = l___private_Init_Util_0__outOfBounds___rarg(x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_11); +return x_53; +} +else +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_array_fget(x_1, x_49); +lean_dec(x_1); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_11); +return x_55; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_MetavarContext_isWellFormed___at_Lean_Elab_Term_elabSyntheticHole___spec__3___closed__1; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("failed to open", 14); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__2; +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_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_11 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__1; +lean_inc(x_9); +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_1); +lean_inc(x_2); +x_12 = l_List_forIn_loop___at_Lean_Elab_Term_elabOpen___spec__27(x_2, x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_15 = x_12; +} else { + lean_dec_ref(x_12); + x_15 = lean_box(0); +} +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_array_get_size(x_16); +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_List_lengthTRAux___rarg(x_1, x_19); +lean_dec(x_1); +x_21 = lean_nat_dec_eq(x_18, x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_15); +x_22 = lean_box(0); +x_23 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1(x_17, x_2, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_23; +} +else +{ +lean_object* x_24; uint8_t x_25; uint8_t x_26; +lean_dec(x_17); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_dec_eq(x_18, x_24); +if (x_25 == 0) +{ +uint8_t x_62; +x_62 = 0; +x_26 = x_62; +goto block_61; +} +else +{ +uint8_t x_63; +x_63 = 1; +x_26 = x_63; +goto block_61; +} +block_61: +{ +if (x_26 == 0) +{ +uint8_t x_27; +lean_dec(x_18); +lean_dec(x_15); +x_27 = !lean_is_exclusive(x_8); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_8, 5); +x_29 = l_Lean_replaceRef(x_2, x_28); +lean_dec(x_28); +lean_dec(x_2); +lean_ctor_set(x_8, 5, x_29); +x_30 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__4; +x_31 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28(x_30, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +return x_31; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_31, 0); +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_31); +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; 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; +x_36 = lean_ctor_get(x_8, 0); +x_37 = lean_ctor_get(x_8, 1); +x_38 = lean_ctor_get(x_8, 2); +x_39 = lean_ctor_get(x_8, 3); +x_40 = lean_ctor_get(x_8, 4); +x_41 = lean_ctor_get(x_8, 5); +x_42 = lean_ctor_get(x_8, 6); +x_43 = lean_ctor_get(x_8, 7); +x_44 = lean_ctor_get(x_8, 8); +x_45 = lean_ctor_get(x_8, 9); +x_46 = lean_ctor_get(x_8, 10); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_8); +x_47 = l_Lean_replaceRef(x_2, x_41); +lean_dec(x_41); +lean_dec(x_2); +x_48 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_48, 0, x_36); +lean_ctor_set(x_48, 1, x_37); +lean_ctor_set(x_48, 2, x_38); +lean_ctor_set(x_48, 3, x_39); +lean_ctor_set(x_48, 4, x_40); +lean_ctor_set(x_48, 5, x_47); +lean_ctor_set(x_48, 6, x_42); +lean_ctor_set(x_48, 7, x_43); +lean_ctor_set(x_48, 8, x_44); +lean_ctor_set(x_48, 9, x_45); +lean_ctor_set(x_48, 10, x_46); +x_49 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__4; +x_50 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28(x_49, x_16, x_3, x_4, x_5, x_6, x_7, x_48, x_9, x_14); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_53 = x_50; +} else { + lean_dec_ref(x_50); + x_53 = lean_box(0); +} +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(1, 2, 0); +} else { + x_54 = x_53; +} +lean_ctor_set(x_54, 0, x_51); +lean_ctor_set(x_54, 1, x_52); +return x_54; +} +} +else +{ +uint8_t x_55; +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_55 = lean_nat_dec_lt(x_19, x_18); +lean_dec(x_18); +if (x_55 == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_16); +x_56 = l_Lean_instInhabitedException; +x_57 = l___private_Init_Util_0__outOfBounds___rarg(x_56); +if (lean_is_scalar(x_15)) { + x_58 = lean_alloc_ctor(1, 2, 0); +} else { + x_58 = x_15; + lean_ctor_set_tag(x_58, 1); +} +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_14); +return x_58; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_array_fget(x_16, x_19); +lean_dec(x_16); +if (lean_is_scalar(x_15)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_15; + lean_ctor_set_tag(x_60, 1); +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_14); +return x_60; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__32(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_4, x_3); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_5); +x_16 = lean_array_uget(x_2, x_4); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_16); +lean_inc(x_1); +x_17 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26(x_1, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Syntax_getId(x_16); +lean_dec(x_16); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_18); +x_22 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__21(x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = 1; +x_25 = lean_usize_add(x_4, x_24); +x_26 = lean_box(0); +x_4 = x_25; +x_5 = x_26; +x_13 = x_23; +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_16); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +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; +} +} +} +} +} LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_elabOpen___spec__33(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: { @@ -18340,7 +18340,7 @@ lean_inc(x_12); x_13 = lean_ctor_get(x_1, 1); lean_inc(x_13); lean_dec(x_1); -x_14 = l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__31(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_14 = l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__23(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); lean_dec(x_14); @@ -18466,7 +18466,7 @@ x_16 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_El x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); -x_18 = l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__31(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +x_18 = l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__23(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17); x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); lean_dec(x_18); @@ -18806,17 +18806,17 @@ lean_ctor_set(x_27, 0, x_22); lean_ctor_set(x_27, 1, x_23); if (x_26 == 0) { -uint8_t x_258; -x_258 = 0; -x_28 = x_258; -goto block_257; +uint8_t x_260; +x_260 = 0; +x_28 = x_260; +goto block_259; } else { -uint8_t x_259; -x_259 = 1; -x_28 = x_259; -goto block_257; +uint8_t x_261; +x_261 = 1; +x_28 = x_261; +goto block_259; } block_21: { @@ -18874,7 +18874,7 @@ return x_20; } } } -block_257: +block_259: { lean_object* x_29; lean_object* x_30; lean_object* x_31; x_29 = lean_st_ref_get(x_7, x_8); @@ -19248,17 +19248,22 @@ lean_inc(x_32); x_116 = l_Lean_resolveUniqueNamespace___at_Lean_Elab_Term_elabOpen___spec__5(x_112, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_33); if (lean_obj_tag(x_116) == 0) { -lean_object* x_117; lean_object* x_118; lean_object* x_119; size_t x_120; size_t x_121; lean_object* x_122; lean_object* x_123; +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; size_t x_122; size_t x_123; lean_object* x_124; lean_object* x_125; x_117 = lean_ctor_get(x_116, 0); lean_inc(x_117); x_118 = lean_ctor_get(x_116, 1); lean_inc(x_118); lean_dec(x_116); -x_119 = lean_array_get_size(x_115); -x_120 = lean_usize_of_nat(x_119); +lean_inc(x_117); +x_119 = l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__23(x_117, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_118); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); lean_dec(x_119); -x_121 = 0; -x_122 = lean_box(0); +x_121 = lean_array_get_size(x_115); +x_122 = lean_usize_of_nat(x_121); +lean_dec(x_121); +x_123 = 0; +x_124 = lean_box(0); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -19267,102 +19272,102 @@ lean_inc(x_3); lean_inc(x_2); lean_inc(x_32); lean_inc(x_117); -x_123 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__23(x_117, x_115, x_120, x_121, x_122, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_118); -if (lean_obj_tag(x_123) == 0) +x_125 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__25(x_117, x_115, x_122, x_123, x_124, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_120); +if (lean_obj_tag(x_125) == 0) { -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; lean_object* x_131; -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -x_125 = l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33(x_120, x_121, x_115); -x_126 = lean_array_to_list(lean_box(0), x_125); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_117); -lean_ctor_set(x_127, 1, x_126); -x_128 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__21(x_127, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_124); -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -lean_dec(x_128); +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +lean_dec(x_125); +x_127 = l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35(x_122, x_123, x_115); +x_128 = lean_array_to_list(lean_box(0), x_127); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_117); +lean_ctor_set(x_129, 1, x_128); +x_130 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Term_elabOpen___spec__21(x_129, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_126); +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); lean_inc(x_7); lean_inc(x_32); -x_131 = lean_apply_9(x_24, x_129, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_130); -if (lean_obj_tag(x_131) == 0) +x_133 = lean_apply_9(x_24, x_131, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_132); +if (lean_obj_tag(x_133) == 0) { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_132 = lean_ctor_get(x_131, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_131, 1); -lean_inc(x_133); -lean_dec(x_131); -x_134 = lean_st_ref_get(x_7, x_133); -lean_dec(x_7); -x_135 = lean_ctor_get(x_134, 1); +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +x_135 = lean_ctor_get(x_133, 1); lean_inc(x_135); -lean_dec(x_134); -x_136 = lean_st_ref_get(x_32, x_135); -lean_dec(x_32); -x_137 = !lean_is_exclusive(x_136); -if (x_137 == 0) -{ -lean_object* x_138; lean_object* x_139; -x_138 = lean_ctor_get(x_136, 0); -x_139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_139, 0, x_132); -lean_ctor_set(x_139, 1, x_138); -lean_ctor_set(x_136, 0, x_139); -x_9 = x_136; -goto block_21; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_140 = lean_ctor_get(x_136, 0); -x_141 = lean_ctor_get(x_136, 1); -lean_inc(x_141); -lean_inc(x_140); +lean_dec(x_133); +x_136 = lean_st_ref_get(x_7, x_135); +lean_dec(x_7); +x_137 = lean_ctor_get(x_136, 1); +lean_inc(x_137); lean_dec(x_136); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_132); -lean_ctor_set(x_142, 1, x_140); -x_143 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_141); -x_9 = x_143; +x_138 = lean_st_ref_get(x_32, x_137); +lean_dec(x_32); +x_139 = !lean_is_exclusive(x_138); +if (x_139 == 0) +{ +lean_object* x_140; lean_object* x_141; +x_140 = lean_ctor_get(x_138, 0); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_134); +lean_ctor_set(x_141, 1, x_140); +lean_ctor_set(x_138, 0, x_141); +x_9 = x_138; +goto block_21; +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_142 = lean_ctor_get(x_138, 0); +x_143 = lean_ctor_get(x_138, 1); +lean_inc(x_143); +lean_inc(x_142); +lean_dec(x_138); +x_144 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_144, 0, x_134); +lean_ctor_set(x_144, 1, x_142); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_143); +x_9 = x_145; goto block_21; } } else { -uint8_t x_144; +uint8_t x_146; lean_dec(x_32); lean_dec(x_7); -x_144 = !lean_is_exclusive(x_131); -if (x_144 == 0) +x_146 = !lean_is_exclusive(x_133); +if (x_146 == 0) { -x_9 = x_131; +x_9 = x_133; goto block_21; } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_145 = lean_ctor_get(x_131, 0); -x_146 = lean_ctor_get(x_131, 1); -lean_inc(x_146); -lean_inc(x_145); -lean_dec(x_131); -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_145); -lean_ctor_set(x_147, 1, x_146); -x_9 = x_147; +lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_147 = lean_ctor_get(x_133, 0); +x_148 = lean_ctor_get(x_133, 1); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_133); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_147); +lean_ctor_set(x_149, 1, x_148); +x_9 = x_149; goto block_21; } } } else { -uint8_t x_148; +uint8_t x_150; lean_dec(x_117); lean_dec(x_115); lean_dec(x_32); @@ -19372,31 +19377,31 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_148 = !lean_is_exclusive(x_123); -if (x_148 == 0) +x_150 = !lean_is_exclusive(x_125); +if (x_150 == 0) { -x_9 = x_123; +x_9 = x_125; goto block_21; } else { -lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_149 = lean_ctor_get(x_123, 0); -x_150 = lean_ctor_get(x_123, 1); -lean_inc(x_150); -lean_inc(x_149); -lean_dec(x_123); -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_149); -lean_ctor_set(x_151, 1, x_150); -x_9 = x_151; +lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_151 = lean_ctor_get(x_125, 0); +x_152 = lean_ctor_get(x_125, 1); +lean_inc(x_152); +lean_inc(x_151); +lean_dec(x_125); +x_153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_153, 0, x_151); +lean_ctor_set(x_153, 1, x_152); +x_9 = x_153; goto block_21; } } } else { -uint8_t x_152; +uint8_t x_154; lean_dec(x_115); lean_dec(x_32); lean_dec(x_7); @@ -19405,24 +19410,24 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_152 = !lean_is_exclusive(x_116); -if (x_152 == 0) +x_154 = !lean_is_exclusive(x_116); +if (x_154 == 0) { x_9 = x_116; goto block_21; } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = lean_ctor_get(x_116, 0); -x_154 = lean_ctor_get(x_116, 1); -lean_inc(x_154); -lean_inc(x_153); +lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_ctor_get(x_116, 0); +x_156 = lean_ctor_get(x_116, 1); +lean_inc(x_156); +lean_inc(x_155); lean_dec(x_116); -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_153); -lean_ctor_set(x_155, 1, x_154); -x_9 = x_155; +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +x_9 = x_157; goto block_21; } } @@ -19430,35 +19435,14 @@ goto block_21; } else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_156 = lean_unsigned_to_nat(0u); -x_157 = l_Lean_Syntax_getArg(x_1, x_156); -x_158 = lean_unsigned_to_nat(2u); +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_158 = lean_unsigned_to_nat(0u); x_159 = l_Lean_Syntax_getArg(x_1, x_158); +x_160 = lean_unsigned_to_nat(2u); +x_161 = l_Lean_Syntax_getArg(x_1, x_160); lean_dec(x_1); -x_160 = l_Lean_Syntax_getArgs(x_159); -lean_dec(x_159); -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_32); -x_161 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__6(x_157, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_33); -if (lean_obj_tag(x_161) == 0) -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; size_t x_165; size_t x_166; lean_object* x_167; lean_object* x_168; -x_162 = lean_ctor_get(x_161, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_161, 1); -lean_inc(x_163); +x_162 = l_Lean_Syntax_getArgs(x_161); lean_dec(x_161); -x_164 = lean_array_get_size(x_160); -x_165 = lean_usize_of_nat(x_164); -lean_dec(x_164); -x_166 = 0; -x_167 = lean_box(0); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -19466,92 +19450,146 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_32); -x_168 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__30(x_162, x_160, x_165, x_166, x_167, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_163); -lean_dec(x_160); -if (lean_obj_tag(x_168) == 0) +x_163 = l_Lean_resolveNamespace___at_Lean_Elab_Term_elabOpen___spec__6(x_159, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_33); +if (lean_obj_tag(x_163) == 0) { -lean_object* x_169; lean_object* x_170; -x_169 = lean_ctor_get(x_168, 1); -lean_inc(x_169); -lean_dec(x_168); +lean_object* x_164; lean_object* x_165; lean_object* x_166; size_t x_167; size_t x_168; lean_object* x_169; lean_object* x_170; +x_164 = lean_ctor_get(x_163, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_163, 1); +lean_inc(x_165); +lean_dec(x_163); +x_166 = lean_array_get_size(x_162); +x_167 = lean_usize_of_nat(x_166); +lean_dec(x_166); +x_168 = 0; +x_169 = lean_box(0); 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_32); -x_170 = lean_apply_9(x_24, x_167, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_169); +x_170 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__32(x_164, x_162, x_167, x_168, x_169, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_165); +lean_dec(x_162); if (lean_obj_tag(x_170) == 0) { -lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_171 = lean_ctor_get(x_170, 0); +lean_object* x_171; lean_object* x_172; +x_171 = lean_ctor_get(x_170, 1); lean_inc(x_171); -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); lean_dec(x_170); -x_173 = lean_st_ref_get(x_7, x_172); -lean_dec(x_7); -x_174 = lean_ctor_get(x_173, 1); +lean_inc(x_7); +lean_inc(x_32); +x_172 = lean_apply_9(x_24, x_169, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_171); +if (lean_obj_tag(x_172) == 0) +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); lean_inc(x_174); -lean_dec(x_173); -x_175 = lean_st_ref_get(x_32, x_174); -lean_dec(x_32); -x_176 = !lean_is_exclusive(x_175); -if (x_176 == 0) -{ -lean_object* x_177; lean_object* x_178; -x_177 = lean_ctor_get(x_175, 0); -x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_171); -lean_ctor_set(x_178, 1, x_177); -lean_ctor_set(x_175, 0, x_178); -x_9 = x_175; -goto block_21; -} -else -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -x_179 = lean_ctor_get(x_175, 0); -x_180 = lean_ctor_get(x_175, 1); -lean_inc(x_180); -lean_inc(x_179); +lean_dec(x_172); +x_175 = lean_st_ref_get(x_7, x_174); +lean_dec(x_7); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); lean_dec(x_175); -x_181 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_181, 0, x_171); -lean_ctor_set(x_181, 1, x_179); -x_182 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_182, 0, x_181); -lean_ctor_set(x_182, 1, x_180); -x_9 = x_182; +x_177 = lean_st_ref_get(x_32, x_176); +lean_dec(x_32); +x_178 = !lean_is_exclusive(x_177); +if (x_178 == 0) +{ +lean_object* x_179; lean_object* x_180; +x_179 = lean_ctor_get(x_177, 0); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_173); +lean_ctor_set(x_180, 1, x_179); +lean_ctor_set(x_177, 0, x_180); +x_9 = x_177; +goto block_21; +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_181 = lean_ctor_get(x_177, 0); +x_182 = lean_ctor_get(x_177, 1); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_177); +x_183 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_183, 0, x_173); +lean_ctor_set(x_183, 1, x_181); +x_184 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_182); +x_9 = x_184; goto block_21; } } else { -uint8_t x_183; +uint8_t x_185; lean_dec(x_32); lean_dec(x_7); -x_183 = !lean_is_exclusive(x_170); -if (x_183 == 0) +x_185 = !lean_is_exclusive(x_172); +if (x_185 == 0) +{ +x_9 = x_172; +goto block_21; +} +else +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_186 = lean_ctor_get(x_172, 0); +x_187 = lean_ctor_get(x_172, 1); +lean_inc(x_187); +lean_inc(x_186); +lean_dec(x_172); +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_187); +x_9 = x_188; +goto block_21; +} +} +} +else +{ +uint8_t x_189; +lean_dec(x_32); +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_189 = !lean_is_exclusive(x_170); +if (x_189 == 0) { x_9 = x_170; goto block_21; } else { -lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_184 = lean_ctor_get(x_170, 0); -x_185 = lean_ctor_get(x_170, 1); -lean_inc(x_185); -lean_inc(x_184); +lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_190 = lean_ctor_get(x_170, 0); +x_191 = lean_ctor_get(x_170, 1); +lean_inc(x_191); +lean_inc(x_190); lean_dec(x_170); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_184); -lean_ctor_set(x_186, 1, x_185); -x_9 = x_186; +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_190); +lean_ctor_set(x_192, 1, x_191); +x_9 = x_192; goto block_21; } } } else { -uint8_t x_187; +uint8_t x_193; +lean_dec(x_162); lean_dec(x_32); lean_dec(x_7); lean_dec(x_6); @@ -19559,57 +19597,24 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_187 = !lean_is_exclusive(x_168); -if (x_187 == 0) +x_193 = !lean_is_exclusive(x_163); +if (x_193 == 0) { -x_9 = x_168; +x_9 = x_163; goto block_21; } else { -lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_188 = lean_ctor_get(x_168, 0); -x_189 = lean_ctor_get(x_168, 1); -lean_inc(x_189); -lean_inc(x_188); -lean_dec(x_168); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_188); -lean_ctor_set(x_190, 1, x_189); -x_9 = x_190; -goto block_21; -} -} -} -else -{ -uint8_t x_191; -lean_dec(x_160); -lean_dec(x_32); -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_191 = !lean_is_exclusive(x_161); -if (x_191 == 0) -{ -x_9 = x_161; -goto block_21; -} -else -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; -x_192 = lean_ctor_get(x_161, 0); -x_193 = lean_ctor_get(x_161, 1); -lean_inc(x_193); -lean_inc(x_192); -lean_dec(x_161); -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_192); -lean_ctor_set(x_194, 1, x_193); -x_9 = x_194; +lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_194 = lean_ctor_get(x_163, 0); +x_195 = lean_ctor_get(x_163, 1); +lean_inc(x_195); +lean_inc(x_194); +lean_dec(x_163); +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_9 = x_196; goto block_21; } } @@ -19617,17 +19622,17 @@ goto block_21; } else { -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; size_t x_199; size_t x_200; lean_object* x_201; lean_object* x_202; -x_195 = lean_unsigned_to_nat(1u); -x_196 = l_Lean_Syntax_getArg(x_1, x_195); +lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; size_t x_201; size_t x_202; lean_object* x_203; lean_object* x_204; +x_197 = lean_unsigned_to_nat(1u); +x_198 = l_Lean_Syntax_getArg(x_1, x_197); lean_dec(x_1); -x_197 = l_Lean_Syntax_getArgs(x_196); -lean_dec(x_196); -x_198 = lean_array_get_size(x_197); -x_199 = lean_usize_of_nat(x_198); +x_199 = l_Lean_Syntax_getArgs(x_198); lean_dec(x_198); -x_200 = 0; -x_201 = lean_box(0); +x_200 = lean_array_get_size(x_199); +x_201 = lean_usize_of_nat(x_200); +lean_dec(x_200); +x_202 = 0; +x_203 = lean_box(0); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -19635,258 +19640,258 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_32); -x_202 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__34(x_197, x_199, x_200, x_201, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_33); -lean_dec(x_197); -if (lean_obj_tag(x_202) == 0) -{ -lean_object* x_203; lean_object* x_204; -x_203 = lean_ctor_get(x_202, 1); -lean_inc(x_203); -lean_dec(x_202); -lean_inc(x_7); -lean_inc(x_32); -x_204 = lean_apply_9(x_24, x_201, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_203); +x_204 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__34(x_199, x_201, x_202, x_203, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_33); +lean_dec(x_199); if (lean_obj_tag(x_204) == 0) { -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; -x_205 = lean_ctor_get(x_204, 0); +lean_object* x_205; lean_object* x_206; +x_205 = lean_ctor_get(x_204, 1); lean_inc(x_205); -x_206 = lean_ctor_get(x_204, 1); -lean_inc(x_206); lean_dec(x_204); -x_207 = lean_st_ref_get(x_7, x_206); -lean_dec(x_7); -x_208 = lean_ctor_get(x_207, 1); +lean_inc(x_7); +lean_inc(x_32); +x_206 = lean_apply_9(x_24, x_203, x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_205); +if (lean_obj_tag(x_206) == 0) +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 1); lean_inc(x_208); -lean_dec(x_207); -x_209 = lean_st_ref_get(x_32, x_208); -lean_dec(x_32); -x_210 = !lean_is_exclusive(x_209); -if (x_210 == 0) -{ -lean_object* x_211; lean_object* x_212; -x_211 = lean_ctor_get(x_209, 0); -x_212 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_212, 0, x_205); -lean_ctor_set(x_212, 1, x_211); -lean_ctor_set(x_209, 0, x_212); -x_9 = x_209; -goto block_21; -} -else -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_213 = lean_ctor_get(x_209, 0); -x_214 = lean_ctor_get(x_209, 1); -lean_inc(x_214); -lean_inc(x_213); +lean_dec(x_206); +x_209 = lean_st_ref_get(x_7, x_208); +lean_dec(x_7); +x_210 = lean_ctor_get(x_209, 1); +lean_inc(x_210); lean_dec(x_209); -x_215 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_215, 0, x_205); -lean_ctor_set(x_215, 1, x_213); -x_216 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_216, 0, x_215); -lean_ctor_set(x_216, 1, x_214); -x_9 = x_216; +x_211 = lean_st_ref_get(x_32, x_210); +lean_dec(x_32); +x_212 = !lean_is_exclusive(x_211); +if (x_212 == 0) +{ +lean_object* x_213; lean_object* x_214; +x_213 = lean_ctor_get(x_211, 0); +x_214 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_214, 0, x_207); +lean_ctor_set(x_214, 1, x_213); +lean_ctor_set(x_211, 0, x_214); +x_9 = x_211; +goto block_21; +} +else +{ +lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_215 = lean_ctor_get(x_211, 0); +x_216 = lean_ctor_get(x_211, 1); +lean_inc(x_216); +lean_inc(x_215); +lean_dec(x_211); +x_217 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_217, 0, x_207); +lean_ctor_set(x_217, 1, x_215); +x_218 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_216); +x_9 = x_218; goto block_21; } } else { -uint8_t x_217; +uint8_t x_219; lean_dec(x_32); lean_dec(x_7); -x_217 = !lean_is_exclusive(x_204); -if (x_217 == 0) +x_219 = !lean_is_exclusive(x_206); +if (x_219 == 0) +{ +x_9 = x_206; +goto block_21; +} +else +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_220 = lean_ctor_get(x_206, 0); +x_221 = lean_ctor_get(x_206, 1); +lean_inc(x_221); +lean_inc(x_220); +lean_dec(x_206); +x_222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_222, 0, x_220); +lean_ctor_set(x_222, 1, x_221); +x_9 = x_222; +goto block_21; +} +} +} +else +{ +uint8_t x_223; +lean_dec(x_32); +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_223 = !lean_is_exclusive(x_204); +if (x_223 == 0) { x_9 = x_204; goto block_21; } else { -lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_218 = lean_ctor_get(x_204, 0); -x_219 = lean_ctor_get(x_204, 1); -lean_inc(x_219); -lean_inc(x_218); -lean_dec(x_204); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_218); -lean_ctor_set(x_220, 1, x_219); -x_9 = x_220; -goto block_21; -} -} -} -else -{ -uint8_t x_221; -lean_dec(x_32); -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_221 = !lean_is_exclusive(x_202); -if (x_221 == 0) -{ -x_9 = x_202; -goto block_21; -} -else -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; -x_222 = lean_ctor_get(x_202, 0); -x_223 = lean_ctor_get(x_202, 1); -lean_inc(x_223); -lean_inc(x_222); -lean_dec(x_202); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_222); -lean_ctor_set(x_224, 1, x_223); -x_9 = x_224; -goto block_21; -} -} -} -} -else -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; size_t x_231; size_t x_232; lean_object* x_233; lean_object* x_234; -x_225 = lean_ctor_get(x_31, 0); +lean_object* x_224; lean_object* x_225; lean_object* x_226; +x_224 = lean_ctor_get(x_204, 0); +x_225 = lean_ctor_get(x_204, 1); lean_inc(x_225); -x_226 = lean_ctor_get(x_31, 1); -lean_inc(x_226); +lean_inc(x_224); +lean_dec(x_204); +x_226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_226, 0, x_224); +lean_ctor_set(x_226, 1, x_225); +x_9 = x_226; +goto block_21; +} +} +} +} +else +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; size_t x_233; size_t x_234; lean_object* x_235; lean_object* x_236; +x_227 = lean_ctor_get(x_31, 0); +lean_inc(x_227); +x_228 = lean_ctor_get(x_31, 1); +lean_inc(x_228); lean_dec(x_31); -x_227 = lean_unsigned_to_nat(0u); -x_228 = l_Lean_Syntax_getArg(x_1, x_227); +x_229 = lean_unsigned_to_nat(0u); +x_230 = l_Lean_Syntax_getArg(x_1, x_229); lean_dec(x_1); -x_229 = l_Lean_Syntax_getArgs(x_228); -lean_dec(x_228); -x_230 = lean_array_get_size(x_229); -x_231 = lean_usize_of_nat(x_230); +x_231 = l_Lean_Syntax_getArgs(x_230); lean_dec(x_230); -x_232 = 0; -x_233 = lean_box(0); +x_232 = lean_array_get_size(x_231); +x_233 = lean_usize_of_nat(x_232); +lean_dec(x_232); +x_234 = 0; +x_235 = lean_box(0); 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_225); -x_234 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__36(x_229, x_231, x_232, x_233, x_225, x_2, x_3, x_4, x_5, x_6, x_7, x_226); -lean_dec(x_229); -if (lean_obj_tag(x_234) == 0) -{ -lean_object* x_235; lean_object* x_236; -x_235 = lean_ctor_get(x_234, 1); -lean_inc(x_235); -lean_dec(x_234); -lean_inc(x_7); -lean_inc(x_225); -x_236 = lean_apply_9(x_24, x_233, x_225, x_2, x_3, x_4, x_5, x_6, x_7, x_235); +lean_inc(x_227); +x_236 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__36(x_231, x_233, x_234, x_235, x_227, x_2, x_3, x_4, x_5, x_6, x_7, x_228); +lean_dec(x_231); if (lean_obj_tag(x_236) == 0) { -lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; -x_237 = lean_ctor_get(x_236, 0); +lean_object* x_237; lean_object* x_238; +x_237 = lean_ctor_get(x_236, 1); lean_inc(x_237); -x_238 = lean_ctor_get(x_236, 1); -lean_inc(x_238); lean_dec(x_236); -x_239 = lean_st_ref_get(x_7, x_238); -lean_dec(x_7); -x_240 = lean_ctor_get(x_239, 1); +lean_inc(x_7); +lean_inc(x_227); +x_238 = lean_apply_9(x_24, x_235, x_227, x_2, x_3, x_4, x_5, x_6, x_7, x_237); +if (lean_obj_tag(x_238) == 0) +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; +x_239 = lean_ctor_get(x_238, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_238, 1); lean_inc(x_240); -lean_dec(x_239); -x_241 = lean_st_ref_get(x_225, x_240); -lean_dec(x_225); -x_242 = !lean_is_exclusive(x_241); -if (x_242 == 0) -{ -lean_object* x_243; lean_object* x_244; -x_243 = lean_ctor_get(x_241, 0); -x_244 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_244, 0, x_237); -lean_ctor_set(x_244, 1, x_243); -lean_ctor_set(x_241, 0, x_244); -x_9 = x_241; -goto block_21; -} -else -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; -x_245 = lean_ctor_get(x_241, 0); -x_246 = lean_ctor_get(x_241, 1); -lean_inc(x_246); -lean_inc(x_245); -lean_dec(x_241); -x_247 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_247, 0, x_237); -lean_ctor_set(x_247, 1, x_245); -x_248 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_248, 0, x_247); -lean_ctor_set(x_248, 1, x_246); -x_9 = x_248; -goto block_21; -} -} -else -{ -uint8_t x_249; -lean_dec(x_225); +lean_dec(x_238); +x_241 = lean_st_ref_get(x_7, x_240); lean_dec(x_7); -x_249 = !lean_is_exclusive(x_236); -if (x_249 == 0) +x_242 = lean_ctor_get(x_241, 1); +lean_inc(x_242); +lean_dec(x_241); +x_243 = lean_st_ref_get(x_227, x_242); +lean_dec(x_227); +x_244 = !lean_is_exclusive(x_243); +if (x_244 == 0) { -x_9 = x_236; +lean_object* x_245; lean_object* x_246; +x_245 = lean_ctor_get(x_243, 0); +x_246 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_246, 0, x_239); +lean_ctor_set(x_246, 1, x_245); +lean_ctor_set(x_243, 0, x_246); +x_9 = x_243; goto block_21; } else { -lean_object* x_250; lean_object* x_251; lean_object* x_252; -x_250 = lean_ctor_get(x_236, 0); -x_251 = lean_ctor_get(x_236, 1); -lean_inc(x_251); -lean_inc(x_250); -lean_dec(x_236); -x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_250); -lean_ctor_set(x_252, 1, x_251); -x_9 = x_252; +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; +x_247 = lean_ctor_get(x_243, 0); +x_248 = lean_ctor_get(x_243, 1); +lean_inc(x_248); +lean_inc(x_247); +lean_dec(x_243); +x_249 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_249, 0, x_239); +lean_ctor_set(x_249, 1, x_247); +x_250 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_250, 0, x_249); +lean_ctor_set(x_250, 1, x_248); +x_9 = x_250; +goto block_21; +} +} +else +{ +uint8_t x_251; +lean_dec(x_227); +lean_dec(x_7); +x_251 = !lean_is_exclusive(x_238); +if (x_251 == 0) +{ +x_9 = x_238; +goto block_21; +} +else +{ +lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_252 = lean_ctor_get(x_238, 0); +x_253 = lean_ctor_get(x_238, 1); +lean_inc(x_253); +lean_inc(x_252); +lean_dec(x_238); +x_254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_254, 0, x_252); +lean_ctor_set(x_254, 1, x_253); +x_9 = x_254; goto block_21; } } } else { -uint8_t x_253; -lean_dec(x_225); +uint8_t x_255; +lean_dec(x_227); 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_253 = !lean_is_exclusive(x_234); -if (x_253 == 0) +x_255 = !lean_is_exclusive(x_236); +if (x_255 == 0) { -x_9 = x_234; +x_9 = x_236; goto block_21; } else { -lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_254 = lean_ctor_get(x_234, 0); -x_255 = lean_ctor_get(x_234, 1); -lean_inc(x_255); -lean_inc(x_254); -lean_dec(x_234); -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_9 = x_256; +lean_object* x_256; lean_object* x_257; lean_object* x_258; +x_256 = lean_ctor_get(x_236, 0); +x_257 = lean_ctor_get(x_236, 1); +lean_inc(x_257); +lean_inc(x_256); +lean_dec(x_236); +x_258 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_258, 0, x_256); +lean_ctor_set(x_258, 1, x_257); +x_9 = x_258; goto block_21; } } @@ -20572,7 +20577,7 @@ lean_dec(x_2); return x_16; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { size_t x_14; size_t x_15; lean_object* x_16; @@ -20580,103 +20585,7 @@ x_14 = lean_unbox_usize(x_3); lean_dec(x_3); x_15 = lean_unbox_usize(x_4); lean_dec(x_4); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__23(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_2); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__28___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__28___rarg(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__28___boxed(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; -x_6 = l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__28(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___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: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, 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); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabOpen___spec__29___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: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_13 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabOpen___spec__29(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1(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_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__30___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_15 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__30(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_2); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__32___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_15 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__32(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__24(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -20688,11 +20597,11 @@ lean_dec(x_2); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__31___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_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__23___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: { lean_object* x_10; -x_10 = l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__31(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_activateScoped___at_Lean_Elab_Term_elabOpen___spec__23(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -20703,6 +20612,102 @@ lean_dec(x_2); return x_10; } } +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__25(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_2); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__30___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__30___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__30___boxed(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; +x_6 = l_Lean_getRefPos___at_Lean_Elab_Term_elabOpen___spec__30(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___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: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, 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); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabOpen___spec__31___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: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_13 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabOpen___spec__31(x_12, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1(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_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__32___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabOpen___spec__32(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_2); +return x_16; +} +} LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_elabOpen___spec__33___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: { @@ -23304,30 +23309,30 @@ l_Lean_resolveUniqueNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1 lean_mark_persistent(l_Lean_resolveUniqueNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__1); l_Lean_resolveUniqueNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__2 = _init_l_Lean_resolveUniqueNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__2(); lean_mark_persistent(l_Lean_resolveUniqueNamespace___at_Lean_Elab_Term_elabOpen___spec__5___closed__2); -l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__1 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__1(); -lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__1); -l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__2 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__2(); -lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__2); -l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__3 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__3(); -lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__3); -l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__4 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__4(); -lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__27___closed__4); -l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26___closed__1 = _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26___closed__1); -l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26___closed__2 = _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26___closed__2(); -lean_mark_persistent(l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__26___closed__2); -l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___closed__1 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___closed__1); -l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___closed__2 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___lambda__1___closed__2); -l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__1 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__1); -l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__2 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__2); -l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__3 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__3); -l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__4 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__24___closed__4); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__1 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__1(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__1); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__2 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__2(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__2); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__3 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__3(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__3); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__4 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__4(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Term_elabOpen___spec__29___closed__4); +l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28___closed__1 = _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28___closed__1); +l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28___closed__2 = _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28___closed__2(); +lean_mark_persistent(l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Term_elabOpen___spec__28___closed__2); +l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___closed__1 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___closed__1); +l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___closed__2 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___lambda__1___closed__2); +l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__1 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__1); +l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__2 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__2); +l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__3 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__3); +l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__4 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Term_elabOpen___spec__26___closed__4); l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__2___closed__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__2___closed__1); l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__2___closed__2 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Term_elabOpen___spec__3___lambda__2___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/ComputedFields.c b/stage0/stdlib/Lean/Elab/ComputedFields.c index 49cd6db535..adcaa3b3a5 100644 --- a/stage0/stdlib/Lean/Elab/ComputedFields.c +++ b/stage0/stdlib/Lean/Elab/ComputedFields.c @@ -45,6 +45,7 @@ uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_ComputedFields_mkComputedFieldOverrides___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_ComputedFields_overrideComputedFields___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoDefn___at_Lean_Elab_ComputedFields_overrideCasesOn___spec__1___closed__2; lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at_Lean_Elab_ComputedFields_mkComputedFieldOverrides___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -293,7 +294,6 @@ static lean_object* l_Lean_Elab_ComputedFields_getComputedFieldValue___lambda__1 static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Elab_ComputedFields_getComputedFieldValue___spec__2___closed__2; static lean_object* l_Lean_Elab_ComputedFields_overrideCasesOn___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_ComputedFields_mkComputedFieldOverrides___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setInlineAttribute(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_ComputedFields_overrideCasesOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -9977,7 +9977,7 @@ lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_dec(x_9); lean_dec(x_2); x_18 = l_Lean_Elab_ComputedFields_mkComputedFieldOverrides___closed__2; -x_19 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_18, x_3, x_4, x_5, x_6, x_10); +x_19 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_18, x_3, x_4, x_5, x_6, x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index 16ccf15b26..70071c4ce9 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -74,6 +74,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Induc uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___closed__7; +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___closed__1; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go___lambda__4___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -823,7 +824,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Induc static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___closed__2; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__1; -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -7162,7 +7162,7 @@ x_34 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lamb x_35 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_35, x_8, x_9, x_10, x_11, x_26); +x_36 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_35, x_8, x_9, x_10, x_11, x_26); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -7426,7 +7426,7 @@ x_26 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lamb x_27 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_27, 0, x_25); lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_27, x_4, x_5, x_6, x_7, x_8); +x_28 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_27, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); diff --git a/stage0/stdlib/Lean/Elab/Open.c b/stage0/stdlib/Lean/Elab/Open.c index fe61c50112..1afffaba98 100644 --- a/stage0/stdlib/Lean/Elab/Open.c +++ b/stage0/stdlib/Lean/Elab/Open.c @@ -14,48 +14,55 @@ extern "C" { #endif lean_object* l_List_reverse___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__8; +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___boxed__const__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__1___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__23___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_OpenDecl_resolveId___spec__4___rarg___closed__1; size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__37(lean_object*); lean_object* l_List_toString___at_Lean_OpenDecl_instToStringOpenDecl___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__31___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__21___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__1___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__24___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__1; static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__18(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___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_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__31___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__21___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9(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_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_OpenDecl_resolveId___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterTRAux___at_Lean_resolveGlobalConstCore___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__28___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__40___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_OpenDecl_resolveId___spec__3___rarg___lambda__2(lean_object*, lean_object*); static lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__7___rarg___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___rarg___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__7; LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstCore___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__39___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -64,51 +71,52 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOp LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__1___rarg___lambda__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_toMessageList(lean_object*); lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__65___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__4; LEAN_EXPORT lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__8(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__9; LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__22___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_OpenDecl_resolveId___spec__3___rarg___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__40(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5(lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__20___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__4___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__62___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__30___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__22(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__15___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__38___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__27___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__7___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_instMonadResolveNameM___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ST_Prim_mkRef___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58(lean_object*); static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__4___rarg___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_filterMap___at_Lean_resolveNamespace___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -116,118 +124,131 @@ lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_instMonadResolveNameM___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_instMonadResolveNameM___rarg___lambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__13(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__65___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_OpenDecl_resolveId___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_OpenDecl_resolveId___spec__1___rarg___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__7___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__61(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__5; -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__15___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__15___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__39___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__39___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__30___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_instMonadResolveNameM___rarg(lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__15___rarg___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__7(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__48___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__7___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__17___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__5___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11(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_EXPORT lean_object* l_List_mapTRAux___at_Lean_Elab_OpenDecl_resolveId___spec__8(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_OpenDecl_resolveId___spec__1___rarg___lambda__1___closed__3; static lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__7___rarg___lambda__1___closed__1; -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__10; +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_getRefPos___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__6___rarg___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl(lean_object*); lean_object* l_Array_zip___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_instMonadResolveNameM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__42(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__60___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__28___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__38___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__9___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__49___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getRefPos___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__6___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__8(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__20___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__26___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__22___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__17(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__17___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__24___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__52(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_OpenDecl_resolveId___spec__2(lean_object*); -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_OpenDecl_resolveId___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__6; +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__1___boxed(lean_object*, lean_object*, 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_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__25(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__15___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__5(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46(lean_object*); static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__4___rarg___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__63___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__60(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_OpenDecl_instMonadResolveNameM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__49(lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46(lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__15___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__26(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__28___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__47___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId(lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__30(lean_object*); LEAN_EXPORT lean_object* l_Lean_getRefPos___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__38(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__5___rarg___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__11___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__65(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); @@ -237,6 +258,7 @@ lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lea LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__37___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__47___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__1___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5___rarg___lambda__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__48___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -244,106 +266,97 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDec LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__63___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__14(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__39(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__5___rarg___lambda__1___closed__5; -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__15___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_OpenDecl_resolveId___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32(lean_object*); LEAN_EXPORT lean_object* l_Array_sequenceMap___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__2(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___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_Syntax_getId(lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__7; -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__48(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__23___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespaces(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__7___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_OpenDecl_resolveId___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__29___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__40___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__16(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__60___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__23(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__7(lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__28(lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59(lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__15___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__22___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_dbg_to_string(lean_object*); LEAN_EXPORT lean_object* l_Lean_getRefPos___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__6(lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getRefPos___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__6___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__29___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_sequenceMap___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Elab_OpenDecl_resolveId___spec__6(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__2; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_OpenDecl_resolveId___spec__4___rarg___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__28___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_OpenDecl_instMonadResolveNameM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__31(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__7(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_OpenDecl_instMonadResolveNameM___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__28___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__49___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__15___rarg___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*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__3; LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_OpenDecl_instMonadResolveNameM___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__13___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespaces___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_OpenDecl_resolveId___spec__3___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__5___rarg___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__25___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__26___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__24(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__29(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__5___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9___boxed__const__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__4___rarg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedException; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespaces___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__28___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -353,145 +366,138 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl_ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__47(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__50___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__5___rarg___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_OpenDecl_resolveId___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespaces___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___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_Expr_const___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__37___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__18___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__28___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__42___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__49___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__12___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_OpenDecl_resolveId___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__12(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__5___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateRefT_x27_get___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__1___rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__62___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__42___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__7___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_OpenDecl_instMonadResolveNameM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__9___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__37___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Exception_getRef(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__62___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__63(lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__6; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__7___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_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__1___rarg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__4___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19(lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__8; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__24___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___boxed__const__1; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__4; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_OpenDecl_resolveId___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_OpenDecl_resolveId___spec__3___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__11___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_OpenDecl_resolveId___spec__1___rarg___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_instMonadResolveNameM(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_OpenDecl_resolveId___spec__3___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__15___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__15___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__61___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__5___rarg___lambda__1___closed__4; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__9; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_OpenDecl_resolveId___spec__4(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_OpenDecl_resolveId___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__2; +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55(lean_object*); -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70(lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13___closed__1; extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__16___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__15(lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__1; -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__52___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__28___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_OpenDecl_resolveId___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__26___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__11(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_OpenDecl_resolveId___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__2(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__6(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__9(lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_scopedEnvExtensionsRef; uint8_t l_List_isEmpty___rarg(lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__5___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__52___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__5; +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57(lean_object*); lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__2(lean_object*); static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__3___closed__1; static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___closed__3; @@ -499,7 +505,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___private_L LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__6___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__50(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__9(lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__21(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__1___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -507,24 +513,27 @@ static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___close LEAN_EXPORT lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__20___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__20(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__10(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_activateScoped___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__10; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__1; -static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__4; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__60___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5___rarg___lambda__2(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__5___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__25___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_OpenDecl_resolveId___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__10(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_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__18___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44(lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__3(lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__50___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_OpenDecl_resolveId___spec__4___rarg___closed__2; @@ -533,9 +542,10 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl_ lean_object* l_Lean_Exception_toMessageData(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__13___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_OpenDecl_resolveId___spec__4___rarg___closed__4; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_OpenDecl_instMonadResolveNameM___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -4609,7 +4619,196 @@ x_2 = lean_alloc_closure((void*)(l_Lean_resolveUniqueNamespace___at_Lean_Elab_Op return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_ScopedEnvExtension_activateScoped___rarg(x_1, x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___lambda__2(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_apply_2(x_12, lean_box(0), x_10); +return x_13; +} +else +{ +lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_9, 0); +lean_inc(x_14); +lean_dec(x_9); +x_15 = 1; +x_16 = lean_usize_add(x_2, x_15); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_16, x_14, x_8); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_7, x_6); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_apply_2(x_12, lean_box(0), x_8); +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; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_8); +x_14 = lean_array_uget(x_5, x_7); +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +lean_inc(x_3); +x_16 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___lambda__1), 3, 2); +lean_closure_set(x_16, 0, x_14); +lean_closure_set(x_16, 1, x_3); +x_17 = lean_ctor_get(x_2, 1); +lean_inc(x_17); +x_18 = lean_apply_1(x_17, x_16); +lean_inc(x_1); +x_19 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__2___boxed), 2, 1); +lean_closure_set(x_19, 0, x_1); +lean_inc(x_4); +x_20 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_18, x_19); +x_21 = lean_box_usize(x_7); +x_22 = lean_box_usize(x_6); +x_23 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___lambda__2___boxed), 9, 8); +lean_closure_set(x_23, 0, x_1); +lean_closure_set(x_23, 1, x_21); +lean_closure_set(x_23, 2, x_2); +lean_closure_set(x_23, 3, x_3); +lean_closure_set(x_23, 4, x_4); +lean_closure_set(x_23, 5, x_5); +lean_closure_set(x_23, 6, x_22); +lean_closure_set(x_23, 7, x_9); +x_24 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_20, x_23); +return x_24; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___boxed), 9, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_box(0); +x_6 = lean_apply_2(x_4, lean_box(0), x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__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) { +_start: +{ +lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_array_get_size(x_6); +x_8 = lean_usize_of_nat(x_7); +lean_dec(x_7); +x_9 = 0; +x_10 = lean_box(0); +lean_inc(x_4); +lean_inc(x_1); +x_11 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg(x_1, x_2, x_3, x_4, x_6, x_8, x_9, x_10, x_5); +x_12 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_12, 0, x_1); +x_13 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_11, x_12); +return x_13; +} +} +static lean_object* _init_l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_scopedEnvExtensionsRef; +return x_1; +} +} +static lean_object* _init_l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__1; +x_2 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(x_2, 0, lean_box(0)); +lean_closure_set(x_2, 1, lean_box(0)); +lean_closure_set(x_2, 2, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg(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; lean_object* x_9; lean_object* x_10; +x_6 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__2; +x_7 = lean_apply_2(x_3, lean_box(0), x_6); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_inc(x_8); +x_9 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__2), 6, 5); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_2); +lean_closure_set(x_9, 2, x_4); +lean_closure_set(x_9, 3, x_8); +lean_closure_set(x_9, 4, x_5); +x_10 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_7, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -4618,7 +4817,7 @@ x_4 = lean_apply_2(x_1, lean_box(0), x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -4631,13 +4830,13 @@ lean_dec(x_4); x_6 = lean_box(0); lean_inc(x_5); x_7 = lean_apply_2(x_5, lean_box(0), x_6); -x_8 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1___boxed), 2, 1); +x_8 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__1___boxed), 2, 1); lean_closure_set(x_8, 0, x_5); x_9 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_7, x_8); return x_9; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__3(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__3(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, lean_object* x_12, lean_object* x_13) { _start: { if (lean_obj_tag(x_13) == 0) @@ -4672,12 +4871,12 @@ lean_inc(x_18); lean_dec(x_13); x_19 = 1; x_20 = lean_usize_add(x_2, x_19); -x_21 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20, x_18, x_12); +x_21 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_20, x_18, x_12); return x_21; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___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, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___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, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -4720,14 +4919,14 @@ lean_inc(x_1); x_20 = l_Lean_Elab_OpenDecl_resolveId___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_18, x_13); lean_inc(x_7); lean_inc(x_1); -x_21 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__2___boxed), 3, 2); +x_21 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__2___boxed), 3, 2); lean_closure_set(x_21, 0, x_1); lean_closure_set(x_21, 1, x_7); lean_inc(x_7); x_22 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_20, x_21); x_23 = lean_box_usize(x_11); x_24 = lean_box_usize(x_10); -x_25 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__3___boxed), 13, 12); +x_25 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__3___boxed), 13, 12); lean_closure_set(x_25, 0, x_1); lean_closure_set(x_25, 1, x_23); lean_closure_set(x_25, 2, x_2); @@ -4745,15 +4944,15 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___boxed), 13, 0); +x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___boxed), 13, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -4779,76 +4978,6 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = lean_ctor_get(x_3, 0); -lean_inc(x_7); -lean_dec(x_3); -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -lean_inc(x_8); -x_9 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5___rarg___lambda__3), 6, 5); -lean_closure_set(x_9, 0, x_4); -lean_closure_set(x_9, 1, x_5); -lean_closure_set(x_9, 2, x_1); -lean_closure_set(x_9, 3, x_8); -lean_closure_set(x_9, 4, x_2); -x_10 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_7, x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg___boxed), 6, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35___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) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = l_Lean_replaceRef(x_1, x_8); -lean_inc(x_4); -x_10 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg(x_2, x_3, x_4, x_5, x_6, x_7); -x_11 = lean_ctor_get(x_4, 1); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_apply_3(x_11, lean_box(0), x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35___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; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -x_10 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35___rarg___lambda__1___boxed), 8, 7); -lean_closure_set(x_10, 0, x_5); -lean_closure_set(x_10, 1, x_1); -lean_closure_set(x_10, 2, x_2); -lean_closure_set(x_10, 3, x_3); -lean_closure_set(x_10, 4, x_4); -lean_closure_set(x_10, 5, x_6); -lean_closure_set(x_10, 6, x_7); -x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_8, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35___rarg), 7, 0); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__38___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: { @@ -5017,7 +5146,77 @@ x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_elabO return x_2; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = l_Lean_replaceRef(x_1, x_8); +lean_inc(x_4); +x_10 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__42___rarg(x_2, x_3, x_4, x_5, x_6, x_7); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = lean_apply_3(x_11, lean_box(0), x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___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; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__1___boxed), 8, 7); +lean_closure_set(x_10, 0, x_5); +lean_closure_set(x_10, 1, x_1); +lean_closure_set(x_10, 2, x_2); +lean_closure_set(x_10, 3, x_3); +lean_closure_set(x_10, 4, x_4); +lean_closure_set(x_10, 5, x_6); +lean_closure_set(x_10, 6, x_7); +x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_8, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_inc(x_8); +x_9 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5___rarg___lambda__3), 6, 5); +lean_closure_set(x_9, 0, x_4); +lean_closure_set(x_9, 1, x_5); +lean_closure_set(x_9, 2, x_1); +lean_closure_set(x_9, 3, x_8); +lean_closure_set(x_9, 4, x_2); +x_10 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_7, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg___boxed), 6, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_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: { lean_object* x_12; lean_object* x_13; @@ -5068,7 +5267,7 @@ x_27 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_27, 0, x_26); x_28 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_28, 0, x_27); -x_29 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__42___rarg(x_4, x_8, x_9, x_10, x_28, x_6); +x_29 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg(x_4, x_8, x_9, x_10, x_28, x_6); x_30 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_OpenDecl_instMonadResolveNameM___spec__1___rarg___lambda__1), 3, 2); lean_closure_set(x_30, 0, x_13); lean_closure_set(x_30, 1, x_6); @@ -5100,7 +5299,7 @@ return x_37; } } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -5111,7 +5310,7 @@ lean_inc(x_2); x_13 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_3, x_12); x_14 = lean_box(x_6); lean_inc(x_2); -x_15 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__1___boxed), 11, 10); +x_15 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__1___boxed), 11, 10); lean_closure_set(x_15, 0, x_4); lean_closure_set(x_15, 1, x_11); lean_closure_set(x_15, 2, x_5); @@ -5126,7 +5325,7 @@ x_16 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_13, x_15); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -5144,7 +5343,7 @@ lean_inc(x_12); x_14 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_12, x_13); x_15 = lean_box(x_6); lean_inc(x_4); -x_16 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__2___boxed), 11, 10); +x_16 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__2___boxed), 11, 10); lean_closure_set(x_16, 0, x_3); lean_closure_set(x_16, 1, x_4); lean_closure_set(x_16, 2, x_12); @@ -5159,7 +5358,7 @@ x_17 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_14, x_16); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___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, uint8_t x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___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, uint8_t 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; @@ -5170,7 +5369,7 @@ x_11 = lean_ctor_get(x_1, 1); lean_inc(x_11); x_12 = lean_box(x_8); lean_inc(x_11); -x_13 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__3___boxed), 10, 9); +x_13 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__3___boxed), 10, 9); lean_closure_set(x_13, 0, x_9); lean_closure_set(x_13, 1, x_6); lean_closure_set(x_13, 2, x_1); @@ -5184,22 +5383,22 @@ x_14 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_10, x_13); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___boxed), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___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* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___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* x_10) { _start: { lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_11 = l_Lean_replaceRef(x_1, x_10); x_12 = 0; lean_inc(x_5); -x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12, x_9); +x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12, x_9); x_14 = lean_ctor_get(x_5, 1); lean_inc(x_14); lean_dec(x_5); @@ -5207,7 +5406,7 @@ x_15 = lean_apply_3(x_14, lean_box(0), x_11, x_13); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___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_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___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) { _start: { switch (lean_obj_tag(x_7)) { @@ -5217,7 +5416,7 @@ lean_object* x_9; lean_object* x_10; lean_dec(x_6); lean_dec(x_2); x_9 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___closed__3; -x_10 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35___rarg(x_1, x_3, x_4, x_5, x_7, x_9, x_8); +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__37___rarg(x_1, x_3, x_4, x_5, x_7, x_9, x_8); return x_10; } case 1: @@ -5226,7 +5425,7 @@ lean_object* x_11; lean_object* x_12; lean_dec(x_6); lean_dec(x_2); x_11 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___closed__3; -x_12 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__37___rarg(x_1, x_3, x_4, x_5, x_7, x_11, x_8); +x_12 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__39___rarg(x_1, x_3, x_4, x_5, x_7, x_11, x_8); return x_12; } case 2: @@ -5235,7 +5434,7 @@ lean_object* x_13; lean_object* x_14; lean_dec(x_6); lean_dec(x_2); x_13 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___closed__3; -x_14 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__39___rarg(x_1, x_3, x_4, x_5, x_7, x_13, x_8); +x_14 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg(x_1, x_3, x_4, x_5, x_7, x_13, x_8); return x_14; } default: @@ -5275,7 +5474,7 @@ x_22 = lean_ctor_get(x_4, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_1, 1); lean_inc(x_23); -x_24 = lean_alloc_closure((void*)(l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__1___boxed), 10, 9); +x_24 = lean_alloc_closure((void*)(l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg___lambda__1___boxed), 10, 9); lean_closure_set(x_24, 0, x_7); lean_closure_set(x_24, 1, x_1); lean_closure_set(x_24, 2, x_2); @@ -5292,15 +5491,15 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg), 8, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg), 8, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__1(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, size_t x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___lambda__1(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, size_t x_12, lean_object* x_13, lean_object* x_14) { _start: { if (lean_obj_tag(x_14) == 0) @@ -5336,12 +5535,12 @@ lean_inc(x_19); lean_dec(x_14); x_20 = 1; x_21 = lean_usize_add(x_2, x_20); -x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21, x_19, x_13); +x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_21, x_19, x_13); return x_22; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___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* x_10, size_t x_11, size_t x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___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* x_10, size_t x_11, size_t x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; @@ -5400,7 +5599,7 @@ lean_inc(x_8); x_23 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_21, x_22); x_24 = lean_box_usize(x_12); x_25 = lean_box_usize(x_11); -x_26 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__1___boxed), 14, 13); +x_26 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___lambda__1___boxed), 14, 13); lean_closure_set(x_26, 0, x_1); lean_closure_set(x_26, 1, x_24); lean_closure_set(x_26, 2, x_2); @@ -5419,81 +5618,11 @@ return x_27; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___boxed), 14, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = lean_ctor_get(x_3, 0); -lean_inc(x_7); -lean_dec(x_3); -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -lean_inc(x_8); -x_9 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5___rarg___lambda__3), 6, 5); -lean_closure_set(x_9, 0, x_4); -lean_closure_set(x_9, 1, x_5); -lean_closure_set(x_9, 2, x_1); -lean_closure_set(x_9, 3, x_8); -lean_closure_set(x_9, 4, x_2); -x_10 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_7, x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg___boxed), 6, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___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) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = l_Lean_replaceRef(x_1, x_8); -lean_inc(x_4); -x_10 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg(x_2, x_3, x_4, x_5, x_6, x_7); -x_11 = lean_ctor_get(x_4, 1); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_apply_3(x_11, lean_box(0), x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___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; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -x_10 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___lambda__1___boxed), 8, 7); -lean_closure_set(x_10, 0, x_5); -lean_closure_set(x_10, 1, x_1); -lean_closure_set(x_10, 2, x_2); -lean_closure_set(x_10, 3, x_3); -lean_closure_set(x_10, 4, x_4); -lean_closure_set(x_10, 5, x_6); -lean_closure_set(x_10, 6, x_7); -x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_8, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___boxed), 14, 0); return x_2; } } @@ -5665,7 +5794,77 @@ x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_elabO return x_2; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = l_Lean_replaceRef(x_1, x_8); +lean_inc(x_4); +x_10 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__52___rarg(x_2, x_3, x_4, x_5, x_6, x_7); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = lean_apply_3(x_11, lean_box(0), x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___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; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__1___boxed), 8, 7); +lean_closure_set(x_10, 0, x_5); +lean_closure_set(x_10, 1, x_1); +lean_closure_set(x_10, 2, x_2); +lean_closure_set(x_10, 3, x_3); +lean_closure_set(x_10, 4, x_4); +lean_closure_set(x_10, 5, x_6); +lean_closure_set(x_10, 6, x_7); +x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_8, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_inc(x_8); +x_9 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5___rarg___lambda__3), 6, 5); +lean_closure_set(x_9, 0, x_4); +lean_closure_set(x_9, 1, x_5); +lean_closure_set(x_9, 2, x_1); +lean_closure_set(x_9, 3, x_8); +lean_closure_set(x_9, 4, x_2); +x_10 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_7, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___boxed), 6, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_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: { lean_object* x_12; lean_object* x_13; @@ -5716,7 +5915,7 @@ x_27 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_27, 0, x_26); x_28 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_28, 0, x_27); -x_29 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__52___rarg(x_4, x_8, x_9, x_10, x_28, x_6); +x_29 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg(x_4, x_8, x_9, x_10, x_28, x_6); x_30 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_OpenDecl_instMonadResolveNameM___spec__1___rarg___lambda__1), 3, 2); lean_closure_set(x_30, 0, x_13); lean_closure_set(x_30, 1, x_6); @@ -5748,7 +5947,7 @@ return x_37; } } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -5759,7 +5958,7 @@ lean_inc(x_2); x_13 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_3, x_12); x_14 = lean_box(x_6); lean_inc(x_2); -x_15 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__1___boxed), 11, 10); +x_15 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1___boxed), 11, 10); lean_closure_set(x_15, 0, x_4); lean_closure_set(x_15, 1, x_11); lean_closure_set(x_15, 2, x_5); @@ -5774,7 +5973,7 @@ x_16 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_13, x_15); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -5792,7 +5991,7 @@ lean_inc(x_12); x_14 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_12, x_13); x_15 = lean_box(x_6); lean_inc(x_4); -x_16 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__2___boxed), 11, 10); +x_16 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__2___boxed), 11, 10); lean_closure_set(x_16, 0, x_3); lean_closure_set(x_16, 1, x_4); lean_closure_set(x_16, 2, x_12); @@ -5807,7 +6006,7 @@ x_17 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_14, x_16); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___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, uint8_t x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___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, uint8_t 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; @@ -5818,7 +6017,7 @@ x_11 = lean_ctor_get(x_1, 1); lean_inc(x_11); x_12 = lean_box(x_8); lean_inc(x_11); -x_13 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__3___boxed), 10, 9); +x_13 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__3___boxed), 10, 9); lean_closure_set(x_13, 0, x_9); lean_closure_set(x_13, 1, x_6); lean_closure_set(x_13, 2, x_1); @@ -5832,22 +6031,22 @@ x_14 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_10, x_13); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___boxed), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___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* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___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* x_10) { _start: { lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_11 = l_Lean_replaceRef(x_1, x_10); x_12 = 0; lean_inc(x_5); -x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12, x_9); +x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12, x_9); x_14 = lean_ctor_get(x_5, 1); lean_inc(x_14); lean_dec(x_5); @@ -5855,7 +6054,7 @@ x_15 = lean_apply_3(x_14, lean_box(0), x_11, x_13); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___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_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___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) { _start: { switch (lean_obj_tag(x_7)) { @@ -5865,7 +6064,7 @@ lean_object* x_9; lean_object* x_10; lean_dec(x_6); lean_dec(x_2); x_9 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___closed__3; -x_10 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg(x_1, x_3, x_4, x_5, x_7, x_9, x_8); +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__47___rarg(x_1, x_3, x_4, x_5, x_7, x_9, x_8); return x_10; } case 1: @@ -5874,7 +6073,7 @@ lean_object* x_11; lean_object* x_12; lean_dec(x_6); lean_dec(x_2); x_11 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___closed__3; -x_12 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__47___rarg(x_1, x_3, x_4, x_5, x_7, x_11, x_8); +x_12 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__49___rarg(x_1, x_3, x_4, x_5, x_7, x_11, x_8); return x_12; } case 2: @@ -5883,7 +6082,7 @@ lean_object* x_13; lean_object* x_14; lean_dec(x_6); lean_dec(x_2); x_13 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___closed__3; -x_14 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__49___rarg(x_1, x_3, x_4, x_5, x_7, x_13, x_8); +x_14 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg(x_1, x_3, x_4, x_5, x_7, x_13, x_8); return x_14; } default: @@ -5923,7 +6122,7 @@ x_22 = lean_ctor_get(x_4, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_1, 1); lean_inc(x_23); -x_24 = lean_alloc_closure((void*)(l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg___lambda__1___boxed), 10, 9); +x_24 = lean_alloc_closure((void*)(l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg___lambda__1___boxed), 10, 9); lean_closure_set(x_24, 0, x_7); lean_closure_set(x_24, 1, x_1); lean_closure_set(x_24, 2, x_2); @@ -5940,23 +6139,15 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg), 8, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg), 8, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_ScopedEnvExtension_activateScoped___rarg(x_1, x_3, x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___lambda__2(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__1(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_9) == 0) @@ -5987,12 +6178,12 @@ lean_inc(x_14); lean_dec(x_9); x_15 = 1; x_16 = lean_usize_add(x_2, x_15); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_16, x_14, x_8); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_16, x_14, x_8); return x_17; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -6022,7 +6213,7 @@ x_14 = lean_array_uget(x_5, x_7); x_15 = lean_ctor_get(x_1, 1); lean_inc(x_15); lean_inc(x_3); -x_16 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___lambda__1), 3, 2); +x_16 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___lambda__1), 3, 2); lean_closure_set(x_16, 0, x_14); lean_closure_set(x_16, 1, x_3); x_17 = lean_ctor_get(x_2, 1); @@ -6035,7 +6226,7 @@ lean_inc(x_4); x_20 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_18, x_19); x_21 = lean_box_usize(x_7); x_22 = lean_box_usize(x_6); -x_23 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___lambda__2___boxed), 9, 8); +x_23 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__1___boxed), 9, 8); lean_closure_set(x_23, 0, x_1); lean_closure_set(x_23, 1, x_21); lean_closure_set(x_23, 2, x_2); @@ -6049,30 +6240,15 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___boxed), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -lean_dec(x_1); -x_4 = lean_ctor_get(x_3, 1); -lean_inc(x_4); -lean_dec(x_3); -x_5 = lean_box(0); -x_6 = lean_apply_2(x_4, lean_box(0), x_5); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__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_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___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) { _start: { lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -6083,43 +6259,23 @@ x_9 = 0; x_10 = lean_box(0); lean_inc(x_4); lean_inc(x_1); -x_11 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg(x_1, x_2, x_3, x_4, x_6, x_8, x_9, x_10, x_5); -x_12 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1___boxed), 2, 1); +x_11 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg(x_1, x_2, x_3, x_4, x_6, x_8, x_9, x_10, x_5); +x_12 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1___boxed), 2, 1); lean_closure_set(x_12, 0, x_1); x_13 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_11, x_12); return x_13; } } -static lean_object* _init_l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_scopedEnvExtensionsRef; -return x_1; -} -} -static lean_object* _init_l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__1; -x_2 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(x_2, 0, lean_box(0)); -lean_closure_set(x_2, 1, lean_box(0)); -lean_closure_set(x_2, 2, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___rarg(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; lean_object* x_9; lean_object* x_10; -x_6 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__2; +x_6 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__2; x_7 = lean_apply_2(x_3, lean_box(0), x_6); x_8 = lean_ctor_get(x_1, 1); lean_inc(x_8); lean_inc(x_8); -x_9 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__2), 6, 5); +x_9 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___rarg___lambda__1), 6, 5); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_2); lean_closure_set(x_9, 2, x_4); @@ -6129,15 +6285,15 @@ x_10 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_7, x_9); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___rarg), 5, 0); return x_2; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___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_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___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) { _start: { if (lean_obj_tag(x_7) == 0) @@ -6166,12 +6322,12 @@ lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_7, 0); lean_inc(x_12); lean_dec(x_7); -x_13 = l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___rarg(x_1, x_2, x_3, x_4, x_5, x_12, x_6); +x_13 = l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg(x_1, x_2, x_3, x_4, x_5, x_12, x_6); return x_13; } } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___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_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___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: { if (lean_obj_tag(x_5) == 0) @@ -6205,13 +6361,13 @@ lean_inc(x_7); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_14 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg(x_1, x_2, x_3, x_11, x_7); +x_14 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___rarg(x_1, x_2, x_3, x_11, x_7); lean_inc(x_1); x_15 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__2___boxed), 2, 1); lean_closure_set(x_15, 0, x_1); lean_inc(x_4); x_16 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_14, x_15); -x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___rarg___lambda__1), 7, 6); +x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg___lambda__1), 7, 6); lean_closure_set(x_17, 0, x_1); lean_closure_set(x_17, 1, x_2); lean_closure_set(x_17, 2, x_3); @@ -6223,31 +6379,31 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55(lean_object* x_1) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___rarg), 7, 0); +x_2 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg), 7, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___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) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_7 = lean_box(0); lean_inc(x_4); lean_inc(x_1); -x_8 = l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__55___rarg(x_1, x_2, x_3, x_4, x_6, x_7, x_5); +x_8 = l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg(x_1, x_2, x_3, x_4, x_6, x_7, x_5); lean_inc(x_4); -x_9 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__2___boxed), 3, 2); +x_9 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__2___boxed), 3, 2); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_4); x_10 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_8, x_9); return x_10; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__2(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___lambda__2(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t x_10, lean_object* x_11, lean_object* x_12) { _start: { if (lean_obj_tag(x_12) == 0) @@ -6281,12 +6437,12 @@ lean_inc(x_17); lean_dec(x_12); x_18 = 1; x_19 = lean_usize_add(x_2, x_18); -x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19, x_17, x_11); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19, x_17, x_11); return x_20; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___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, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___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, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -6325,13 +6481,13 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_19 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_12); +x_19 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_12); lean_inc(x_12); lean_inc(x_7); lean_inc(x_6); lean_inc(x_2); lean_inc(x_1); -x_20 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__1), 6, 5); +x_20 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___lambda__1), 6, 5); lean_closure_set(x_20, 0, x_1); lean_closure_set(x_20, 1, x_2); lean_closure_set(x_20, 2, x_6); @@ -6341,7 +6497,7 @@ lean_inc(x_7); x_21 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_19, x_20); x_22 = lean_box_usize(x_10); x_23 = lean_box_usize(x_9); -x_24 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__2___boxed), 12, 11); +x_24 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___lambda__2___boxed), 12, 11); lean_closure_set(x_24, 0, x_1); lean_closure_set(x_24, 1, x_22); lean_closure_set(x_24, 2, x_2); @@ -6358,81 +6514,11 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___boxed), 12, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = lean_ctor_get(x_3, 0); -lean_inc(x_7); -lean_dec(x_3); -x_8 = lean_ctor_get(x_1, 1); -lean_inc(x_8); -lean_inc(x_8); -x_9 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5___rarg___lambda__3), 6, 5); -lean_closure_set(x_9, 0, x_4); -lean_closure_set(x_9, 1, x_5); -lean_closure_set(x_9, 2, x_1); -lean_closure_set(x_9, 3, x_8); -lean_closure_set(x_9, 4, x_2); -x_10 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_7, x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg___boxed), 6, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___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) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = l_Lean_replaceRef(x_1, x_8); -lean_inc(x_4); -x_10 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg(x_2, x_3, x_4, x_5, x_6, x_7); -x_11 = lean_ctor_get(x_4, 1); -lean_inc(x_11); -lean_dec(x_4); -x_12 = lean_apply_3(x_11, lean_box(0), x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___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; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_1, 1); -lean_inc(x_9); -x_10 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___lambda__1___boxed), 8, 7); -lean_closure_set(x_10, 0, x_5); -lean_closure_set(x_10, 1, x_1); -lean_closure_set(x_10, 2, x_2); -lean_closure_set(x_10, 3, x_3); -lean_closure_set(x_10, 4, x_4); -lean_closure_set(x_10, 5, x_6); -lean_closure_set(x_10, 6, x_7); -x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_8, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___boxed), 12, 0); return x_2; } } @@ -6604,7 +6690,77 @@ x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_elabO return x_2; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = l_Lean_replaceRef(x_1, x_8); +lean_inc(x_4); +x_10 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__65___rarg(x_2, x_3, x_4, x_5, x_6, x_7); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = lean_apply_3(x_11, lean_box(0), x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___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; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__1___boxed), 8, 7); +lean_closure_set(x_10, 0, x_5); +lean_closure_set(x_10, 1, x_1); +lean_closure_set(x_10, 2, x_2); +lean_closure_set(x_10, 3, x_3); +lean_closure_set(x_10, 4, x_4); +lean_closure_set(x_10, 5, x_6); +lean_closure_set(x_10, 6, x_7); +x_11 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_8, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_inc(x_8); +x_9 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_resolveId___spec__5___rarg___lambda__3), 6, 5); +lean_closure_set(x_9, 0, x_4); +lean_closure_set(x_9, 1, x_5); +lean_closure_set(x_9, 2, x_1); +lean_closure_set(x_9, 3, x_8); +lean_closure_set(x_9, 4, x_2); +x_10 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_7, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg___boxed), 6, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_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: { lean_object* x_12; lean_object* x_13; @@ -6655,7 +6811,7 @@ x_27 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_27, 0, x_26); x_28 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_28, 0, x_27); -x_29 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__65___rarg(x_4, x_8, x_9, x_10, x_28, x_6); +x_29 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg(x_4, x_8, x_9, x_10, x_28, x_6); x_30 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_OpenDecl_instMonadResolveNameM___spec__1___rarg___lambda__1), 3, 2); lean_closure_set(x_30, 0, x_13); lean_closure_set(x_30, 1, x_6); @@ -6687,7 +6843,7 @@ return x_37; } } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -6698,7 +6854,7 @@ lean_inc(x_2); x_13 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_3, x_12); x_14 = lean_box(x_6); lean_inc(x_2); -x_15 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__1___boxed), 11, 10); +x_15 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__1___boxed), 11, 10); lean_closure_set(x_15, 0, x_4); lean_closure_set(x_15, 1, x_11); lean_closure_set(x_15, 2, x_5); @@ -6713,7 +6869,7 @@ x_16 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_13, x_15); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -6731,7 +6887,7 @@ lean_inc(x_12); x_14 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_12, x_13); x_15 = lean_box(x_6); lean_inc(x_4); -x_16 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__2___boxed), 11, 10); +x_16 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__2___boxed), 11, 10); lean_closure_set(x_16, 0, x_3); lean_closure_set(x_16, 1, x_4); lean_closure_set(x_16, 2, x_12); @@ -6746,7 +6902,7 @@ x_17 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_14, x_16); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___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, uint8_t x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___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, uint8_t 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; @@ -6757,7 +6913,7 @@ x_11 = lean_ctor_get(x_1, 1); lean_inc(x_11); x_12 = lean_box(x_8); lean_inc(x_11); -x_13 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__3___boxed), 10, 9); +x_13 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__3___boxed), 10, 9); lean_closure_set(x_13, 0, x_9); lean_closure_set(x_13, 1, x_6); lean_closure_set(x_13, 2, x_1); @@ -6771,22 +6927,22 @@ x_14 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_10, x_13); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___boxed), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___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* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___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* x_10) { _start: { lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_11 = l_Lean_replaceRef(x_1, x_10); x_12 = 0; lean_inc(x_5); -x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12, x_9); +x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12, x_9); x_14 = lean_ctor_get(x_5, 1); lean_inc(x_14); lean_dec(x_5); @@ -6794,7 +6950,7 @@ x_15 = lean_apply_3(x_14, lean_box(0), x_11, x_13); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___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_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___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) { _start: { switch (lean_obj_tag(x_7)) { @@ -6804,7 +6960,7 @@ lean_object* x_9; lean_object* x_10; lean_dec(x_6); lean_dec(x_2); x_9 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___closed__3; -x_10 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg(x_1, x_3, x_4, x_5, x_7, x_9, x_8); +x_10 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__60___rarg(x_1, x_3, x_4, x_5, x_7, x_9, x_8); return x_10; } case 1: @@ -6813,7 +6969,7 @@ lean_object* x_11; lean_object* x_12; lean_dec(x_6); lean_dec(x_2); x_11 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___closed__3; -x_12 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__60___rarg(x_1, x_3, x_4, x_5, x_7, x_11, x_8); +x_12 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__62___rarg(x_1, x_3, x_4, x_5, x_7, x_11, x_8); return x_12; } case 2: @@ -6822,7 +6978,7 @@ lean_object* x_13; lean_object* x_14; lean_dec(x_6); lean_dec(x_2); x_13 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__8___rarg___closed__3; -x_14 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__62___rarg(x_1, x_3, x_4, x_5, x_7, x_13, x_8); +x_14 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg(x_1, x_3, x_4, x_5, x_7, x_13, x_8); return x_14; } default: @@ -6862,7 +7018,7 @@ x_22 = lean_ctor_get(x_4, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_1, 1); lean_inc(x_23); -x_24 = lean_alloc_closure((void*)(l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg___lambda__1___boxed), 10, 9); +x_24 = lean_alloc_closure((void*)(l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg___lambda__1___boxed), 10, 9); lean_closure_set(x_24, 0, x_7); lean_closure_set(x_24, 1, x_1); lean_closure_set(x_24, 2, x_2); @@ -6879,15 +7035,15 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg), 8, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg), 8, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg___lambda__1(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__1(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_9) == 0) @@ -6918,12 +7074,12 @@ lean_inc(x_14); lean_dec(x_9); x_15 = 1; x_16 = lean_usize_add(x_2, x_15); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_16, x_14, x_8); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_16, x_14, x_8); return x_17; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -6953,7 +7109,7 @@ x_14 = lean_array_uget(x_5, x_7); x_15 = lean_ctor_get(x_1, 1); lean_inc(x_15); lean_inc(x_3); -x_16 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___lambda__1), 3, 2); +x_16 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___lambda__1), 3, 2); lean_closure_set(x_16, 0, x_14); lean_closure_set(x_16, 1, x_3); x_17 = lean_ctor_get(x_2, 1); @@ -6966,7 +7122,7 @@ lean_inc(x_4); x_20 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_18, x_19); x_21 = lean_box_usize(x_7); x_22 = lean_box_usize(x_6); -x_23 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg___lambda__1___boxed), 9, 8); +x_23 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__1___boxed), 9, 8); lean_closure_set(x_23, 0, x_1); lean_closure_set(x_23, 1, x_21); lean_closure_set(x_23, 2, x_2); @@ -6980,15 +7136,15 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___boxed), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___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_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___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) { _start: { lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -6999,23 +7155,23 @@ x_9 = 0; x_10 = lean_box(0); lean_inc(x_4); lean_inc(x_1); -x_11 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg(x_1, x_2, x_3, x_4, x_6, x_8, x_9, x_10, x_5); -x_12 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1___boxed), 2, 1); +x_11 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg(x_1, x_2, x_3, x_4, x_6, x_8, x_9, x_10, x_5); +x_12 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1___boxed), 2, 1); lean_closure_set(x_12, 0, x_1); x_13 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_11, x_12); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg(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; lean_object* x_9; lean_object* x_10; -x_6 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__2; +x_6 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__2; x_7 = lean_apply_2(x_3, lean_box(0), x_6); x_8 = lean_ctor_get(x_1, 1); lean_inc(x_8); lean_inc(x_8); -x_9 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__1), 6, 5); +x_9 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg___lambda__1), 6, 5); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_2); lean_closure_set(x_9, 2, x_4); @@ -7025,27 +7181,27 @@ x_10 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_7, x_9); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg), 5, 0); return x_2; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___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_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___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) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_inc(x_1); -x_8 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg(x_1, x_2, x_3, x_4, x_5); +x_8 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg(x_1, x_2, x_3, x_4, x_5); x_9 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__2___boxed), 2, 1); lean_closure_set(x_9, 0, x_1); x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); return x_10; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg___lambda__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_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___rarg___lambda__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) { _start: { if (lean_obj_tag(x_7) == 0) @@ -7074,12 +7230,12 @@ lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_7, 0); lean_inc(x_12); lean_dec(x_7); -x_13 = l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg(x_1, x_2, x_3, x_4, x_5, x_12, x_6); +x_13 = l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___rarg(x_1, x_2, x_3, x_4, x_5, x_12, x_6); return x_13; } } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___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_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___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: { if (lean_obj_tag(x_5) == 0) @@ -7122,7 +7278,7 @@ lean_inc(x_7); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg___lambda__1___boxed), 7, 6); +x_17 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___rarg___lambda__1___boxed), 7, 6); lean_closure_set(x_17, 0, x_1); lean_closure_set(x_17, 1, x_2); lean_closure_set(x_17, 2, x_3); @@ -7131,7 +7287,7 @@ lean_closure_set(x_17, 4, x_7); lean_closure_set(x_17, 5, x_4); lean_inc(x_4); x_18 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_16, x_17); -x_19 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg___lambda__2), 7, 6); +x_19 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___rarg___lambda__2), 7, 6); lean_closure_set(x_19, 0, x_1); lean_closure_set(x_19, 1, x_2); lean_closure_set(x_19, 2, x_3); @@ -7143,31 +7299,31 @@ return x_20; } } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68(lean_object* x_1) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg), 7, 0); +x_2 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___rarg), 7, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___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) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_7 = lean_box(0); lean_inc(x_4); lean_inc(x_1); -x_8 = l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg(x_1, x_2, x_3, x_4, x_6, x_7, x_5); +x_8 = l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___rarg(x_1, x_2, x_3, x_4, x_6, x_7, x_5); lean_inc(x_4); -x_9 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__2___boxed), 3, 2); +x_9 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__2___boxed), 3, 2); lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_4); x_10 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_8, x_9); return x_10; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__2(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg___lambda__2(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t x_10, lean_object* x_11, lean_object* x_12) { _start: { if (lean_obj_tag(x_12) == 0) @@ -7201,12 +7357,12 @@ lean_inc(x_17); lean_dec(x_12); x_18 = 1; x_19 = lean_usize_add(x_2, x_18); -x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19, x_17, x_11); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19, x_17, x_11); return x_20; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___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, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___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, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -7245,13 +7401,13 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_19 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_12); +x_19 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_12); lean_inc(x_12); lean_inc(x_7); lean_inc(x_6); lean_inc(x_2); lean_inc(x_1); -x_20 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__1), 6, 5); +x_20 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg___lambda__1), 6, 5); lean_closure_set(x_20, 0, x_1); lean_closure_set(x_20, 1, x_2); lean_closure_set(x_20, 2, x_6); @@ -7261,7 +7417,7 @@ lean_inc(x_7); x_21 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_19, x_20); x_22 = lean_box_usize(x_10); x_23 = lean_box_usize(x_9); -x_24 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__2___boxed), 12, 11); +x_24 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg___lambda__2___boxed), 12, 11); lean_closure_set(x_24, 0, x_1); lean_closure_set(x_24, 1, x_22); lean_closure_set(x_24, 2, x_2); @@ -7278,11 +7434,11 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___boxed), 12, 0); +x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg___boxed), 12, 0); return x_2; } } @@ -7472,7 +7628,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__8(si _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33(x_1, x_2, x_3); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35(x_1, x_2, x_3); x_11 = lean_array_to_list(lean_box(0), x_10); x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_4); @@ -7495,38 +7651,65 @@ x_2 = lean_box_usize(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; size_t x_13; size_t 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; -x_12 = lean_array_get_size(x_1); -x_13 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_14 = 0; -x_15 = lean_box(0); -lean_inc(x_9); +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_array_get_size(x_1); +x_14 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_15 = 0; +x_16 = lean_box(0); +lean_inc(x_10); lean_inc(x_1); -lean_inc(x_11); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_11, x_1, x_13, x_14, x_15, x_9); -x_17 = lean_box_usize(x_13); -x_18 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9___boxed__const__1; +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1, x_14, x_15, x_16, x_10); +x_18 = lean_box_usize(x_14); +x_19 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9___boxed__const__1; lean_inc(x_8); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__8___boxed), 9, 8); -lean_closure_set(x_19, 0, x_17); -lean_closure_set(x_19, 1, x_18); -lean_closure_set(x_19, 2, x_1); -lean_closure_set(x_19, 3, x_11); -lean_closure_set(x_19, 4, x_7); -lean_closure_set(x_19, 5, x_9); -lean_closure_set(x_19, 6, x_10); -lean_closure_set(x_19, 7, x_8); -x_20 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_16, x_19); -return x_20; +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__8___boxed), 9, 8); +lean_closure_set(x_20, 0, x_18); +lean_closure_set(x_20, 1, x_19); +lean_closure_set(x_20, 2, x_1); +lean_closure_set(x_20, 3, x_9); +lean_closure_set(x_20, 4, x_7); +lean_closure_set(x_20, 5, x_10); +lean_closure_set(x_20, 6, x_11); +lean_closure_set(x_20, 7, x_8); +x_21 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_17, x_20); +return x_21; } } -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__10(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; lean_object* x_13; lean_object* x_14; +lean_inc(x_4); +lean_inc(x_11); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_12 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg(x_1, x_2, x_3, x_11, x_4); +lean_inc(x_9); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9___boxed), 12, 11); +lean_closure_set(x_13, 0, x_5); +lean_closure_set(x_13, 1, x_1); +lean_closure_set(x_13, 2, x_2); +lean_closure_set(x_13, 3, x_6); +lean_closure_set(x_13, 4, x_7); +lean_closure_set(x_13, 5, x_8); +lean_closure_set(x_13, 6, x_3); +lean_closure_set(x_13, 7, x_9); +lean_closure_set(x_13, 8, x_11); +lean_closure_set(x_13, 9, x_4); +lean_closure_set(x_13, 10, x_10); +x_14 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -7538,7 +7721,7 @@ x_16 = lean_box(0); lean_inc(x_10); lean_inc(x_9); lean_inc(x_2); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12, x_1, x_14, x_15, x_16, x_10); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12, x_1, x_14, x_15, x_16, x_10); lean_inc(x_9); x_18 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__6___boxed), 5, 4); lean_closure_set(x_18, 0, x_2); @@ -7549,7 +7732,7 @@ x_19 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_17, x_18); return x_19; } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__1() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__1() { _start: { lean_object* x_1; @@ -7557,19 +7740,19 @@ x_1 = lean_mk_string_from_bytes("openScoped", 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__2() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__2() { _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_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__1; x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__2; x_3 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__3; -x_4 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__1; +x_4 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__3() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__3() { _start: { lean_object* x_1; @@ -7577,19 +7760,19 @@ x_1 = lean_mk_string_from_bytes("openOnly", 8); return x_1; } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__4() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__4() { _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_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__1; x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__2; x_3 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__3; -x_4 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__3; +x_4 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__3; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__5() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__5() { _start: { lean_object* x_1; @@ -7597,19 +7780,19 @@ x_1 = lean_mk_string_from_bytes("openHiding", 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__6() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___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_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__1; x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__2; x_3 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__3; -x_4 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__5; +x_4 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__5; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__7() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__7() { _start: { lean_object* x_1; @@ -7617,19 +7800,19 @@ x_1 = lean_mk_string_from_bytes("openRenaming", 12); return x_1; } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__8() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__8() { _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_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__1; x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__2; x_3 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__3; -x_4 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__7; +x_4 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__7; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__9() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__9() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; @@ -7642,7 +7825,7 @@ lean_ctor_set(x_4, 1, x_2); return x_4; } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__10() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__10() { _start: { lean_object* x_1; @@ -7650,7 +7833,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lamb return x_1; } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___boxed__const__1() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___boxed__const__1() { _start: { size_t x_1; lean_object* x_2; @@ -7659,7 +7842,7 @@ x_2 = lean_box_usize(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -7675,26 +7858,26 @@ lean_closure_set(x_13, 3, x_3); if (x_4 == 0) { lean_object* x_14; uint8_t x_15; -x_14 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__2; +x_14 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__2; lean_inc(x_5); x_15 = l_Lean_Syntax_isOfKind(x_5, x_14); if (x_15 == 0) { lean_object* x_16; uint8_t x_17; -x_16 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__4; +x_16 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__4; lean_inc(x_5); x_17 = l_Lean_Syntax_isOfKind(x_5, x_16); if (x_17 == 0) { lean_object* x_18; uint8_t x_19; lean_dec(x_11); -x_18 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__6; +x_18 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__6; lean_inc(x_5); x_19 = l_Lean_Syntax_isOfKind(x_5, x_18); if (x_19 == 0) { lean_object* x_20; uint8_t x_21; -x_20 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__8; +x_20 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__8; lean_inc(x_5); x_21 = l_Lean_Syntax_isOfKind(x_5, x_20); if (x_21 == 0) @@ -7755,7 +7938,7 @@ size_t x_55; size_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_5 x_55 = 0; x_56 = lean_usize_of_nat(x_31); lean_dec(x_31); -x_57 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__9; +x_57 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__9; x_58 = l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(x_30, x_55, x_56, x_57); lean_dec(x_30); x_59 = lean_ctor_get(x_58, 1); @@ -7768,7 +7951,7 @@ goto block_51; block_51: { lean_object* x_34; lean_object* x_35; -x_34 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__10; +x_34 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__10; x_35 = l_Array_sequenceMap___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__2(x_33, x_34); lean_dec(x_33); if (lean_obj_tag(x_35) == 0) @@ -7810,7 +7993,7 @@ lean_inc(x_6); lean_inc(x_8); lean_inc(x_2); x_46 = l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__7___rarg(x_2, x_8, x_6, x_9, x_10, x_1, x_27, x_12); -x_47 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___boxed__const__1; +x_47 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___boxed__const__1; lean_inc(x_3); x_48 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__7___boxed), 13, 12); lean_closure_set(x_48, 0, x_45); @@ -7852,16 +8035,16 @@ lean_inc(x_8); lean_inc(x_2); x_65 = l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__20___rarg(x_2, x_8, x_6, x_9, x_10, x_1, x_61, x_12); lean_inc(x_3); -x_66 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9), 11, 10); -lean_closure_set(x_66, 0, x_64); -lean_closure_set(x_66, 1, x_2); -lean_closure_set(x_66, 2, x_8); -lean_closure_set(x_66, 3, x_6); -lean_closure_set(x_66, 4, x_9); -lean_closure_set(x_66, 5, x_10); -lean_closure_set(x_66, 6, x_1); -lean_closure_set(x_66, 7, x_3); -lean_closure_set(x_66, 8, x_12); +x_66 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__10), 11, 10); +lean_closure_set(x_66, 0, x_2); +lean_closure_set(x_66, 1, x_8); +lean_closure_set(x_66, 2, x_1); +lean_closure_set(x_66, 3, x_12); +lean_closure_set(x_66, 4, x_64); +lean_closure_set(x_66, 5, x_6); +lean_closure_set(x_66, 6, x_9); +lean_closure_set(x_66, 7, x_10); +lean_closure_set(x_66, 8, x_3); lean_closure_set(x_66, 9, x_7); lean_inc(x_3); x_67 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_65, x_66); @@ -7886,9 +8069,9 @@ lean_inc(x_9); lean_inc(x_6); lean_inc(x_8); lean_inc(x_2); -x_74 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg(x_2, x_8, x_6, x_9, x_10, x_1, x_70, x_12); +x_74 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg(x_2, x_8, x_6, x_9, x_10, x_1, x_70, x_12); lean_inc(x_3); -x_75 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__10), 12, 11); +x_75 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11), 12, 11); lean_closure_set(x_75, 0, x_73); lean_closure_set(x_75, 1, x_2); lean_closure_set(x_75, 2, x_8); @@ -7923,7 +8106,7 @@ x_84 = lean_box(0); lean_inc(x_12); lean_inc(x_3); lean_inc(x_2); -x_85 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg(x_2, x_8, x_6, x_9, x_10, x_1, x_3, x_80, x_82, x_83, x_84, x_12); +x_85 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg(x_2, x_8, x_6, x_9, x_10, x_1, x_3, x_80, x_82, x_83, x_84, x_12); lean_inc(x_3); x_86 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__6___boxed), 5, 4); lean_closure_set(x_86, 0, x_2); @@ -7953,7 +8136,7 @@ x_95 = lean_box(0); lean_inc(x_12); lean_inc(x_3); lean_inc(x_2); -x_96 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg(x_2, x_8, x_6, x_9, x_10, x_1, x_3, x_91, x_93, x_94, x_95, x_12); +x_96 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg(x_2, x_8, x_6, x_9, x_10, x_1, x_3, x_91, x_93, x_94, x_95, x_12); lean_inc(x_3); x_97 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__6___boxed), 5, 4); lean_closure_set(x_97, 0, x_2); @@ -7967,7 +8150,7 @@ return x_99; } } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__1() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13___closed__1() { _start: { lean_object* x_1; @@ -7975,19 +8158,19 @@ x_1 = lean_mk_string_from_bytes("openSimple", 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__2() { +static lean_object* _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13___closed__2() { _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_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__1; x_2 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__2; x_3 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__3; -x_4 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__1; +x_4 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13(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; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -7998,7 +8181,7 @@ x_12 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lam lean_closure_set(x_12, 0, x_1); lean_closure_set(x_12, 1, x_2); lean_closure_set(x_12, 2, x_3); -x_13 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__2; +x_13 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13___closed__2; lean_inc(x_4); x_14 = l_Lean_Syntax_isOfKind(x_4, x_13); x_15 = lean_alloc_ctor(0, 2, 0); @@ -8032,7 +8215,7 @@ block_24: lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_20 = lean_box(x_19); lean_inc(x_3); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___boxed), 12, 11); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___boxed), 12, 11); lean_closure_set(x_21, 0, x_1); lean_closure_set(x_21, 1, x_2); lean_closure_set(x_21, 2, x_3); @@ -8051,7 +8234,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__14(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; lean_object* x_13; lean_object* x_14; @@ -8059,7 +8242,7 @@ x_12 = lean_ctor_get(x_1, 0); lean_inc(x_12); lean_dec(x_1); lean_inc(x_4); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12), 11, 10); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13), 11, 10); lean_closure_set(x_13, 0, x_2); lean_closure_set(x_13, 1, x_3); lean_closure_set(x_13, 2, x_4); @@ -8083,7 +8266,7 @@ lean_inc(x_10); x_11 = lean_ctor_get(x_8, 1); lean_inc(x_11); lean_inc(x_10); -x_12 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13), 11, 10); +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__14), 11, 10); lean_closure_set(x_12, 0, x_8); lean_closure_set(x_12, 1, x_6); lean_closure_set(x_12, 2, x_1); @@ -8512,25 +8695,58 @@ lean_dec(x_6); return x_8; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___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: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg___lambda__2(x_1, x_10, x_3, x_4, x_5, x_6, x_11, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___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* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_11 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___rarg(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1(x_1, x_2); +x_3 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__1(x_1, x_2); lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__2(x_1, x_2, x_3); +x_4 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__2(x_1, x_2, x_3); lean_dec(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { size_t x_14; size_t x_15; lean_object* x_16; @@ -8538,11 +8754,11 @@ x_14 = lean_unbox_usize(x_2); lean_dec(x_2); x_15 = lean_unbox_usize(x_11); lean_dec(x_11); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___lambda__3(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15, x_12, x_13); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__3(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15, x_12, x_13); return x_16; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___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* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___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* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { size_t x_14; size_t x_15; lean_object* x_16; @@ -8550,11 +8766,11 @@ x_14 = lean_unbox_usize(x_10); lean_dec(x_10); x_15 = lean_unbox_usize(x_11); lean_dec(x_11); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14, x_15, x_12, x_13); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14, x_15, x_12, x_13); return x_16; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -8562,30 +8778,10 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__38___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) { _start: { @@ -8635,58 +8831,78 @@ lean_dec(x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_5); lean_dec(x_5); -x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__1(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__1(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___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, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___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, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_6); lean_dec(x_6); -x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10, x_11); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___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: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_6); lean_dec(x_6); -x_12 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +x_12 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___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* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___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* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_8); lean_dec(x_8); -x_11 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__41___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_9); +x_11 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__34___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__36___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_10); lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { size_t x_15; size_t x_16; lean_object* x_17; @@ -8694,11 +8910,11 @@ x_15 = lean_unbox_usize(x_2); lean_dec(x_2); x_16 = lean_unbox_usize(x_12); lean_dec(x_12); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg___lambda__1(x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16, x_13, x_14); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___lambda__1(x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16, x_13, x_14); return x_17; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___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* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___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* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { size_t x_15; size_t x_16; lean_object* x_17; @@ -8706,30 +8922,10 @@ x_15 = lean_unbox_usize(x_11); lean_dec(x_11); x_16 = lean_unbox_usize(x_12); lean_dec(x_12); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__43___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15, x_16, x_13, x_14); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15, x_16, x_13, x_14); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__45___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__48___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) { _start: { @@ -8779,58 +8975,78 @@ lean_dec(x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_5); lean_dec(x_5); -x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__1(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___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, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___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, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_6); lean_dec(x_6); -x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10, x_11); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___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: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_6); lean_dec(x_6); -x_12 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +x_12 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___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* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___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* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_8); lean_dec(x_8); -x_11 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__51___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_9); +x_11 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__44___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__46___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_10); lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___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) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { size_t x_10; size_t x_11; lean_object* x_12; @@ -8838,11 +9054,11 @@ x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_7); lean_dec(x_7); -x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg___lambda__2(x_1, x_10, x_3, x_4, x_5, x_6, x_11, x_8, x_9); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__1(x_1, x_10, x_3, x_4, x_5, x_6, x_11, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___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* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___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* x_8, lean_object* x_9) { _start: { size_t x_10; size_t x_11; lean_object* x_12; @@ -8850,20 +9066,11 @@ x_10 = lean_unbox_usize(x_6); lean_dec(x_6); x_11 = lean_unbox_usize(x_7); lean_dec(x_7); -x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__54___rarg(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_8, x_9); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___lambda__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; @@ -8871,11 +9078,11 @@ x_13 = lean_unbox_usize(x_2); lean_dec(x_2); x_14 = lean_unbox_usize(x_10); lean_dec(x_10); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg___lambda__2(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___lambda__2(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14, x_11, x_12); return x_15; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___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* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___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* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; @@ -8883,30 +9090,10 @@ x_13 = lean_unbox_usize(x_9); lean_dec(x_9); x_14 = lean_unbox_usize(x_10); lean_dec(x_10); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__56___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13, x_14, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13, x_14, x_11, x_12); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__58___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__61___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) { _start: { @@ -8956,58 +9143,78 @@ lean_dec(x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwErrorAt___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_5); lean_dec(x_5); -x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__1(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__1(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___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, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___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, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_6); lean_dec(x_6); -x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10, x_11); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___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: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_6); lean_dec(x_6); -x_12 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +x_12 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___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* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___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* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_8); lean_dec(x_8); -x_11 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__64___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_9); +x_11 = l_Lean_resolveNamespaceCore___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__66___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__57___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_resolveNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__59___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_10); lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { size_t x_10; size_t x_11; lean_object* x_12; @@ -9015,11 +9222,11 @@ x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_7); lean_dec(x_7); -x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg___lambda__1(x_1, x_10, x_3, x_4, x_5, x_6, x_11, x_8, x_9); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__1(x_1, x_10, x_3, x_4, x_5, x_6, x_11, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___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* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___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* x_8, lean_object* x_9) { _start: { size_t x_10; size_t x_11; lean_object* x_12; @@ -9027,20 +9234,20 @@ x_10 = lean_unbox_usize(x_6); lean_dec(x_6); x_11 = lean_unbox_usize(x_7); lean_dec(x_7); -x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__67___rarg(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_8, x_9); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg(x_1, x_2, x_3, x_4, x_5, x_10, x_11, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___rarg___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_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__68___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_List_forIn_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__70___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg___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, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; @@ -9048,11 +9255,11 @@ x_13 = lean_unbox_usize(x_2); lean_dec(x_2); x_14 = lean_unbox_usize(x_10); lean_dec(x_10); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg___lambda__2(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg___lambda__2(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14, x_11, x_12); return x_15; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___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* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___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* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; @@ -9060,7 +9267,7 @@ x_13 = lean_unbox_usize(x_9); lean_dec(x_9); x_14 = lean_unbox_usize(x_10); lean_dec(x_10); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__69___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13, x_14, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__71___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13, x_14, x_11, x_12); return x_15; } } @@ -9107,13 +9314,22 @@ lean_dec(x_9); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_4); lean_dec(x_4); -x_14 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } @@ -9303,10 +9519,10 @@ l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__7___r lean_mark_persistent(l_Lean_resolveUniqueNamespace___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__7___rarg___lambda__1___closed__2); l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__2___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__19___rarg___lambda__2___closed__1); -l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__1 = _init_l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__1(); -lean_mark_persistent(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__1); -l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__2 = _init_l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__2(); -lean_mark_persistent(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__53___rarg___closed__2); +l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__1 = _init_l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__1(); +lean_mark_persistent(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__1); +l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__2 = _init_l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__2(); +lean_mark_persistent(l_Lean_activateScoped___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__32___rarg___closed__2); l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__1(); lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__1); l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__2 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__2(); @@ -9319,32 +9535,32 @@ l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__5 = _init_l_Lean_ lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__5___closed__5); l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9___boxed__const__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__9___boxed__const__1); -l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__1(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__1); -l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__2 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__2(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__2); -l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__3 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__3(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__3); -l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__4 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__4(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__4); -l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__5 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__5(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__5); -l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__6 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__6(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__6); -l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__7 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__7(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__7); -l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__8 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__8(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__8); -l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__9 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__9(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__9); -l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__10 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__10(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___closed__10); -l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___boxed__const__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___boxed__const__1(); -lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__11___boxed__const__1); l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__1(); lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__1); l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__2 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__2(); lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__2); +l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__3 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__3(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__3); +l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__4 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__4(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__4); +l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__5 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__5(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__5); +l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__6 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__6(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__6); +l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__7 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__7(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__7); +l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__8 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__8(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__8); +l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__9 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__9(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__9); +l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__10 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__10(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___closed__10); +l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___boxed__const__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___boxed__const__1(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__12___boxed__const__1); +l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13___closed__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13___closed__1(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13___closed__1); +l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13___closed__2 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13___closed__2(); +lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___rarg___lambda__13___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c index adc12cbbf6..e519c5d255 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c @@ -50,6 +50,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___s lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_isMatcherAppCore_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Eqns_mkUnfoldProof___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -487,7 +488,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldProof___lambda__1(lean_object* lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_set___at_Lean_Elab_Eqns_tryURefl___spec__1(lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__35___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__31(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__32___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__33(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -5219,7 +5219,7 @@ x_126 = l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__9; x_127 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_127, 0, x_125); lean_ctor_set(x_127, 1, x_126); -x_128 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_127, x_7, x_8, x_9, x_10, x_122); +x_128 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_127, x_7, x_8, x_9, x_10, x_122); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -5336,7 +5336,7 @@ x_158 = l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__9; x_159 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_159, 0, x_157); lean_ctor_set(x_159, 1, x_158); -x_160 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_159, x_7, x_8, x_9, x_10, x_154); +x_160 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_159, x_7, x_8, x_9, x_10, x_154); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c index bc0dddbbe6..1c9655d48c 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c @@ -47,6 +47,7 @@ uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__31___lambda__2___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__12___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__19___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__36___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*); @@ -361,7 +362,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_PreDef lean_object* l_Lean_Elab_ensureNoRecFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__36___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_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__10(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__38___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_brecOnSuffix; lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -1871,7 +1871,7 @@ x_25 = l___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Struct x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_26, x_7, x_8, x_9, x_10, x_11); +x_27 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_26, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c index 5a9287bedf..570fc27af9 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c @@ -34,6 +34,7 @@ lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_ static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_tryToFoldLHS_x3f___lambda__2___closed__2; uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simpMatchCore_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_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_3787____closed__4; static lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_tryToFoldLHS_x3f___spec__1___closed__1; @@ -241,7 +242,6 @@ static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_3787____closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_deltaLHSUntilFix___lambda__1___closed__8; lean_object* l_Lean_Option_set___at_Lean_Elab_Eqns_tryURefl___spec__1(lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_decodePackedArg_x3f_decodePSigma___closed__3; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_WF_simpMatchWF_x3f_pre___spec__1(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_WF_simpMatchWF_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4603,7 +4603,7 @@ x_33 = l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_tryToFoldWell x_34 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_34, 0, x_32); lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_34, x_4, x_5, x_6, x_7, x_11); +x_35 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_34, x_4, x_5, x_6, x_7, x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackDomain.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackDomain.c index 4a3ed53256..b7beddcda2 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackDomain.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackDomain.c @@ -30,6 +30,7 @@ lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_WF_packDomain_packApplications_visit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_mkUnaryArg_go___closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_packDomain_packApplications_visit___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_mkUnaryArg_go___closed__8; @@ -204,7 +205,6 @@ static lean_object* l_Lean_Elab_WF_packDomain___closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_packDomain___spec__4___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_WF_packDomain_isAppOfPreDef_x3f___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_packDomain_isAppOfPreDef_x3f(lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_packDomain___spec__2___lambda__3___closed__1; lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Lean_Elab_WF_mkUnaryArg_go___closed__10; @@ -14608,7 +14608,7 @@ x_19 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_packDomain___spec__2___lambda_ x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_20, x_6, x_7, x_8, x_9, x_10); +x_21 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_20, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -14782,7 +14782,7 @@ x_9 = lean_ctor_get(x_5, 5); x_10 = l_Lean_replaceRef(x_1, x_9); lean_dec(x_9); lean_ctor_set(x_5, 5, x_10); -x_11 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_2, x_3, x_4, x_5, x_6, x_7); +x_11 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_5); return x_11; } @@ -14826,7 +14826,7 @@ lean_ctor_set(x_24, 7, x_19); lean_ctor_set(x_24, 8, x_20); lean_ctor_set(x_24, 9, x_21); lean_ctor_set(x_24, 10, x_22); -x_25 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_2, x_3, x_4, x_24, x_6, x_7); +x_25 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_2, x_3, x_4, x_24, x_6, x_7); lean_dec(x_24); return x_25; } diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index edcf9ec0c2..b529749f4d 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -90,6 +90,7 @@ lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo__ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldKind____x40_Lean_Elab_Structure___hyg_345____closed__12; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go___spec__2___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withUsed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabStructure___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -359,7 +360,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Stru static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_4601____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkProjections___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabStructure___lambda__4___boxed(lean_object**); @@ -692,6 +693,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_ex LEAN_EXPORT lean_object* l_Lean_Elab_Command_StructFieldKind_noConfusion(lean_object*); lean_object* l_Lean_Name_beq___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__17___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_findDocString_x3f(lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getDocStringText___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__3; @@ -805,7 +807,7 @@ static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f_go_x3f___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__5___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_16145_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_16200_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_4601_(lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); @@ -866,7 +868,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0_ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent___closed__2; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_588____closed__9; -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__2; @@ -10339,7 +10340,7 @@ x_74 = l_Lean_getDocStringText___at___private_Lean_Elab_Structure_0__Lean_Elab_C x_75 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_75, 0, x_73); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_75, x_4, x_5, x_6, x_7, x_70); +x_76 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_75, x_4, x_5, x_6, x_7, x_70); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -10783,7 +10784,7 @@ x_33 = l_Lean_getDocStringText___at___private_Lean_Elab_Structure_0__Lean_Elab_C x_34 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_34, 0, x_32); lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_34, x_5, x_6, x_7, x_8, x_21); +x_35 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_34, x_5, x_6, x_7, x_8, x_21); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -12271,7 +12272,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__2; -x_3 = lean_unsigned_to_nat(449u); +x_3 = lean_unsigned_to_nat(450u); x_4 = lean_unsigned_to_nat(68u); x_5 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -12502,55 +12503,81 @@ x_2 = lean_alloc_closure((void*)(l_panic___at___private_Lean_Elab_Structure_0__L return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___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* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___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* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { _start: { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_inc(x_2); -x_21 = l_Lean_Name_append(x_1, x_2); -x_22 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_toVisibility(x_3, x_18, x_19, x_20); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +x_22 = l_Lean_Name_append(x_1, x_2); +x_23 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_toVisibility(x_3, x_19, x_20, x_21); +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_unbox(x_23); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); lean_dec(x_23); +x_26 = lean_unbox(x_24); +lean_dec(x_24); +lean_inc(x_20); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); -lean_inc(x_14); -x_26 = l_Lean_Elab_applyVisibility___at_Lean_Elab_Term_expandDeclId___spec__5(x_25, x_21, x_14, x_15, x_16, x_17, x_18, x_19, x_24); -if (lean_obj_tag(x_26) == 0) +x_27 = l_Lean_Elab_applyVisibility___at_Lean_Elab_Term_expandDeclId___spec__5(x_26, x_22, x_15, x_16, x_17, x_18, x_19, x_20, x_25); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_27; lean_object* x_28; uint8_t 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_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +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; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t 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; +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec(x_26); -x_29 = 1; -lean_inc(x_13); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_st_ref_get(x_20, x_29); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_31, 0); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_st_ref_get(x_20, x_32); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = 1; +x_37 = l_Lean_findDocString_x3f(x_33, x_4, x_36, x_35); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +lean_inc(x_28); +x_40 = l_Lean_addDocString_x27___at_Lean_Elab_Term_expandDeclId___spec__8(x_28, x_38, x_15, x_16, x_17, x_18, x_19, x_20, x_39); +x_41 = lean_ctor_get(x_40, 1); +lean_inc(x_41); +lean_dec(x_40); +x_42 = 1; +lean_inc(x_14); lean_inc(x_2); -x_30 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_30, 0, x_2); -lean_ctor_set(x_30, 1, x_27); -lean_ctor_set(x_30, 2, x_13); -lean_ctor_set(x_30, 3, x_4); -lean_ctor_set_uint8(x_30, sizeof(void*)*4, x_29); -x_31 = lean_array_push(x_5, x_30); -x_32 = lean_unsigned_to_nat(1u); -x_33 = lean_nat_add(x_6, x_32); -lean_dec(x_6); -x_34 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_7, x_2, x_13); -x_35 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg(x_1, x_8, x_9, x_10, x_11, x_33, x_31, x_34, x_12, x_14, x_15, x_16, x_17, x_18, x_19, x_28); -return x_35; +x_43 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_43, 0, x_2); +lean_ctor_set(x_43, 1, x_28); +lean_ctor_set(x_43, 2, x_14); +lean_ctor_set(x_43, 3, x_5); +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_42); +x_44 = lean_array_push(x_6, x_43); +x_45 = lean_unsigned_to_nat(1u); +x_46 = lean_nat_add(x_7, x_45); +lean_dec(x_7); +x_47 = l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(x_8, x_2, x_14); +x_48 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg(x_1, x_9, x_10, x_11, x_12, x_46, x_44, x_47, x_13, x_15, x_16, x_17, x_18, x_19, x_20, x_41); +return x_48; } else { -uint8_t x_36; +uint8_t x_49; +lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -12569,23 +12596,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_36 = !lean_is_exclusive(x_26); -if (x_36 == 0) +x_49 = !lean_is_exclusive(x_27); +if (x_49 == 0) { -return x_26; +return x_27; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_26, 0); -x_38 = lean_ctor_get(x_26, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_26); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_27, 0); +x_51 = lean_ctor_get(x_27, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_27); +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; } } } @@ -12918,8 +12945,10 @@ x_40 = lean_ctor_get(x_39, 2); lean_inc(x_40); if (lean_obj_tag(x_40) == 0) { -uint8_t x_41; lean_object* x_42; -x_41 = lean_ctor_get_uint8(x_39, sizeof(void*)*4); +lean_object* x_41; uint8_t x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +x_42 = lean_ctor_get_uint8(x_39, sizeof(void*)*4); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -12928,36 +12957,38 @@ lean_inc(x_10); lean_inc(x_27); lean_inc(x_4); lean_inc(x_9); -x_42 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f(x_8, x_9, x_4, x_27, x_10, x_11, x_12, x_13, x_14, x_15, x_34); -if (lean_obj_tag(x_42) == 0) +x_43 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f(x_8, x_9, x_4, x_27, x_10, x_11, x_12, x_13, x_14, x_15, x_34); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); -lean_dec(x_42); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); lean_inc(x_27); -x_45 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__1___boxed), 20, 12); -lean_closure_set(x_45, 0, x_1); -lean_closure_set(x_45, 1, x_27); -lean_closure_set(x_45, 2, x_39); -lean_closure_set(x_45, 3, x_43); -lean_closure_set(x_45, 4, x_7); -lean_closure_set(x_45, 5, x_6); -lean_closure_set(x_45, 6, x_8); -lean_closure_set(x_45, 7, x_2); -lean_closure_set(x_45, 8, x_3); -lean_closure_set(x_45, 9, x_4); -lean_closure_set(x_45, 10, x_5); -lean_closure_set(x_45, 11, x_9); -x_46 = 0; -x_47 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg(x_27, x_41, x_29, x_45, x_46, x_10, x_11, x_12, x_13, x_14, x_15, x_44); -return x_47; +x_46 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__1___boxed), 21, 13); +lean_closure_set(x_46, 0, x_1); +lean_closure_set(x_46, 1, x_27); +lean_closure_set(x_46, 2, x_39); +lean_closure_set(x_46, 3, x_41); +lean_closure_set(x_46, 4, x_44); +lean_closure_set(x_46, 5, x_7); +lean_closure_set(x_46, 6, x_6); +lean_closure_set(x_46, 7, x_8); +lean_closure_set(x_46, 8, x_2); +lean_closure_set(x_46, 9, x_3); +lean_closure_set(x_46, 10, x_4); +lean_closure_set(x_46, 11, x_5); +lean_closure_set(x_46, 12, x_9); +x_47 = 0; +x_48 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg(x_27, x_42, x_29, x_46, x_47, x_10, x_11, x_12, x_13, x_14, x_15, x_45); +return x_48; } else { -uint8_t x_48; +uint8_t x_49; +lean_dec(x_41); lean_dec(x_39); lean_dec(x_29); lean_dec(x_27); @@ -12976,115 +13007,115 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_48 = !lean_is_exclusive(x_42); -if (x_48 == 0) +x_49 = !lean_is_exclusive(x_43); +if (x_49 == 0) { -return x_42; +return x_43; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_42, 0); -x_50 = lean_ctor_get(x_42, 1); +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_inc(x_51); lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_42); -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; +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; } } } else { -lean_object* x_52; uint8_t x_53; lean_object* x_54; +lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_dec(x_40); -x_52 = lean_ctor_get(x_39, 0); -lean_inc(x_52); -x_53 = lean_ctor_get_uint8(x_39, sizeof(void*)*4); +x_53 = lean_ctor_get(x_39, 0); +lean_inc(x_53); +x_54 = lean_ctor_get_uint8(x_39, sizeof(void*)*4); lean_dec(x_39); lean_inc(x_29); -x_54 = l_Lean_Meta_getStructureName(x_29, x_12, x_13, x_14, x_15, x_34); -if (lean_obj_tag(x_54) == 0) +x_55 = l_Lean_Meta_getStructureName(x_29, x_12, x_13, x_14, x_15, x_34); +if (lean_obj_tag(x_55) == 0) { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); -lean_dec(x_54); -lean_inc(x_55); -x_57 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findExistingField_x3f(x_7, x_55, x_14, x_15, x_56); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -if (lean_obj_tag(x_58) == 0) -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; -lean_dec(x_27); -x_59 = lean_ctor_get(x_57, 1); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +lean_inc(x_56); +x_58 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findExistingField_x3f(x_7, x_56, x_14, x_15, x_57); +x_59 = lean_ctor_get(x_58, 0); lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_st_ref_get(x_15, x_59); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; +lean_dec(x_27); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = lean_st_ref_get(x_15, x_60); +x_62 = lean_ctor_get(x_61, 0); lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_ctor_get(x_61, 0); +x_63 = lean_ctor_get(x_61, 1); lean_inc(x_63); lean_dec(x_61); -x_64 = 1; -lean_inc(x_55); -x_65 = l_Lean_getStructureFieldsFlattened(x_63, x_55, x_64); -lean_inc(x_52); -x_66 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__3___boxed), 20, 12); -lean_closure_set(x_66, 0, x_1); -lean_closure_set(x_66, 1, x_52); -lean_closure_set(x_66, 2, x_7); -lean_closure_set(x_66, 3, x_6); -lean_closure_set(x_66, 4, x_8); -lean_closure_set(x_66, 5, x_2); -lean_closure_set(x_66, 6, x_3); -lean_closure_set(x_66, 7, x_4); -lean_closure_set(x_66, 8, x_5); -lean_closure_set(x_66, 9, x_9); -lean_closure_set(x_66, 10, x_55); -lean_closure_set(x_66, 11, x_65); -x_67 = 0; -x_68 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg(x_52, x_53, x_29, x_66, x_67, x_10, x_11, x_12, x_13, x_14, x_15, x_62); -return x_68; +x_64 = lean_ctor_get(x_62, 0); +lean_inc(x_64); +lean_dec(x_62); +x_65 = 1; +lean_inc(x_56); +x_66 = l_Lean_getStructureFieldsFlattened(x_64, x_56, x_65); +lean_inc(x_53); +x_67 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__3___boxed), 20, 12); +lean_closure_set(x_67, 0, x_1); +lean_closure_set(x_67, 1, x_53); +lean_closure_set(x_67, 2, x_7); +lean_closure_set(x_67, 3, x_6); +lean_closure_set(x_67, 4, x_8); +lean_closure_set(x_67, 5, x_2); +lean_closure_set(x_67, 6, x_3); +lean_closure_set(x_67, 7, x_4); +lean_closure_set(x_67, 8, x_5); +lean_closure_set(x_67, 9, x_9); +lean_closure_set(x_67, 10, x_56); +lean_closure_set(x_67, 11, x_66); +x_68 = 0; +x_69 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg(x_53, x_54, x_29, x_67, x_68, x_10, x_11, x_12, x_13, x_14, x_15, x_63); +return x_69; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_dec(x_59); +lean_dec(x_53); +x_70 = lean_ctor_get(x_58, 1); +lean_inc(x_70); lean_dec(x_58); -lean_dec(x_52); -x_69 = lean_ctor_get(x_57, 1); -lean_inc(x_69); -lean_dec(x_57); -x_70 = lean_box(0); -x_71 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_9, x_55, x_70); +x_71 = lean_box(0); +x_72 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_9, x_56, x_71); lean_inc(x_1); lean_inc(x_29); -x_72 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__4___boxed), 19, 9); -lean_closure_set(x_72, 0, x_29); -lean_closure_set(x_72, 1, x_6); -lean_closure_set(x_72, 2, x_8); -lean_closure_set(x_72, 3, x_27); -lean_closure_set(x_72, 4, x_1); -lean_closure_set(x_72, 5, x_2); -lean_closure_set(x_72, 6, x_3); -lean_closure_set(x_72, 7, x_4); -lean_closure_set(x_72, 8, x_5); -x_73 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields___rarg(x_1, x_7, x_71, x_29, x_72, x_10, x_11, x_12, x_13, x_14, x_15, x_69); -return x_73; +x_73 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__4___boxed), 19, 9); +lean_closure_set(x_73, 0, x_29); +lean_closure_set(x_73, 1, x_6); +lean_closure_set(x_73, 2, x_8); +lean_closure_set(x_73, 3, x_27); +lean_closure_set(x_73, 4, x_1); +lean_closure_set(x_73, 5, x_2); +lean_closure_set(x_73, 6, x_3); +lean_closure_set(x_73, 7, x_4); +lean_closure_set(x_73, 8, x_5); +x_74 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields___rarg(x_1, x_7, x_72, x_29, x_73, x_10, x_11, x_12, x_13, x_14, x_15, x_70); +return x_74; } } else { -uint8_t x_74; -lean_dec(x_52); +uint8_t x_75; +lean_dec(x_53); lean_dec(x_29); lean_dec(x_27); lean_dec(x_15); @@ -13102,23 +13133,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_74 = !lean_is_exclusive(x_54); -if (x_74 == 0) +x_75 = !lean_is_exclusive(x_55); +if (x_75 == 0) { -return x_54; +return x_55; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_54, 0); -x_76 = lean_ctor_get(x_54, 1); +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_55, 0); +x_77 = lean_ctor_get(x_55, 1); +lean_inc(x_77); lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_54); -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; +lean_dec(x_55); +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; } } } @@ -13126,45 +13157,45 @@ return x_77; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_31, 0); -lean_inc(x_78); +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_31, 0); +lean_inc(x_79); lean_dec(x_31); -x_79 = lean_ctor_get(x_78, 2); -lean_inc(x_79); -lean_dec(x_78); +x_80 = lean_ctor_get(x_79, 2); +lean_inc(x_80); +lean_dec(x_79); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_79); -x_80 = lean_infer_type(x_79, x_12, x_13, x_14, x_15, x_30); -if (lean_obj_tag(x_80) == 0) +lean_inc(x_80); +x_81 = lean_infer_type(x_80, x_12, x_13, x_14, x_15, x_30); +if (lean_obj_tag(x_81) == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_81, 0); lean_inc(x_82); -lean_dec(x_80); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_81); +lean_inc(x_82); lean_inc(x_29); -x_83 = l_Lean_Meta_isExprDefEq(x_29, x_81, x_12, x_13, x_14, x_15, x_82); -if (lean_obj_tag(x_83) == 0) +x_84 = l_Lean_Meta_isExprDefEq(x_29, x_82, x_12, x_13, x_14, x_15, x_83); +if (lean_obj_tag(x_84) == 0) { -lean_object* x_84; uint8_t x_85; -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_unbox(x_84); -lean_dec(x_84); -if (x_85 == 0) +lean_object* x_85; uint8_t x_86; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +x_86 = lean_unbox(x_85); +lean_dec(x_85); +if (x_86 == 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; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; -lean_dec(x_79); +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; lean_object* x_94; lean_object* x_95; lean_object* x_96; 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; uint8_t x_104; +lean_dec(x_80); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -13173,170 +13204,89 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_86 = lean_ctor_get(x_83, 1); -lean_inc(x_86); -lean_dec(x_83); +x_87 = lean_ctor_get(x_84, 1); +lean_inc(x_87); +lean_dec(x_84); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -x_87 = l_Lean_Meta_mkHasTypeButIsExpectedMsg(x_29, x_81, x_12, x_13, x_14, x_15, x_86); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); +x_88 = l_Lean_Meta_mkHasTypeButIsExpectedMsg(x_29, x_82, x_12, x_13, x_14, x_15, x_87); +x_89 = lean_ctor_get(x_88, 0); lean_inc(x_89); -lean_dec(x_87); -x_90 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_90, 0, x_27); -x_91 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___closed__4; -x_92 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -x_93 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___closed__6; -x_94 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_95, 0, x_4); -x_96 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -x_97 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___closed__8; -x_98 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); +x_91 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_91, 0, x_27); +x_92 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___closed__4; +x_93 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_91); +x_94 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___closed__6; +x_95 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_96, 0, x_4); +x_97 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +x_98 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___closed__8; x_99 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_88); -x_100 = l_Lean_getDocStringText___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__4; -x_101 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_101, x_10, x_11, x_12, x_13, x_14, x_15, x_89); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_89); +x_101 = l_Lean_getDocStringText___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__14___closed__4; +x_102 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(x_102, x_10, x_11, x_12, x_13, x_14, x_15, x_90); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); -x_103 = !lean_is_exclusive(x_102); -if (x_103 == 0) +x_104 = !lean_is_exclusive(x_103); +if (x_104 == 0) { -return x_102; +return x_103; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_102, 0); -x_105 = lean_ctor_get(x_102, 1); +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_103, 0); +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); lean_inc(x_105); -lean_inc(x_104); -lean_dec(x_102); -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; +lean_dec(x_103); +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; } } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; -lean_dec(x_81); +lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_82); lean_dec(x_29); -x_107 = lean_ctor_get(x_83, 1); -lean_inc(x_107); -lean_dec(x_83); -x_108 = lean_box(0); -x_109 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__5(x_6, x_8, x_27, x_79, x_1, x_2, x_3, x_4, x_5, x_7, x_9, x_108, x_10, x_11, x_12, x_13, x_14, x_15, x_107); -return x_109; +x_108 = lean_ctor_get(x_84, 1); +lean_inc(x_108); +lean_dec(x_84); +x_109 = lean_box(0); +x_110 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__5(x_6, x_8, x_27, x_80, x_1, x_2, x_3, x_4, x_5, x_7, x_9, x_109, x_10, x_11, x_12, x_13, x_14, x_15, x_108); +return x_110; } } else { -uint8_t x_110; -lean_dec(x_81); -lean_dec(x_79); -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_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_110 = !lean_is_exclusive(x_83); -if (x_110 == 0) -{ -return x_83; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_83, 0); -x_112 = lean_ctor_get(x_83, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_83); -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; -} -} -} -else -{ -uint8_t x_114; -lean_dec(x_79); -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_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_114 = !lean_is_exclusive(x_80); -if (x_114 == 0) -{ -return x_80; -} -else -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_80, 0); -x_116 = lean_ctor_get(x_80, 1); -lean_inc(x_116); -lean_inc(x_115); +uint8_t x_111; +lean_dec(x_82); lean_dec(x_80); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set(x_117, 1, x_116); -return x_117; -} -} -} -} -else -{ -uint8_t x_118; +lean_dec(x_29); lean_dec(x_27); lean_dec(x_15); lean_dec(x_14); @@ -13353,23 +13303,104 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_118 = !lean_is_exclusive(x_28); -if (x_118 == 0) +x_111 = !lean_is_exclusive(x_84); +if (x_111 == 0) +{ +return x_84; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_84, 0); +x_113 = lean_ctor_get(x_84, 1); +lean_inc(x_113); +lean_inc(x_112); +lean_dec(x_84); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +return x_114; +} +} +} +else +{ +uint8_t x_115; +lean_dec(x_80); +lean_dec(x_29); +lean_dec(x_27); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_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_115 = !lean_is_exclusive(x_81); +if (x_115 == 0) +{ +return x_81; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_81, 0); +x_117 = lean_ctor_get(x_81, 1); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_81); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; +} +} +} +} +else +{ +uint8_t x_119; +lean_dec(x_27); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_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_119 = !lean_is_exclusive(x_28); +if (x_119 == 0) { return x_28; } else { -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_28, 0); -x_120 = lean_ctor_get(x_28, 1); +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_28, 0); +x_121 = lean_ctor_get(x_28, 1); +lean_inc(x_121); lean_inc(x_120); -lean_inc(x_119); lean_dec(x_28); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_119); -lean_ctor_set(x_121, 1, x_120); -return x_121; +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +return x_122; } } } @@ -13404,11 +13435,12 @@ lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; _start: { -lean_object* x_21; -x_21 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -return x_21; +lean_object* x_22; +x_22 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); +return x_22; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___lambda__2___boxed(lean_object** _args) { @@ -21837,7 +21869,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; x_2 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(714u); +x_3 = lean_unsigned_to_nat(715u); x_4 = lean_unsigned_to_nat(21u); x_5 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___spec__2___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -21858,7 +21890,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; x_2 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(713u); +x_3 = lean_unsigned_to_nat(714u); x_4 = lean_unsigned_to_nat(23u); x_5 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_registerStructure___spec__2___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -23789,7 +23821,7 @@ x_21 = l_Lean_getDocStringText___at___private_Lean_Elab_Structure_0__Lean_Elab_C x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_22, x_6, x_7, x_8, x_9, x_16); +x_23 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_22, x_6, x_7, x_8, x_9, x_16); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -23899,7 +23931,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(761u); +x_3 = lean_unsigned_to_nat(762u); x_4 = lean_unsigned_to_nat(79u); x_5 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -24026,7 +24058,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_38 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__4; -x_39 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_38, x_9, x_10, x_11, x_12, x_13); +x_39 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_38, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -24208,7 +24240,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent_copyFields___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(752u); +x_3 = lean_unsigned_to_nat(753u); x_4 = lean_unsigned_to_nat(70u); x_5 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -24830,7 +24862,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__1; x_2 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent___closed__1; -x_3 = lean_unsigned_to_nat(746u); +x_3 = lean_unsigned_to_nat(747u); x_4 = lean_unsigned_to_nat(65u); x_5 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_mkCompositeField___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -30385,7 +30417,7 @@ lean_dec(x_8); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_16145_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_16200_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; @@ -31091,7 +31123,7 @@ l_Lean_Elab_Command_elabStructure___closed__11 = _init_l_Lean_Elab_Command_elabS lean_mark_persistent(l_Lean_Elab_Command_elabStructure___closed__11); l_Lean_Elab_Command_elabStructure___closed__12 = _init_l_Lean_Elab_Command_elabStructure___closed__12(); lean_mark_persistent(l_Lean_Elab_Command_elabStructure___closed__12); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_16145_(lean_io_mk_world()); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_16200_(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/BuiltinTactic.c b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c index 060af66e48..db34c1503a 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Tactic_renameInaccessibles___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2; @@ -20,11 +21,14 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalWithAnnotateState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch_declRange(lean_object*); -static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals_declRange___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___closed__7; +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__25___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed_declRange___closed__7; size_t lean_usize_add(size_t, size_t); @@ -105,11 +109,11 @@ static lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__2 LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Tactic_evalOpen___spec__9(lean_object*, uint8_t, 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_evalSubstVars_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalChoiceAux___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___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__2; lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange___closed__1; static lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1___closed__1; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__13; +static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace___closed__1; lean_object* l_List_mapTRAux___at_Lean_resolveGlobalConstCore___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_ContextInfo_saveNoFileMap___at_Lean_Elab_Tactic_renameInaccessibles___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -140,10 +144,14 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange(lea lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalContradiction___rarg___lambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage___closed__3; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__24___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_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__30___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange___closed__2; static lean_object* l_Lean_Elab_Tactic_evalCase_x27___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__31(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__5; lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); @@ -185,10 +193,8 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___sp LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27___closed__3; -static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption___closed__3; static lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Tactic_evalTraceMessage___spec__1___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction_declRange___closed__2; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__11; @@ -203,6 +209,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessibles_decl static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__5; lean_object* l_Lean_Meta_subst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSleep_declRange___closed__6; static lean_object* l_Lean_Elab_Tactic_evalFail___closed__5; @@ -225,7 +232,6 @@ lean_object* lean_array_get_size(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip_declRange___closed__2; static lean_object* l_Lean_Elab_Tactic_evalRenameInaccessibles___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState___closed__1; -static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen_declRange___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalCase___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessibles_declRange___closed__1; @@ -235,6 +241,7 @@ lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalCase_x27___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__8; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalCase_x27___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__4; lean_object* l_List_rotateLeft___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__2___closed__2; @@ -278,6 +285,7 @@ static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_ContextInfo_saveNoFileMap___at_Lean_Elab_Tactic_renameInaccessibles___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Elab_Tactic_renameInaccessibles___spec__6___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_pushInfoLeaf___at_Lean_Elab_Tactic_elabSetOption___spec__3___closed__2; +static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___closed__2; lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTraceState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -319,7 +327,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDbgTrace___lambda__1(lean_object LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_elabSetOption(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip___closed__4; -static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange___closed__5; static lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__3; @@ -327,12 +334,10 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalFirst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed_declRange(lean_object*); static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___closed__7; -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__31___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_evalOpen___spec__16(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_evalRenameInaccessibles_declRange___closed__6; static lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__2; lean_object* l_Array_zip___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepth; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_evalOpen___spec__16___closed__3; @@ -404,6 +409,7 @@ lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals___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_Syntax_isNatLit_x3f(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRange___closed__6; +static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Elab_Tactic_renameInaccessibles___spec__7(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_evalTraceMessage___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__1; @@ -421,9 +427,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_declRange_ uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__18; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Tactic_evalOpen___spec__14___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26(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_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen_declRange___closed__1; +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__30___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange___closed__4; lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__38(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -435,7 +443,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__3; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntroMatch___closed__2; lean_object* l_Lean_Option_get___at_Std_Format_pretty_x27___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__4; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalAllGoals___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Elab_Tactic_evalOpen___spec__20(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__3; @@ -450,21 +457,17 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState___clos static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange___closed__4; static lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Tactic_evalOpen___spec__9___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals_declRange___closed__5; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__23___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTacticSeqBracketed___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRenameInaccessibles(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_evalClear_declRange___closed__2; -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalOpen___spec__25(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo(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_elabSetOption_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFirst___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_evalSleep_declRange___closed__3; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); -static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at_Lean_Elab_Tactic_evalOpen___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*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalAnyGoals___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_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq(lean_object*); @@ -474,6 +477,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefl(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState_declRange___closed__4; +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__30(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___closed__6; lean_object* l_List_foldl___at_Array_appendList___spec__1___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__2; @@ -495,7 +499,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRange___cl static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__10___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_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__7; -static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip(lean_object*); @@ -523,6 +526,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess_declRange___closed__2; lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(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_evalOpen_declRange___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___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_evalChoice___closed__4; lean_object* l_Lean_ScopedEnvExtension_pushScope___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -550,7 +554,6 @@ lean_object* l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalOpen___spec__4___rarg(lean_object*); lean_object* l_Array_sequenceMap___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__2(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); -static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalDbgTrace___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_evalChoice___closed__1; lean_object* l_Lean_Elab_Term_addLocalVarInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -598,7 +601,6 @@ lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_renameInaccessibles___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalParen___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___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___closed__2; lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange___closed__4; @@ -635,6 +637,7 @@ LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Tactic_evalOpen LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalTraceState(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone_declRange___closed__2; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalOpen___spec__27(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___regBuiltin_Lean_Elab_Tactic_evalRenameInaccessibles_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__1; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__2; @@ -671,6 +674,7 @@ lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, le static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___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*); +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__4; LEAN_EXPORT lean_object* l_Array_sequenceMap___at_Lean_Elab_Tactic_evalCase___spec__1___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars___closed__5; LEAN_EXPORT lean_object* l_List_erase___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals___spec__1(lean_object*, lean_object*); @@ -693,6 +697,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction___closed__ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown___closed__4; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__24(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars(lean_object*); size_t lean_usize_of_nat(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__3; @@ -706,11 +711,13 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft___closed__5; lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange___closed__3; lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28(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_Tactic_evalSubstVars___rarg___closed__1; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___lambda__1(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_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalUnknown_declRange___closed__7; +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSleep___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear___closed__3; LEAN_EXPORT lean_object* l_List_findM_x3f___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_findTag_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -726,7 +733,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_forEachVar___boxed(lean_object*, lea lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___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_ReaderT_pure___at_Lean_Elab_Tactic_saveTacticInfoForToken___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic_throwExs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRevert(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_node6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -744,9 +750,9 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange___closed static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__6___closed__1; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1___closed__1; lean_object* l_Lean_Meta_mkFreshExprMVarAt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26(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_Tactic_evalIntros___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen_declRange___closed__2; +static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1; extern lean_object* l_Lean_instInhabitedException; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange___closed__3; static lean_object* l_Lean_Elab_Tactic_evalAnyGoals___closed__2; @@ -758,7 +764,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalOpen(lean_object*, lean_object*, static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__2; lean_object* l_Lean_Expr_fvar___override(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__23(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFirst_declRange___closed__7; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_evalSeq1___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__24; @@ -780,10 +785,8 @@ lean_object* l_Lean_Syntax_getSepArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRotateRight___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_evalAnyGoals___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Elab_Tactic_renameInaccessibles___spec__11(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_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalAnyGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33(size_t, size_t, lean_object*); lean_object* l_Lean_Syntax_getNumArgs(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals_declRange___closed__6; @@ -791,7 +794,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRevert_declRange___close static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalParen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__29___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars___closed__4; @@ -800,8 +802,8 @@ static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_eval static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFail_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRefl_declRange___closed__6; lean_object* lean_environment_main_module(lean_object*); +static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___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_evalAnyGoals___closed__1; static lean_object* l_Lean_Elab_Tactic_evalSubst___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___closed__4; @@ -832,7 +834,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRotateLeft(lean_object*, lean_ob LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen_declRange(lean_object*); lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Tactic_evalTactic_expandEval___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_renameInaccessibles___spec__1___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*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__30(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalFail___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalClear___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -849,13 +850,14 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_renameInac static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___closed__4; static lean_object* l_Lean_Elab_Tactic_evalFail___closed__4; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__8; -LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27(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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__2___closed__4; +static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_BuiltinTactic_0__Lean_Elab_Tactic_getCaseGoals___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState_declRange___closed__1; static lean_object* l_Lean_Elab_Tactic_evalCase___closed__2; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__17; +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalClear_declRange___closed__5; @@ -872,9 +874,9 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed_declR lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalFail___closed__9; static lean_object* l_Lean_Elab_Tactic_renameInaccessibles___closed__2; -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__28___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_renameInaccessibles___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35(size_t, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSleep___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalAnyGoals___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -889,7 +891,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFail(lean_object*, lean_object*, static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState_declRange___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_renameInaccessibles___spec__8(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__9; -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__31(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_withInfoTreeContext___at_Lean_Elab_Tactic_evalTactic_eval___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalCase_x27___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -959,7 +960,6 @@ static lean_object* l_Lean_Elab_Tactic_evalIntros___closed__3; lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Tactic_pruneSolvedGoals___spec__1(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_evalFirst___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__30___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_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___boxed(lean_object**); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice_declRange___closed__4; lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -967,7 +967,6 @@ static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_eval lean_object* l_Lean_MVarId_assumption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_declRange___closed__3; static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__29; -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__28___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_array_pop(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState_declRange___closed__7; @@ -1059,7 +1058,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState(l static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalOpen___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed_declRange___closed__5; -static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__1; +static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__2; lean_object* l_Lean_PersistentArray_append___rarg(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__6(size_t, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals_declRange___closed__2; @@ -1088,6 +1087,7 @@ lean_object* l_List_toString___at_Lean_resolveGlobalConstNoOverloadCore___spec__ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Tactic_elabSetOption___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_pushScope___at_Lean_Elab_Tactic_evalOpen___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__25(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption_declRange___closed__7; static lean_object* l_Lean_Elab_Tactic_addCheckpoints___lambda__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSleep___closed__1; @@ -1095,7 +1095,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAnyGoals_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateRight_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceMessage_declRange___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__29(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_addCheckpoints___spec__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_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1136,6 +1135,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSleep___boxed(lean_object*, lean static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFailIfSuccess___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalContradiction(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__31___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalCase_x27_declRange___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); @@ -1149,8 +1149,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1_declRange___closed_ static lean_object* l_Lean_Elab_Tactic_evalIntro___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_Elab_Tactic_elabSetOption___spec__6___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*); static lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__1; -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__28(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntros___boxed__const__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntros_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSeq1___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_evalDbgTrace_declRange___closed__3; @@ -6776,1090 +6776,7 @@ return x_35; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__23(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_16; -x_16 = lean_usize_dec_lt(x_4, x_3); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_5); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_5); -x_18 = lean_array_uget(x_2, x_4); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_1); -x_19 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Tactic_evalOpen___spec__12(x_1, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = 1; -x_22 = lean_usize_add(x_4, x_21); -x_23 = lean_box(0); -x_4 = x_22; -x_5 = x_23; -x_15 = x_20; -goto _start; -} -else -{ -uint8_t x_25; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_25 = !lean_is_exclusive(x_19); -if (x_25 == 0) -{ -return x_19; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_19, 0); -x_27 = lean_ctor_get(x_19, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_19); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalOpen___spec__25(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_14; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_3); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_ctor_get(x_2, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_2, 1); -lean_inc(x_16); -lean_dec(x_2); -x_17 = !lean_is_exclusive(x_3); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_3, 0); -x_19 = lean_ctor_get(x_3, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_1); -x_20 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Tactic_evalOpen___spec__12(x_15, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_20) == 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); -lean_dec(x_20); -x_23 = lean_array_push(x_19, x_21); -lean_ctor_set(x_3, 1, x_23); -x_2 = x_16; -x_13 = x_22; -goto _start; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_20, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_20, 1); -lean_inc(x_26); -lean_dec(x_20); -x_27 = lean_array_push(x_18, x_25); -lean_ctor_set(x_3, 0, x_27); -x_2 = x_16; -x_13 = x_26; -goto _start; -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_3, 0); -x_30 = lean_ctor_get(x_3, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_3); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_1); -x_31 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Tactic_evalOpen___spec__12(x_15, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -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_push(x_30, x_32); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_29); -lean_ctor_set(x_35, 1, x_34); -x_2 = x_16; -x_3 = x_35; -x_13 = x_33; -goto _start; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_31, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_31, 1); -lean_inc(x_38); -lean_dec(x_31); -x_39 = lean_array_push(x_29, x_37); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_30); -x_2 = x_16; -x_3 = x_40; -x_13 = x_38; -goto _start; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__28___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; lean_object* x_6; -x_4 = lean_ctor_get(x_1, 5); -x_5 = 0; -x_6 = l_Lean_Syntax_getPos_x3f(x_4, x_5); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_3); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_6, 0); -lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_3); -return x_10; -} -} -} -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__28(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 = lean_alloc_closure((void*)(l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__28___rarg___boxed), 3, 0); -return x_8; -} -} -static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(":", 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(" ", 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__4; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27(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; uint8_t x_13; -x_12 = l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__28___rarg(x_9, x_10, x_11); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_12, 0); -x_15 = l_Lean_Exception_getRef(x_1); -x_16 = 0; -x_17 = l_Lean_Syntax_getPos_x3f(x_15, x_16); -lean_dec(x_15); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; -lean_dec(x_14); -x_18 = l_Lean_Exception_toMessageData(x_1); -lean_ctor_set(x_12, 0, x_18); -return x_12; -} -else -{ -lean_object* x_19; uint8_t x_20; -x_19 = lean_ctor_get(x_17, 0); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_nat_dec_eq(x_14, x_19); -lean_dec(x_14); -if (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; 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; -x_21 = lean_ctor_get(x_9, 1); -x_22 = l_Lean_FileMap_toPosition(x_21, x_19); -lean_dec(x_19); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = l_Nat_repr(x_23); -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 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); -x_29 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__3; -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_ctor_get(x_22, 1); -lean_inc(x_31); -lean_dec(x_22); -x_32 = l_Nat_repr(x_31); -x_33 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_33, 0, x_32); -x_34 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_30); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__5; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_Exception_toMessageData(x_1); -x_39 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_27); -lean_ctor_set(x_12, 0, x_40); -return x_12; -} -else -{ -lean_object* x_41; -lean_dec(x_19); -x_41 = l_Lean_Exception_toMessageData(x_1); -lean_ctor_set(x_12, 0, x_41); -return x_12; -} -} -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; -x_42 = lean_ctor_get(x_12, 0); -x_43 = lean_ctor_get(x_12, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_12); -x_44 = l_Lean_Exception_getRef(x_1); -x_45 = 0; -x_46 = l_Lean_Syntax_getPos_x3f(x_44, x_45); -lean_dec(x_44); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_47; lean_object* x_48; -lean_dec(x_42); -x_47 = l_Lean_Exception_toMessageData(x_1); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_43); -return x_48; -} -else -{ -lean_object* x_49; uint8_t x_50; -x_49 = lean_ctor_get(x_46, 0); -lean_inc(x_49); -lean_dec(x_46); -x_50 = lean_nat_dec_eq(x_42, x_49); -lean_dec(x_42); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_51 = lean_ctor_get(x_9, 1); -x_52 = l_Lean_FileMap_toPosition(x_51, x_49); -lean_dec(x_49); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = l_Nat_repr(x_53); -x_55 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_55, 0, x_54); -x_56 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_56, 0, x_55); -x_57 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -x_59 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__3; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_ctor_get(x_52, 1); -lean_inc(x_61); -lean_dec(x_52); -x_62 = l_Nat_repr(x_61); -x_63 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_63, 0, x_62); -x_64 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_64, 0, x_63); -x_65 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_65, 0, x_60); -lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__5; -x_67 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lean_Exception_toMessageData(x_1); -x_69 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_57); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_43); -return x_71; -} -else -{ -lean_object* x_72; lean_object* x_73; -lean_dec(x_49); -x_72 = l_Lean_Exception_toMessageData(x_1); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_43); -return x_73; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__29(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = lean_usize_dec_lt(x_2, x_1); -if (x_14 == 0) -{ -lean_object* x_15; -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_3); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -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; size_t x_22; size_t x_23; lean_object* x_24; -x_16 = lean_array_uget(x_3, x_2); -x_17 = lean_unsigned_to_nat(0u); -x_18 = lean_array_uset(x_3, x_2, x_17); -x_19 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -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 = 1; -x_23 = lean_usize_add(x_2, x_22); -x_24 = lean_array_uset(x_18, x_2, x_20); -x_2 = x_23; -x_3 = x_24; -x_13 = x_21; -goto _start; -} -} -} -static lean_object* _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(", errors ", 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; size_t x_14; size_t 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; -x_13 = lean_array_get_size(x_2); -x_14 = lean_usize_of_nat(x_13); -lean_dec(x_13); -x_15 = 0; -x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__29(x_14, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1; -x_20 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_1); -x_21 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__2; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_toMessageList(x_17); -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_19); -x_26 = l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__17(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_26; -} -} -static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___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* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -lean_dec(x_3); -x_14 = lean_array_get_size(x_1); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_dec_eq(x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t 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; uint8_t x_33; -x_17 = l_Lean_Syntax_getId(x_2); -x_18 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_18, 0, x_17); -x_19 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___closed__1; -x_20 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -x_21 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___closed__2; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_24 = 0; -x_25 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__2(x_23, x_24, x_1); -x_26 = lean_array_to_list(lean_box(0), x_25); -x_27 = lean_box(0); -x_28 = l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_26, x_27); -x_29 = l_Lean_MessageData_ofList(x_28); -lean_dec(x_28); -x_30 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_30, 0, x_22); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1; -x_32 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -x_33 = !lean_is_exclusive(x_11); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_11, 5); -x_35 = l_Lean_replaceRef(x_2, x_34); -lean_dec(x_34); -lean_ctor_set(x_11, 5, x_35); -x_36 = l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__19(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -return x_36; -} -else -{ -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_37 = lean_ctor_get(x_11, 0); -x_38 = lean_ctor_get(x_11, 1); -x_39 = lean_ctor_get(x_11, 2); -x_40 = lean_ctor_get(x_11, 3); -x_41 = lean_ctor_get(x_11, 4); -x_42 = lean_ctor_get(x_11, 5); -x_43 = lean_ctor_get(x_11, 6); -x_44 = lean_ctor_get(x_11, 7); -x_45 = lean_ctor_get(x_11, 8); -x_46 = lean_ctor_get(x_11, 9); -x_47 = lean_ctor_get(x_11, 10); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_11); -x_48 = l_Lean_replaceRef(x_2, x_42); -lean_dec(x_42); -x_49 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_49, 0, x_37); -lean_ctor_set(x_49, 1, x_38); -lean_ctor_set(x_49, 2, x_39); -lean_ctor_set(x_49, 3, x_40); -lean_ctor_set(x_49, 4, x_41); -lean_ctor_set(x_49, 5, x_48); -lean_ctor_set(x_49, 6, x_43); -lean_ctor_set(x_49, 7, x_44); -lean_ctor_set(x_49, 8, x_45); -lean_ctor_set(x_49, 9, x_46); -lean_ctor_set(x_49, 10, x_47); -x_50 = l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__19(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49, x_12, x_13); -lean_dec(x_49); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -return x_50; -} -} -else -{ -lean_object* x_51; uint8_t x_52; -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -x_51 = lean_unsigned_to_nat(0u); -x_52 = lean_nat_dec_lt(x_51, x_14); -lean_dec(x_14); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_1); -x_53 = l_Lean_instInhabitedName; -x_54 = l___private_Init_Util_0__outOfBounds___rarg(x_53); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_13); -return x_55; -} -else -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_array_fget(x_1, x_51); -lean_dec(x_1); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_13); -return x_57; -} -} -} -} -static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("failed to open", 14); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___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_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -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; uint8_t x_23; -x_13 = l_Lean_Elab_Tactic_addCheckpoints___lambda__1___closed__2; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -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_1); -lean_inc(x_2); -x_14 = l_List_forIn_loop___at_Lean_Elab_Tactic_evalOpen___spec__25(x_2, x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - lean_ctor_release(x_14, 1); - x_17 = x_14; -} else { - lean_dec_ref(x_14); - x_17 = lean_box(0); -} -x_18 = lean_ctor_get(x_15, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_15, 1); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_array_get_size(x_18); -x_21 = lean_unsigned_to_nat(0u); -x_22 = l_List_lengthTRAux___rarg(x_1, x_21); -lean_dec(x_1); -x_23 = lean_nat_dec_eq(x_20, x_22); -lean_dec(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -lean_dec(x_20); -lean_dec(x_18); -lean_dec(x_17); -x_24 = lean_box(0); -x_25 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1(x_19, x_2, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -return x_25; -} -else -{ -lean_object* x_26; uint8_t x_27; uint8_t x_28; -lean_dec(x_19); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_dec_eq(x_20, x_26); -if (x_27 == 0) -{ -uint8_t x_64; -x_64 = 0; -x_28 = x_64; -goto block_63; -} -else -{ -uint8_t x_65; -x_65 = 1; -x_28 = x_65; -goto block_63; -} -block_63: -{ -if (x_28 == 0) -{ -uint8_t x_29; -lean_dec(x_20); -lean_dec(x_17); -x_29 = !lean_is_exclusive(x_10); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_30 = lean_ctor_get(x_10, 5); -x_31 = l_Lean_replaceRef(x_2, x_30); -lean_dec(x_30); -lean_dec(x_2); -lean_ctor_set(x_10, 5, x_31); -x_32 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__3; -x_33 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26(x_32, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -return x_33; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_33, 0); -x_36 = lean_ctor_get(x_33, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_33); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -else -{ -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; -x_38 = lean_ctor_get(x_10, 0); -x_39 = lean_ctor_get(x_10, 1); -x_40 = lean_ctor_get(x_10, 2); -x_41 = lean_ctor_get(x_10, 3); -x_42 = lean_ctor_get(x_10, 4); -x_43 = lean_ctor_get(x_10, 5); -x_44 = lean_ctor_get(x_10, 6); -x_45 = lean_ctor_get(x_10, 7); -x_46 = lean_ctor_get(x_10, 8); -x_47 = lean_ctor_get(x_10, 9); -x_48 = lean_ctor_get(x_10, 10); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_10); -x_49 = l_Lean_replaceRef(x_2, x_43); -lean_dec(x_43); -lean_dec(x_2); -x_50 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_50, 0, x_38); -lean_ctor_set(x_50, 1, x_39); -lean_ctor_set(x_50, 2, x_40); -lean_ctor_set(x_50, 3, x_41); -lean_ctor_set(x_50, 4, x_42); -lean_ctor_set(x_50, 5, x_49); -lean_ctor_set(x_50, 6, x_44); -lean_ctor_set(x_50, 7, x_45); -lean_ctor_set(x_50, 8, x_46); -lean_ctor_set(x_50, 9, x_47); -lean_ctor_set(x_50, 10, x_48); -x_51 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__3; -x_52 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26(x_51, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_50, x_11, x_16); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_55 = x_52; -} else { - lean_dec_ref(x_52); - 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; -} -} -else -{ -uint8_t x_57; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_57 = lean_nat_dec_lt(x_21, x_20); -lean_dec(x_20); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -lean_dec(x_18); -x_58 = l_Lean_instInhabitedException; -x_59 = l___private_Init_Util_0__outOfBounds___rarg(x_58); -if (lean_is_scalar(x_17)) { - x_60 = lean_alloc_ctor(1, 2, 0); -} else { - x_60 = x_17; - lean_ctor_set_tag(x_60, 1); -} -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_16); -return x_60; -} -else -{ -lean_object* x_61; lean_object* x_62; -x_61 = lean_array_fget(x_18, x_21); -lean_dec(x_18); -if (lean_is_scalar(x_17)) { - x_62 = lean_alloc_ctor(1, 2, 0); -} else { - x_62 = x_17; - lean_ctor_set_tag(x_62, 1); -} -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_16); -return x_62; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__30(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_16; -x_16 = lean_usize_dec_lt(x_4, x_3); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_5); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_5); -x_18 = lean_array_uget(x_2, x_4); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_18); -lean_inc(x_1); -x_19 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24(x_1, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; -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_Syntax_getId(x_18); -lean_dec(x_18); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_20); -x_24 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__21(x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -lean_dec(x_24); -x_26 = 1; -x_27 = lean_usize_add(x_4, x_26); -x_28 = lean_box(0); -x_4 = x_27; -x_5 = x_28; -x_15 = x_25; -goto _start; -} -else -{ -uint8_t x_30; -lean_dec(x_18); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_30 = !lean_is_exclusive(x_19); -if (x_30 == 0) -{ -return x_19; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_19, 0); -x_32 = lean_ctor_get(x_19, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_19); -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; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__32(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__24(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; @@ -8041,7 +6958,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__31(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__23(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; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; @@ -8061,7 +6978,7 @@ x_19 = lean_usize_of_nat(x_18); lean_dec(x_18); x_20 = 0; x_21 = lean_box(0); -x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__32(x_1, x_16, x_19, x_20, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__24(x_1, x_16, x_19, x_20, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); lean_dec(x_16); x_23 = !lean_is_exclusive(x_22); if (x_23 == 0) @@ -8085,6 +7002,1089 @@ return x_26; } } } +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__25(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_4, x_3); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_5); +x_18 = lean_array_uget(x_2, x_4); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +x_19 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Tactic_evalOpen___spec__12(x_1, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = 1; +x_22 = lean_usize_add(x_4, x_21); +x_23 = lean_box(0); +x_4 = x_22; +x_5 = x_23; +x_15 = x_20; +goto _start; +} +else +{ +uint8_t x_25; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalOpen___spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_14; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_3); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); +lean_dec(x_2); +x_17 = !lean_is_exclusive(x_3); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_3, 0); +x_19 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_1); +x_20 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Tactic_evalOpen___spec__12(x_15, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_20) == 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); +lean_dec(x_20); +x_23 = lean_array_push(x_19, x_21); +lean_ctor_set(x_3, 1, x_23); +x_2 = x_16; +x_13 = x_22; +goto _start; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_dec(x_20); +x_27 = lean_array_push(x_18, x_25); +lean_ctor_set(x_3, 0, x_27); +x_2 = x_16; +x_13 = x_26; +goto _start; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_3, 0); +x_30 = lean_ctor_get(x_3, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_3); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_1); +x_31 = l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Tactic_evalOpen___spec__12(x_15, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +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_push(x_30, x_32); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_29); +lean_ctor_set(x_35, 1, x_34); +x_2 = x_16; +x_3 = x_35; +x_13 = x_33; +goto _start; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = lean_ctor_get(x_31, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_31, 1); +lean_inc(x_38); +lean_dec(x_31); +x_39 = lean_array_push(x_29, x_37); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_30); +x_2 = x_16; +x_3 = x_40; +x_13 = x_38; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__30___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 5); +x_5 = 0; +x_6 = l_Lean_Syntax_getPos_x3f(x_4, x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_3); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_3); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__30(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 = lean_alloc_closure((void*)(l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__30___rarg___boxed), 3, 0); +return x_8; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(":", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29(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; uint8_t x_13; +x_12 = l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__30___rarg(x_9, x_10, x_11); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_Exception_getRef(x_1); +x_16 = 0; +x_17 = l_Lean_Syntax_getPos_x3f(x_15, x_16); +lean_dec(x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +lean_dec(x_14); +x_18 = l_Lean_Exception_toMessageData(x_1); +lean_ctor_set(x_12, 0, x_18); +return x_12; +} +else +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_nat_dec_eq(x_14, x_19); +lean_dec(x_14); +if (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; 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; +x_21 = lean_ctor_get(x_9, 1); +x_22 = l_Lean_FileMap_toPosition(x_21, x_19); +lean_dec(x_19); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = l_Nat_repr(x_23); +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 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__3; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_ctor_get(x_22, 1); +lean_inc(x_31); +lean_dec(x_22); +x_32 = l_Nat_repr(x_31); +x_33 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_30); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__5; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_Exception_toMessageData(x_1); +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_27); +lean_ctor_set(x_12, 0, x_40); +return x_12; +} +else +{ +lean_object* x_41; +lean_dec(x_19); +x_41 = l_Lean_Exception_toMessageData(x_1); +lean_ctor_set(x_12, 0, x_41); +return x_12; +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; +x_42 = lean_ctor_get(x_12, 0); +x_43 = lean_ctor_get(x_12, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_12); +x_44 = l_Lean_Exception_getRef(x_1); +x_45 = 0; +x_46 = l_Lean_Syntax_getPos_x3f(x_44, x_45); +lean_dec(x_44); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_42); +x_47 = l_Lean_Exception_toMessageData(x_1); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_43); +return x_48; +} +else +{ +lean_object* x_49; uint8_t x_50; +x_49 = lean_ctor_get(x_46, 0); +lean_inc(x_49); +lean_dec(x_46); +x_50 = lean_nat_dec_eq(x_42, x_49); +lean_dec(x_42); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_51 = lean_ctor_get(x_9, 1); +x_52 = l_Lean_FileMap_toPosition(x_51, x_49); +lean_dec(x_49); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = l_Nat_repr(x_53); +x_55 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_55, 0, x_54); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_55); +x_57 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1; +x_58 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__3; +x_60 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = lean_ctor_get(x_52, 1); +lean_inc(x_61); +lean_dec(x_52); +x_62 = l_Nat_repr(x_61); +x_63 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_64, 0, x_63); +x_65 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_65, 0, x_60); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__5; +x_67 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_Exception_toMessageData(x_1); +x_69 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_57); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_43); +return x_71; +} +else +{ +lean_object* x_72; lean_object* x_73; +lean_dec(x_49); +x_72 = l_Lean_Exception_toMessageData(x_1); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_43); +return x_73; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__31(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_2, x_1); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +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; size_t x_22; size_t x_23; lean_object* x_24; +x_16 = lean_array_uget(x_3, x_2); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_uset(x_3, x_2, x_17); +x_19 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +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 = 1; +x_23 = lean_usize_add(x_2, x_22); +x_24 = lean_array_uset(x_18, x_2, x_20); +x_2 = x_23; +x_3 = x_24; +x_13 = x_21; +goto _start; +} +} +} +static lean_object* _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(", errors ", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; size_t x_14; size_t 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; +x_13 = lean_array_get_size(x_2); +x_14 = lean_usize_of_nat(x_13); +lean_dec(x_13); +x_15 = 0; +x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__31(x_14, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_1); +x_21 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28___closed__2; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_toMessageList(x_17); +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_19); +x_26 = l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__17(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_26; +} +} +static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___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* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +lean_dec(x_3); +x_14 = lean_array_get_size(x_1); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t 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; uint8_t x_33; +x_17 = l_Lean_Syntax_getId(x_2); +x_18 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___closed__1; +x_20 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___closed__2; +x_22 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_24 = 0; +x_25 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___spec__2(x_23, x_24, x_1); +x_26 = lean_array_to_list(lean_box(0), x_25); +x_27 = lean_box(0); +x_28 = l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(x_26, x_27); +x_29 = l_Lean_MessageData_ofList(x_28); +lean_dec(x_28); +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_22); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = !lean_is_exclusive(x_11); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_11, 5); +x_35 = l_Lean_replaceRef(x_2, x_34); +lean_dec(x_34); +lean_ctor_set(x_11, 5, x_35); +x_36 = l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__19(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +return x_36; +} +else +{ +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_37 = lean_ctor_get(x_11, 0); +x_38 = lean_ctor_get(x_11, 1); +x_39 = lean_ctor_get(x_11, 2); +x_40 = lean_ctor_get(x_11, 3); +x_41 = lean_ctor_get(x_11, 4); +x_42 = lean_ctor_get(x_11, 5); +x_43 = lean_ctor_get(x_11, 6); +x_44 = lean_ctor_get(x_11, 7); +x_45 = lean_ctor_get(x_11, 8); +x_46 = lean_ctor_get(x_11, 9); +x_47 = lean_ctor_get(x_11, 10); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_11); +x_48 = l_Lean_replaceRef(x_2, x_42); +lean_dec(x_42); +x_49 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_49, 0, x_37); +lean_ctor_set(x_49, 1, x_38); +lean_ctor_set(x_49, 2, x_39); +lean_ctor_set(x_49, 3, x_40); +lean_ctor_set(x_49, 4, x_41); +lean_ctor_set(x_49, 5, x_48); +lean_ctor_set(x_49, 6, x_43); +lean_ctor_set(x_49, 7, x_44); +lean_ctor_set(x_49, 8, x_45); +lean_ctor_set(x_49, 9, x_46); +lean_ctor_set(x_49, 10, x_47); +x_50 = l_Lean_throwError___at_Lean_Elab_Tactic_evalOpen___spec__19(x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49, x_12, x_13); +lean_dec(x_49); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +return x_50; +} +} +else +{ +lean_object* x_51; uint8_t x_52; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +x_51 = lean_unsigned_to_nat(0u); +x_52 = lean_nat_dec_lt(x_51, x_14); +lean_dec(x_14); +if (x_52 == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_dec(x_1); +x_53 = l_Lean_instInhabitedName; +x_54 = l___private_Init_Util_0__outOfBounds___rarg(x_53); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_13); +return x_55; +} +else +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_array_fget(x_1, x_51); +lean_dec(x_1); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_13); +return x_57; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("failed to open", 14); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___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_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +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; uint8_t x_23; +x_13 = l_Lean_Elab_Tactic_addCheckpoints___lambda__1___closed__2; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +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_1); +lean_inc(x_2); +x_14 = l_List_forIn_loop___at_Lean_Elab_Tactic_evalOpen___spec__27(x_2, x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + x_17 = x_14; +} else { + lean_dec_ref(x_14); + x_17 = lean_box(0); +} +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_dec(x_15); +x_20 = lean_array_get_size(x_18); +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_List_lengthTRAux___rarg(x_1, x_21); +lean_dec(x_1); +x_23 = lean_nat_dec_eq(x_20, x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_20); +lean_dec(x_18); +lean_dec(x_17); +x_24 = lean_box(0); +x_25 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1(x_19, x_2, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_25; +} +else +{ +lean_object* x_26; uint8_t x_27; uint8_t x_28; +lean_dec(x_19); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_dec_eq(x_20, x_26); +if (x_27 == 0) +{ +uint8_t x_64; +x_64 = 0; +x_28 = x_64; +goto block_63; +} +else +{ +uint8_t x_65; +x_65 = 1; +x_28 = x_65; +goto block_63; +} +block_63: +{ +if (x_28 == 0) +{ +uint8_t x_29; +lean_dec(x_20); +lean_dec(x_17); +x_29 = !lean_is_exclusive(x_10); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_30 = lean_ctor_get(x_10, 5); +x_31 = l_Lean_replaceRef(x_2, x_30); +lean_dec(x_30); +lean_dec(x_2); +lean_ctor_set(x_10, 5, x_31); +x_32 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__3; +x_33 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28(x_32, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +return x_33; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_33, 0); +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_33); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +else +{ +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; +x_38 = lean_ctor_get(x_10, 0); +x_39 = lean_ctor_get(x_10, 1); +x_40 = lean_ctor_get(x_10, 2); +x_41 = lean_ctor_get(x_10, 3); +x_42 = lean_ctor_get(x_10, 4); +x_43 = lean_ctor_get(x_10, 5); +x_44 = lean_ctor_get(x_10, 6); +x_45 = lean_ctor_get(x_10, 7); +x_46 = lean_ctor_get(x_10, 8); +x_47 = lean_ctor_get(x_10, 9); +x_48 = lean_ctor_get(x_10, 10); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_10); +x_49 = l_Lean_replaceRef(x_2, x_43); +lean_dec(x_43); +lean_dec(x_2); +x_50 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_39); +lean_ctor_set(x_50, 2, x_40); +lean_ctor_set(x_50, 3, x_41); +lean_ctor_set(x_50, 4, x_42); +lean_ctor_set(x_50, 5, x_49); +lean_ctor_set(x_50, 6, x_44); +lean_ctor_set(x_50, 7, x_45); +lean_ctor_set(x_50, 8, x_46); +lean_ctor_set(x_50, 9, x_47); +lean_ctor_set(x_50, 10, x_48); +x_51 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__3; +x_52 = l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28(x_51, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_50, x_11, x_16); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + x_55 = x_52; +} else { + lean_dec_ref(x_52); + 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; +} +} +else +{ +uint8_t x_57; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_57 = lean_nat_dec_lt(x_21, x_20); +lean_dec(x_20); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_18); +x_58 = l_Lean_instInhabitedException; +x_59 = l___private_Init_Util_0__outOfBounds___rarg(x_58); +if (lean_is_scalar(x_17)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_17; + lean_ctor_set_tag(x_60, 1); +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_16); +return x_60; +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_array_fget(x_18, x_21); +lean_dec(x_18); +if (lean_is_scalar(x_17)) { + x_62 = lean_alloc_ctor(1, 2, 0); +} else { + x_62 = x_17; + lean_ctor_set_tag(x_62, 1); +} +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_16); +return x_62; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__32(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_4, x_3); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_5); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; +lean_dec(x_5); +x_18 = lean_array_uget(x_2, x_4); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_18); +lean_inc(x_1); +x_19 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26(x_1, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +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_Syntax_getId(x_18); +lean_dec(x_18); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_20); +x_24 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__21(x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_21); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = 1; +x_27 = lean_usize_add(x_4, x_26); +x_28 = lean_box(0); +x_4 = x_27; +x_5 = x_28; +x_15 = x_25; +goto _start; +} +else +{ +uint8_t x_30; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_19); +if (x_30 == 0) +{ +return x_19; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_19, 0); +x_32 = lean_ctor_get(x_19, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_19); +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; +} +} +} +} +} LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalOpen___spec__33(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -8105,7 +8105,7 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_1, 1); lean_inc(x_15); lean_dec(x_1); -x_16 = l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__31(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_16 = l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__23(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); @@ -8237,7 +8237,7 @@ x_18 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_El x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); lean_dec(x_18); -x_20 = l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__31(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +x_20 = l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__23(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19); x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); @@ -8583,17 +8583,17 @@ lean_ctor_set(x_29, 0, x_24); lean_ctor_set(x_29, 1, x_25); if (x_28 == 0) { -uint8_t x_260; -x_260 = 0; -x_30 = x_260; -goto block_259; +uint8_t x_262; +x_262 = 0; +x_30 = x_262; +goto block_261; } else { -uint8_t x_261; -x_261 = 1; -x_30 = x_261; -goto block_259; +uint8_t x_263; +x_263 = 1; +x_30 = x_263; +goto block_261; } block_23: { @@ -8651,7 +8651,7 @@ return x_22; } } } -block_259: +block_261: { lean_object* x_31; lean_object* x_32; lean_object* x_33; x_31 = lean_st_ref_get(x_9, x_10); @@ -9039,17 +9039,22 @@ lean_inc(x_34); x_118 = l_Lean_resolveUniqueNamespace___at_Lean_Elab_Tactic_evalOpen___spec__5(x_114, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); if (lean_obj_tag(x_118) == 0) { -lean_object* x_119; lean_object* x_120; lean_object* x_121; size_t x_122; size_t x_123; lean_object* x_124; lean_object* x_125; +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; size_t x_124; size_t x_125; lean_object* x_126; lean_object* x_127; x_119 = lean_ctor_get(x_118, 0); lean_inc(x_119); x_120 = lean_ctor_get(x_118, 1); lean_inc(x_120); lean_dec(x_118); -x_121 = lean_array_get_size(x_117); -x_122 = lean_usize_of_nat(x_121); +lean_inc(x_119); +x_121 = l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__23(x_119, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_120); +x_122 = lean_ctor_get(x_121, 1); +lean_inc(x_122); lean_dec(x_121); -x_123 = 0; -x_124 = lean_box(0); +x_123 = lean_array_get_size(x_117); +x_124 = lean_usize_of_nat(x_123); +lean_dec(x_123); +x_125 = 0; +x_126 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -9060,102 +9065,102 @@ lean_inc(x_3); lean_inc(x_2); lean_inc(x_34); lean_inc(x_119); -x_125 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__23(x_119, x_117, x_122, x_123, x_124, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_120); -if (lean_obj_tag(x_125) == 0) +x_127 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__25(x_119, x_117, x_124, x_125, x_126, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_122); +if (lean_obj_tag(x_127) == 0) { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_126 = lean_ctor_get(x_125, 1); -lean_inc(x_126); -lean_dec(x_125); -x_127 = l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__33(x_122, x_123, x_117); -x_128 = lean_array_to_list(lean_box(0), x_127); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_119); -lean_ctor_set(x_129, 1, x_128); -x_130 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__21(x_129, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_126); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); +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, 1); +lean_inc(x_128); +lean_dec(x_127); +x_129 = l_Array_mapMUnsafe_map___at_Lean_Elab_OpenDecl_elabOpenDecl___spec__35(x_124, x_125, x_117); +x_130 = lean_array_to_list(lean_box(0), x_129); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_119); +lean_ctor_set(x_131, 1, x_130); +x_132 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_addOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__21(x_131, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_128); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); lean_inc(x_9); lean_inc(x_34); -x_133 = lean_apply_11(x_26, x_131, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_132); -if (lean_obj_tag(x_133) == 0) +x_135 = lean_apply_11(x_26, x_133, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_134); +if (lean_obj_tag(x_135) == 0) { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -x_136 = lean_st_ref_get(x_9, x_135); -lean_dec(x_9); -x_137 = lean_ctor_get(x_136, 1); +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t 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_136); -x_138 = lean_st_ref_get(x_34, x_137); -lean_dec(x_34); -x_139 = !lean_is_exclusive(x_138); -if (x_139 == 0) -{ -lean_object* x_140; lean_object* x_141; -x_140 = lean_ctor_get(x_138, 0); -x_141 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_141, 0, x_134); -lean_ctor_set(x_141, 1, x_140); -lean_ctor_set(x_138, 0, x_141); -x_11 = x_138; -goto block_23; -} -else -{ -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_142 = lean_ctor_get(x_138, 0); -x_143 = lean_ctor_get(x_138, 1); -lean_inc(x_143); -lean_inc(x_142); +lean_dec(x_135); +x_138 = lean_st_ref_get(x_9, x_137); +lean_dec(x_9); +x_139 = lean_ctor_get(x_138, 1); +lean_inc(x_139); lean_dec(x_138); -x_144 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_144, 0, x_134); -lean_ctor_set(x_144, 1, x_142); -x_145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_143); -x_11 = x_145; +x_140 = lean_st_ref_get(x_34, x_139); +lean_dec(x_34); +x_141 = !lean_is_exclusive(x_140); +if (x_141 == 0) +{ +lean_object* x_142; lean_object* x_143; +x_142 = lean_ctor_get(x_140, 0); +x_143 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_143, 0, x_136); +lean_ctor_set(x_143, 1, x_142); +lean_ctor_set(x_140, 0, x_143); +x_11 = x_140; +goto block_23; +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_144 = lean_ctor_get(x_140, 0); +x_145 = lean_ctor_get(x_140, 1); +lean_inc(x_145); +lean_inc(x_144); +lean_dec(x_140); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_136); +lean_ctor_set(x_146, 1, x_144); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_145); +x_11 = x_147; goto block_23; } } else { -uint8_t x_146; +uint8_t x_148; lean_dec(x_34); lean_dec(x_9); -x_146 = !lean_is_exclusive(x_133); -if (x_146 == 0) +x_148 = !lean_is_exclusive(x_135); +if (x_148 == 0) { -x_11 = x_133; +x_11 = x_135; goto block_23; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_147 = lean_ctor_get(x_133, 0); -x_148 = lean_ctor_get(x_133, 1); -lean_inc(x_148); -lean_inc(x_147); -lean_dec(x_133); -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_147); -lean_ctor_set(x_149, 1, x_148); -x_11 = x_149; +lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_149 = lean_ctor_get(x_135, 0); +x_150 = lean_ctor_get(x_135, 1); +lean_inc(x_150); +lean_inc(x_149); +lean_dec(x_135); +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +x_11 = x_151; goto block_23; } } } else { -uint8_t x_150; +uint8_t x_152; lean_dec(x_119); lean_dec(x_117); lean_dec(x_34); @@ -9167,31 +9172,31 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_150 = !lean_is_exclusive(x_125); -if (x_150 == 0) +x_152 = !lean_is_exclusive(x_127); +if (x_152 == 0) { -x_11 = x_125; +x_11 = x_127; goto block_23; } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_151 = lean_ctor_get(x_125, 0); -x_152 = lean_ctor_get(x_125, 1); -lean_inc(x_152); -lean_inc(x_151); -lean_dec(x_125); -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_151); -lean_ctor_set(x_153, 1, x_152); -x_11 = x_153; +lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_153 = lean_ctor_get(x_127, 0); +x_154 = lean_ctor_get(x_127, 1); +lean_inc(x_154); +lean_inc(x_153); +lean_dec(x_127); +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_153); +lean_ctor_set(x_155, 1, x_154); +x_11 = x_155; goto block_23; } } } else { -uint8_t x_154; +uint8_t x_156; lean_dec(x_117); lean_dec(x_34); lean_dec(x_9); @@ -9202,24 +9207,24 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_154 = !lean_is_exclusive(x_118); -if (x_154 == 0) +x_156 = !lean_is_exclusive(x_118); +if (x_156 == 0) { x_11 = x_118; goto block_23; } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_155 = lean_ctor_get(x_118, 0); -x_156 = lean_ctor_get(x_118, 1); -lean_inc(x_156); -lean_inc(x_155); +lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_157 = lean_ctor_get(x_118, 0); +x_158 = lean_ctor_get(x_118, 1); +lean_inc(x_158); +lean_inc(x_157); lean_dec(x_118); -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_155); -lean_ctor_set(x_157, 1, x_156); -x_11 = x_157; +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +x_11 = x_159; goto block_23; } } @@ -9227,37 +9232,14 @@ goto block_23; } else { -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_158 = lean_unsigned_to_nat(0u); -x_159 = l_Lean_Syntax_getArg(x_1, x_158); -x_160 = lean_unsigned_to_nat(2u); +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_160 = lean_unsigned_to_nat(0u); x_161 = l_Lean_Syntax_getArg(x_1, x_160); +x_162 = lean_unsigned_to_nat(2u); +x_163 = l_Lean_Syntax_getArg(x_1, x_162); lean_dec(x_1); -x_162 = l_Lean_Syntax_getArgs(x_161); -lean_dec(x_161); -lean_inc(x_9); -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_34); -x_163 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__6(x_159, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); -if (lean_obj_tag(x_163) == 0) -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; size_t x_167; size_t x_168; lean_object* x_169; lean_object* x_170; -x_164 = lean_ctor_get(x_163, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_163, 1); -lean_inc(x_165); +x_164 = l_Lean_Syntax_getArgs(x_163); lean_dec(x_163); -x_166 = lean_array_get_size(x_162); -x_167 = lean_usize_of_nat(x_166); -lean_dec(x_166); -x_168 = 0; -x_169 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -9267,92 +9249,150 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_34); -x_170 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__30(x_164, x_162, x_167, x_168, x_169, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_165); -lean_dec(x_162); -if (lean_obj_tag(x_170) == 0) +x_165 = l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__6(x_161, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); +if (lean_obj_tag(x_165) == 0) { -lean_object* x_171; lean_object* x_172; -x_171 = lean_ctor_get(x_170, 1); -lean_inc(x_171); -lean_dec(x_170); +lean_object* x_166; lean_object* x_167; lean_object* x_168; size_t x_169; size_t x_170; lean_object* x_171; lean_object* x_172; +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); +lean_dec(x_165); +x_168 = lean_array_get_size(x_164); +x_169 = lean_usize_of_nat(x_168); +lean_dec(x_168); +x_170 = 0; +x_171 = lean_box(0); lean_inc(x_9); +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_34); -x_172 = lean_apply_11(x_26, x_169, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_171); +x_172 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__32(x_166, x_164, x_169, x_170, x_171, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_167); +lean_dec(x_164); if (lean_obj_tag(x_172) == 0) { -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; -x_173 = lean_ctor_get(x_172, 0); +lean_object* x_173; lean_object* x_174; +x_173 = lean_ctor_get(x_172, 1); lean_inc(x_173); -x_174 = lean_ctor_get(x_172, 1); -lean_inc(x_174); lean_dec(x_172); -x_175 = lean_st_ref_get(x_9, x_174); -lean_dec(x_9); -x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_9); +lean_inc(x_34); +x_174 = lean_apply_11(x_26, x_171, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_173); +if (lean_obj_tag(x_174) == 0) +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_174, 1); lean_inc(x_176); -lean_dec(x_175); -x_177 = lean_st_ref_get(x_34, x_176); -lean_dec(x_34); -x_178 = !lean_is_exclusive(x_177); -if (x_178 == 0) -{ -lean_object* x_179; lean_object* x_180; -x_179 = lean_ctor_get(x_177, 0); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_173); -lean_ctor_set(x_180, 1, x_179); -lean_ctor_set(x_177, 0, x_180); -x_11 = x_177; -goto block_23; -} -else -{ -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; -x_181 = lean_ctor_get(x_177, 0); -x_182 = lean_ctor_get(x_177, 1); -lean_inc(x_182); -lean_inc(x_181); +lean_dec(x_174); +x_177 = lean_st_ref_get(x_9, x_176); +lean_dec(x_9); +x_178 = lean_ctor_get(x_177, 1); +lean_inc(x_178); lean_dec(x_177); -x_183 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_183, 0, x_173); -lean_ctor_set(x_183, 1, x_181); -x_184 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_184, 0, x_183); -lean_ctor_set(x_184, 1, x_182); -x_11 = x_184; +x_179 = lean_st_ref_get(x_34, x_178); +lean_dec(x_34); +x_180 = !lean_is_exclusive(x_179); +if (x_180 == 0) +{ +lean_object* x_181; lean_object* x_182; +x_181 = lean_ctor_get(x_179, 0); +x_182 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_182, 0, x_175); +lean_ctor_set(x_182, 1, x_181); +lean_ctor_set(x_179, 0, x_182); +x_11 = x_179; +goto block_23; +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_183 = lean_ctor_get(x_179, 0); +x_184 = lean_ctor_get(x_179, 1); +lean_inc(x_184); +lean_inc(x_183); +lean_dec(x_179); +x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_185, 0, x_175); +lean_ctor_set(x_185, 1, x_183); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_184); +x_11 = x_186; goto block_23; } } else { -uint8_t x_185; +uint8_t x_187; lean_dec(x_34); lean_dec(x_9); -x_185 = !lean_is_exclusive(x_172); -if (x_185 == 0) +x_187 = !lean_is_exclusive(x_174); +if (x_187 == 0) +{ +x_11 = x_174; +goto block_23; +} +else +{ +lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_188 = lean_ctor_get(x_174, 0); +x_189 = lean_ctor_get(x_174, 1); +lean_inc(x_189); +lean_inc(x_188); +lean_dec(x_174); +x_190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_190, 0, x_188); +lean_ctor_set(x_190, 1, x_189); +x_11 = x_190; +goto block_23; +} +} +} +else +{ +uint8_t x_191; +lean_dec(x_34); +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_191 = !lean_is_exclusive(x_172); +if (x_191 == 0) { x_11 = x_172; goto block_23; } else { -lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_186 = lean_ctor_get(x_172, 0); -x_187 = lean_ctor_get(x_172, 1); -lean_inc(x_187); -lean_inc(x_186); +lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_192 = lean_ctor_get(x_172, 0); +x_193 = lean_ctor_get(x_172, 1); +lean_inc(x_193); +lean_inc(x_192); lean_dec(x_172); -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_186); -lean_ctor_set(x_188, 1, x_187); -x_11 = x_188; +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_192); +lean_ctor_set(x_194, 1, x_193); +x_11 = x_194; goto block_23; } } } else { -uint8_t x_189; +uint8_t x_195; +lean_dec(x_164); lean_dec(x_34); lean_dec(x_9); lean_dec(x_8); @@ -9362,59 +9402,24 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_189 = !lean_is_exclusive(x_170); -if (x_189 == 0) +x_195 = !lean_is_exclusive(x_165); +if (x_195 == 0) { -x_11 = x_170; +x_11 = x_165; goto block_23; } else { -lean_object* x_190; lean_object* x_191; lean_object* x_192; -x_190 = lean_ctor_get(x_170, 0); -x_191 = lean_ctor_get(x_170, 1); -lean_inc(x_191); -lean_inc(x_190); -lean_dec(x_170); -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_190); -lean_ctor_set(x_192, 1, x_191); -x_11 = x_192; -goto block_23; -} -} -} -else -{ -uint8_t x_193; -lean_dec(x_162); -lean_dec(x_34); -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_193 = !lean_is_exclusive(x_163); -if (x_193 == 0) -{ -x_11 = x_163; -goto block_23; -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_194 = lean_ctor_get(x_163, 0); -x_195 = lean_ctor_get(x_163, 1); -lean_inc(x_195); -lean_inc(x_194); -lean_dec(x_163); -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_11 = x_196; +lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_196 = lean_ctor_get(x_165, 0); +x_197 = lean_ctor_get(x_165, 1); +lean_inc(x_197); +lean_inc(x_196); +lean_dec(x_165); +x_198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_198, 0, x_196); +lean_ctor_set(x_198, 1, x_197); +x_11 = x_198; goto block_23; } } @@ -9422,17 +9427,17 @@ goto block_23; } else { -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; size_t x_201; size_t x_202; lean_object* x_203; lean_object* x_204; -x_197 = lean_unsigned_to_nat(1u); -x_198 = l_Lean_Syntax_getArg(x_1, x_197); +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; size_t x_203; size_t x_204; lean_object* x_205; lean_object* x_206; +x_199 = lean_unsigned_to_nat(1u); +x_200 = l_Lean_Syntax_getArg(x_1, x_199); lean_dec(x_1); -x_199 = l_Lean_Syntax_getArgs(x_198); -lean_dec(x_198); -x_200 = lean_array_get_size(x_199); -x_201 = lean_usize_of_nat(x_200); +x_201 = l_Lean_Syntax_getArgs(x_200); lean_dec(x_200); -x_202 = 0; -x_203 = lean_box(0); +x_202 = lean_array_get_size(x_201); +x_203 = lean_usize_of_nat(x_202); +lean_dec(x_202); +x_204 = 0; +x_205 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -9442,142 +9447,142 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_34); -x_204 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__34(x_199, x_201, x_202, x_203, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); -lean_dec(x_199); -if (lean_obj_tag(x_204) == 0) -{ -lean_object* x_205; lean_object* x_206; -x_205 = lean_ctor_get(x_204, 1); -lean_inc(x_205); -lean_dec(x_204); -lean_inc(x_9); -lean_inc(x_34); -x_206 = lean_apply_11(x_26, x_203, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_205); +x_206 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__34(x_201, x_203, x_204, x_205, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_35); +lean_dec(x_201); if (lean_obj_tag(x_206) == 0) { -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; -x_207 = lean_ctor_get(x_206, 0); +lean_object* x_207; lean_object* x_208; +x_207 = lean_ctor_get(x_206, 1); lean_inc(x_207); -x_208 = lean_ctor_get(x_206, 1); -lean_inc(x_208); lean_dec(x_206); -x_209 = lean_st_ref_get(x_9, x_208); -lean_dec(x_9); -x_210 = lean_ctor_get(x_209, 1); +lean_inc(x_9); +lean_inc(x_34); +x_208 = lean_apply_11(x_26, x_205, x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_207); +if (lean_obj_tag(x_208) == 0) +{ +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; +x_209 = lean_ctor_get(x_208, 0); +lean_inc(x_209); +x_210 = lean_ctor_get(x_208, 1); lean_inc(x_210); -lean_dec(x_209); -x_211 = lean_st_ref_get(x_34, x_210); -lean_dec(x_34); -x_212 = !lean_is_exclusive(x_211); -if (x_212 == 0) -{ -lean_object* x_213; lean_object* x_214; -x_213 = lean_ctor_get(x_211, 0); -x_214 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_214, 0, x_207); -lean_ctor_set(x_214, 1, x_213); -lean_ctor_set(x_211, 0, x_214); -x_11 = x_211; -goto block_23; -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_215 = lean_ctor_get(x_211, 0); -x_216 = lean_ctor_get(x_211, 1); -lean_inc(x_216); -lean_inc(x_215); +lean_dec(x_208); +x_211 = lean_st_ref_get(x_9, x_210); +lean_dec(x_9); +x_212 = lean_ctor_get(x_211, 1); +lean_inc(x_212); lean_dec(x_211); -x_217 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_217, 0, x_207); -lean_ctor_set(x_217, 1, x_215); -x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_216); -x_11 = x_218; +x_213 = lean_st_ref_get(x_34, x_212); +lean_dec(x_34); +x_214 = !lean_is_exclusive(x_213); +if (x_214 == 0) +{ +lean_object* x_215; lean_object* x_216; +x_215 = lean_ctor_get(x_213, 0); +x_216 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_216, 0, x_209); +lean_ctor_set(x_216, 1, x_215); +lean_ctor_set(x_213, 0, x_216); +x_11 = x_213; +goto block_23; +} +else +{ +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +x_217 = lean_ctor_get(x_213, 0); +x_218 = lean_ctor_get(x_213, 1); +lean_inc(x_218); +lean_inc(x_217); +lean_dec(x_213); +x_219 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_219, 0, x_209); +lean_ctor_set(x_219, 1, x_217); +x_220 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_220, 0, x_219); +lean_ctor_set(x_220, 1, x_218); +x_11 = x_220; goto block_23; } } else { -uint8_t x_219; +uint8_t x_221; lean_dec(x_34); lean_dec(x_9); -x_219 = !lean_is_exclusive(x_206); -if (x_219 == 0) +x_221 = !lean_is_exclusive(x_208); +if (x_221 == 0) +{ +x_11 = x_208; +goto block_23; +} +else +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; +x_222 = lean_ctor_get(x_208, 0); +x_223 = lean_ctor_get(x_208, 1); +lean_inc(x_223); +lean_inc(x_222); +lean_dec(x_208); +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_222); +lean_ctor_set(x_224, 1, x_223); +x_11 = x_224; +goto block_23; +} +} +} +else +{ +uint8_t x_225; +lean_dec(x_34); +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_225 = !lean_is_exclusive(x_206); +if (x_225 == 0) { x_11 = x_206; goto block_23; } else { -lean_object* x_220; lean_object* x_221; lean_object* x_222; -x_220 = lean_ctor_get(x_206, 0); -x_221 = lean_ctor_get(x_206, 1); -lean_inc(x_221); -lean_inc(x_220); -lean_dec(x_206); -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_220); -lean_ctor_set(x_222, 1, x_221); -x_11 = x_222; -goto block_23; -} -} -} -else -{ -uint8_t x_223; -lean_dec(x_34); -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_223 = !lean_is_exclusive(x_204); -if (x_223 == 0) -{ -x_11 = x_204; -goto block_23; -} -else -{ -lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_224 = lean_ctor_get(x_204, 0); -x_225 = lean_ctor_get(x_204, 1); -lean_inc(x_225); -lean_inc(x_224); -lean_dec(x_204); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_224); -lean_ctor_set(x_226, 1, x_225); -x_11 = x_226; -goto block_23; -} -} -} -} -else -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; size_t x_233; size_t x_234; lean_object* x_235; lean_object* x_236; -x_227 = lean_ctor_get(x_33, 0); +lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_226 = lean_ctor_get(x_206, 0); +x_227 = lean_ctor_get(x_206, 1); lean_inc(x_227); -x_228 = lean_ctor_get(x_33, 1); -lean_inc(x_228); +lean_inc(x_226); +lean_dec(x_206); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_226); +lean_ctor_set(x_228, 1, x_227); +x_11 = x_228; +goto block_23; +} +} +} +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; size_t x_235; size_t x_236; lean_object* x_237; lean_object* x_238; +x_229 = lean_ctor_get(x_33, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_33, 1); +lean_inc(x_230); lean_dec(x_33); -x_229 = lean_unsigned_to_nat(0u); -x_230 = l_Lean_Syntax_getArg(x_1, x_229); +x_231 = lean_unsigned_to_nat(0u); +x_232 = l_Lean_Syntax_getArg(x_1, x_231); lean_dec(x_1); -x_231 = l_Lean_Syntax_getArgs(x_230); -lean_dec(x_230); -x_232 = lean_array_get_size(x_231); -x_233 = lean_usize_of_nat(x_232); +x_233 = l_Lean_Syntax_getArgs(x_232); lean_dec(x_232); -x_234 = 0; -x_235 = lean_box(0); +x_234 = lean_array_get_size(x_233); +x_235 = lean_usize_of_nat(x_234); +lean_dec(x_234); +x_236 = 0; +x_237 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -9586,94 +9591,94 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_227); -x_236 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__36(x_231, x_233, x_234, x_235, x_227, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_228); -lean_dec(x_231); -if (lean_obj_tag(x_236) == 0) -{ -lean_object* x_237; lean_object* x_238; -x_237 = lean_ctor_get(x_236, 1); -lean_inc(x_237); -lean_dec(x_236); -lean_inc(x_9); -lean_inc(x_227); -x_238 = lean_apply_11(x_26, x_235, x_227, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_237); +lean_inc(x_229); +x_238 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__36(x_233, x_235, x_236, x_237, x_229, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_230); +lean_dec(x_233); if (lean_obj_tag(x_238) == 0) { -lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; -x_239 = lean_ctor_get(x_238, 0); +lean_object* x_239; lean_object* x_240; +x_239 = lean_ctor_get(x_238, 1); lean_inc(x_239); -x_240 = lean_ctor_get(x_238, 1); -lean_inc(x_240); lean_dec(x_238); -x_241 = lean_st_ref_get(x_9, x_240); -lean_dec(x_9); -x_242 = lean_ctor_get(x_241, 1); +lean_inc(x_9); +lean_inc(x_229); +x_240 = lean_apply_11(x_26, x_237, x_229, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_239); +if (lean_obj_tag(x_240) == 0) +{ +lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; +x_241 = lean_ctor_get(x_240, 0); +lean_inc(x_241); +x_242 = lean_ctor_get(x_240, 1); lean_inc(x_242); -lean_dec(x_241); -x_243 = lean_st_ref_get(x_227, x_242); -lean_dec(x_227); -x_244 = !lean_is_exclusive(x_243); -if (x_244 == 0) -{ -lean_object* x_245; lean_object* x_246; -x_245 = lean_ctor_get(x_243, 0); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_239); -lean_ctor_set(x_246, 1, x_245); -lean_ctor_set(x_243, 0, x_246); -x_11 = x_243; -goto block_23; -} -else -{ -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; -x_247 = lean_ctor_get(x_243, 0); -x_248 = lean_ctor_get(x_243, 1); -lean_inc(x_248); -lean_inc(x_247); -lean_dec(x_243); -x_249 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_249, 0, x_239); -lean_ctor_set(x_249, 1, x_247); -x_250 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_250, 0, x_249); -lean_ctor_set(x_250, 1, x_248); -x_11 = x_250; -goto block_23; -} -} -else -{ -uint8_t x_251; -lean_dec(x_227); +lean_dec(x_240); +x_243 = lean_st_ref_get(x_9, x_242); lean_dec(x_9); -x_251 = !lean_is_exclusive(x_238); -if (x_251 == 0) +x_244 = lean_ctor_get(x_243, 1); +lean_inc(x_244); +lean_dec(x_243); +x_245 = lean_st_ref_get(x_229, x_244); +lean_dec(x_229); +x_246 = !lean_is_exclusive(x_245); +if (x_246 == 0) { -x_11 = x_238; +lean_object* x_247; lean_object* x_248; +x_247 = lean_ctor_get(x_245, 0); +x_248 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_248, 0, x_241); +lean_ctor_set(x_248, 1, x_247); +lean_ctor_set(x_245, 0, x_248); +x_11 = x_245; goto block_23; } else { -lean_object* x_252; lean_object* x_253; lean_object* x_254; -x_252 = lean_ctor_get(x_238, 0); -x_253 = lean_ctor_get(x_238, 1); -lean_inc(x_253); -lean_inc(x_252); -lean_dec(x_238); -x_254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_254, 0, x_252); -lean_ctor_set(x_254, 1, x_253); -x_11 = x_254; +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +x_249 = lean_ctor_get(x_245, 0); +x_250 = lean_ctor_get(x_245, 1); +lean_inc(x_250); +lean_inc(x_249); +lean_dec(x_245); +x_251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_241); +lean_ctor_set(x_251, 1, x_249); +x_252 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_252, 0, x_251); +lean_ctor_set(x_252, 1, x_250); +x_11 = x_252; +goto block_23; +} +} +else +{ +uint8_t x_253; +lean_dec(x_229); +lean_dec(x_9); +x_253 = !lean_is_exclusive(x_240); +if (x_253 == 0) +{ +x_11 = x_240; +goto block_23; +} +else +{ +lean_object* x_254; lean_object* x_255; lean_object* x_256; +x_254 = lean_ctor_get(x_240, 0); +x_255 = lean_ctor_get(x_240, 1); +lean_inc(x_255); +lean_inc(x_254); +lean_dec(x_240); +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_11 = x_256; goto block_23; } } } else { -uint8_t x_255; -lean_dec(x_227); +uint8_t x_257; +lean_dec(x_229); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -9682,24 +9687,24 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_255 = !lean_is_exclusive(x_236); -if (x_255 == 0) +x_257 = !lean_is_exclusive(x_238); +if (x_257 == 0) { -x_11 = x_236; +x_11 = x_238; goto block_23; } else { -lean_object* x_256; lean_object* x_257; lean_object* x_258; -x_256 = lean_ctor_get(x_236, 0); -x_257 = lean_ctor_get(x_236, 1); -lean_inc(x_257); -lean_inc(x_256); -lean_dec(x_236); -x_258 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_258, 0, x_256); -lean_ctor_set(x_258, 1, x_257); -x_11 = x_258; +lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_258 = lean_ctor_get(x_238, 0); +x_259 = lean_ctor_get(x_238, 1); +lean_inc(x_259); +lean_inc(x_258); +lean_dec(x_238); +x_260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_260, 0, x_258); +lean_ctor_set(x_260, 1, x_259); +x_11 = x_260; goto block_23; } } @@ -10422,7 +10427,7 @@ lean_dec(x_2); return x_18; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { size_t x_16; size_t x_17; lean_object* x_18; @@ -10430,110 +10435,7 @@ x_16 = lean_unbox_usize(x_3); lean_dec(x_3); x_17 = lean_unbox_usize(x_4); lean_dec(x_4); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__23(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_2); -return x_18; -} -} -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__28___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__28___rarg(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__28___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_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__28(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -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); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___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_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27(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_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__29___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_15 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__29(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_16; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__30___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__30(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_2); -return x_18; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__32___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__32(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__24(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -10547,11 +10449,11 @@ lean_dec(x_2); return x_18; } } -LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__31___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__23___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_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__31(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_activateScoped___at_Lean_Elab_Tactic_evalOpen___spec__23(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_10); lean_dec(x_9); lean_dec(x_8); @@ -10564,6 +10466,109 @@ lean_dec(x_2); return x_12; } } +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__25(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_2); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__30___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__30___rarg(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__30___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_getRefPos___at_Lean_Elab_Tactic_evalOpen___spec__30(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +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); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___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_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29(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_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__31___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_evalOpen___spec__31(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__32___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalOpen___spec__32(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_2); +return x_18; +} +} LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Tactic_evalOpen___spec__33___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -11415,7 +11420,7 @@ x_32 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1__ x_33 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); -x_34 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1; +x_34 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1; x_35 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); @@ -11459,7 +11464,7 @@ x_42 = l_Lean_Elab_elabSetOption___at_Lean_Elab_Tactic_elabSetOption___spec__1__ x_43 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); -x_44 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1; +x_44 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1; x_45 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); @@ -29075,7 +29080,7 @@ x_31 = l_Lean_TSyntax_getString(x_27); lean_dec(x_27); x_32 = l_Lean_stringToMessageData(x_31); lean_dec(x_31); -x_33 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1; +x_33 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1; x_34 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -29102,7 +29107,7 @@ x_40 = l_Lean_Elab_Tactic_evalFail___closed__10; x_41 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_17); -x_42 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1; +x_42 = l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1; x_43 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_43, 0, x_41); lean_ctor_set(x_43, 1, x_42); @@ -30144,30 +30149,30 @@ l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__1 lean_mark_persistent(l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__2); l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__3 = _init_l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__3(); lean_mark_persistent(l_Lean_resolveGlobalConstNoOverloadCore___at_Lean_Elab_Tactic_evalOpen___spec__13___closed__3); -l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1(); -lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__1); -l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__2 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__2(); -lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__2); -l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__3 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__3(); -lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__3); -l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__4 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__4(); -lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__4); -l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__5 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__5(); -lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__27___closed__5); -l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__1 = _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__1(); -lean_mark_persistent(l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__1); -l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__2 = _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__2(); -lean_mark_persistent(l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__2); -l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___closed__1 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___closed__1); -l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___closed__2 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___lambda__1___closed__2); -l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__1 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__1); -l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__2 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__2); -l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__3 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__24___closed__3); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__1); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__2 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__2(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__2); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__3 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__3(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__3); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__4 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__4(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__4); +l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__5 = _init_l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__5(); +lean_mark_persistent(l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Tactic_evalOpen___spec__29___closed__5); +l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28___closed__1 = _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28___closed__1); +l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28___closed__2 = _init_l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28___closed__2(); +lean_mark_persistent(l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Tactic_evalOpen___spec__28___closed__2); +l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___closed__1 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___closed__1); +l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___closed__2 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___lambda__1___closed__2); +l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__1 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__1); +l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__2 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__2); +l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__3 = _init_l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Tactic_evalOpen___spec__26___closed__3); l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__2___closed__1 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__2___closed__1); l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__2___closed__2 = _init_l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Tactic_evalOpen___spec__3___lambda__2___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c index 59e6d5199d..05f7014aa6 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c +++ b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c @@ -15,7 +15,7 @@ extern "C" { #endif static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalApplyLikeTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalApplyLikeTactic___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_EXPORT lean_object* l_Lean_Elab_Tactic_evalApplyLikeTactic___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*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSpecialize_declRange___closed__2; size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalWithReducibleAndInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -93,6 +93,7 @@ static lean_object* l_Lean_Elab_Tactic_refineCore___lambda__4___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalRename(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalConstructor___rarg(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_evalDecide___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalApplyLikeTactic___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*); static lean_object* l_Lean_Elab_Tactic_evalNativeDecide___rarg___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_sortMVarIdArrayByIndex___at_Lean_Elab_Tactic_withCollectingNewGoalsFrom_go___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_Name_mkStr2(lean_object*, lean_object*); @@ -165,6 +166,7 @@ static lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_Tactic_evalRenam static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_elabTermWithHoles(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalApplyLikeTactic___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Tactic_evalRename___spec__5___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*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalDecide___rarg___lambda__2___closed__2; @@ -319,6 +321,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll___close uint8_t lean_expr_eqv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalWithReducible___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_evalApply_declRange___closed__5; +uint8_t l_Lean_Expr_isMVar(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalApply_declRange___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_preprocessPropToDecide(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -6314,215 +6317,6 @@ x_13 = l_Lean_Elab_Tactic_elabTermForApply(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalApplyLikeTactic___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* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = 1; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_13 = l_Lean_Elab_Tactic_elabTermForApply(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -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); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_16 = l_Lean_Elab_Tactic_getMainGoal(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -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); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_19 = lean_apply_7(x_2, x_17, x_14, x_7, x_8, x_9, x_10, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; uint8_t 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 = 0; -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_23 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_22, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = l_Lean_Elab_Tactic_replaceMainGoal(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_24); -return x_25; -} -else -{ -uint8_t x_26; -lean_dec(x_20); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_26 = !lean_is_exclusive(x_23); -if (x_26 == 0) -{ -return x_23; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_23, 0); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_23); -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_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_30 = !lean_is_exclusive(x_19); -if (x_30 == 0) -{ -return x_19; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_19, 0); -x_32 = lean_ctor_get(x_19, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_19); -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 -{ -uint8_t x_34; -lean_dec(x_14); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_34 = !lean_is_exclusive(x_16); -if (x_34 == 0) -{ -return x_16; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_16, 0); -x_36 = lean_ctor_get(x_16, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_16); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -else -{ -uint8_t x_38; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_38 = !lean_is_exclusive(x_13); -if (x_38 == 0) -{ -return x_13; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_13, 0); -x_40 = lean_ctor_get(x_13, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_13); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalApplyLikeTactic(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; lean_object* x_13; -x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalApplyLikeTactic___lambda__1), 11, 2); -lean_closure_set(x_12, 0, x_2); -lean_closure_set(x_12, 1, 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; -} -} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_getFVarId___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) { _start: { @@ -7016,6 +6810,304 @@ x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_getFVarIds___spec__1(x_13, x return x_15; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalApplyLikeTactic___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* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_13 = l_Lean_Elab_Tactic_getMainGoal(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +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); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_16 = lean_apply_7(x_1, x_14, x_2, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t 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 = 0; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_20 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_19, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = l_Lean_Elab_Tactic_replaceMainGoal(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +return x_22; +} +else +{ +uint8_t x_23; +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_23 = !lean_is_exclusive(x_20); +if (x_23 == 0) +{ +return x_20; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_20, 0); +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_20); +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; +} +} +} +else +{ +uint8_t x_27; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_27 = !lean_is_exclusive(x_16); +if (x_27 == 0) +{ +return x_16; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_16, 0); +x_29 = lean_ctor_get(x_16, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_16); +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_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_13); +if (x_31 == 0) +{ +return x_13; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_13, 0); +x_33 = lean_ctor_get(x_13, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_13); +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_EXPORT lean_object* l_Lean_Elab_Tactic_evalApplyLikeTactic___lambda__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, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = 1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_13 = l_Lean_Elab_Tactic_elabTermForApply(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +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_instantiateMVars___at_Lean_Elab_Tactic_getMainTarget___spec__1(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +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 = l_Lean_Expr_isMVar(x_17); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +x_21 = l_Lean_Elab_Tactic_evalApplyLikeTactic___lambda__1(x_2, x_17, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +return x_21; +} +else +{ +uint8_t x_22; lean_object* x_23; +x_22 = 0; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_23 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_22, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = l_Lean_instantiateMVars___at_Lean_Elab_Tactic_getMainTarget___spec__1(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_24); +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_box(0); +x_29 = l_Lean_Elab_Tactic_evalApplyLikeTactic___lambda__1(x_2, x_26, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +return x_29; +} +else +{ +uint8_t x_30; +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) +{ +return x_23; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_23); +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 +{ +uint8_t x_34; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_34 = !lean_is_exclusive(x_13); +if (x_34 == 0) +{ +return x_13; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_13, 0); +x_36 = lean_ctor_get(x_13, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_13); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalApplyLikeTactic(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; lean_object* x_13; +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalApplyLikeTactic___lambda__2), 11, 2); +lean_closure_set(x_12, 0, x_2); +lean_closure_set(x_12, 1, 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; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalApplyLikeTactic___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_evalApplyLikeTactic___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_3); +return x_13; +} +} static lean_object* _init_l_Lean_Elab_Tactic_evalApply___lambda__1___closed__1() { _start: { @@ -7143,7 +7235,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalApply_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(258u); +x_1 = lean_unsigned_to_nat(271u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7155,7 +7247,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalApply_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(261u); +x_1 = lean_unsigned_to_nat(274u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7183,7 +7275,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalApply_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(258u); +x_1 = lean_unsigned_to_nat(271u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7195,7 +7287,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalApply_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(258u); +x_1 = lean_unsigned_to_nat(271u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7486,7 +7578,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalConstructor_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(263u); +x_1 = lean_unsigned_to_nat(276u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7498,7 +7590,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalConstructor_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(267u); +x_1 = lean_unsigned_to_nat(280u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7526,7 +7618,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalConstructor_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(263u); +x_1 = lean_unsigned_to_nat(276u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7538,7 +7630,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalConstructor_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(263u); +x_1 = lean_unsigned_to_nat(276u); x_2 = lean_unsigned_to_nat(68u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7919,7 +8011,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithReducible_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(269u); +x_1 = lean_unsigned_to_nat(282u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7931,7 +8023,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithReducible_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(270u); +x_1 = lean_unsigned_to_nat(283u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7959,7 +8051,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithReducible_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(269u); +x_1 = lean_unsigned_to_nat(282u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7971,7 +8063,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithReducible_decl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(269u); +x_1 = lean_unsigned_to_nat(282u); x_2 = lean_unsigned_to_nat(72u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8352,7 +8444,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndIn _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(272u); +x_1 = lean_unsigned_to_nat(285u); x_2 = lean_unsigned_to_nat(63u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8364,7 +8456,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndIn _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(273u); +x_1 = lean_unsigned_to_nat(286u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8392,7 +8484,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndIn _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(272u); +x_1 = lean_unsigned_to_nat(285u); x_2 = lean_unsigned_to_nat(67u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8404,7 +8496,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndIn _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(272u); +x_1 = lean_unsigned_to_nat(285u); x_2 = lean_unsigned_to_nat(96u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8785,7 +8877,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(275u); +x_1 = lean_unsigned_to_nat(288u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8797,7 +8889,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(276u); +x_1 = lean_unsigned_to_nat(289u); x_2 = lean_unsigned_to_nat(60u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8825,7 +8917,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(275u); +x_1 = lean_unsigned_to_nat(288u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8837,7 +8929,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(275u); +x_1 = lean_unsigned_to_nat(288u); x_2 = lean_unsigned_to_nat(78u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11045,7 +11137,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRename_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(299u); +x_1 = lean_unsigned_to_nat(312u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11057,7 +11149,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRename_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(314u); +x_1 = lean_unsigned_to_nat(327u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11085,7 +11177,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRename_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(299u); +x_1 = lean_unsigned_to_nat(312u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11097,7 +11189,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalRename_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(299u); +x_1 = lean_unsigned_to_nat(312u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12001,7 +12093,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(328u); +x_1 = lean_unsigned_to_nat(341u); x_2 = lean_unsigned_to_nat(44u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12013,7 +12105,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(338u); +x_1 = lean_unsigned_to_nat(351u); x_2 = lean_unsigned_to_nat(74u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12041,7 +12133,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(328u); +x_1 = lean_unsigned_to_nat(341u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12053,7 +12145,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalDecide_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(328u); +x_1 = lean_unsigned_to_nat(341u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12639,7 +12731,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(351u); +x_1 = lean_unsigned_to_nat(364u); x_2 = lean_unsigned_to_nat(50u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12651,7 +12743,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(358u); +x_1 = lean_unsigned_to_nat(371u); x_2 = lean_unsigned_to_nat(160u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12679,7 +12771,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(351u); +x_1 = lean_unsigned_to_nat(364u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12691,7 +12783,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalNativeDecide_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(351u); +x_1 = lean_unsigned_to_nat(364u); x_2 = lean_unsigned_to_nat(70u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Induction.c b/stage0/stdlib/Lean/Elab/Tactic/Induction.c index 1f353b4228..a8d0973056 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Induction.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Induction.c @@ -68,6 +68,7 @@ static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_g static lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getOptPreTacOfOptInductionAlts___closed__1; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_addDotCompletionInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalInduction___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); @@ -536,7 +537,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tac LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_ElimApp_getArgExpectedType___rarg(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_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_ElimApp_evalAlts_go___spec__7___lambda__4___closed__2; -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getAltsOfInductionAlts(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalInduction___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Induction_0__Lean_Elab_Tactic_getElimNameInfo___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3660,7 +3660,7 @@ x_43 = l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__6; x_44 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_44, 0, x_42); lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_44, x_4, x_5, x_6, x_7, x_36); +x_45 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_44, x_4, x_5, x_6, x_7, x_36); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -17275,7 +17275,7 @@ x_16 = l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__6; x_17 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_17, x_4, x_5, x_6, x_7, x_8); +x_18 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_17, x_4, x_5, x_6, x_7, x_8); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) { @@ -17345,7 +17345,7 @@ x_18 = l_Lean_Elab_Tactic_ElimApp_setMotiveArg___closed__6; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_19, x_6, x_7, x_8, x_9, x_10); +x_20 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_19, x_6, x_7, x_8, x_9, x_10); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Simp.c b/stage0/stdlib/Lean/Elab/Tactic/Simp.c index 3a1a035078..d7ca91c556 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Simp.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Simp.c @@ -56,6 +56,7 @@ lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_SimpKind_toCtorIdx(uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticToDischarge___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_SimpExtension_getTheorems(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_821_(uint8_t, uint8_t); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -464,7 +465,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll_declRange___clos lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_elabSimpArgs___spec__20___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_mkSimpContext___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_tacticToDischarge___closed__2; lean_object* l_Lean_Meta_SimpTheoremsArray_addTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Tactic_elabSimpArgs___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4055,7 +4055,7 @@ x_31 = l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTh x_32 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_32, x_7, x_8, x_9, x_10, x_27); +x_33 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_32, x_7, x_8, x_9, x_10, x_27); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); diff --git a/stage0/stdlib/Lean/Meta/AppBuilder.c b/stage0/stdlib/Lean/Meta/AppBuilder.c index 2b83493ac9..298b115f94 100644 --- a/stage0/stdlib/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Lean/Meta/AppBuilder.c @@ -149,6 +149,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_o static lean_object* l_Lean_Meta_mkProjection___closed__3; static lean_object* l_Lean_Meta_mkPure___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_infer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_mkIffOfEq___closed__1; lean_object* l_Lean_MVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkFun___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -165,6 +166,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBu lean_object* l_List_mapTRAux___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at_Lean_Meta_processPostponed___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkSub___closed__2; +static lean_object* l_Lean_Meta_mkIffOfEq___closed__2; lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkHEq___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_mkEqFalse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -279,6 +281,7 @@ lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_obj static lean_object* l_Lean_Meta_mkEqOfHEq___closed__1; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_MessageData_arrayExpr_toMessageData(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_mkIffOfEq___closed__3; static lean_object* l_Lean_Meta_mkCongrFun___closed__4; static lean_object* l_Lean_Meta_mkEqOfHEq___closed__2; static lean_object* l_Lean_Meta_mkFunExt___closed__2; @@ -324,6 +327,7 @@ static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilder LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkEqMPR(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_mkIffOfEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkEqTrans(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__6; @@ -350,7 +354,7 @@ static lean_object* l_Lean_Meta_mkEqOfHEq___closed__3; static lean_object* l_Lean_Meta_mkProjection___lambda__1___closed__9; static lean_object* l_Lean_Meta_mkEqMPR___closed__1; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7074_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7114_(lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, 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___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -11943,7 +11947,65 @@ x_10 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkBinaryRel(x_8, x_9, x_1, return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7074_(lean_object* x_1) { +static lean_object* _init_l_Lean_Meta_mkIffOfEq___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Iff", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_mkIffOfEq___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("of_eq", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_mkIffOfEq___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_mkIffOfEq___closed__1; +x_2 = l_Lean_Meta_mkIffOfEq___closed__2; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_mkIffOfEq(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; uint8_t x_9; +x_7 = l_Lean_Meta_mkPropExt___closed__2; +x_8 = lean_unsigned_to_nat(3u); +x_9 = l_Lean_Expr_isAppOfArity(x_1, x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = l_Lean_Meta_mkDecideProof___closed__4; +x_11 = lean_array_push(x_10, x_1); +x_12 = l_Lean_Meta_mkIffOfEq___closed__3; +x_13 = l_Lean_Meta_mkAppM(x_12, x_11, x_2, x_3, x_4, x_5, x_6); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_14 = l_Lean_Expr_appArg_x21(x_1); +lean_dec(x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_6); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7114_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; @@ -12479,7 +12541,13 @@ l_Lean_Meta_mkLE___closed__1 = _init_l_Lean_Meta_mkLE___closed__1(); lean_mark_persistent(l_Lean_Meta_mkLE___closed__1); l_Lean_Meta_mkLT___closed__1 = _init_l_Lean_Meta_mkLT___closed__1(); lean_mark_persistent(l_Lean_Meta_mkLT___closed__1); -res = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7074_(lean_io_mk_world()); +l_Lean_Meta_mkIffOfEq___closed__1 = _init_l_Lean_Meta_mkIffOfEq___closed__1(); +lean_mark_persistent(l_Lean_Meta_mkIffOfEq___closed__1); +l_Lean_Meta_mkIffOfEq___closed__2 = _init_l_Lean_Meta_mkIffOfEq___closed__2(); +lean_mark_persistent(l_Lean_Meta_mkIffOfEq___closed__2); +l_Lean_Meta_mkIffOfEq___closed__3 = _init_l_Lean_Meta_mkIffOfEq___closed__3(); +lean_mark_persistent(l_Lean_Meta_mkIffOfEq___closed__3); +res = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7114_(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/Meta/IndPredBelow.c b/stage0/stdlib/Lean/Meta/IndPredBelow.c index fe56c287fd..cf97e45009 100644 --- a/stage0/stdlib/Lean/Meta/IndPredBelow.c +++ b/stage0/stdlib/Lean/Meta/IndPredBelow.c @@ -46,6 +46,7 @@ lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_numLevelParams(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -486,7 +487,6 @@ lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__2___closed__1; static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__2___closed__4; extern lean_object* l_Lean_instInhabitedInductiveVal; -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH___closed__2; extern lean_object* l_Lean_brecOnSuffix; static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__1___closed__2; @@ -7821,7 +7821,7 @@ x_31 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBind x_32 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_32, x_3, x_4, x_5, x_6, x_23); +x_33 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_32, x_3, x_4, x_5, x_6, x_23); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index b510b43993..875e8c2e77 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -81,6 +81,7 @@ lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isArrayLitTransition___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___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_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f___lambda__2___closed__6; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); @@ -817,7 +818,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_wi LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop___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_Meta_Match_getMkMatcherInputInContext___lambda__3___closed__1; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10779____lambda__1(uint8_t, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable___closed__1; @@ -34675,7 +34675,7 @@ x_28 = lean_ctor_get(x_25, 1); lean_inc(x_28); lean_dec(x_25); x_29 = l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__2; -x_30 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_29, x_7, x_8, x_9, x_10, x_28); +x_30 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_29, x_7, x_8, x_9, x_10, x_28); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -34988,7 +34988,7 @@ x_19 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4; x_20 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_20, x_5, x_6, x_7, x_8, x_9); +x_21 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_20, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); diff --git a/stage0/stdlib/Lean/Meta/Match/MatchEqs.c b/stage0/stdlib/Lean/Meta/Match/MatchEqs.c index 0576c04924..a35ca74387 100644 --- a/stage0/stdlib/Lean/Meta/Match/MatchEqs.c +++ b/stage0/stdlib/Lean/Meta/Match/MatchEqs.c @@ -68,6 +68,7 @@ uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Meta_casesOnStuckLHS___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__13(lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_isCastEqRec___spec__2___closed__1; @@ -651,7 +652,6 @@ static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSp lean_object* l_Array_getIdx_x3f___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_processNextEq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_substRHS___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_processNextEq___lambda__4___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___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___closed__6; lean_object* l_Lean_Meta_setInlineAttribute(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -11795,7 +11795,7 @@ else lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_dec(x_129); x_134 = l_Lean_Meta_Match_proveCondEqThm_go___lambda__2___closed__11; -x_135 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_134, x_5, x_6, x_7, x_8, x_130); +x_135 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_134, x_5, x_6, x_7, x_8, x_130); x_136 = lean_ctor_get(x_135, 1); lean_inc(x_136); lean_dec(x_135); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Apply.c b/stage0/stdlib/Lean/Meta/Tactic/Apply.c index 01e0b1a4e5..e072fc15aa 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Apply.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Apply.c @@ -17,12 +17,12 @@ lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l_Lean_MVarId_exfalso___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_noConfusion___rarg(uint8_t, uint8_t, lean_object*); size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_MVarId_apply___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Meta_splitAndCore_go___closed__6; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_apply_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_MVarId_apply___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -32,9 +32,10 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getExpectedNumArgs(lean_object*, lean_objec lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError(lean_object*); +lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_dependsOnOthers___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_getTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_apply___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_apply___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_noConfusion___rarg___lambda__1(lean_object*); @@ -81,6 +82,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_noConfusion(lean_object*); lean_object* l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_splitAndCore___closed__1; static lean_object* l_Lean_Meta_splitAndCore_go___closed__2; +LEAN_EXPORT lean_object* l_Lean_MVarId_apply_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_append_index_after(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_ApplyConfig_synthAssignedInstances___default; lean_object* l_Lean_MVarId_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -88,6 +90,7 @@ static lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyEr LEAN_EXPORT lean_object* l_Lean_Meta_splitAndCore_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ApplyNewGoals_toCtorIdx___boxed(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); +lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg___closed__8; LEAN_EXPORT lean_object* l_Lean_MVarId_apply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -104,6 +107,7 @@ LEAN_EXPORT lean_object* l_List_forM___at_Lean_MVarId_apply___spec__2___boxed(le uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars(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*); LEAN_EXPORT lean_object* l_Lean_Meta_getExpectedNumArgsAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getExpectedNumArgsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -134,6 +138,7 @@ uint8_t l_Lean_Name_isAnonymous(lean_object*); static lean_object* l_Lean_Meta_getExpectedNumArgsAux___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_dependsOnOthers___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MVarId_exfalso___lambda__1___closed__5; +LEAN_EXPORT lean_object* l_Lean_MVarId_apply___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_headBetaType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FindMVar_main(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_splitAndCore_go___closed__3; @@ -2379,6 +2384,302 @@ x_9 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_reorderGoals(x_1, x_8, x_3 return x_9; } } +LEAN_EXPORT lean_object* l_Lean_MVarId_apply_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, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_4, 0); +x_12 = lean_ctor_get(x_4, 1); +x_13 = lean_nat_dec_lt(x_5, x_12); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; +lean_dec(x_5); +lean_inc(x_11); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_11); +x_15 = 1; +x_16 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_17 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_3, x_15, x_14, x_16, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_14); +if (lean_obj_tag(x_17) == 0) +{ +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_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg(x_1, x_21, x_2, x_6, x_7, x_8, x_9, x_20); +lean_dec(x_9); +lean_dec(x_7); +return x_22; +} +else +{ +uint8_t x_23; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_17); +if (x_23 == 0) +{ +return x_17; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_17, 0); +x_25 = lean_ctor_get(x_17, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_17); +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; +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; +x_27 = l_Lean_Meta_saveState___rarg(x_7, x_8, x_9, x_10); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_5); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_5); +x_31 = 1; +x_32 = 0; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_3); +x_33 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_3, x_31, x_30, x_32, x_6, x_7, x_8, x_9, x_29); +lean_dec(x_30); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_ctor_get(x_34, 0); +lean_inc(x_37); +lean_dec(x_34); +x_38 = !lean_is_exclusive(x_35); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_39 = lean_ctor_get(x_35, 0); +x_40 = lean_ctor_get(x_35, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_2); +x_41 = l_Lean_Meta_isExprDefEqGuarded(x_40, x_2, x_6, x_7, x_8, x_9, x_36); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_unbox(x_42); +lean_dec(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_free_object(x_35); +lean_dec(x_39); +lean_dec(x_37); +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); +lean_dec(x_41); +x_45 = l_Lean_Meta_SavedState_restore(x_28, x_6, x_7, x_8, x_9, x_44); +lean_dec(x_28); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_unsigned_to_nat(1u); +x_48 = lean_nat_add(x_5, x_47); +lean_dec(x_5); +x_5 = x_48; +x_10 = x_46; +goto _start; +} +else +{ +uint8_t x_50; +lean_dec(x_28); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_41); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_41, 0); +lean_dec(x_51); +lean_ctor_set(x_35, 1, x_39); +lean_ctor_set(x_35, 0, x_37); +lean_ctor_set(x_41, 0, x_35); +return x_41; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_41, 1); +lean_inc(x_52); +lean_dec(x_41); +lean_ctor_set(x_35, 1, x_39); +lean_ctor_set(x_35, 0, x_37); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_35); +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; uint8_t x_58; +x_54 = lean_ctor_get(x_35, 0); +x_55 = lean_ctor_get(x_35, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_35); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_2); +x_56 = l_Lean_Meta_isExprDefEqGuarded(x_55, x_2, x_6, x_7, x_8, x_9, x_36); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_unbox(x_57); +lean_dec(x_57); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_dec(x_54); +lean_dec(x_37); +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = l_Lean_Meta_SavedState_restore(x_28, x_6, x_7, x_8, x_9, x_59); +lean_dec(x_28); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +lean_dec(x_60); +x_62 = lean_unsigned_to_nat(1u); +x_63 = lean_nat_add(x_5, x_62); +lean_dec(x_5); +x_5 = x_63; +x_10 = x_61; +goto _start; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_dec(x_28); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_65 = lean_ctor_get(x_56, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_66 = x_56; +} else { + lean_dec_ref(x_56); + x_66 = lean_box(0); +} +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_37); +lean_ctor_set(x_67, 1, x_54); +if (lean_is_scalar(x_66)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_66; +} +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_65); +return x_68; +} +} +} +else +{ +uint8_t x_69; +lean_dec(x_28); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_69 = !lean_is_exclusive(x_33); +if (x_69 == 0) +{ +return x_33; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_33, 0); +x_71 = lean_ctor_get(x_33, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_33); +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; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_MVarId_apply_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: +{ +lean_object* x_11; +x_11 = l_Lean_MVarId_apply_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_4); +return x_11; +} +} LEAN_EXPORT uint8_t l_List_elem___at_Lean_MVarId_apply___spec__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -2564,525 +2865,415 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_MVarId_apply___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* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_ctor_get_uint8(x_1, 1); +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_7, 0); +lean_inc(x_13); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_4); -lean_inc(x_3); -x_14 = l_Lean_Meta_postprocessAppMVars(x_2, x_3, x_4, x_5, x_13, x_8, x_9, x_10, x_11, x_12); +lean_inc(x_1); +x_14 = l_Lean_MVarId_apply_go(x_1, x_2, x_3, x_7, x_13, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); 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; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; -x_15 = lean_ctor_get(x_14, 1); +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_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); lean_dec(x_14); -x_16 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_6, x_8, x_9, x_10, x_11, x_15); -x_17 = lean_ctor_get(x_16, 0); +x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +x_18 = lean_ctor_get(x_15, 1); lean_inc(x_18); -lean_dec(x_16); -lean_inc(x_4); +lean_dec(x_15); +x_19 = lean_ctor_get_uint8(x_4, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_17); -x_19 = l_Lean_mkAppN(x_17, x_4); -x_20 = l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(x_3, x_19, x_8, x_9, x_10, x_11, x_18); +lean_inc(x_1); +x_20 = l_Lean_Meta_postprocessAppMVars(x_5, x_1, x_17, x_18, x_19, x_8, x_9, x_10, x_11, x_16); +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; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = lean_array_get_size(x_4); -x_23 = lean_unsigned_to_nat(0u); -x_24 = lean_nat_dec_lt(x_23, x_22); -if (x_24 == 0) -{ -lean_object* x_79; +x_22 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_6, x_8, x_9, x_10, x_11, x_21); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); lean_dec(x_22); -lean_dec(x_4); -x_79 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars___closed__1; -x_25 = x_79; -x_26 = x_21; -goto block_78; +lean_inc(x_17); +lean_inc(x_23); +x_25 = l_Lean_mkAppN(x_23, x_17); +x_26 = l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(x_1, x_25, x_8, x_9, x_10, x_11, x_24); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_array_get_size(x_17); +x_29 = lean_unsigned_to_nat(0u); +x_30 = lean_nat_dec_lt(x_29, x_28); +if (x_30 == 0) +{ +lean_object* x_85; +lean_dec(x_28); +lean_dec(x_17); +x_85 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars___closed__1; +x_31 = x_85; +x_32 = x_27; +goto block_84; +} +else +{ +uint8_t x_86; +x_86 = lean_nat_dec_le(x_28, x_28); +if (x_86 == 0) +{ +lean_object* x_87; +lean_dec(x_28); +lean_dec(x_17); +x_87 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars___closed__1; +x_31 = x_87; +x_32 = x_27; +goto block_84; +} +else +{ +size_t x_88; size_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_88 = 0; +x_89 = lean_usize_of_nat(x_28); +lean_dec(x_28); +x_90 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars___closed__1; +x_91 = l_Array_foldlMUnsafe_fold___at_Lean_MVarId_apply___spec__4(x_17, x_88, x_89, x_90, x_8, x_9, x_10, x_11, x_27); +lean_dec(x_17); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_31 = x_92; +x_32 = x_93; +goto block_84; +} +} +block_84: +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_33 = l_Lean_Meta_getMVarsNoDelayed(x_23, x_8, x_9, x_10, x_11, x_32); +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_ctor_get_uint8(x_4, 0); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_37 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_reorderGoals(x_31, x_36, x_8, x_9, x_10, x_11, x_35); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_array_get_size(x_34); +x_41 = lean_nat_dec_lt(x_29, x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_40); +lean_dec(x_34); +x_42 = l_Lean_MVarId_apply___lambda__1___closed__1; +x_43 = l_List_appendTR___rarg(x_38, x_42); +lean_inc(x_43); +x_44 = l_List_forM___at_Lean_MVarId_apply___spec__2(x_43, x_8, x_9, x_10, x_11, x_39); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +if (lean_obj_tag(x_44) == 0) +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_44, 0); +lean_dec(x_46); +lean_ctor_set(x_44, 0, x_43); +return x_44; +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +lean_dec(x_44); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_43); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +else +{ +uint8_t x_49; +lean_dec(x_43); +x_49 = !lean_is_exclusive(x_44); +if (x_49 == 0) +{ +return x_44; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_44, 0); +x_51 = lean_ctor_get(x_44, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_44); +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 +{ +uint8_t x_53; +x_53 = lean_nat_dec_le(x_40, x_40); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_40); +lean_dec(x_34); +x_54 = l_Lean_MVarId_apply___lambda__1___closed__1; +x_55 = l_List_appendTR___rarg(x_38, x_54); +lean_inc(x_55); +x_56 = l_List_forM___at_Lean_MVarId_apply___spec__2(x_55, x_8, x_9, x_10, x_11, x_39); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +if (lean_obj_tag(x_56) == 0) +{ +uint8_t x_57; +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_55); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_55); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +else +{ +uint8_t x_61; +lean_dec(x_55); +x_61 = !lean_is_exclusive(x_56); +if (x_61 == 0) +{ +return x_56; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_56, 0); +x_63 = lean_ctor_get(x_56, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_56); +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 +{ +size_t x_65; size_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_65 = 0; +x_66 = lean_usize_of_nat(x_40); +lean_dec(x_40); +x_67 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars___closed__1; +x_68 = l_Array_foldlMUnsafe_fold___at_Lean_MVarId_apply___spec__3(x_38, x_34, x_65, x_66, x_67); +lean_dec(x_34); +x_69 = lean_array_to_list(lean_box(0), x_68); +x_70 = l_List_appendTR___rarg(x_38, x_69); +lean_inc(x_70); +x_71 = l_List_forM___at_Lean_MVarId_apply___spec__2(x_70, x_8, x_9, x_10, x_11, x_39); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +if (lean_obj_tag(x_71) == 0) +{ +uint8_t x_72; +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +lean_object* x_73; +x_73 = lean_ctor_get(x_71, 0); +lean_dec(x_73); +lean_ctor_set(x_71, 0, x_70); +return x_71; +} +else +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_71, 1); +lean_inc(x_74); +lean_dec(x_71); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_70); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} +else +{ +uint8_t x_76; +lean_dec(x_70); +x_76 = !lean_is_exclusive(x_71); +if (x_76 == 0) +{ +return x_71; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_71, 0); +x_78 = lean_ctor_get(x_71, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_71); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +} } else { uint8_t x_80; -x_80 = lean_nat_dec_le(x_22, x_22); +lean_dec(x_34); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_80 = !lean_is_exclusive(x_37); if (x_80 == 0) { -lean_object* x_81; -lean_dec(x_22); -lean_dec(x_4); -x_81 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars___closed__1; -x_25 = x_81; -x_26 = x_21; -goto block_78; +return x_37; } else { -size_t x_82; size_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_82 = 0; -x_83 = lean_usize_of_nat(x_22); -lean_dec(x_22); -x_84 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars___closed__1; -x_85 = l_Array_foldlMUnsafe_fold___at_Lean_MVarId_apply___spec__4(x_4, x_82, x_83, x_84, x_8, x_9, x_10, x_11, x_21); -lean_dec(x_4); -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -x_25 = x_86; -x_26 = x_87; -goto block_78; -} -} -block_78: -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_27 = l_Lean_Meta_getMVarsNoDelayed(x_17, x_8, x_9, x_10, x_11, x_26); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_ctor_get_uint8(x_1, 0); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_31 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_reorderGoals(x_25, x_30, x_8, x_9, x_10, x_11, x_29); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -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_28); -x_35 = lean_nat_dec_lt(x_23, x_34); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_34); -lean_dec(x_28); -x_36 = l_Lean_MVarId_apply___lambda__1___closed__1; -x_37 = l_List_appendTR___rarg(x_32, x_36); -lean_inc(x_37); -x_38 = l_List_forM___at_Lean_MVarId_apply___spec__2(x_37, x_8, x_9, x_10, x_11, x_33); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -if (lean_obj_tag(x_38) == 0) -{ -uint8_t x_39; -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) -{ -lean_object* x_40; -x_40 = lean_ctor_get(x_38, 0); -lean_dec(x_40); -lean_ctor_set(x_38, 0, x_37); -return x_38; -} -else -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_37); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -else -{ -uint8_t x_43; +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_37, 0); +x_82 = lean_ctor_get(x_37, 1); +lean_inc(x_82); +lean_inc(x_81); lean_dec(x_37); -x_43 = !lean_is_exclusive(x_38); -if (x_43 == 0) -{ -return x_38; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_38, 0); -x_45 = lean_ctor_get(x_38, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_38); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -uint8_t x_47; -x_47 = lean_nat_dec_le(x_34, x_34); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -lean_dec(x_34); -lean_dec(x_28); -x_48 = l_Lean_MVarId_apply___lambda__1___closed__1; -x_49 = l_List_appendTR___rarg(x_32, x_48); -lean_inc(x_49); -x_50 = l_List_forM___at_Lean_MVarId_apply___spec__2(x_49, x_8, x_9, x_10, x_11, x_33); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -if (lean_obj_tag(x_50) == 0) -{ -uint8_t x_51; -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set(x_50, 0, x_49); -return x_50; -} -else -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_49); -lean_ctor_set(x_54, 1, x_53); -return x_54; -} -} -else -{ -uint8_t x_55; -lean_dec(x_49); -x_55 = !lean_is_exclusive(x_50); -if (x_55 == 0) -{ -return x_50; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_50, 0); -x_57 = lean_ctor_get(x_50, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_50); -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 -{ -size_t x_59; size_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_59 = 0; -x_60 = lean_usize_of_nat(x_34); -lean_dec(x_34); -x_61 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_partitionDependentMVars___closed__1; -x_62 = l_Array_foldlMUnsafe_fold___at_Lean_MVarId_apply___spec__3(x_32, x_28, x_59, x_60, x_61); -lean_dec(x_28); -x_63 = lean_array_to_list(lean_box(0), x_62); -x_64 = l_List_appendTR___rarg(x_32, x_63); -lean_inc(x_64); -x_65 = l_List_forM___at_Lean_MVarId_apply___spec__2(x_64, x_8, x_9, x_10, x_11, x_33); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -if (lean_obj_tag(x_65) == 0) -{ -uint8_t x_66; -x_66 = !lean_is_exclusive(x_65); -if (x_66 == 0) -{ -lean_object* x_67; -x_67 = lean_ctor_get(x_65, 0); -lean_dec(x_67); -lean_ctor_set(x_65, 0, x_64); -return x_65; -} -else -{ -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); -lean_dec(x_65); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_64); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -else -{ -uint8_t x_70; -lean_dec(x_64); -x_70 = !lean_is_exclusive(x_65); -if (x_70 == 0) -{ -return x_65; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_65, 0); -x_72 = lean_ctor_get(x_65, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_65); -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_28); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_74 = !lean_is_exclusive(x_31); -if (x_74 == 0) -{ -return x_31; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_31, 0); -x_76 = lean_ctor_get(x_31, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_31); -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; +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } } else { -uint8_t x_88; +uint8_t x_94; +lean_dec(x_17); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -x_88 = !lean_is_exclusive(x_14); -if (x_88 == 0) +lean_dec(x_1); +x_94 = !lean_is_exclusive(x_20); +if (x_94 == 0) +{ +return x_20; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_20, 0); +x_96 = lean_ctor_get(x_20, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_20); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +else +{ +uint8_t x_98; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_98 = !lean_is_exclusive(x_14); +if (x_98 == 0) { return x_14; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_14, 0); -x_90 = lean_ctor_get(x_14, 1); -lean_inc(x_90); -lean_inc(x_89); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_14, 0); +x_100 = lean_ctor_get(x_14, 1); +lean_inc(x_100); +lean_inc(x_99); lean_dec(x_14); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -return x_91; +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; } } } } -LEAN_EXPORT lean_object* l_Lean_MVarId_apply___lambda__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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; -lean_dec(x_8); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_7); -x_15 = 1; -x_16 = 0; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_17 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_1, x_15, x_14, x_16, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_14); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_ctor_get(x_18, 0); -lean_inc(x_21); -lean_dec(x_18); -x_22 = lean_ctor_get(x_19, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_19, 1); -lean_inc(x_23); -lean_dec(x_19); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_2); -lean_inc(x_23); -x_24 = l_Lean_Meta_isExprDefEq(x_23, x_2, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; uint8_t x_26; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_unbox(x_25); -lean_dec(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_3); -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg(x_5, x_23, x_2, x_9, x_10, x_11, x_12, x_27); -lean_dec(x_12); -lean_dec(x_10); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -return x_28; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_28); -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 -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_23); -lean_dec(x_2); -x_33 = lean_ctor_get(x_24, 1); -lean_inc(x_33); -lean_dec(x_24); -x_34 = lean_box(0); -x_35 = l_Lean_MVarId_apply___lambda__1(x_3, x_4, x_5, x_21, x_22, x_6, x_34, x_9, x_10, x_11, x_12, x_33); -lean_dec(x_3); -return x_35; -} -} -else -{ -uint8_t x_36; -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_36 = !lean_is_exclusive(x_24); -if (x_36 == 0) -{ -return x_24; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_24, 0); -x_38 = lean_ctor_get(x_24, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_24); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} -} -} -else -{ -uint8_t x_40; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_40 = !lean_is_exclusive(x_17); -if (x_40 == 0) -{ -return x_17; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_17, 0); -x_42 = lean_ctor_get(x_17, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_17); -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; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_MVarId_apply___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_EXPORT lean_object* l_Lean_MVarId_apply___lambda__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; @@ -3153,7 +3344,7 @@ lean_inc(x_13); x_24 = l_Lean_Meta_getExpectedNumArgs(x_13, x_5, x_6, x_7, x_8, x_22); if (lean_obj_tag(x_24) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); @@ -3161,14 +3352,19 @@ lean_inc(x_26); lean_dec(x_24); x_27 = lean_nat_sub(x_23, x_25); lean_dec(x_25); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_23, x_28); lean_dec(x_23); -x_28 = lean_box(0); -x_29 = l_Lean_MVarId_apply___lambda__2(x_16, x_13, x_4, x_2, x_1, x_3, x_27, x_28, x_5, x_6, x_7, x_8, x_26); -return x_29; +x_30 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_30, 0, x_27); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_28); +x_31 = l_Lean_MVarId_apply___lambda__1(x_1, x_13, x_16, x_4, x_2, x_3, x_30, x_5, x_6, x_7, x_8, x_26); +return x_31; } else { -uint8_t x_30; +uint8_t x_32; lean_dec(x_23); lean_dec(x_16); lean_dec(x_13); @@ -3176,102 +3372,73 @@ 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_30 = !lean_is_exclusive(x_24); -if (x_30 == 0) +x_32 = !lean_is_exclusive(x_24); +if (x_32 == 0) { return x_24; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_24, 0); -x_32 = lean_ctor_get(x_24, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_24); -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; lean_object* x_37; -x_34 = lean_ctor_get(x_18, 1); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_24, 0); +x_34 = lean_ctor_get(x_24, 1); lean_inc(x_34); -lean_dec(x_18); -x_35 = lean_ctor_get(x_19, 0); -lean_inc(x_35); -lean_dec(x_19); -x_36 = lean_box(0); -x_37 = l_Lean_MVarId_apply___lambda__2(x_16, x_13, x_4, x_2, x_1, x_3, x_35, x_36, x_5, x_6, x_7, x_8, x_34); -return x_37; +lean_inc(x_33); +lean_dec(x_24); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} } } else { -uint8_t x_38; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_36 = lean_ctor_get(x_18, 1); +lean_inc(x_36); +lean_dec(x_18); +x_37 = lean_ctor_get(x_19, 0); +lean_inc(x_37); +lean_dec(x_19); +x_38 = lean_unsigned_to_nat(1u); +x_39 = lean_nat_add(x_37, x_38); +x_40 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +x_41 = l_Lean_MVarId_apply___lambda__1(x_1, x_13, x_16, x_4, x_2, x_3, x_40, x_5, x_6, x_7, x_8, x_36); +return x_41; +} +} +else +{ +uint8_t x_42; lean_dec(x_16); lean_dec(x_13); 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_38 = !lean_is_exclusive(x_18); -if (x_38 == 0) +x_42 = !lean_is_exclusive(x_18); +if (x_42 == 0) { return x_18; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_18, 0); -x_40 = lean_ctor_get(x_18, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_18); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else -{ -uint8_t x_42; -lean_dec(x_13); -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_42 = !lean_is_exclusive(x_15); -if (x_42 == 0) -{ -return x_15; -} -else -{ lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_15, 0); -x_44 = lean_ctor_get(x_15, 1); +x_43 = lean_ctor_get(x_18, 0); +x_44 = lean_ctor_get(x_18, 1); lean_inc(x_44); lean_inc(x_43); -lean_dec(x_15); +lean_dec(x_18); x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); @@ -3282,27 +3449,27 @@ return x_45; else { uint8_t x_46; +lean_dec(x_13); 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_46 = !lean_is_exclusive(x_12); +x_46 = !lean_is_exclusive(x_15); if (x_46 == 0) { -return x_12; +return x_15; } else { lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_12, 0); -x_48 = lean_ctor_get(x_12, 1); +x_47 = lean_ctor_get(x_15, 0); +x_48 = lean_ctor_get(x_15, 1); lean_inc(x_48); lean_inc(x_47); -lean_dec(x_12); +lean_dec(x_15); x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_47); lean_ctor_set(x_49, 1, x_48); @@ -3317,27 +3484,56 @@ 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_50 = !lean_is_exclusive(x_10); +x_50 = !lean_is_exclusive(x_12); if (x_50 == 0) { +return x_12; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_12, 0); +x_52 = lean_ctor_get(x_12, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_12); +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_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_54 = !lean_is_exclusive(x_10); +if (x_54 == 0) +{ return x_10; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_10, 0); -x_52 = lean_ctor_get(x_10, 1); -lean_inc(x_52); -lean_inc(x_51); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_10, 0); +x_56 = lean_ctor_get(x_10, 1); +lean_inc(x_56); +lean_inc(x_55); lean_dec(x_10); -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; +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; } } } @@ -3348,7 +3544,7 @@ _start: lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = l___private_Lean_Meta_Tactic_Apply_0__Lean_Meta_throwApplyError___rarg___closed__2; lean_inc(x_1); -x_10 = lean_alloc_closure((void*)(l_Lean_MVarId_apply___lambda__3), 9, 4); +x_10 = lean_alloc_closure((void*)(l_Lean_MVarId_apply___lambda__2___boxed), 9, 4); lean_closure_set(x_10, 0, x_1); lean_closure_set(x_10, 1, x_9); lean_closure_set(x_10, 2, x_2); @@ -3416,11 +3612,19 @@ _start: { lean_object* x_13; x_13 = l_Lean_MVarId_apply___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_7); -lean_dec(x_1); +lean_dec(x_4); return x_13; } } +LEAN_EXPORT lean_object* l_Lean_MVarId_apply___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: +{ +lean_object* x_10; +x_10 = l_Lean_MVarId_apply___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; +} +} LEAN_EXPORT lean_object* l_Lean_Meta_apply(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: { diff --git a/stage0/stdlib/Lean/Meta/Tactic/Cases.c b/stage0/stdlib/Lean/Meta/Tactic/Cases.c index 14fd778b0a..96be230e68 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Cases.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Cases.c @@ -52,6 +52,7 @@ lean_object* l_Lean_MVarId_assert(lean_object*, lean_object*, lean_object*, lean lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__46(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_generalizeIndices___spec__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__43___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -355,7 +356,6 @@ lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__56___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_casesRec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_Cases_hasIndepIndices___spec__26(lean_object*, lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_toByCasesSubgoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_acyclic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1557,7 +1557,7 @@ x_24 = l___private_Lean_Meta_Tactic_Cases_0__Lean_Meta_throwInductiveTypeExpecte x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_25, x_5, x_6, x_7, x_8, x_9); +x_26 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_25, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp.c b/stage0/stdlib/Lean/Meta/Tactic/Simp.c index 7602076301..bc4aa5f498 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp.c @@ -16,14 +16,17 @@ extern "C" { lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_67_(lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_83_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_98_(lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_51_(lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_4_(lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_35_(lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_19_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_4____closed__4; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_4____closed__3; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_83____closed__1; +static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_98____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_83____closed__2; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_4____closed__1; static lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_4____closed__2; @@ -231,6 +234,29 @@ x_4 = l_Lean_registerTraceClass(x_2, x_3, x_1); return x_4; } } +static lean_object* _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_98____closed__1() { +_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_initFn____x40_Lean_Meta_Tactic_Simp___hyg_83____closed__1; +x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_4____closed__1; +x_3 = l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_4____closed__2; +x_4 = l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_4____closed__3; +x_5 = l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_19____closed__1; +x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_98_(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; lean_object* x_4; +x_2 = l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_98____closed__1; +x_3 = 1; +x_4 = l_Lean_registerTraceClass(x_2, x_3, x_1); +return x_4; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Simp_SimpTheorems(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Tactic_Simp_SimpCongrTheorems(uint8_t builtin, lean_object*); @@ -310,6 +336,11 @@ lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_83____clos res = l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_83_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_98____closed__1 = _init_l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_98____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_98____closed__1); +res = l_Lean_initFn____x40_Lean_Meta_Tactic_Simp___hyg_98_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c index eae1219118..6079b41219 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c @@ -110,8 +110,10 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCon lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_lambdaTelescopeDSimp_go___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___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*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); +lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at_Lean_Meta_Simp_simp_cacheResult___spec__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -252,6 +254,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_trySi LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_dsimpGoal___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_congrDefault___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__8(lean_object*, lean_object*, lean_object*, uint8_t, 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__16; extern lean_object* l_Lean_levelZero; static lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3___closed__2; @@ -261,15 +264,19 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCon lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instInhabitedM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpLet___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*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__2; lean_object* l_Lean_Meta_mkCongrSimpCore_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__1; uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_simp_simpProj___spec__7(lean_object*, lean_object*, size_t, size_t); size_t lean_uint64_to_usize(uint64_t); lean_object* l_Lean_MVarId_replaceTargetDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___boxed(lean_object**); static lean_object* l_Lean_Meta_Simp_simp_simpProj___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_simp_simpProj___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___closed__1; static lean_object* l_Lean_Meta_Simp_simp_simpStep___closed__3; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Meta_Simp_simp_simpProj___spec__12___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_removeUnnecessaryCasts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -305,7 +312,7 @@ lean_object* l_Lean_Meta_mkLetValCongr(lean_object*, lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_getConfig___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___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_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___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_EXPORT lean_object* l_Lean_Meta_simpTargetCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -332,7 +339,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_visit LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instInhabitedM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_lambdaTelescopeDSimp_go(lean_object*); static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_assign___at_Lean_Meta_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_dsimpGoal___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -346,6 +353,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpLet(lean_object*, lean_object static lean_object* l_Lean_Meta_simpTargetCore___closed__3; lean_object* l_Lean_MVarId_tryClearMany(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_Config_updateArith___closed__3; +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__2___rarg___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrArgs___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -381,6 +389,7 @@ LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpLet___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___closed__2; uint8_t l_Lean_Exception_isMaxRecDepth(lean_object*); lean_object* l_Lean_MVarId_checkNotAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___lambda__5___closed__4; @@ -394,7 +403,7 @@ lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Meta_Simp_simp_mkCongrSimp_x3f___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Meta_Simp_simp_mkCongrSimp_x3f___spec__7(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___lambda__5___closed__3; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Meta_Simp_dischargeUsingAssumption_x3f___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -414,7 +423,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Sim static lean_object* l_Lean_Meta_Simp_removeUnnecessaryCasts_isDummyEqRec___closed__4; uint64_t l_Lean_Expr_hash(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__7(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___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* l_Lean_Meta_Simp_pre(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher___at_Lean_Meta_Simp_simp_mkCongrSimp_x3f___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Meta_Simp_dischargeUsingAssumption_x3f___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -486,10 +495,10 @@ static lean_object* l_Lean_Meta_Simp_simp_congr___closed__1; static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_simp_simpProj___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_removeUnnecessaryCasts_isDummyEqRec___closed__7; -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(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*); +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_Simp_simp_simpProj___spec__11___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_initFn____x40_Lean_Meta_Tactic_Simp_Main___hyg_5____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_dsimpGoal___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -515,7 +524,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_simp_t LEAN_EXPORT lean_object* l_Lean_Meta_Simp_DefaultMethods_pre(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpProj___lambda__1___closed__2; lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpLet___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrArgs___spec__1___closed__5; static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__2___closed__7; @@ -524,6 +533,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_ static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__1___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Simp_simp_simpLambda___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*); static lean_object* l_Lean_Meta_Simp_simp_simpForall___closed__3; @@ -610,7 +620,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_simpLocalDecl(lean_object*, lean_object*, l lean_object* l_Lean_Expr_abstractM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_Simp_simp_simpProj___spec__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkIffOfEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_simpGoal___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f_go_x3f___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_dsimpGoal___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -618,7 +628,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_lambdaTelescopeDSimp_go___rarg___lambd static lean_object* l_Lean_Meta_Simp_dsimpMain___closed__2; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_Simp_removeUnnecessaryCasts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Meta_Simp_dischargeUsingAssumption_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(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*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_visitFn___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_throwCongrHypothesisFailed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -700,7 +710,7 @@ LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_Meta_Simp_simp_mkCo LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_Simp_lambdaTelescopeDSimp_go___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkExpectedTypeHint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at_Lean_Meta_Simp_simp_simpStep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_isEqnThmHypothesis_go(lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_findDeclRevM_x3f___at_Lean_Meta_Simp_dischargeUsingAssumption_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13___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*); @@ -740,7 +750,7 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tact lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_simp_mkCongrSimp_x3f___spec__9(lean_object*, size_t, size_t); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___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*); uint8_t l_Lean_Meta_SimpTheoremsArray_isErased(lean_object*, lean_object*); LEAN_EXPORT 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_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -17146,7 +17156,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Simp_simp_simpStep___closed__1; x_2 = l_Lean_Meta_Simp_simp_simpLet___closed__1; -x_3 = lean_unsigned_to_nat(656u); +x_3 = lean_unsigned_to_nat(664u); x_4 = lean_unsigned_to_nat(35u); x_5 = l_Lean_Meta_Simp_simp_simpStep___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -34580,80 +34590,67 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Sim return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_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, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_14 = l_Lean_instantiateMVars___at_Lean_Meta_Simp_simp_simpStep___spec__2(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = l_Lean_mkAppN(x_2, x_3); -x_18 = l_Lean_instantiateMVars___at_Lean_Meta_Simp_simp_simpStep___spec__2(x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_3); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_13); +lean_ctor_set(x_15, 2, x_14); +x_16 = l_Lean_Meta_Simp_simp_congrArgs(x_15, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_16, 0, x_19); +return x_16; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_16, 0); +x_21 = lean_ctor_get(x_16, 1); +lean_inc(x_21); lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_19); -x_22 = lean_unsigned_to_nat(0u); -x_23 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_23, 0, x_15); +lean_dec(x_16); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_20); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); -lean_ctor_set(x_23, 2, x_22); -x_24 = l_Lean_Meta_Simp_simp_congrArgs(x_23, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -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); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_24, 0, x_27); -return x_24; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = lean_ctor_get(x_24, 0); -x_29 = lean_ctor_get(x_24, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_24); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -return x_31; +return x_23; } } else { -uint8_t x_32; -x_32 = !lean_is_exclusive(x_24); -if (x_32 == 0) +uint8_t x_24; +x_24 = !lean_is_exclusive(x_16); +if (x_24 == 0) { -return x_24; +return x_16; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_24, 0); -x_34 = lean_ctor_get(x_24, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_24); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_16, 0); +x_26 = lean_ctor_get(x_16, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_16); +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; } } } @@ -34662,184 +34659,110 @@ static lean_object* _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes(" synthesizeArgs failed", 22); +x_1 = lean_mk_string_from_bytes("propext", 7); return x_1; } } static lean_object* _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__2___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__2___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__2___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_8); -lean_inc(x_1); -x_17 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_17, 0, x_1); -x_18 = lean_ctor_get(x_9, 2); -lean_inc(x_18); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_19 = l_Lean_Meta_Simp_synthesizeArgs(x_17, x_2, x_3, x_18, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_unbox(x_20); -lean_dec(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_dec(x_7); +x_16 = l_Lean_instantiateMVars___at_Lean_Meta_Simp_simp_simpStep___spec__2(x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +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 = l_Lean_mkAppN(x_2, x_3); +x_20 = l_Lean_instantiateMVars___at_Lean_Meta_Simp_simp_simpStep___spec__2(x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_18); +if (x_5 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_22 = lean_ctor_get(x_19, 1); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); -lean_dec(x_19); -x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__3___closed__3; -x_24 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_simp_simpForall___spec__1(x_23, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_22); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_unbox(x_25); -lean_dec(x_25); -if (x_26 == 0) -{ -uint8_t x_27; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_1); -x_27 = !lean_is_exclusive(x_24); -if (x_27 == 0) -{ -lean_object* x_28; -x_28 = lean_ctor_get(x_24, 0); -lean_dec(x_28); -lean_ctor_set(x_24, 0, x_4); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__1(x_17, x_4, x_21, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_22); +lean_dec(x_4); return x_24; } else { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_24, 1); -lean_inc(x_29); -lean_dec(x_24); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_4); -lean_ctor_set(x_30, 1, x_29); +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_20, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_dec(x_20); +x_27 = l_Lean_Meta_Simp_simp_simpLet___lambda__1___closed__1; +x_28 = lean_array_push(x_27, x_25); +x_29 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__2___closed__2; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_30 = l_Lean_Meta_mkAppM(x_29, x_28, x_11, x_12, x_13, x_14, x_26); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_6); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_box(0); +x_34 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__1(x_17, x_4, x_31, x_33, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_32); +lean_dec(x_4); +return x_34; +} +else +{ +uint8_t x_35; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +x_35 = !lean_is_exclusive(x_30); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_30, 0); +lean_dec(x_36); +lean_ctor_set_tag(x_30, 0); +lean_ctor_set(x_30, 0, x_6); return x_30; } -} else { -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; uint8_t x_38; -x_31 = lean_ctor_get(x_24, 1); -lean_inc(x_31); -lean_dec(x_24); -x_32 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_32, 0, x_1); -x_33 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__2___closed__13; -x_34 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -x_35 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__2___closed__2; -x_36 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_23, x_36, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_31); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -lean_object* x_39; -x_39 = lean_ctor_get(x_37, 0); -lean_dec(x_39); -lean_ctor_set(x_37, 0, x_4); -return x_37; +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +lean_dec(x_30); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_6); +lean_ctor_set(x_38, 1, x_37); +return x_38; } -else -{ -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_37, 1); -lean_inc(x_40); -lean_dec(x_37); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_4); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_4); -lean_dec(x_1); -x_42 = lean_ctor_get(x_19, 1); -lean_inc(x_42); -lean_dec(x_19); -x_43 = lean_box(0); -x_44 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__1(x_5, x_6, x_2, x_7, x_43, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_42); -lean_dec(x_7); -return x_44; -} -} -else -{ -uint8_t x_45; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_45 = !lean_is_exclusive(x_19); -if (x_45 == 0) -{ -return x_19; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_19, 0); -x_47 = lean_ctor_get(x_19, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_19); -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; } } } @@ -34848,7 +34771,7 @@ static lean_object* _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes(" not modified", 13); +x_1 = lean_mk_string_from_bytes(" synthesizeArgs failed", 22); return x_1; } } @@ -34861,121 +34784,23 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, 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_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___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, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_dec(x_9); -if (x_1 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__3___closed__3; -x_19 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_simp_simpForall___spec__1(x_18, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_unbox(x_20); -lean_dec(x_20); -if (x_21 == 0) -{ -uint8_t x_22; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_3); -x_22 = !lean_is_exclusive(x_19); -if (x_22 == 0) -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_19, 0); -lean_dec(x_23); -lean_ctor_set(x_19, 0, x_2); -return x_19; -} -else -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_19, 1); -lean_inc(x_24); -lean_dec(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 -{ -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; uint8_t x_33; -x_26 = lean_ctor_get(x_19, 1); -lean_inc(x_26); -lean_dec(x_19); -x_27 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_27, 0, x_3); -x_28 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__2___closed__13; -x_29 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -x_30 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3___closed__2; -x_31 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_18, x_31, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_26); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -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(x_32, 0, x_2); -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(0, 2, 0); -lean_ctor_set(x_36, 0, x_2); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -lean_object* x_37; lean_object* x_38; -x_37 = lean_box(0); -x_38 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__2(x_3, x_4, x_5, x_2, x_6, x_7, x_8, x_37, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_38; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___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, 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) { -_start: -{ -lean_object* x_20; -lean_dec(x_11); -lean_inc(x_18); -lean_inc(x_17); +lean_inc(x_1); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_1); +x_19 = lean_ctor_get(x_10, 2); +lean_inc(x_19); lean_inc(x_16); lean_inc(x_15); -x_20 = l_Lean_Meta_isExprDefEq(x_1, x_9, x_15, x_16, x_17, x_18, x_19); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_20 = l_Lean_Meta_Simp_synthesizeArgs(x_18, x_2, x_3, x_19, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_20) == 0) { lean_object* x_21; uint8_t x_22; @@ -34985,20 +34810,192 @@ x_22 = lean_unbox(x_21); lean_dec(x_21); if (x_22 == 0) { +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__3___closed__3; +x_25 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_simp_simpForall___spec__1(x_24, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_23); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_unbox(x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +uint8_t x_28; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_25); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_25, 0); +lean_dec(x_29); +lean_ctor_set(x_25, 0, x_4); +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_25, 1); +lean_inc(x_30); +lean_dec(x_25); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_4); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +else +{ +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; uint8_t x_39; +x_32 = lean_ctor_get(x_25, 1); +lean_inc(x_32); +lean_dec(x_25); +x_33 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_33, 0, x_1); +x_34 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__2___closed__13; +x_35 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +x_36 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3___closed__2; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_24, x_37, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_32); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_38, 0); +lean_dec(x_40); +lean_ctor_set(x_38, 0, x_4); +return x_38; +} +else +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_dec(x_38); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_4); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_1); +x_43 = lean_ctor_get(x_20, 1); +lean_inc(x_43); +lean_dec(x_20); +x_44 = lean_box(0); +x_45 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__2(x_5, x_6, x_2, x_7, x_8, x_4, x_44, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_43); +return x_45; +} +} +else +{ +uint8_t x_46; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_46 = !lean_is_exclusive(x_20); +if (x_46 == 0) +{ +return x_20; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_20, 0); +x_48 = lean_ctor_get(x_20, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_20); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" not modified", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4(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, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +lean_dec(x_10); +if (x_1 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_19 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__3___closed__3; +x_20 = l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_simp_simpForall___spec__1(x_19, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_unbox(x_21); +lean_dec(x_21); +if (x_22 == 0) +{ uint8_t x_23; -lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +lean_dec(x_11); lean_dec(x_3); x_23 = !lean_is_exclusive(x_20); if (x_23 == 0) @@ -35023,148 +35020,258 @@ return x_26; } else { -lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; lean_object* x_34; +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; uint8_t x_34; x_27 = lean_ctor_get(x_20, 1); lean_inc(x_27); lean_dec(x_20); -x_28 = 0; -x_29 = lean_box(x_28); +x_28 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_28, 0, x_3); +x_29 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__2___closed__13; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +x_31 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___closed__2; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_addTrace___at_Lean_Meta_Simp_simp_simpForall___spec__3(x_19, x_32, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_27); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set(x_33, 0, x_2); +return x_33; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_2); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_box(0); +x_39 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3(x_3, x_4, x_5, x_2, x_6, x_7, x_8, x_9, x_38, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_39; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(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, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { +_start: +{ +lean_object* x_21; +lean_dec(x_12); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +x_21 = l_Lean_Meta_isExprDefEq(x_1, x_10, x_16, x_17, x_18, x_19, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +uint8_t x_24; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_24 = !lean_is_exclusive(x_21); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_21, 0); +lean_dec(x_25); +lean_ctor_set(x_21, 0, x_2); +return x_21; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_dec(x_21); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_2); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +else +{ +lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_dec(x_21); +x_29 = 0; +x_30 = lean_box(x_29); lean_inc(x_2); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_2); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_array_get_size(x_3); -x_32 = lean_usize_of_nat(x_31); -lean_dec(x_31); -x_33 = 0; +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_2); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_array_get_size(x_3); +x_33 = lean_usize_of_nat(x_32); +lean_dec(x_32); +x_34 = 0; +lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); lean_inc(x_2); lean_inc(x_4); -x_34 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__1(x_4, x_5, x_2, x_3, x_32, x_33, x_30, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_27); +x_35 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__1(x_4, x_5, x_2, x_3, x_33, x_34, x_31, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_28); lean_dec(x_3); -if (lean_obj_tag(x_34) == 0) +if (lean_obj_tag(x_35) == 0) { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); +lean_object* x_36; lean_object* x_37; x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; -x_37 = lean_ctor_get(x_34, 1); +x_37 = lean_ctor_get(x_36, 0); lean_inc(x_37); -lean_dec(x_34); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; x_38 = lean_ctor_get(x_35, 1); lean_inc(x_38); lean_dec(x_35); -x_39 = lean_box(0); -x_40 = lean_unbox(x_38); -lean_dec(x_38); -x_41 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3(x_40, x_2, x_4, x_5, x_6, x_7, x_8, x_10, x_39, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_37); -return x_41; +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_box(0); +x_41 = lean_unbox(x_39); +lean_dec(x_39); +x_42 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4(x_41, x_2, x_4, x_5, x_6, x_7, x_8, x_11, x_9, x_40, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_38); +return x_42; } else { -uint8_t x_42; -lean_dec(x_35); +uint8_t x_43; +lean_dec(x_36); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_10); +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_42 = !lean_is_exclusive(x_34); -if (x_42 == 0) +x_43 = !lean_is_exclusive(x_35); +if (x_43 == 0) { -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_34, 0); -lean_dec(x_43); -x_44 = lean_ctor_get(x_36, 0); -lean_inc(x_44); -lean_dec(x_36); -lean_ctor_set(x_34, 0, x_44); -return x_34; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_34, 1); +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_35, 0); +lean_dec(x_44); +x_45 = lean_ctor_get(x_37, 0); lean_inc(x_45); -lean_dec(x_34); -x_46 = lean_ctor_get(x_36, 0); +lean_dec(x_37); +lean_ctor_set(x_35, 0, x_45); +return x_35; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_35, 1); lean_inc(x_46); -lean_dec(x_36); -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; +lean_dec(x_35); +x_47 = lean_ctor_get(x_37, 0); +lean_inc(x_47); +lean_dec(x_37); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +return x_48; } } } else { -uint8_t x_48; +uint8_t x_49; +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_10); +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_48 = !lean_is_exclusive(x_34); -if (x_48 == 0) +x_49 = !lean_is_exclusive(x_35); +if (x_49 == 0) { -return x_34; +return x_35; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_34, 0); -x_50 = lean_ctor_get(x_34, 1); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_35, 0); +x_51 = lean_ctor_get(x_35, 1); +lean_inc(x_51); lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_34); -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; +lean_dec(x_35); +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 { -uint8_t x_52; +uint8_t x_53; +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_10); +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -35172,79 +35279,99 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_52 = !lean_is_exclusive(x_20); -if (x_52 == 0) +x_53 = !lean_is_exclusive(x_21); +if (x_53 == 0) { -return x_20; +return x_21; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_20, 0); -x_54 = lean_ctor_get(x_20, 1); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_21, 0); +x_55 = lean_ctor_get(x_21, 1); +lean_inc(x_55); lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_20); -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; +lean_dec(x_21); +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; } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +static lean_object* _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__1() { _start: { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -lean_dec(x_9); -x_18 = l_Lean_Expr_appFn_x21(x_1); -x_19 = l_Lean_Expr_appArg_x21(x_18); -lean_dec(x_18); -x_20 = l_Lean_Expr_appArg_x21(x_1); -lean_dec(x_1); -x_21 = lean_unsigned_to_nat(0u); -x_22 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_19, x_21); -x_23 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_8, x_21); -x_24 = lean_nat_dec_lt(x_22, x_23); -if (x_24 == 0) +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Iff", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__2() { +_start: { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -lean_dec(x_23); -lean_dec(x_22); -x_25 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___closed__1; -x_26 = lean_box(0); -x_27 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4(x_19, x_2, x_3, x_4, x_5, x_6, x_20, x_7, x_8, x_25, x_26, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_27; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_dec(x_9); +x_18 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__2; +x_19 = l_Lean_Expr_isAppOf(x_1, x_18); +x_20 = l_Lean_Expr_appFn_x21(x_1); +x_21 = l_Lean_Expr_appArg_x21(x_20); +lean_dec(x_20); +x_22 = l_Lean_Expr_appArg_x21(x_1); +lean_dec(x_1); +x_23 = lean_unsigned_to_nat(0u); +x_24 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_21, x_23); +x_25 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_8, x_23); +x_26 = lean_nat_dec_lt(x_24, x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_25); +lean_dec(x_24); +x_27 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___closed__1; +x_28 = lean_box(0); +x_29 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(x_21, x_2, x_3, x_4, x_5, x_6, x_22, x_7, x_19, x_8, x_27, x_28, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_29; } 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; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_28 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__1; -lean_inc(x_23); -x_29 = lean_mk_array(x_23, x_28); -x_30 = lean_unsigned_to_nat(1u); -x_31 = lean_nat_sub(x_23, x_30); -lean_dec(x_23); +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; +x_30 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__1; +lean_inc(x_25); +x_31 = lean_mk_array(x_25, x_30); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_sub(x_25, x_32); +lean_dec(x_25); lean_inc(x_8); -x_32 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_8, x_29, x_31); -x_33 = l_Lean_Expr_getAppFn(x_8); +x_34 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_8, x_31, x_33); +x_35 = l_Lean_Expr_getAppFn(x_8); lean_dec(x_8); -lean_inc(x_22); -lean_inc(x_32); -x_34 = l_Array_toSubarray___rarg(x_32, x_21, x_22); -x_35 = l_Array_ofSubarray___rarg(x_34); -x_36 = l_Lean_mkAppN(x_33, x_35); -x_37 = lean_array_get_size(x_32); -x_38 = l_Array_toSubarray___rarg(x_32, x_22, x_37); -x_39 = l_Array_ofSubarray___rarg(x_38); -x_40 = lean_box(0); -x_41 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4(x_19, x_2, x_3, x_4, x_5, x_6, x_20, x_7, x_36, x_39, x_40, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_41; +lean_inc(x_24); +lean_inc(x_34); +x_36 = l_Array_toSubarray___rarg(x_34, x_23, x_24); +x_37 = l_Array_ofSubarray___rarg(x_36); +x_38 = l_Lean_mkAppN(x_35, x_37); +x_39 = lean_array_get_size(x_34); +x_40 = l_Array_toSubarray___rarg(x_34, x_24, x_39); +x_41 = l_Array_ofSubarray___rarg(x_40); +x_42 = lean_box(0); +x_43 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(x_21, x_2, x_3, x_4, x_5, x_6, x_22, x_7, x_19, x_38, x_41, x_42, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_43; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__7(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; lean_object* x_13; lean_object* x_14; @@ -35321,7 +35448,7 @@ lean_object* x_35; lean_object* x_36; lean_dec(x_32); lean_free_object(x_23); x_35 = lean_box(0); -x_36 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(x_31, x_20, x_13, x_12, x_29, x_30, x_15, x_2, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +x_36 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(x_31, x_20, x_13, x_12, x_29, x_30, x_15, x_2, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); return x_36; } else @@ -35334,7 +35461,7 @@ lean_object* x_38; lean_object* x_39; lean_dec(x_32); lean_free_object(x_23); x_38 = lean_box(0); -x_39 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(x_31, x_20, x_13, x_12, x_29, x_30, x_15, x_2, x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +x_39 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(x_31, x_20, x_13, x_12, x_29, x_30, x_15, x_2, x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); return x_39; } else @@ -35349,7 +35476,7 @@ if (x_42 == 0) lean_object* x_43; lean_object* x_44; lean_free_object(x_23); x_43 = lean_box(0); -x_44 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(x_31, x_20, x_13, x_12, x_29, x_30, x_15, x_2, x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +x_44 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(x_31, x_20, x_13, x_12, x_29, x_30, x_15, x_2, x_43, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); return x_44; } else @@ -35396,7 +35523,7 @@ if (x_51 == 0) lean_object* x_52; lean_object* x_53; lean_dec(x_49); x_52 = lean_box(0); -x_53 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(x_48, x_20, x_13, x_12, x_46, x_47, x_15, x_2, x_52, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); +x_53 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(x_48, x_20, x_13, x_12, x_46, x_47, x_15, x_2, x_52, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); return x_53; } else @@ -35408,7 +35535,7 @@ if (x_54 == 0) lean_object* x_55; lean_object* x_56; lean_dec(x_49); x_55 = lean_box(0); -x_56 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(x_48, x_20, x_13, x_12, x_46, x_47, x_15, x_2, x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); +x_56 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(x_48, x_20, x_13, x_12, x_46, x_47, x_15, x_2, x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); return x_56; } else @@ -35422,7 +35549,7 @@ if (x_59 == 0) { lean_object* x_60; lean_object* x_61; x_60 = lean_box(0); -x_61 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(x_48, x_20, x_13, x_12, x_46, x_47, x_15, x_2, x_60, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); +x_61 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(x_48, x_20, x_13, x_12, x_46, x_47, x_15, x_2, x_60, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_45); return x_61; } else @@ -35553,7 +35680,7 @@ return x_74; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { if (x_4 == 0) @@ -35561,7 +35688,7 @@ if (x_4 == 0) lean_object* x_13; lean_object* x_14; lean_dec(x_3); x_13 = lean_box(0); -x_14 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(x_1, x_2, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__7(x_1, x_2, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } else @@ -35594,7 +35721,7 @@ lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(x_1, x_2, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +x_27 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__7(x_1, x_2, x_25, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_26); return x_27; } } @@ -35619,7 +35746,7 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean x_11 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___closed__1; x_12 = lean_alloc_closure((void*)(l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_simp_simpForall___spec__1___boxed), 9, 1); lean_closure_set(x_12, 0, x_11); -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__7___boxed), 12, 3); +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__8___boxed), 12, 3); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_2); lean_closure_set(x_13, 2, x_11); @@ -35690,269 +35817,39 @@ return x_30; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; -lean_dec(x_6); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); +uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; +lean_dec(x_7); +x_16 = 0; +x_17 = 1; +x_18 = 1; lean_inc(x_1); -x_15 = l_Lean_Meta_Simp_Result_getProof(x_1, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_15) == 0) +x_19 = l_Lean_Meta_mkLambdaFVars(x_1, x_6, x_16, x_17, x_18, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = 0; -x_19 = 1; -x_20 = 1; -lean_inc(x_2); -x_21 = l_Lean_Meta_mkLambdaFVars(x_2, x_16, x_18, x_19, x_20, x_10, x_11, x_12, x_13, x_17); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_24 = l_Lean_Meta_isExprDefEq(x_3, x_22, x_10, x_11, x_12, x_13, x_23); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; uint8_t x_26; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_unbox(x_25); -lean_dec(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg(x_27); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -return x_28; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_28, 0); -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_28); -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 -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_24, 1); -lean_inc(x_33); -lean_dec(x_24); -x_34 = lean_box(0); -x_35 = l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__1(x_1, x_2, x_4, x_5, x_34, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_33); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_35; -} -} -else -{ -uint8_t x_36; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_36 = !lean_is_exclusive(x_24); -if (x_36 == 0) -{ -return x_24; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_24, 0); -x_38 = lean_ctor_get(x_24, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_24); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} -} -} -else -{ -uint8_t x_40; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_21); -if (x_40 == 0) -{ -return x_21; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_21, 0); -x_42 = lean_ctor_get(x_21, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_21); -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_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_44 = !lean_is_exclusive(x_15); -if (x_44 == 0) -{ -return x_15; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_15, 0); -x_46 = lean_ctor_get(x_15, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_15); -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; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -if (lean_obj_tag(x_5) == 5) -{ -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_5, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_5, 1); -lean_inc(x_17); -lean_dec(x_5); -x_18 = lean_array_set(x_6, x_7, x_17); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_sub(x_7, x_19); -lean_dec(x_7); -x_5 = x_16; -x_6 = x_18; -x_7 = x_20; -goto _start; -} -else -{ -lean_object* x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; -lean_dec(x_7); -x_22 = lean_ctor_get(x_4, 0); -lean_inc(x_22); -x_23 = 0; -x_24 = 1; -x_25 = 1; -lean_inc(x_22); -x_26 = l_Lean_Meta_mkLambdaFVars(x_6, x_22, x_23, x_24, x_25, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +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); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_29 = l_Lean_Meta_isExprDefEq(x_5, x_27, x_11, x_12, x_13, x_14, x_28); -if (lean_obj_tag(x_29) == 0) +x_22 = l_Lean_Meta_isExprDefEq(x_2, x_20, x_11, x_12, x_13, x_14, x_21); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_30; uint8_t x_31; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_unbox(x_30); -lean_dec(x_30); -if (x_31 == 0) +lean_object* x_23; uint8_t x_24; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_unbox(x_23); +lean_dec(x_23); +if (x_24 == 0) { -lean_object* x_32; lean_object* x_33; uint8_t x_34; -lean_dec(x_22); +lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -35960,83 +35857,92 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_dec(x_29); -x_33 = l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg(x_32); -x_34 = !lean_is_exclusive(x_33); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg(x_25); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +return x_26; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_26); +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 +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_22, 1); +lean_inc(x_31); +lean_dec(x_22); +x_32 = lean_box(0); +x_33 = l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__1(x_3, x_1, x_4, x_5, x_32, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_31); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +lean_dec(x_3); +return x_33; +} +} +else +{ +uint8_t x_34; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_22); if (x_34 == 0) { -return x_33; +return x_22; } else { lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_33, 0); -x_36 = lean_ctor_get(x_33, 1); +x_35 = lean_ctor_get(x_22, 0); +x_36 = lean_ctor_get(x_22, 1); lean_inc(x_36); lean_inc(x_35); -lean_dec(x_33); +lean_dec(x_22); x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); return x_37; } } -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_29, 1); -lean_inc(x_38); -lean_dec(x_29); -x_39 = lean_box(0); -x_40 = l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__2(x_4, x_2, x_1, x_3, x_22, x_39, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_38); -return x_40; -} } else { -uint8_t x_41; -lean_dec(x_22); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_41 = !lean_is_exclusive(x_29); -if (x_41 == 0) -{ -return x_29; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_29, 0); -x_43 = lean_ctor_get(x_29, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_29); -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_22); +uint8_t x_38; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -36049,23 +35955,324 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_45 = !lean_is_exclusive(x_26); -if (x_45 == 0) +x_38 = !lean_is_exclusive(x_19); +if (x_38 == 0) { -return x_26; +return x_19; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_26, 0); -x_47 = lean_ctor_get(x_26, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_19, 0); +x_40 = lean_ctor_get(x_19, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_19); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +lean_dec(x_7); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_1); +x_16 = l_Lean_Meta_Simp_Result_getProof(x_1, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t 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 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__2; +x_20 = l_Lean_Expr_isAppOf(x_6, x_19); +lean_dec(x_6); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(0); +x_22 = l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__2(x_2, x_3, x_1, x_4, x_5, x_17, x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_18); +return x_22; +} +else +{ +lean_object* x_23; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_23 = l_Lean_Meta_mkIffOfEq(x_17, x_11, x_12, x_13, x_14, x_18); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_box(0); +x_27 = l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__2(x_2, x_3, x_1, x_4, x_5, x_24, x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_25); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_28 = lean_ctor_get(x_23, 1); +lean_inc(x_28); +lean_dec(x_23); +x_29 = l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg(x_28); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +return x_29; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_29); +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 +{ +uint8_t x_34; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_16); +if (x_34 == 0) +{ +return x_16; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_16, 0); +x_36 = lean_ctor_get(x_16, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_16); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___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, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +if (lean_obj_tag(x_6) == 5) +{ +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_6, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_6, 1); +lean_inc(x_18); +lean_dec(x_6); +x_19 = lean_array_set(x_7, x_8, x_18); +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_sub(x_8, x_20); +lean_dec(x_8); +x_6 = x_17; +x_7 = x_19; +x_8 = x_21; +goto _start; +} +else +{ +lean_object* x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; +lean_dec(x_8); +x_23 = lean_ctor_get(x_5, 0); +lean_inc(x_23); +x_24 = 0; +x_25 = 1; +x_26 = 1; +lean_inc(x_23); +x_27 = l_Lean_Meta_mkLambdaFVars(x_7, x_23, x_24, x_25, x_26, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_30 = l_Lean_Meta_isExprDefEq(x_6, x_28, x_12, x_13, x_14, x_15, x_29); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_dec(x_23); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_dec(x_30); +x_34 = l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg(x_33); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +return x_34; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_34, 0); +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_34); +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; +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_30, 1); +lean_inc(x_39); +lean_dec(x_30); +x_40 = lean_box(0); +x_41 = l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__3(x_5, x_2, x_1, x_4, x_23, x_3, x_40, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_39); +return x_41; +} +} +else +{ +uint8_t x_42; +lean_dec(x_23); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_30); +if (x_42 == 0) +{ +return x_30; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_30, 0); +x_44 = lean_ctor_get(x_30, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_30); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_23); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_46 = !lean_is_exclusive(x_27); +if (x_46 == 0) +{ +return x_27; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_27, 0); +x_48 = lean_ctor_get(x_27, 1); +lean_inc(x_48); lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_26); -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; +lean_dec(x_27); +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; } } } @@ -36165,7 +36372,6 @@ x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); x_16 = l_Lean_Expr_appArg_x21(x_1); -lean_dec(x_1); x_17 = lean_unsigned_to_nat(0u); x_18 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_16, x_17); x_19 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___closed__1; @@ -36174,7 +36380,7 @@ x_20 = lean_mk_array(x_18, x_19); x_21 = lean_unsigned_to_nat(1u); x_22 = lean_nat_sub(x_18, x_21); lean_dec(x_18); -x_23 = l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1(x_2, x_3, x_4, x_14, x_16, x_20, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +x_23 = l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1(x_2, x_3, x_1, x_4, x_14, x_16, x_20, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); return x_23; } else @@ -39487,14 +39693,24 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_14; -x_14 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_5); +lean_object* x_13; +x_13 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_4); -return x_14; +lean_dec(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; lean_object* x_17; +x_16 = lean_unbox(x_5); +lean_dec(x_5); +x_17 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__2(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_17; } } LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3___boxed(lean_object** _args) { @@ -39518,9 +39734,9 @@ lean_object* x_17 = _args[16]; _start: { uint8_t x_18; lean_object* x_19; -x_18 = lean_unbox(x_1); -lean_dec(x_1); -x_19 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_18 = lean_unbox(x_8); +lean_dec(x_8); +x_19 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); return x_19; } } @@ -39543,12 +39759,15 @@ lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; _start: { -lean_object* x_20; -x_20 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -return x_20; +uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_19 = lean_unbox(x_1); +lean_dec(x_1); +x_20 = lean_unbox(x_9); +lean_dec(x_9); +x_21 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4(x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_21; } } LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5___boxed(lean_object** _args) { @@ -39569,20 +39788,50 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +_start: +{ +uint8_t x_21; lean_object* x_22; +x_21 = lean_unbox(x_9); +lean_dec(x_9); +x_22 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_21, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +return x_22; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_18 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_4); lean_dec(x_4); -x_14 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__7(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__8(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } @@ -42688,7 +42937,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Simp_simp_simpStep___closed__1; x_2 = l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__4; -x_3 = lean_unsigned_to_nat(753u); +x_3 = lean_unsigned_to_nat(761u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -53903,6 +54152,14 @@ l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3___closed__1 = _init_l_ lean_mark_persistent(l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3___closed__1); l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3___closed__2 = _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3___closed__2(); lean_mark_persistent(l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__3___closed__2); +l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___closed__1 = _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___closed__1); +l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___closed__2 = _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__4___closed__2); +l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__1 = _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__1); +l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__2 = _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__2(); +lean_mark_persistent(l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__6___closed__2); l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___closed__1 = _init_l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___closed__1); l_Lean_exprDependsOn___at_Lean_Meta_Simp_simp_simpProj___spec__1___closed__1 = _init_l_Lean_exprDependsOn___at_Lean_Meta_Simp_simp_simpProj___spec__1___closed__1(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpCongrTheorems.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpCongrTheorems.c index 25ebfc74d2..60e50c0f9c 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpCongrTheorems.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpCongrTheorems.c @@ -16,55 +16,47 @@ extern "C" { static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____closed__3; LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__2(lean_object*); lean_object* l_List_reverse___rarg(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___at_Lean_Meta_mkSimpCongrTheorem___spec__8(size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55_(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__11___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_array_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Meta_SimpCongrTheorems_lemmas___default___spec__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__14(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__5; static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__3; LEAN_EXPORT lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__11___boxed(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___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_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__1; static lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__11___closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___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_CollectMVars_visit(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__10; lean_object* l_Lean_stringToMessageData(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__20; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___lambda__1___closed__1; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__32; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__10; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__6; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___closed__2; static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__5; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedSimpCongrTheorems; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__24; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__3___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__4; static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1___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_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__5; static lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__11___closed__4; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__3; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__13; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2___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_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_SimpCongrTheorems_get___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Meta_addSimpCongrTheoremEntry___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__11___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__3; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__8; lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__34; lean_object* l_Lean_registerSimpleScopedEnvExtension___rarg(lean_object*, lean_object*); @@ -72,279 +64,281 @@ static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_ lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_addSimpCongrTheoremEntry___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__23; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2___closed__1; static lean_object* l_Lean_Meta_mkSimpCongrTheorem___closed__1; static lean_object* l_Lean_Meta_SimpCongrTheorems_lemmas___default___closed__1; lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__20; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__7; size_t lean_usize_sub(size_t, size_t); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__19; lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__18; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__24; lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__7; lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SMap_toList___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__1(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___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_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__1___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__2; LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at_Lean_Meta_addSimpCongrTheoremEntry___spec__9(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__5___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___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*); static lean_object* l_Lean_Meta_SimpCongrTheorems_lemmas___default___closed__2; static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__6; lean_object* l_Lean_Expr_appFn_x21(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___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*); static lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__11___closed__6; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__4; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__8; lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__2; lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_mkSimpCongrTheorem_onlyMVarsAt(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__18; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__15; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9(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_Prod_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__10___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__14; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__7; static lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__11___closed__3; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___at_Lean_Meta_mkSimpCongrTheorem___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*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____closed__7; LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_Meta_addSimpCongrTheoremEntry___spec__7(lean_object*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__9; lean_object* l_Lean_ScopedEnvExtension_addScopedEntry___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__12; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__16; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____closed__5; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__4; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__8; uint8_t lean_usize_dec_lt(size_t, size_t); lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Meta_SimpCongrTheorems_lemmas___default___spec__1(lean_object*); extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__17; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__3; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__14; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__28; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__5; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__11; LEAN_EXPORT lean_object* l_Lean_Meta_mkSimpCongrTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); lean_object* l_Lean_Expr_FindImpl_findUnsafe_x3f(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__22; static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__10___closed__2; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__7; lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__2; lean_object* l_Lean_getAttrParamOptPrio(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__4; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__33; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Name_hash___override(lean_object*); lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__22; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__8; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_addSimpCongrTheoremEntry___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkSimpCongrTheorem_onlyMVarsAt___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__19; lean_object* lean_array_fget(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__5; lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); LEAN_EXPORT lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__8(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__6; LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__10(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__13; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247_(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_addLocalEntry___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___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_nat_sub(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__23; LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Meta_SimpCongrTheorems_get___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_468____spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__10___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___closed__2; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__6; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Meta_SimpCongrTheorems_get___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__11___closed__2; -static lean_object* l_Lean_Meta_mkSimpCongrTheorem___closed__4; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_addSimpCongrTheoremEntry(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__6; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__6(lean_object*); static lean_object* l_Lean_Meta_mkSimpCongrTheorem___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__6___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__1; static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__7; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Meta_addSimpCongrTheoremEntry___spec__2(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_foldlMAux___at_Lean_MetavarContext_getExprAssignmentDomain___spec__2___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__21; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__23; lean_object* l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(lean_object*, lean_object*); static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__10___closed__4; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__5; lean_object* l_Nat_repr(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__2; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_468____closed__5; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__6; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__5; LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_Meta_SimpCongrTheorems_get___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__17; static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__10___closed__6; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedSimpCongrTheorem___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__13; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_468____closed__3; extern lean_object* l_Lean_Expr_instHashableExpr; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__8; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10(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*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__1; +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10(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_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___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*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Meta_SimpCongrTheorems_get___spec__3(lean_object*, size_t, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_instReprSimpCongrTheorems; LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__29; LEAN_EXPORT lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__11(lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); static lean_object* l_Lean_Meta_instInhabitedSimpCongrTheorem___closed__2; lean_object* lean_array_to_list(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___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*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__25; -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_SimpCongrTheorems_lemmas___default; LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_Meta_addSimpCongrTheoremEntry___spec__11(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__2; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__2; LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_Meta_addSimpCongrTheoremEntry___spec__6(lean_object*, lean_object*, lean_object*); size_t lean_usize_modn(size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__7(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConst(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__10; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_468____closed__7; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__4; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__10; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__4; static lean_object* l_Lean_Meta_instReprSimpCongrTheorems___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___at_Lean_Meta_mkSimpCongrTheorem___spec__9(lean_object*, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_mul(size_t, size_t); LEAN_EXPORT uint8_t l_Lean_Meta_mkSimpCongrTheorem_onlyMVarsAt___lambda__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__9; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8(lean_object*, lean_object*, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__8; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__7___rarg(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__19; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__7; lean_object* l_Lean_ScopedEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedSimpCongrTheorem; size_t lean_usize_land(size_t, size_t); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__8___boxed(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__3; static lean_object* l_Lean_Meta_SimpCongrTheorems_lemmas___default___closed__3; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__21; LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at_Lean_Meta_addSimpCongrTheoremEntry___spec__8(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__6; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7(lean_object*, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____closed__2; lean_object* l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___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_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__6; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__3; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__1; static lean_object* l_Lean_SMap_toList___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__1___closed__1; LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__12(lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__3(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__35; uint8_t l_Lean_Expr_isMVar(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__15; uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____closed__4; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___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*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__3; +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___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*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___at_Lean_Meta_mkSimpCongrTheorem___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_addSimpCongrTheoremEntry_insert(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__17; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__7; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__11; LEAN_EXPORT lean_object* l_Lean_Meta_addSimpCongrTheorem(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__8; LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__4(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__27; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Meta_SimpCongrTheorems_get___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__9; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__22; LEAN_EXPORT lean_object* l_Lean_Meta_mkSimpCongrTheorem_onlyMVarsAt___boxed(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_SimpCongrTheorems_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__2___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_mkSimpCongrTheorem___closed__3; lean_object* lean_nat_mul(lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___closed__1; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__5; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___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_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__14; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_468_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352_(lean_object*); static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_addSimpCongrTheoremEntry___spec__3___closed__1; lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_468____closed__6; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__11; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_addSimpCongrTheoremEntry___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__31; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Meta_addSimpCongrTheoremEntry___spec__10(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__16; lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__12; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_Meta_addSimpCongrTheoremEntry___spec__7___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__11; LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Meta_SimpCongrTheorems_get___spec__6(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instBEqExpr; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__4___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__2; lean_object* l_Lean_ScopedEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instReprSimpCongrTheorem; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__30; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__5; LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__9(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__18; LEAN_EXPORT lean_object* l_Lean_SMap_toList___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__1___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____closed__1; static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__15; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__3; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__11; lean_object* l_Lean_Expr_getAppFn(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__5(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_addSimpCongrTheorem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__10___closed__5; @@ -352,8 +346,10 @@ static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrThe static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__4; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_468____closed__1; static lean_object* l_Lean_Meta_addSimpCongrTheorem___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__24; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Meta_SimpCongrTheorems_get___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_congrExtension; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Meta_SimpCongrTheorems_get___spec__3___closed__1; static lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__9; static lean_object* l_Lean_Meta_instInhabitedSimpCongrTheorems___closed__2; @@ -361,26 +357,32 @@ static lean_object* l_Lean_Meta_instReprSimpCongrTheorem___closed__1; lean_object* lean_usize_to_nat(size_t); static lean_object* l_Lean_Meta_instInhabitedSimpCongrTheorems___closed__1; LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Meta_SimpCongrTheorems_get___spec__6___boxed(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__3; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__13(lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Meta_SimpCongrTheorems_get___spec__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__11(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_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_468____closed__2; lean_object* l_Lean_indentExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_468____closed__4; lean_object* l_Lean_Expr_constName_x21(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__1; lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__6; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__26; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Meta_addSimpCongrTheoremEntry___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____closed__6; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__7; static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorems____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_247____spec__10___closed__3; LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_Meta_addSimpCongrTheoremEntry___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpCongrTheorems_0__Lean_Meta_reprSimpCongrTheorem____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_55____closed__12; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__16; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__4; LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__20; LEAN_EXPORT lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__10; lean_object* l_Repr_addAppParen(lean_object*, lean_object*); static lean_object* _init_l_Lean_Meta_instInhabitedSimpCongrTheorem___closed__1() { _start: @@ -3472,45 +3474,7 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___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) { -_start: -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_ctor_get(x_4, 5); -x_8 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_7); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_7); -lean_ctor_set(x_11, 1, x_10); -lean_ctor_set_tag(x_8, 1); -lean_ctor_set(x_8, 0, x_11); -return x_8; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_8, 0); -x_13 = lean_ctor_get(x_8, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_8); -lean_inc(x_7); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_7); -lean_ctor_set(x_14, 1, x_12); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -return x_15; -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -3537,7 +3501,7 @@ goto _start; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -3546,11 +3510,11 @@ x_2 = l_Lean_mkHashSetImp___rarg(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___closed__1; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___closed__1; x_2 = l_Lean_Meta_instInhabitedSimpCongrTheorem___closed__1; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3558,7 +3522,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -3575,7 +3539,7 @@ else { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; x_12 = lean_array_uget(x_1, x_3); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___closed__2; +x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___closed__2; x_14 = l_Lean_CollectMVars_visit(x_12, x_13); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); @@ -3584,7 +3548,7 @@ x_16 = lean_array_get_size(x_15); x_17 = lean_usize_of_nat(x_16); lean_dec(x_16); x_18 = 0; -x_19 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3(x_15, x_17, x_18, x_4, x_5, x_6, x_7, x_8, x_9); +x_19 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__2(x_15, x_17, x_18, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_15); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); @@ -3600,7 +3564,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(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_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__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) { _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -3638,7 +3602,7 @@ return x_15; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___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; @@ -3652,15 +3616,15 @@ lean_ctor_set(x_11, 1, x_7); return x_11; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___lambda__1___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___lambda__1___boxed), 7, 0); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__2() { _start: { lean_object* x_1; @@ -3668,16 +3632,16 @@ x_1 = lean_mk_string_from_bytes("invalid 'congr' theorem, argument #", 35); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__4() { _start: { lean_object* x_1; @@ -3685,16 +3649,16 @@ x_1 = lean_mk_string_from_bytes(" of parameter #", 15); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__5() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__4; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__6() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__6() { _start: { lean_object* x_1; @@ -3702,16 +3666,16 @@ x_1 = lean_mk_string_from_bytes(" contains unresolved parameter", 30); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__7() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__6; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__6; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__8() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__8() { _start: { lean_object* x_1; @@ -3719,16 +3683,16 @@ x_1 = lean_mk_string_from_bytes("", 0); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__8; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__8; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6(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) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5(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; @@ -3763,7 +3727,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__1; +x_18 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__1; lean_inc(x_1); lean_inc(x_16); x_19 = l_Lean_Meta_mkSimpCongrTheorem_onlyMVarsAt(x_16, x_1); @@ -3779,11 +3743,11 @@ x_23 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_23, 0, x_22); x_24 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_24, 0, x_23); -x_25 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__3; +x_25 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__3; x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); -x_27 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__5; +x_27 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__5; x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); @@ -3796,7 +3760,7 @@ lean_ctor_set(x_32, 0, x_31); x_33 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_33, 0, x_28); lean_ctor_set(x_33, 1, x_32); -x_34 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__7; +x_34 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__7; x_35 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); @@ -3804,11 +3768,11 @@ x_36 = l_Lean_indentExpr(x_16); x_37 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; +x_38 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; x_39 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_39, 0, x_37); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_39, x_7, x_8, x_9, x_10, x_17); +x_40 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_39, x_7, x_8, x_9, x_10, x_17); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -3959,7 +3923,7 @@ return x_66; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__1() { _start: { lean_object* x_1; @@ -3967,16 +3931,16 @@ x_1 = lean_mk_string_from_bytes("invalid 'congr' theorem, parameter #", 36); return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__1; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__3() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__3() { _start: { lean_object* x_1; @@ -3984,16 +3948,16 @@ x_1 = lean_mk_string_from_bytes(" is not a valid hypothesis, the right-hand-side return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__4() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__3; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7(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) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6(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; @@ -4024,11 +3988,11 @@ x_19 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_19, 0, x_18); x_20 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_20, 0, x_19); -x_21 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__2; +x_21 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__2; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__4; +x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__4; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); @@ -4036,7 +4000,7 @@ x_25 = l_Lean_indentExpr(x_2); x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; +x_27 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); @@ -4073,7 +4037,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___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* x_10) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___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* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -4096,7 +4060,7 @@ lean_ctor_set(x_17, 1, x_10); return x_17; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -4105,13 +4069,13 @@ x_2 = l_Lean_Expr_sort___override(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; lean_object* x_20; lean_object* x_21; x_11 = lean_unsigned_to_nat(0u); x_12 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_11); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2___closed__1; +x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2___closed__1; lean_inc(x_12); x_14 = lean_mk_array(x_12, x_13); x_15 = lean_unsigned_to_nat(1u); @@ -4123,7 +4087,7 @@ x_18 = lean_array_get_size(x_17); x_19 = lean_usize_of_nat(x_18); lean_dec(x_18); x_20 = lean_box(0); -x_21 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7(x_2, x_1, x_17, x_19, x_3, x_20, x_6, x_7, x_8, x_9, x_10); +x_21 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6(x_2, x_1, x_17, x_19, x_3, x_20, x_6, x_7, x_8, x_9, x_10); lean_dec(x_17); if (lean_obj_tag(x_21) == 0) { @@ -4178,7 +4142,7 @@ return x_31; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -4186,16 +4150,16 @@ x_1 = lean_mk_string_from_bytes(" is not a valid hypothesis, the right-hand-side return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___closed__1; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; @@ -4209,7 +4173,7 @@ if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; x_14 = lean_box(0); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2(x_1, x_2, x_3, x_4, x_14, x_7, x_8, x_9, x_10, x_11); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2(x_1, x_2, x_3, x_4, x_14, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4228,11 +4192,11 @@ x_19 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_19, 0, x_18); x_20 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_20, 0, x_19); -x_21 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__2; +x_21 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__2; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___closed__2; +x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___closed__2; x_24 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_24, 0, x_22); lean_ctor_set(x_24, 1, x_23); @@ -4240,11 +4204,11 @@ x_25 = l_Lean_indentExpr(x_1); x_26 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; +x_27 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_28, x_7, x_8, x_9, x_10, x_11); +x_29 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_28, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4270,7 +4234,7 @@ return x_33; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___closed__1() { _start: { lean_object* x_1; @@ -4278,16 +4242,16 @@ x_1 = lean_mk_string_from_bytes(" is not a valid hypothesis, the right-hand-side return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___closed__1; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -4306,11 +4270,11 @@ x_16 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_16, 0, x_15); x_17 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_17, 0, x_16); -x_18 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__2; +x_18 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__2; x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); -x_20 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___closed__2; +x_20 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___closed__2; x_21 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); @@ -4318,11 +4282,11 @@ x_22 = l_Lean_indentExpr(x_1); x_23 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; +x_24 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; x_25 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_25, x_6, x_7, x_8, x_9, x_10); +x_26 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_25, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -4350,12 +4314,12 @@ else { lean_object* x_31; lean_object* x_32; x_31 = lean_box(0); -x_32 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3(x_1, x_2, x_3, x_11, x_4, x_31, x_6, x_7, x_8, x_9, x_10); +x_32 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3(x_1, x_2, x_3, x_11, x_4, x_31, x_6, x_7, x_8, x_9, x_10); return x_32; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -4363,1505 +4327,231 @@ x_1 = lean_mk_string_from_bytes(" is not a valid hypothesis, the left-hand-side return x_1; } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___closed__2() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___closed__1; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__3() { _start: { -lean_object* x_12; uint8_t x_13; -x_12 = lean_unsigned_to_nat(3u); -x_13 = l_Lean_Expr_isAppOfArity(x_6, x_1, x_12); -lean_dec(x_1); -if (x_13 == 0) +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Eq", 2); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__4() { +_start: { -lean_object* x_14; lean_object* x_15; -lean_dec(x_10); +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Iff", 3); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_45 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__4; +x_46 = lean_unsigned_to_nat(3u); +x_47 = l_Lean_Expr_isAppOfArity(x_5, x_45, x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_48 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__6; +x_49 = lean_unsigned_to_nat(2u); +x_50 = l_Lean_Expr_isAppOfArity(x_5, x_48, x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_11); -return x_15; +lean_dec(x_4); +lean_dec(x_1); +x_51 = lean_box(0); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_10); +return x_52; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; lean_object* x_21; lean_object* x_22; -x_16 = l_Lean_Expr_appFn_x21(x_6); -x_17 = l_Lean_Expr_appArg_x21(x_16); -lean_dec(x_16); -x_18 = l_Lean_Expr_appArg_x21(x_6); -lean_dec(x_6); -x_19 = lean_array_get_size(x_5); -x_20 = lean_usize_of_nat(x_19); -lean_dec(x_19); -x_21 = lean_unsigned_to_nat(0u); -lean_inc(x_10); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = l_Lean_Expr_appFn_x21(x_5); +x_54 = l_Lean_Expr_appArg_x21(x_53); +lean_dec(x_53); +x_55 = l_Lean_Expr_appArg_x21(x_5); +lean_dec(x_5); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_11 = x_56; +goto block_44; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = l_Lean_Expr_appFn_x21(x_5); +x_58 = l_Lean_Expr_appArg_x21(x_57); +lean_dec(x_57); +x_59 = l_Lean_Expr_appArg_x21(x_5); +lean_dec(x_5); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_11 = x_60; +goto block_44; +} +block_44: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; lean_object* x_16; lean_object* x_17; +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); +x_14 = lean_array_get_size(x_4); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = lean_unsigned_to_nat(0u); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_2); -x_22 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6(x_2, x_3, x_5, x_20, x_4, x_21, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_5); -if (lean_obj_tag(x_22) == 0) +lean_inc(x_6); +lean_inc(x_1); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_1, x_2, x_4, x_15, x_3, x_16, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_4); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_23; uint8_t x_24; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -lean_inc(x_2); -lean_inc(x_17); -x_24 = l_Lean_Meta_mkSimpCongrTheorem_onlyMVarsAt(x_17, x_2); -if (x_24 == 0) +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +lean_inc(x_1); +lean_inc(x_12); +x_19 = l_Lean_Meta_mkSimpCongrTheorem_onlyMVarsAt(x_12, x_1); +if (x_19 == 0) { -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; uint8_t x_39; -lean_dec(x_18); -lean_dec(x_2); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_3, x_25); -lean_dec(x_3); -x_27 = l_Nat_repr(x_26); -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 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__2; -x_31 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___closed__2; -x_33 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_indentExpr(x_17); -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; -x_37 = lean_alloc_ctor(10, 2, 0); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_dec(x_13); +lean_dec(x_1); +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_2, x_20); +x_22 = l_Nat_repr(x_21); +x_23 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__2; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__2; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_indentExpr(x_12); +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; +x_32 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_32, x_6, x_7, x_8, x_9, x_18); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +return x_33; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_33, 0); +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_33); +x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_37, x_7, x_8, x_9, x_10, x_23); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) -{ -return x_38; +return x_37; +} } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_38, 0); -x_41 = lean_ctor_get(x_38, 1); +lean_object* x_38; lean_object* x_39; +lean_dec(x_12); +x_38 = lean_box(0); +x_39 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4(x_13, x_2, x_3, x_1, x_38, x_6, x_7, x_8, x_9, x_18); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_17); +if (x_40 == 0) +{ +return x_17; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_17, 0); +x_42 = lean_ctor_get(x_17, 1); +lean_inc(x_42); lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_38); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_dec(x_17); -x_43 = lean_box(0); -x_44 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4(x_18, x_3, x_4, x_2, x_43, x_7, x_8, x_9, x_10, x_23); -lean_dec(x_3); -return x_44; +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_45; -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -x_45 = !lean_is_exclusive(x_22); -if (x_45 == 0) -{ -return x_22; } -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_22, 0); -x_47 = lean_ctor_get(x_22, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_22); -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; } } -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_6, x_5); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_7); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_15 = lean_array_uget(x_4, x_6); -x_25 = lean_ctor_get(x_7, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -x_27 = !lean_is_exclusive(x_7); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_28 = lean_ctor_get(x_7, 0); -x_29 = lean_ctor_get(x_7, 1); -lean_dec(x_29); -x_30 = !lean_is_exclusive(x_25); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_31 = lean_ctor_get(x_25, 0); -x_32 = lean_ctor_get(x_25, 1); -lean_dec(x_32); -x_33 = !lean_is_exclusive(x_26); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_34 = lean_ctor_get(x_26, 0); -x_35 = lean_ctor_get(x_26, 1); -x_36 = lean_ctor_get(x_28, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_28, 1); -lean_inc(x_37); -x_38 = lean_ctor_get(x_28, 2); -lean_inc(x_38); -x_39 = lean_nat_dec_lt(x_37, x_38); -if (x_39 == 0) -{ -lean_object* x_40; -lean_dec(x_38); -lean_dec(x_37); -lean_dec(x_36); -lean_dec(x_15); -x_40 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_40, 0, x_7); -x_16 = x_40; -x_17 = x_12; -goto block_24; -} -else -{ -uint8_t x_41; -lean_free_object(x_26); -lean_free_object(x_25); -lean_free_object(x_7); -x_41 = !lean_is_exclusive(x_28); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_42 = lean_ctor_get(x_28, 2); -lean_dec(x_42); -x_43 = lean_ctor_get(x_28, 1); -lean_dec(x_43); -x_44 = lean_ctor_get(x_28, 0); -lean_dec(x_44); -x_45 = lean_array_fget(x_36, x_37); -x_46 = lean_unbox(x_45); -lean_dec(x_45); -x_47 = lean_unsigned_to_nat(1u); -x_48 = lean_nat_add(x_37, x_47); -lean_dec(x_37); -lean_ctor_set(x_28, 1, x_48); -x_49 = l_Lean_BinderInfo_isExplicit(x_46); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -lean_dec(x_15); -x_50 = lean_box(0); -x_51 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_28, x_31, x_34, x_35, x_50, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_35); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_16 = x_52; -x_17 = x_53; -goto block_24; -} -else -{ -lean_object* x_54; lean_object* x_55; -lean_inc(x_15); -x_54 = l_Lean_Expr_mvarId_x21(x_15); -x_55 = l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_31, x_54); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_56; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_56 = lean_infer_type(x_15, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = lean_box_usize(x_3); -lean_inc(x_35); -lean_inc(x_31); -lean_inc(x_1); -x_60 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___boxed), 11, 4); -lean_closure_set(x_60, 0, x_1); -lean_closure_set(x_60, 1, x_31); -lean_closure_set(x_60, 2, x_35); -lean_closure_set(x_60, 3, x_59); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_61 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_57, x_60, x_8, x_9, x_10, x_11, x_58); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -if (lean_obj_tag(x_62) == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -lean_dec(x_54); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_box(0); -x_65 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_28, x_31, x_34, x_35, x_64, x_8, x_9, x_10, x_11, x_63); -lean_dec(x_35); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_16 = x_66; -x_17 = x_67; -goto block_24; -} -else -{ -lean_object* x_68; 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; lean_object* x_77; -x_68 = lean_ctor_get(x_61, 1); -lean_inc(x_68); -lean_dec(x_61); -x_69 = lean_ctor_get(x_62, 0); -lean_inc(x_69); -lean_dec(x_62); -x_70 = lean_box(0); -x_71 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_31, x_54, x_70); -x_72 = l_Lean_Expr_mvarId_x21(x_69); -x_73 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_71, x_72, x_70); -lean_inc(x_35); -x_74 = lean_array_push(x_34, x_35); -x_75 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_28, x_73, x_74, x_35, x_70, x_8, x_9, x_10, x_11, x_68); -lean_dec(x_35); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_16 = x_76; -x_17 = x_77; -goto block_24; -} -} -else -{ -uint8_t x_78; -lean_dec(x_54); -lean_dec(x_28); -lean_dec(x_35); -lean_dec(x_34); -lean_dec(x_31); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_78 = !lean_is_exclusive(x_61); -if (x_78 == 0) -{ -return x_61; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_61, 0); -x_80 = lean_ctor_get(x_61, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_61); -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_54); -lean_dec(x_28); -lean_dec(x_35); -lean_dec(x_34); -lean_dec(x_31); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_82 = !lean_is_exclusive(x_56); -if (x_82 == 0) -{ -return x_56; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_56, 0); -x_84 = lean_ctor_get(x_56, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_56); -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 -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_15); -x_86 = lean_box(0); -x_87 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_28, x_31, x_34, x_35, x_86, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_35); -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_16 = x_88; -x_17 = x_89; -goto block_24; -} -} -} -else -{ -lean_object* x_90; uint8_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -lean_dec(x_28); -x_90 = lean_array_fget(x_36, x_37); -x_91 = lean_unbox(x_90); -lean_dec(x_90); -x_92 = lean_unsigned_to_nat(1u); -x_93 = lean_nat_add(x_37, x_92); -lean_dec(x_37); -x_94 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_94, 0, x_36); -lean_ctor_set(x_94, 1, x_93); -lean_ctor_set(x_94, 2, x_38); -x_95 = l_Lean_BinderInfo_isExplicit(x_91); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_15); -x_96 = lean_box(0); -x_97 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_94, x_31, x_34, x_35, x_96, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_35); -x_98 = lean_ctor_get(x_97, 0); -lean_inc(x_98); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_16 = x_98; -x_17 = x_99; -goto block_24; -} -else -{ -lean_object* x_100; lean_object* x_101; -lean_inc(x_15); -x_100 = l_Lean_Expr_mvarId_x21(x_15); -x_101 = l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_31, x_100); -if (lean_obj_tag(x_101) == 0) -{ -lean_object* x_102; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_102 = lean_infer_type(x_15, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -lean_dec(x_102); -x_105 = lean_box_usize(x_3); -lean_inc(x_35); -lean_inc(x_31); -lean_inc(x_1); -x_106 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___boxed), 11, 4); -lean_closure_set(x_106, 0, x_1); -lean_closure_set(x_106, 1, x_31); -lean_closure_set(x_106, 2, x_35); -lean_closure_set(x_106, 3, x_105); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_107 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_103, x_106, x_8, x_9, x_10, x_11, x_104); -if (lean_obj_tag(x_107) == 0) -{ -lean_object* x_108; -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -if (lean_obj_tag(x_108) == 0) -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -lean_dec(x_100); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_box(0); -x_111 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_94, x_31, x_34, x_35, x_110, x_8, x_9, x_10, x_11, x_109); -lean_dec(x_35); -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); -lean_inc(x_113); -lean_dec(x_111); -x_16 = x_112; -x_17 = x_113; -goto block_24; -} -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; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_114 = lean_ctor_get(x_107, 1); -lean_inc(x_114); -lean_dec(x_107); -x_115 = lean_ctor_get(x_108, 0); -lean_inc(x_115); -lean_dec(x_108); -x_116 = lean_box(0); -x_117 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_31, x_100, x_116); -x_118 = l_Lean_Expr_mvarId_x21(x_115); -x_119 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_117, x_118, x_116); -lean_inc(x_35); -x_120 = lean_array_push(x_34, x_35); -x_121 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_94, x_119, x_120, x_35, x_116, x_8, x_9, x_10, x_11, x_114); -lean_dec(x_35); -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_16 = x_122; -x_17 = x_123; -goto block_24; -} -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -lean_dec(x_100); -lean_dec(x_94); -lean_dec(x_35); -lean_dec(x_34); -lean_dec(x_31); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_124 = lean_ctor_get(x_107, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_107, 1); -lean_inc(x_125); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_126 = x_107; -} else { - lean_dec_ref(x_107); - x_126 = lean_box(0); -} -if (lean_is_scalar(x_126)) { - x_127 = lean_alloc_ctor(1, 2, 0); -} else { - x_127 = x_126; -} -lean_ctor_set(x_127, 0, x_124); -lean_ctor_set(x_127, 1, x_125); -return x_127; -} -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -lean_dec(x_100); -lean_dec(x_94); -lean_dec(x_35); -lean_dec(x_34); -lean_dec(x_31); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_128 = lean_ctor_get(x_102, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_102, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_130 = x_102; -} else { - lean_dec_ref(x_102); - x_130 = lean_box(0); -} -if (lean_is_scalar(x_130)) { - x_131 = lean_alloc_ctor(1, 2, 0); -} else { - x_131 = x_130; -} -lean_ctor_set(x_131, 0, x_128); -lean_ctor_set(x_131, 1, x_129); -return x_131; -} -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -lean_dec(x_101); -lean_dec(x_100); -lean_dec(x_15); -x_132 = lean_box(0); -x_133 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_94, x_31, x_34, x_35, x_132, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_35); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); -lean_inc(x_135); -lean_dec(x_133); -x_16 = x_134; -x_17 = x_135; -goto block_24; -} -} -} -} -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; -x_136 = lean_ctor_get(x_26, 0); -x_137 = lean_ctor_get(x_26, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_26); -x_138 = lean_ctor_get(x_28, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_28, 1); -lean_inc(x_139); -x_140 = lean_ctor_get(x_28, 2); -lean_inc(x_140); -x_141 = lean_nat_dec_lt(x_139, x_140); -if (x_141 == 0) -{ -lean_object* x_142; lean_object* x_143; -lean_dec(x_140); -lean_dec(x_139); -lean_dec(x_138); -lean_dec(x_15); -x_142 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_142, 0, x_136); -lean_ctor_set(x_142, 1, x_137); -lean_ctor_set(x_25, 1, x_142); -x_143 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_143, 0, x_7); -x_16 = x_143; -x_17 = x_12; -goto block_24; -} -else -{ -lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; -lean_free_object(x_25); -lean_free_object(x_7); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - lean_ctor_release(x_28, 2); - x_144 = x_28; -} else { - lean_dec_ref(x_28); - x_144 = lean_box(0); -} -x_145 = lean_array_fget(x_138, x_139); -x_146 = lean_unbox(x_145); -lean_dec(x_145); -x_147 = lean_unsigned_to_nat(1u); -x_148 = lean_nat_add(x_139, x_147); -lean_dec(x_139); -if (lean_is_scalar(x_144)) { - x_149 = lean_alloc_ctor(0, 3, 0); -} else { - x_149 = x_144; -} -lean_ctor_set(x_149, 0, x_138); -lean_ctor_set(x_149, 1, x_148); -lean_ctor_set(x_149, 2, x_140); -x_150 = l_Lean_BinderInfo_isExplicit(x_146); -if (x_150 == 0) -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -lean_dec(x_15); -x_151 = lean_box(0); -x_152 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_149, x_31, x_136, x_137, x_151, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_137); -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 1); -lean_inc(x_154); -lean_dec(x_152); -x_16 = x_153; -x_17 = x_154; -goto block_24; -} -else -{ -lean_object* x_155; lean_object* x_156; -lean_inc(x_15); -x_155 = l_Lean_Expr_mvarId_x21(x_15); -x_156 = l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_31, x_155); -if (lean_obj_tag(x_156) == 0) -{ -lean_object* x_157; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_157 = lean_infer_type(x_15, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_157) == 0) -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -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 = lean_box_usize(x_3); -lean_inc(x_137); -lean_inc(x_31); -lean_inc(x_1); -x_161 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___boxed), 11, 4); -lean_closure_set(x_161, 0, x_1); -lean_closure_set(x_161, 1, x_31); -lean_closure_set(x_161, 2, x_137); -lean_closure_set(x_161, 3, x_160); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_162 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_158, x_161, x_8, x_9, x_10, x_11, x_159); -if (lean_obj_tag(x_162) == 0) -{ -lean_object* x_163; -x_163 = lean_ctor_get(x_162, 0); -lean_inc(x_163); -if (lean_obj_tag(x_163) == 0) -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -lean_dec(x_155); -x_164 = lean_ctor_get(x_162, 1); -lean_inc(x_164); -lean_dec(x_162); -x_165 = lean_box(0); -x_166 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_149, x_31, x_136, x_137, x_165, x_8, x_9, x_10, x_11, x_164); -lean_dec(x_137); -x_167 = lean_ctor_get(x_166, 0); -lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); -lean_inc(x_168); -lean_dec(x_166); -x_16 = x_167; -x_17 = x_168; -goto block_24; -} -else -{ -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_169 = lean_ctor_get(x_162, 1); -lean_inc(x_169); -lean_dec(x_162); -x_170 = lean_ctor_get(x_163, 0); -lean_inc(x_170); -lean_dec(x_163); -x_171 = lean_box(0); -x_172 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_31, x_155, x_171); -x_173 = l_Lean_Expr_mvarId_x21(x_170); -x_174 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_172, x_173, x_171); -lean_inc(x_137); -x_175 = lean_array_push(x_136, x_137); -x_176 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_149, x_174, x_175, x_137, x_171, x_8, x_9, x_10, x_11, x_169); -lean_dec(x_137); -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -x_16 = x_177; -x_17 = x_178; -goto block_24; -} -} -else -{ -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -lean_dec(x_155); -lean_dec(x_149); -lean_dec(x_137); -lean_dec(x_136); -lean_dec(x_31); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_179 = lean_ctor_get(x_162, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_162, 1); -lean_inc(x_180); -if (lean_is_exclusive(x_162)) { - lean_ctor_release(x_162, 0); - lean_ctor_release(x_162, 1); - x_181 = x_162; -} else { - lean_dec_ref(x_162); - 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_object* x_186; -lean_dec(x_155); -lean_dec(x_149); -lean_dec(x_137); -lean_dec(x_136); -lean_dec(x_31); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_183 = lean_ctor_get(x_157, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_157, 1); -lean_inc(x_184); -if (lean_is_exclusive(x_157)) { - lean_ctor_release(x_157, 0); - lean_ctor_release(x_157, 1); - x_185 = x_157; -} else { - lean_dec_ref(x_157); - x_185 = lean_box(0); -} -if (lean_is_scalar(x_185)) { - x_186 = lean_alloc_ctor(1, 2, 0); -} else { - x_186 = x_185; -} -lean_ctor_set(x_186, 0, x_183); -lean_ctor_set(x_186, 1, x_184); -return x_186; -} -} -else -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -lean_dec(x_156); -lean_dec(x_155); -lean_dec(x_15); -x_187 = lean_box(0); -x_188 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_149, x_31, x_136, x_137, x_187, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_137); -x_189 = lean_ctor_get(x_188, 0); -lean_inc(x_189); -x_190 = lean_ctor_get(x_188, 1); -lean_inc(x_190); -lean_dec(x_188); -x_16 = x_189; -x_17 = x_190; -goto block_24; -} -} -} -} -} -else -{ -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; uint8_t x_198; -x_191 = lean_ctor_get(x_25, 0); -lean_inc(x_191); -lean_dec(x_25); -x_192 = lean_ctor_get(x_26, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_26, 1); -lean_inc(x_193); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - x_194 = x_26; -} else { - lean_dec_ref(x_26); - x_194 = lean_box(0); -} -x_195 = lean_ctor_get(x_28, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_28, 1); -lean_inc(x_196); -x_197 = lean_ctor_get(x_28, 2); -lean_inc(x_197); -x_198 = lean_nat_dec_lt(x_196, x_197); -if (x_198 == 0) -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; -lean_dec(x_197); -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_15); -if (lean_is_scalar(x_194)) { - x_199 = lean_alloc_ctor(0, 2, 0); -} else { - x_199 = x_194; -} -lean_ctor_set(x_199, 0, x_192); -lean_ctor_set(x_199, 1, x_193); -x_200 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_200, 0, x_191); -lean_ctor_set(x_200, 1, x_199); -lean_ctor_set(x_7, 1, x_200); -x_201 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_201, 0, x_7); -x_16 = x_201; -x_17 = x_12; -goto block_24; -} -else -{ -lean_object* x_202; lean_object* x_203; uint8_t x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; -lean_dec(x_194); -lean_free_object(x_7); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - lean_ctor_release(x_28, 2); - x_202 = x_28; -} else { - lean_dec_ref(x_28); - x_202 = lean_box(0); -} -x_203 = lean_array_fget(x_195, x_196); -x_204 = lean_unbox(x_203); -lean_dec(x_203); -x_205 = lean_unsigned_to_nat(1u); -x_206 = lean_nat_add(x_196, x_205); -lean_dec(x_196); -if (lean_is_scalar(x_202)) { - x_207 = lean_alloc_ctor(0, 3, 0); -} else { - x_207 = x_202; -} -lean_ctor_set(x_207, 0, x_195); -lean_ctor_set(x_207, 1, x_206); -lean_ctor_set(x_207, 2, x_197); -x_208 = l_Lean_BinderInfo_isExplicit(x_204); -if (x_208 == 0) -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -lean_dec(x_15); -x_209 = lean_box(0); -x_210 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_207, x_191, x_192, x_193, x_209, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_193); -x_211 = lean_ctor_get(x_210, 0); -lean_inc(x_211); -x_212 = lean_ctor_get(x_210, 1); -lean_inc(x_212); -lean_dec(x_210); -x_16 = x_211; -x_17 = x_212; -goto block_24; -} -else -{ -lean_object* x_213; lean_object* x_214; -lean_inc(x_15); -x_213 = l_Lean_Expr_mvarId_x21(x_15); -x_214 = l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_191, x_213); -if (lean_obj_tag(x_214) == 0) -{ -lean_object* x_215; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_215 = lean_infer_type(x_15, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_215) == 0) -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_216 = lean_ctor_get(x_215, 0); -lean_inc(x_216); -x_217 = lean_ctor_get(x_215, 1); -lean_inc(x_217); -lean_dec(x_215); -x_218 = lean_box_usize(x_3); -lean_inc(x_193); -lean_inc(x_191); -lean_inc(x_1); -x_219 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___boxed), 11, 4); -lean_closure_set(x_219, 0, x_1); -lean_closure_set(x_219, 1, x_191); -lean_closure_set(x_219, 2, x_193); -lean_closure_set(x_219, 3, x_218); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_220 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_216, x_219, x_8, x_9, x_10, x_11, x_217); -if (lean_obj_tag(x_220) == 0) -{ -lean_object* x_221; -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -if (lean_obj_tag(x_221) == 0) -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -lean_dec(x_213); -x_222 = lean_ctor_get(x_220, 1); -lean_inc(x_222); -lean_dec(x_220); -x_223 = lean_box(0); -x_224 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_207, x_191, x_192, x_193, x_223, x_8, x_9, x_10, x_11, x_222); -lean_dec(x_193); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_224, 1); -lean_inc(x_226); -lean_dec(x_224); -x_16 = x_225; -x_17 = x_226; -goto block_24; -} -else -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; -x_227 = lean_ctor_get(x_220, 1); -lean_inc(x_227); -lean_dec(x_220); -x_228 = lean_ctor_get(x_221, 0); -lean_inc(x_228); -lean_dec(x_221); -x_229 = lean_box(0); -x_230 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_191, x_213, x_229); -x_231 = l_Lean_Expr_mvarId_x21(x_228); -x_232 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_230, x_231, x_229); -lean_inc(x_193); -x_233 = lean_array_push(x_192, x_193); -x_234 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_207, x_232, x_233, x_193, x_229, x_8, x_9, x_10, x_11, x_227); -lean_dec(x_193); -x_235 = lean_ctor_get(x_234, 0); -lean_inc(x_235); -x_236 = lean_ctor_get(x_234, 1); -lean_inc(x_236); -lean_dec(x_234); -x_16 = x_235; -x_17 = x_236; -goto block_24; -} -} -else -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; -lean_dec(x_213); -lean_dec(x_207); -lean_dec(x_193); -lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_237 = lean_ctor_get(x_220, 0); -lean_inc(x_237); -x_238 = lean_ctor_get(x_220, 1); -lean_inc(x_238); -if (lean_is_exclusive(x_220)) { - lean_ctor_release(x_220, 0); - lean_ctor_release(x_220, 1); - x_239 = x_220; -} else { - lean_dec_ref(x_220); - x_239 = lean_box(0); -} -if (lean_is_scalar(x_239)) { - x_240 = lean_alloc_ctor(1, 2, 0); -} else { - x_240 = x_239; -} -lean_ctor_set(x_240, 0, x_237); -lean_ctor_set(x_240, 1, x_238); -return x_240; -} -} -else -{ -lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; -lean_dec(x_213); -lean_dec(x_207); -lean_dec(x_193); -lean_dec(x_192); -lean_dec(x_191); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_241 = lean_ctor_get(x_215, 0); -lean_inc(x_241); -x_242 = lean_ctor_get(x_215, 1); -lean_inc(x_242); -if (lean_is_exclusive(x_215)) { - lean_ctor_release(x_215, 0); - lean_ctor_release(x_215, 1); - x_243 = x_215; -} else { - lean_dec_ref(x_215); - x_243 = lean_box(0); -} -if (lean_is_scalar(x_243)) { - x_244 = lean_alloc_ctor(1, 2, 0); -} else { - x_244 = x_243; -} -lean_ctor_set(x_244, 0, x_241); -lean_ctor_set(x_244, 1, x_242); -return x_244; -} -} -else -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; -lean_dec(x_214); -lean_dec(x_213); -lean_dec(x_15); -x_245 = lean_box(0); -x_246 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_207, x_191, x_192, x_193, x_245, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_193); -x_247 = lean_ctor_get(x_246, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_246, 1); -lean_inc(x_248); -lean_dec(x_246); -x_16 = x_247; -x_17 = x_248; -goto block_24; -} -} -} -} -} -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; uint8_t x_258; -x_249 = lean_ctor_get(x_7, 0); -lean_inc(x_249); -lean_dec(x_7); -x_250 = lean_ctor_get(x_25, 0); -lean_inc(x_250); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_251 = x_25; -} else { - lean_dec_ref(x_25); - x_251 = lean_box(0); -} -x_252 = lean_ctor_get(x_26, 0); -lean_inc(x_252); -x_253 = lean_ctor_get(x_26, 1); -lean_inc(x_253); -if (lean_is_exclusive(x_26)) { - lean_ctor_release(x_26, 0); - lean_ctor_release(x_26, 1); - x_254 = x_26; -} else { - lean_dec_ref(x_26); - x_254 = lean_box(0); -} -x_255 = lean_ctor_get(x_249, 0); -lean_inc(x_255); -x_256 = lean_ctor_get(x_249, 1); -lean_inc(x_256); -x_257 = lean_ctor_get(x_249, 2); -lean_inc(x_257); -x_258 = lean_nat_dec_lt(x_256, x_257); -if (x_258 == 0) -{ -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; -lean_dec(x_257); -lean_dec(x_256); -lean_dec(x_255); -lean_dec(x_15); -if (lean_is_scalar(x_254)) { - x_259 = lean_alloc_ctor(0, 2, 0); -} else { - x_259 = x_254; -} -lean_ctor_set(x_259, 0, x_252); -lean_ctor_set(x_259, 1, x_253); -if (lean_is_scalar(x_251)) { - x_260 = lean_alloc_ctor(0, 2, 0); -} else { - x_260 = x_251; -} -lean_ctor_set(x_260, 0, x_250); -lean_ctor_set(x_260, 1, x_259); -x_261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_261, 0, x_249); -lean_ctor_set(x_261, 1, x_260); -x_262 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_262, 0, x_261); -x_16 = x_262; -x_17 = x_12; -goto block_24; -} -else -{ -lean_object* x_263; lean_object* x_264; uint8_t x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; -lean_dec(x_254); -lean_dec(x_251); -if (lean_is_exclusive(x_249)) { - lean_ctor_release(x_249, 0); - lean_ctor_release(x_249, 1); - lean_ctor_release(x_249, 2); - x_263 = x_249; -} else { - lean_dec_ref(x_249); - x_263 = lean_box(0); -} -x_264 = lean_array_fget(x_255, x_256); -x_265 = lean_unbox(x_264); -lean_dec(x_264); -x_266 = lean_unsigned_to_nat(1u); -x_267 = lean_nat_add(x_256, x_266); -lean_dec(x_256); -if (lean_is_scalar(x_263)) { - x_268 = lean_alloc_ctor(0, 3, 0); -} else { - x_268 = x_263; -} -lean_ctor_set(x_268, 0, x_255); -lean_ctor_set(x_268, 1, x_267); -lean_ctor_set(x_268, 2, x_257); -x_269 = l_Lean_BinderInfo_isExplicit(x_265); -if (x_269 == 0) -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; -lean_dec(x_15); -x_270 = lean_box(0); -x_271 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_268, x_250, x_252, x_253, x_270, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_253); -x_272 = lean_ctor_get(x_271, 0); -lean_inc(x_272); -x_273 = lean_ctor_get(x_271, 1); -lean_inc(x_273); -lean_dec(x_271); -x_16 = x_272; -x_17 = x_273; -goto block_24; -} -else -{ -lean_object* x_274; lean_object* x_275; -lean_inc(x_15); -x_274 = l_Lean_Expr_mvarId_x21(x_15); -x_275 = l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_250, x_274); -if (lean_obj_tag(x_275) == 0) -{ -lean_object* x_276; -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_276 = lean_infer_type(x_15, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_276) == 0) -{ -lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; -x_277 = lean_ctor_get(x_276, 0); -lean_inc(x_277); -x_278 = lean_ctor_get(x_276, 1); -lean_inc(x_278); -lean_dec(x_276); -x_279 = lean_box_usize(x_3); -lean_inc(x_253); -lean_inc(x_250); -lean_inc(x_1); -x_280 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___boxed), 11, 4); -lean_closure_set(x_280, 0, x_1); -lean_closure_set(x_280, 1, x_250); -lean_closure_set(x_280, 2, x_253); -lean_closure_set(x_280, 3, x_279); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_281 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_277, x_280, x_8, x_9, x_10, x_11, x_278); -if (lean_obj_tag(x_281) == 0) -{ -lean_object* x_282; -x_282 = lean_ctor_get(x_281, 0); -lean_inc(x_282); -if (lean_obj_tag(x_282) == 0) -{ -lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; -lean_dec(x_274); -x_283 = lean_ctor_get(x_281, 1); -lean_inc(x_283); -lean_dec(x_281); -x_284 = lean_box(0); -x_285 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_268, x_250, x_252, x_253, x_284, x_8, x_9, x_10, x_11, x_283); -lean_dec(x_253); -x_286 = lean_ctor_get(x_285, 0); -lean_inc(x_286); -x_287 = lean_ctor_get(x_285, 1); -lean_inc(x_287); -lean_dec(x_285); -x_16 = x_286; -x_17 = x_287; -goto block_24; -} -else -{ -lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; -x_288 = lean_ctor_get(x_281, 1); -lean_inc(x_288); -lean_dec(x_281); -x_289 = lean_ctor_get(x_282, 0); -lean_inc(x_289); -lean_dec(x_282); -x_290 = lean_box(0); -x_291 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_250, x_274, x_290); -x_292 = l_Lean_Expr_mvarId_x21(x_289); -x_293 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_291, x_292, x_290); -lean_inc(x_253); -x_294 = lean_array_push(x_252, x_253); -x_295 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_268, x_293, x_294, x_253, x_290, x_8, x_9, x_10, x_11, x_288); -lean_dec(x_253); -x_296 = lean_ctor_get(x_295, 0); -lean_inc(x_296); -x_297 = lean_ctor_get(x_295, 1); -lean_inc(x_297); -lean_dec(x_295); -x_16 = x_296; -x_17 = x_297; -goto block_24; -} -} -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; -lean_dec(x_274); -lean_dec(x_268); -lean_dec(x_253); -lean_dec(x_252); -lean_dec(x_250); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_298 = lean_ctor_get(x_281, 0); -lean_inc(x_298); -x_299 = lean_ctor_get(x_281, 1); -lean_inc(x_299); -if (lean_is_exclusive(x_281)) { - lean_ctor_release(x_281, 0); - lean_ctor_release(x_281, 1); - x_300 = x_281; -} else { - lean_dec_ref(x_281); - x_300 = lean_box(0); -} -if (lean_is_scalar(x_300)) { - x_301 = lean_alloc_ctor(1, 2, 0); -} else { - x_301 = x_300; -} -lean_ctor_set(x_301, 0, x_298); -lean_ctor_set(x_301, 1, x_299); -return x_301; -} -} -else -{ -lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; -lean_dec(x_274); -lean_dec(x_268); -lean_dec(x_253); -lean_dec(x_252); -lean_dec(x_250); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_302 = lean_ctor_get(x_276, 0); -lean_inc(x_302); -x_303 = lean_ctor_get(x_276, 1); -lean_inc(x_303); -if (lean_is_exclusive(x_276)) { - lean_ctor_release(x_276, 0); - lean_ctor_release(x_276, 1); - x_304 = x_276; -} else { - lean_dec_ref(x_276); - x_304 = lean_box(0); -} -if (lean_is_scalar(x_304)) { - x_305 = lean_alloc_ctor(1, 2, 0); -} else { - x_305 = x_304; -} -lean_ctor_set(x_305, 0, x_302); -lean_ctor_set(x_305, 1, x_303); -return x_305; -} -} -else -{ -lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; -lean_dec(x_275); -lean_dec(x_274); -lean_dec(x_15); -x_306 = lean_box(0); -x_307 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_268, x_250, x_252, x_253, x_306, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_253); -x_308 = lean_ctor_get(x_307, 0); -lean_inc(x_308); -x_309 = lean_ctor_get(x_307, 1); -lean_inc(x_309); -lean_dec(x_307); -x_16 = x_308; -x_17 = x_309; -goto block_24; -} -} -} -} -block_24: -{ -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -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_20; size_t x_21; size_t x_22; -x_20 = lean_ctor_get(x_16, 0); -lean_inc(x_20); -lean_dec(x_16); -x_21 = 1; -x_22 = lean_usize_add(x_6, x_21); -x_6 = x_22; -x_7 = x_20; -x_12 = x_17; -goto _start; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___at_Lean_Meta_mkSimpCongrTheorem___spec__9(lean_object* x_1, size_t x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7(lean_object* x_1, size_t x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -5873,7 +4563,6 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -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); @@ -5956,7 +4645,7 @@ if (x_48 == 0) lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_dec(x_14); x_49 = lean_box(0); -x_50 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_27, x_30, x_33, x_34, x_49, x_7, x_8, x_9, x_10, x_11); +x_50 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_27, x_30, x_33, x_34, x_49, x_7, x_8, x_9, x_10, x_11); lean_dec(x_34); x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); @@ -5992,12 +4681,10 @@ lean_dec(x_55); x_58 = lean_box_usize(x_2); lean_inc(x_34); lean_inc(x_30); -lean_inc(x_1); -x_59 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___boxed), 11, 4); -lean_closure_set(x_59, 0, x_1); -lean_closure_set(x_59, 1, x_30); -lean_closure_set(x_59, 2, x_34); -lean_closure_set(x_59, 3, x_58); +x_59 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___boxed), 10, 3); +lean_closure_set(x_59, 0, x_30); +lean_closure_set(x_59, 1, x_34); +lean_closure_set(x_59, 2, x_58); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -6016,7 +4703,7 @@ x_62 = lean_ctor_get(x_60, 1); lean_inc(x_62); lean_dec(x_60); x_63 = lean_box(0); -x_64 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_27, x_30, x_33, x_34, x_63, x_7, x_8, x_9, x_10, x_62); +x_64 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_27, x_30, x_33, x_34, x_63, x_7, x_8, x_9, x_10, x_62); lean_dec(x_34); x_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); @@ -6042,7 +4729,7 @@ x_71 = l_Lean_Expr_mvarId_x21(x_68); x_72 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_70, x_71, x_69); lean_inc(x_34); x_73 = lean_array_push(x_33, x_34); -x_74 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_27, x_72, x_73, x_34, x_69, x_7, x_8, x_9, x_10, x_67); +x_74 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_27, x_72, x_73, x_34, x_69, x_7, x_8, x_9, x_10, x_67); lean_dec(x_34); x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); @@ -6066,7 +4753,6 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_1); x_77 = !lean_is_exclusive(x_60); if (x_77 == 0) { @@ -6099,7 +4785,6 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_1); x_81 = !lean_is_exclusive(x_55); if (x_81 == 0) { @@ -6127,7 +4812,7 @@ lean_dec(x_54); lean_dec(x_53); lean_dec(x_14); x_85 = lean_box(0); -x_86 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_27, x_30, x_33, x_34, x_85, x_7, x_8, x_9, x_10, x_11); +x_86 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_27, x_30, x_33, x_34, x_85, x_7, x_8, x_9, x_10, x_11); lean_dec(x_34); x_87 = lean_ctor_get(x_86, 0); lean_inc(x_87); @@ -6160,7 +4845,7 @@ if (x_94 == 0) lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_dec(x_14); x_95 = lean_box(0); -x_96 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_93, x_30, x_33, x_34, x_95, x_7, x_8, x_9, x_10, x_11); +x_96 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_93, x_30, x_33, x_34, x_95, x_7, x_8, x_9, x_10, x_11); lean_dec(x_34); x_97 = lean_ctor_get(x_96, 0); lean_inc(x_97); @@ -6196,12 +4881,10 @@ lean_dec(x_101); x_104 = lean_box_usize(x_2); lean_inc(x_34); lean_inc(x_30); -lean_inc(x_1); -x_105 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___boxed), 11, 4); -lean_closure_set(x_105, 0, x_1); -lean_closure_set(x_105, 1, x_30); -lean_closure_set(x_105, 2, x_34); -lean_closure_set(x_105, 3, x_104); +x_105 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___boxed), 10, 3); +lean_closure_set(x_105, 0, x_30); +lean_closure_set(x_105, 1, x_34); +lean_closure_set(x_105, 2, x_104); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -6220,7 +4903,7 @@ x_108 = lean_ctor_get(x_106, 1); lean_inc(x_108); lean_dec(x_106); x_109 = lean_box(0); -x_110 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_93, x_30, x_33, x_34, x_109, x_7, x_8, x_9, x_10, x_108); +x_110 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_93, x_30, x_33, x_34, x_109, x_7, x_8, x_9, x_10, x_108); lean_dec(x_34); x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); @@ -6246,7 +4929,7 @@ x_117 = l_Lean_Expr_mvarId_x21(x_114); x_118 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_116, x_117, x_115); lean_inc(x_34); x_119 = lean_array_push(x_33, x_34); -x_120 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_93, x_118, x_119, x_34, x_115, x_7, x_8, x_9, x_10, x_113); +x_120 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_93, x_118, x_119, x_34, x_115, x_7, x_8, x_9, x_10, x_113); lean_dec(x_34); x_121 = lean_ctor_get(x_120, 0); lean_inc(x_121); @@ -6270,7 +4953,6 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_1); x_123 = lean_ctor_get(x_106, 0); lean_inc(x_123); x_124 = lean_ctor_get(x_106, 1); @@ -6305,7 +4987,6 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_1); x_127 = lean_ctor_get(x_101, 0); lean_inc(x_127); x_128 = lean_ctor_get(x_101, 1); @@ -6335,7 +5016,7 @@ lean_dec(x_100); lean_dec(x_99); lean_dec(x_14); x_131 = lean_box(0); -x_132 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_93, x_30, x_33, x_34, x_131, x_7, x_8, x_9, x_10, x_11); +x_132 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_93, x_30, x_33, x_34, x_131, x_7, x_8, x_9, x_10, x_11); lean_dec(x_34); x_133 = lean_ctor_get(x_132, 0); lean_inc(x_133); @@ -6416,7 +5097,7 @@ if (x_149 == 0) lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_dec(x_14); x_150 = lean_box(0); -x_151 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_148, x_30, x_135, x_136, x_150, x_7, x_8, x_9, x_10, x_11); +x_151 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_148, x_30, x_135, x_136, x_150, x_7, x_8, x_9, x_10, x_11); lean_dec(x_136); x_152 = lean_ctor_get(x_151, 0); lean_inc(x_152); @@ -6452,12 +5133,10 @@ lean_dec(x_156); x_159 = lean_box_usize(x_2); lean_inc(x_136); lean_inc(x_30); -lean_inc(x_1); -x_160 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___boxed), 11, 4); -lean_closure_set(x_160, 0, x_1); -lean_closure_set(x_160, 1, x_30); -lean_closure_set(x_160, 2, x_136); -lean_closure_set(x_160, 3, x_159); +x_160 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___boxed), 10, 3); +lean_closure_set(x_160, 0, x_30); +lean_closure_set(x_160, 1, x_136); +lean_closure_set(x_160, 2, x_159); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -6476,7 +5155,7 @@ x_163 = lean_ctor_get(x_161, 1); lean_inc(x_163); lean_dec(x_161); x_164 = lean_box(0); -x_165 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_148, x_30, x_135, x_136, x_164, x_7, x_8, x_9, x_10, x_163); +x_165 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_148, x_30, x_135, x_136, x_164, x_7, x_8, x_9, x_10, x_163); lean_dec(x_136); x_166 = lean_ctor_get(x_165, 0); lean_inc(x_166); @@ -6502,7 +5181,7 @@ x_172 = l_Lean_Expr_mvarId_x21(x_169); x_173 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_171, x_172, x_170); lean_inc(x_136); x_174 = lean_array_push(x_135, x_136); -x_175 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_148, x_173, x_174, x_136, x_170, x_7, x_8, x_9, x_10, x_168); +x_175 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_148, x_173, x_174, x_136, x_170, x_7, x_8, x_9, x_10, x_168); lean_dec(x_136); x_176 = lean_ctor_get(x_175, 0); lean_inc(x_176); @@ -6526,7 +5205,6 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_1); x_178 = lean_ctor_get(x_161, 0); lean_inc(x_178); x_179 = lean_ctor_get(x_161, 1); @@ -6561,7 +5239,6 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_1); x_182 = lean_ctor_get(x_156, 0); lean_inc(x_182); x_183 = lean_ctor_get(x_156, 1); @@ -6591,7 +5268,7 @@ lean_dec(x_155); lean_dec(x_154); lean_dec(x_14); x_186 = lean_box(0); -x_187 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_148, x_30, x_135, x_136, x_186, x_7, x_8, x_9, x_10, x_11); +x_187 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_148, x_30, x_135, x_136, x_186, x_7, x_8, x_9, x_10, x_11); lean_dec(x_136); x_188 = lean_ctor_get(x_187, 0); lean_inc(x_188); @@ -6689,7 +5366,7 @@ if (x_207 == 0) lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_dec(x_14); x_208 = lean_box(0); -x_209 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_206, x_190, x_191, x_192, x_208, x_7, x_8, x_9, x_10, x_11); +x_209 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_206, x_190, x_191, x_192, x_208, x_7, x_8, x_9, x_10, x_11); lean_dec(x_192); x_210 = lean_ctor_get(x_209, 0); lean_inc(x_210); @@ -6725,12 +5402,10 @@ lean_dec(x_214); x_217 = lean_box_usize(x_2); lean_inc(x_192); lean_inc(x_190); -lean_inc(x_1); -x_218 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___boxed), 11, 4); -lean_closure_set(x_218, 0, x_1); -lean_closure_set(x_218, 1, x_190); -lean_closure_set(x_218, 2, x_192); -lean_closure_set(x_218, 3, x_217); +x_218 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___boxed), 10, 3); +lean_closure_set(x_218, 0, x_190); +lean_closure_set(x_218, 1, x_192); +lean_closure_set(x_218, 2, x_217); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -6749,7 +5424,7 @@ x_221 = lean_ctor_get(x_219, 1); lean_inc(x_221); lean_dec(x_219); x_222 = lean_box(0); -x_223 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_206, x_190, x_191, x_192, x_222, x_7, x_8, x_9, x_10, x_221); +x_223 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_206, x_190, x_191, x_192, x_222, x_7, x_8, x_9, x_10, x_221); lean_dec(x_192); x_224 = lean_ctor_get(x_223, 0); lean_inc(x_224); @@ -6775,7 +5450,7 @@ x_230 = l_Lean_Expr_mvarId_x21(x_227); x_231 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_229, x_230, x_228); lean_inc(x_192); x_232 = lean_array_push(x_191, x_192); -x_233 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_206, x_231, x_232, x_192, x_228, x_7, x_8, x_9, x_10, x_226); +x_233 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_206, x_231, x_232, x_192, x_228, x_7, x_8, x_9, x_10, x_226); lean_dec(x_192); x_234 = lean_ctor_get(x_233, 0); lean_inc(x_234); @@ -6799,7 +5474,6 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_1); x_236 = lean_ctor_get(x_219, 0); lean_inc(x_236); x_237 = lean_ctor_get(x_219, 1); @@ -6834,7 +5508,6 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_1); x_240 = lean_ctor_get(x_214, 0); lean_inc(x_240); x_241 = lean_ctor_get(x_214, 1); @@ -6864,7 +5537,7 @@ lean_dec(x_213); lean_dec(x_212); lean_dec(x_14); x_244 = lean_box(0); -x_245 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_206, x_190, x_191, x_192, x_244, x_7, x_8, x_9, x_10, x_11); +x_245 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_206, x_190, x_191, x_192, x_244, x_7, x_8, x_9, x_10, x_11); lean_dec(x_192); x_246 = lean_ctor_get(x_245, 0); lean_inc(x_246); @@ -6978,7 +5651,7 @@ if (x_268 == 0) lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_dec(x_14); x_269 = lean_box(0); -x_270 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_267, x_249, x_251, x_252, x_269, x_7, x_8, x_9, x_10, x_11); +x_270 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_267, x_249, x_251, x_252, x_269, x_7, x_8, x_9, x_10, x_11); lean_dec(x_252); x_271 = lean_ctor_get(x_270, 0); lean_inc(x_271); @@ -7014,12 +5687,10 @@ lean_dec(x_275); x_278 = lean_box_usize(x_2); lean_inc(x_252); lean_inc(x_249); -lean_inc(x_1); -x_279 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___boxed), 11, 4); -lean_closure_set(x_279, 0, x_1); -lean_closure_set(x_279, 1, x_249); -lean_closure_set(x_279, 2, x_252); -lean_closure_set(x_279, 3, x_278); +x_279 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___boxed), 10, 3); +lean_closure_set(x_279, 0, x_249); +lean_closure_set(x_279, 1, x_252); +lean_closure_set(x_279, 2, x_278); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -7038,7 +5709,7 @@ x_282 = lean_ctor_get(x_280, 1); lean_inc(x_282); lean_dec(x_280); x_283 = lean_box(0); -x_284 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_267, x_249, x_251, x_252, x_283, x_7, x_8, x_9, x_10, x_282); +x_284 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_267, x_249, x_251, x_252, x_283, x_7, x_8, x_9, x_10, x_282); lean_dec(x_252); x_285 = lean_ctor_get(x_284, 0); lean_inc(x_285); @@ -7064,7 +5735,7 @@ x_291 = l_Lean_Expr_mvarId_x21(x_288); x_292 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_290, x_291, x_289); lean_inc(x_252); x_293 = lean_array_push(x_251, x_252); -x_294 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_267, x_292, x_293, x_252, x_289, x_7, x_8, x_9, x_10, x_287); +x_294 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_267, x_292, x_293, x_252, x_289, x_7, x_8, x_9, x_10, x_287); lean_dec(x_252); x_295 = lean_ctor_get(x_294, 0); lean_inc(x_295); @@ -7088,7 +5759,6 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_1); x_297 = lean_ctor_get(x_280, 0); lean_inc(x_297); x_298 = lean_ctor_get(x_280, 1); @@ -7123,7 +5793,6 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_1); x_301 = lean_ctor_get(x_275, 0); lean_inc(x_301); x_302 = lean_ctor_get(x_275, 1); @@ -7153,7 +5822,7 @@ lean_dec(x_274); lean_dec(x_273); lean_dec(x_14); x_305 = lean_box(0); -x_306 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_267, x_249, x_251, x_252, x_305, x_7, x_8, x_9, x_10, x_11); +x_306 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_267, x_249, x_251, x_252, x_305, x_7, x_8, x_9, x_10, x_11); lean_dec(x_252); x_307 = lean_ctor_get(x_306, 0); lean_inc(x_307); @@ -7176,7 +5845,6 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_1); x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); lean_dec(x_15); @@ -7202,7 +5870,1326 @@ goto _start; } } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___lambda__1___closed__1() { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___at_Lean_Meta_mkSimpCongrTheorem___spec__8(size_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_lt(x_4, x_3); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_5); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_13 = lean_array_uget(x_2, x_4); +x_23 = lean_ctor_get(x_5, 1); +lean_inc(x_23); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +x_25 = !lean_is_exclusive(x_5); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_5, 0); +x_27 = lean_ctor_get(x_5, 1); +lean_dec(x_27); +x_28 = !lean_is_exclusive(x_23); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_ctor_get(x_23, 0); +x_30 = lean_ctor_get(x_23, 1); +lean_dec(x_30); +x_31 = !lean_is_exclusive(x_24); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_32 = lean_ctor_get(x_24, 0); +x_33 = lean_ctor_get(x_24, 1); +x_34 = lean_ctor_get(x_26, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_26, 1); +lean_inc(x_35); +x_36 = lean_ctor_get(x_26, 2); +lean_inc(x_36); +x_37 = lean_nat_dec_lt(x_35, x_36); +if (x_37 == 0) +{ +lean_object* x_38; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_13); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_5); +x_14 = x_38; +x_15 = x_10; +goto block_22; +} +else +{ +uint8_t x_39; +lean_free_object(x_24); +lean_free_object(x_23); +lean_free_object(x_5); +x_39 = !lean_is_exclusive(x_26); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_40 = lean_ctor_get(x_26, 2); +lean_dec(x_40); +x_41 = lean_ctor_get(x_26, 1); +lean_dec(x_41); +x_42 = lean_ctor_get(x_26, 0); +lean_dec(x_42); +x_43 = lean_array_fget(x_34, x_35); +x_44 = lean_unbox(x_43); +lean_dec(x_43); +x_45 = lean_unsigned_to_nat(1u); +x_46 = lean_nat_add(x_35, x_45); +lean_dec(x_35); +lean_ctor_set(x_26, 1, x_46); +x_47 = l_Lean_BinderInfo_isExplicit(x_44); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_13); +x_48 = lean_box(0); +x_49 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_26, x_29, x_32, x_33, x_48, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_33); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_14 = x_50; +x_15 = x_51; +goto block_22; +} +else +{ +lean_object* x_52; lean_object* x_53; +lean_inc(x_13); +x_52 = l_Lean_Expr_mvarId_x21(x_13); +x_53 = l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_29, x_52); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_54 = lean_infer_type(x_13, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = lean_box_usize(x_1); +lean_inc(x_33); +lean_inc(x_29); +x_58 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___boxed), 10, 3); +lean_closure_set(x_58, 0, x_29); +lean_closure_set(x_58, 1, x_33); +lean_closure_set(x_58, 2, x_57); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_59 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_55, x_58, x_6, x_7, x_8, x_9, x_56); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_52); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_box(0); +x_63 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_26, x_29, x_32, x_33, x_62, x_6, x_7, x_8, x_9, x_61); +lean_dec(x_33); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_14 = x_64; +x_15 = x_65; +goto block_22; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; 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; +x_66 = lean_ctor_get(x_59, 1); +lean_inc(x_66); +lean_dec(x_59); +x_67 = lean_ctor_get(x_60, 0); +lean_inc(x_67); +lean_dec(x_60); +x_68 = lean_box(0); +x_69 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_29, x_52, x_68); +x_70 = l_Lean_Expr_mvarId_x21(x_67); +x_71 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_69, x_70, x_68); +lean_inc(x_33); +x_72 = lean_array_push(x_32, x_33); +x_73 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_26, x_71, x_72, x_33, x_68, x_6, x_7, x_8, x_9, x_66); +lean_dec(x_33); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_14 = x_74; +x_15 = x_75; +goto block_22; +} +} +else +{ +uint8_t x_76; +lean_dec(x_52); +lean_dec(x_26); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_29); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_76 = !lean_is_exclusive(x_59); +if (x_76 == 0) +{ +return x_59; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_59, 0); +x_78 = lean_ctor_get(x_59, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_59); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; +} +} +} +else +{ +uint8_t x_80; +lean_dec(x_52); +lean_dec(x_26); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_29); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_80 = !lean_is_exclusive(x_54); +if (x_80 == 0) +{ +return x_54; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_54, 0); +x_82 = lean_ctor_get(x_54, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_54); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec(x_53); +lean_dec(x_52); +lean_dec(x_13); +x_84 = lean_box(0); +x_85 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_26, x_29, x_32, x_33, x_84, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_33); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_14 = x_86; +x_15 = x_87; +goto block_22; +} +} +} +else +{ +lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +lean_dec(x_26); +x_88 = lean_array_fget(x_34, x_35); +x_89 = lean_unbox(x_88); +lean_dec(x_88); +x_90 = lean_unsigned_to_nat(1u); +x_91 = lean_nat_add(x_35, x_90); +lean_dec(x_35); +x_92 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_92, 0, x_34); +lean_ctor_set(x_92, 1, x_91); +lean_ctor_set(x_92, 2, x_36); +x_93 = l_Lean_BinderInfo_isExplicit(x_89); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_dec(x_13); +x_94 = lean_box(0); +x_95 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_92, x_29, x_32, x_33, x_94, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_33); +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_14 = x_96; +x_15 = x_97; +goto block_22; +} +else +{ +lean_object* x_98; lean_object* x_99; +lean_inc(x_13); +x_98 = l_Lean_Expr_mvarId_x21(x_13); +x_99 = l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_29, x_98); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_100 = lean_infer_type(x_13, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_100) == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +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); +x_103 = lean_box_usize(x_1); +lean_inc(x_33); +lean_inc(x_29); +x_104 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___boxed), 10, 3); +lean_closure_set(x_104, 0, x_29); +lean_closure_set(x_104, 1, x_33); +lean_closure_set(x_104, 2, x_103); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_105 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_101, x_104, x_6, x_7, x_8, x_9, x_102); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +lean_dec(x_98); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = lean_box(0); +x_109 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_92, x_29, x_32, x_33, x_108, x_6, x_7, x_8, x_9, x_107); +lean_dec(x_33); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_14 = x_110; +x_15 = x_111; +goto block_22; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; 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; +x_112 = lean_ctor_get(x_105, 1); +lean_inc(x_112); +lean_dec(x_105); +x_113 = lean_ctor_get(x_106, 0); +lean_inc(x_113); +lean_dec(x_106); +x_114 = lean_box(0); +x_115 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_29, x_98, x_114); +x_116 = l_Lean_Expr_mvarId_x21(x_113); +x_117 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_115, x_116, x_114); +lean_inc(x_33); +x_118 = lean_array_push(x_32, x_33); +x_119 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_92, x_117, x_118, x_33, x_114, x_6, x_7, x_8, x_9, x_112); +lean_dec(x_33); +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec(x_119); +x_14 = x_120; +x_15 = x_121; +goto block_22; +} +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_dec(x_98); +lean_dec(x_92); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_29); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_122 = lean_ctor_get(x_105, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_105, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_124 = x_105; +} else { + lean_dec_ref(x_105); + 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_98); +lean_dec(x_92); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_29); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_126 = lean_ctor_get(x_100, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_100, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_100)) { + lean_ctor_release(x_100, 0); + lean_ctor_release(x_100, 1); + x_128 = x_100; +} else { + lean_dec_ref(x_100); + x_128 = lean_box(0); +} +if (lean_is_scalar(x_128)) { + x_129 = lean_alloc_ctor(1, 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; +} +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_dec(x_99); +lean_dec(x_98); +lean_dec(x_13); +x_130 = lean_box(0); +x_131 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_92, x_29, x_32, x_33, x_130, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_33); +x_132 = lean_ctor_get(x_131, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); +lean_dec(x_131); +x_14 = x_132; +x_15 = x_133; +goto block_22; +} +} +} +} +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; +x_134 = lean_ctor_get(x_24, 0); +x_135 = lean_ctor_get(x_24, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_24); +x_136 = lean_ctor_get(x_26, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_26, 1); +lean_inc(x_137); +x_138 = lean_ctor_get(x_26, 2); +lean_inc(x_138); +x_139 = lean_nat_dec_lt(x_137, x_138); +if (x_139 == 0) +{ +lean_object* x_140; lean_object* x_141; +lean_dec(x_138); +lean_dec(x_137); +lean_dec(x_136); +lean_dec(x_13); +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_134); +lean_ctor_set(x_140, 1, x_135); +lean_ctor_set(x_23, 1, x_140); +x_141 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_141, 0, x_5); +x_14 = x_141; +x_15 = x_10; +goto block_22; +} +else +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; +lean_free_object(x_23); +lean_free_object(x_5); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + lean_ctor_release(x_26, 2); + x_142 = x_26; +} else { + lean_dec_ref(x_26); + x_142 = lean_box(0); +} +x_143 = lean_array_fget(x_136, x_137); +x_144 = lean_unbox(x_143); +lean_dec(x_143); +x_145 = lean_unsigned_to_nat(1u); +x_146 = lean_nat_add(x_137, x_145); +lean_dec(x_137); +if (lean_is_scalar(x_142)) { + x_147 = lean_alloc_ctor(0, 3, 0); +} else { + x_147 = x_142; +} +lean_ctor_set(x_147, 0, x_136); +lean_ctor_set(x_147, 1, x_146); +lean_ctor_set(x_147, 2, x_138); +x_148 = l_Lean_BinderInfo_isExplicit(x_144); +if (x_148 == 0) +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_dec(x_13); +x_149 = lean_box(0); +x_150 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_147, x_29, x_134, x_135, x_149, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_135); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_150, 1); +lean_inc(x_152); +lean_dec(x_150); +x_14 = x_151; +x_15 = x_152; +goto block_22; +} +else +{ +lean_object* x_153; lean_object* x_154; +lean_inc(x_13); +x_153 = l_Lean_Expr_mvarId_x21(x_13); +x_154 = l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_29, x_153); +if (lean_obj_tag(x_154) == 0) +{ +lean_object* x_155; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_155 = lean_infer_type(x_13, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_155) == 0) +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_156 = lean_ctor_get(x_155, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_155, 1); +lean_inc(x_157); +lean_dec(x_155); +x_158 = lean_box_usize(x_1); +lean_inc(x_135); +lean_inc(x_29); +x_159 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___boxed), 10, 3); +lean_closure_set(x_159, 0, x_29); +lean_closure_set(x_159, 1, x_135); +lean_closure_set(x_159, 2, x_158); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_160 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_156, x_159, x_6, x_7, x_8, x_9, x_157); +if (lean_obj_tag(x_160) == 0) +{ +lean_object* x_161; +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +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_dec(x_153); +x_162 = lean_ctor_get(x_160, 1); +lean_inc(x_162); +lean_dec(x_160); +x_163 = lean_box(0); +x_164 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_147, x_29, x_134, x_135, x_163, x_6, x_7, x_8, x_9, x_162); +lean_dec(x_135); +x_165 = lean_ctor_get(x_164, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_164, 1); +lean_inc(x_166); +lean_dec(x_164); +x_14 = x_165; +x_15 = x_166; +goto block_22; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_167 = lean_ctor_get(x_160, 1); +lean_inc(x_167); +lean_dec(x_160); +x_168 = lean_ctor_get(x_161, 0); +lean_inc(x_168); +lean_dec(x_161); +x_169 = lean_box(0); +x_170 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_29, x_153, x_169); +x_171 = l_Lean_Expr_mvarId_x21(x_168); +x_172 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_170, x_171, x_169); +lean_inc(x_135); +x_173 = lean_array_push(x_134, x_135); +x_174 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_147, x_172, x_173, x_135, x_169, x_6, x_7, x_8, x_9, x_167); +lean_dec(x_135); +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +lean_dec(x_174); +x_14 = x_175; +x_15 = x_176; +goto block_22; +} +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +lean_dec(x_153); +lean_dec(x_147); +lean_dec(x_135); +lean_dec(x_134); +lean_dec(x_29); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_177 = lean_ctor_get(x_160, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_160, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_179 = x_160; +} else { + lean_dec_ref(x_160); + x_179 = lean_box(0); +} +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(1, 2, 0); +} else { + x_180 = x_179; +} +lean_ctor_set(x_180, 0, x_177); +lean_ctor_set(x_180, 1, x_178); +return x_180; +} +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_153); +lean_dec(x_147); +lean_dec(x_135); +lean_dec(x_134); +lean_dec(x_29); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_181 = lean_ctor_get(x_155, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_155, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_155)) { + lean_ctor_release(x_155, 0); + lean_ctor_release(x_155, 1); + x_183 = x_155; +} else { + lean_dec_ref(x_155); + x_183 = lean_box(0); +} +if (lean_is_scalar(x_183)) { + x_184 = lean_alloc_ctor(1, 2, 0); +} else { + x_184 = x_183; +} +lean_ctor_set(x_184, 0, x_181); +lean_ctor_set(x_184, 1, x_182); +return x_184; +} +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +lean_dec(x_154); +lean_dec(x_153); +lean_dec(x_13); +x_185 = lean_box(0); +x_186 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_147, x_29, x_134, x_135, x_185, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_135); +x_187 = lean_ctor_get(x_186, 0); +lean_inc(x_187); +x_188 = lean_ctor_get(x_186, 1); +lean_inc(x_188); +lean_dec(x_186); +x_14 = x_187; +x_15 = x_188; +goto block_22; +} +} +} +} +} +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; uint8_t x_196; +x_189 = lean_ctor_get(x_23, 0); +lean_inc(x_189); +lean_dec(x_23); +x_190 = lean_ctor_get(x_24, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_24, 1); +lean_inc(x_191); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + x_192 = x_24; +} else { + lean_dec_ref(x_24); + x_192 = lean_box(0); +} +x_193 = lean_ctor_get(x_26, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_26, 1); +lean_inc(x_194); +x_195 = lean_ctor_get(x_26, 2); +lean_inc(x_195); +x_196 = lean_nat_dec_lt(x_194, x_195); +if (x_196 == 0) +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; +lean_dec(x_195); +lean_dec(x_194); +lean_dec(x_193); +lean_dec(x_13); +if (lean_is_scalar(x_192)) { + x_197 = lean_alloc_ctor(0, 2, 0); +} else { + x_197 = x_192; +} +lean_ctor_set(x_197, 0, x_190); +lean_ctor_set(x_197, 1, x_191); +x_198 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_198, 0, x_189); +lean_ctor_set(x_198, 1, x_197); +lean_ctor_set(x_5, 1, x_198); +x_199 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_199, 0, x_5); +x_14 = x_199; +x_15 = x_10; +goto block_22; +} +else +{ +lean_object* x_200; lean_object* x_201; uint8_t x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_206; +lean_dec(x_192); +lean_free_object(x_5); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + lean_ctor_release(x_26, 2); + x_200 = x_26; +} else { + lean_dec_ref(x_26); + x_200 = lean_box(0); +} +x_201 = lean_array_fget(x_193, x_194); +x_202 = lean_unbox(x_201); +lean_dec(x_201); +x_203 = lean_unsigned_to_nat(1u); +x_204 = lean_nat_add(x_194, x_203); +lean_dec(x_194); +if (lean_is_scalar(x_200)) { + x_205 = lean_alloc_ctor(0, 3, 0); +} else { + x_205 = x_200; +} +lean_ctor_set(x_205, 0, x_193); +lean_ctor_set(x_205, 1, x_204); +lean_ctor_set(x_205, 2, x_195); +x_206 = l_Lean_BinderInfo_isExplicit(x_202); +if (x_206 == 0) +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +lean_dec(x_13); +x_207 = lean_box(0); +x_208 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_205, x_189, x_190, x_191, x_207, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_191); +x_209 = lean_ctor_get(x_208, 0); +lean_inc(x_209); +x_210 = lean_ctor_get(x_208, 1); +lean_inc(x_210); +lean_dec(x_208); +x_14 = x_209; +x_15 = x_210; +goto block_22; +} +else +{ +lean_object* x_211; lean_object* x_212; +lean_inc(x_13); +x_211 = l_Lean_Expr_mvarId_x21(x_13); +x_212 = l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_189, x_211); +if (lean_obj_tag(x_212) == 0) +{ +lean_object* x_213; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_213 = lean_infer_type(x_13, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_213) == 0) +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_213, 1); +lean_inc(x_215); +lean_dec(x_213); +x_216 = lean_box_usize(x_1); +lean_inc(x_191); +lean_inc(x_189); +x_217 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___boxed), 10, 3); +lean_closure_set(x_217, 0, x_189); +lean_closure_set(x_217, 1, x_191); +lean_closure_set(x_217, 2, x_216); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_218 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_214, x_217, x_6, x_7, x_8, x_9, x_215); +if (lean_obj_tag(x_218) == 0) +{ +lean_object* x_219; +x_219 = lean_ctor_get(x_218, 0); +lean_inc(x_219); +if (lean_obj_tag(x_219) == 0) +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +lean_dec(x_211); +x_220 = lean_ctor_get(x_218, 1); +lean_inc(x_220); +lean_dec(x_218); +x_221 = lean_box(0); +x_222 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_205, x_189, x_190, x_191, x_221, x_6, x_7, x_8, x_9, x_220); +lean_dec(x_191); +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_14 = x_223; +x_15 = x_224; +goto block_22; +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; +x_225 = lean_ctor_get(x_218, 1); +lean_inc(x_225); +lean_dec(x_218); +x_226 = lean_ctor_get(x_219, 0); +lean_inc(x_226); +lean_dec(x_219); +x_227 = lean_box(0); +x_228 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_189, x_211, x_227); +x_229 = l_Lean_Expr_mvarId_x21(x_226); +x_230 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_228, x_229, x_227); +lean_inc(x_191); +x_231 = lean_array_push(x_190, x_191); +x_232 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_205, x_230, x_231, x_191, x_227, x_6, x_7, x_8, x_9, x_225); +lean_dec(x_191); +x_233 = lean_ctor_get(x_232, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_232, 1); +lean_inc(x_234); +lean_dec(x_232); +x_14 = x_233; +x_15 = x_234; +goto block_22; +} +} +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec(x_211); +lean_dec(x_205); +lean_dec(x_191); +lean_dec(x_190); +lean_dec(x_189); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_235 = lean_ctor_get(x_218, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_218, 1); +lean_inc(x_236); +if (lean_is_exclusive(x_218)) { + lean_ctor_release(x_218, 0); + lean_ctor_release(x_218, 1); + x_237 = x_218; +} else { + lean_dec_ref(x_218); + 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_211); +lean_dec(x_205); +lean_dec(x_191); +lean_dec(x_190); +lean_dec(x_189); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_239 = lean_ctor_get(x_213, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_213, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_213)) { + lean_ctor_release(x_213, 0); + lean_ctor_release(x_213, 1); + x_241 = x_213; +} else { + lean_dec_ref(x_213); + 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_object* x_245; lean_object* x_246; +lean_dec(x_212); +lean_dec(x_211); +lean_dec(x_13); +x_243 = lean_box(0); +x_244 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_205, x_189, x_190, x_191, x_243, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_191); +x_245 = lean_ctor_get(x_244, 0); +lean_inc(x_245); +x_246 = lean_ctor_get(x_244, 1); +lean_inc(x_246); +lean_dec(x_244); +x_14 = x_245; +x_15 = x_246; +goto block_22; +} +} +} +} +} +else +{ +lean_object* x_247; lean_object* x_248; 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; uint8_t x_256; +x_247 = lean_ctor_get(x_5, 0); +lean_inc(x_247); +lean_dec(x_5); +x_248 = lean_ctor_get(x_23, 0); +lean_inc(x_248); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_249 = x_23; +} else { + lean_dec_ref(x_23); + x_249 = lean_box(0); +} +x_250 = lean_ctor_get(x_24, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_24, 1); +lean_inc(x_251); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + x_252 = x_24; +} else { + lean_dec_ref(x_24); + x_252 = lean_box(0); +} +x_253 = lean_ctor_get(x_247, 0); +lean_inc(x_253); +x_254 = lean_ctor_get(x_247, 1); +lean_inc(x_254); +x_255 = lean_ctor_get(x_247, 2); +lean_inc(x_255); +x_256 = lean_nat_dec_lt(x_254, x_255); +if (x_256 == 0) +{ +lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; +lean_dec(x_255); +lean_dec(x_254); +lean_dec(x_253); +lean_dec(x_13); +if (lean_is_scalar(x_252)) { + x_257 = lean_alloc_ctor(0, 2, 0); +} else { + x_257 = x_252; +} +lean_ctor_set(x_257, 0, x_250); +lean_ctor_set(x_257, 1, x_251); +if (lean_is_scalar(x_249)) { + x_258 = lean_alloc_ctor(0, 2, 0); +} else { + x_258 = x_249; +} +lean_ctor_set(x_258, 0, x_248); +lean_ctor_set(x_258, 1, x_257); +x_259 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_259, 0, x_247); +lean_ctor_set(x_259, 1, x_258); +x_260 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_260, 0, x_259); +x_14 = x_260; +x_15 = x_10; +goto block_22; +} +else +{ +lean_object* x_261; lean_object* x_262; uint8_t x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; uint8_t x_267; +lean_dec(x_252); +lean_dec(x_249); +if (lean_is_exclusive(x_247)) { + lean_ctor_release(x_247, 0); + lean_ctor_release(x_247, 1); + lean_ctor_release(x_247, 2); + x_261 = x_247; +} else { + lean_dec_ref(x_247); + x_261 = lean_box(0); +} +x_262 = lean_array_fget(x_253, x_254); +x_263 = lean_unbox(x_262); +lean_dec(x_262); +x_264 = lean_unsigned_to_nat(1u); +x_265 = lean_nat_add(x_254, x_264); +lean_dec(x_254); +if (lean_is_scalar(x_261)) { + x_266 = lean_alloc_ctor(0, 3, 0); +} else { + x_266 = x_261; +} +lean_ctor_set(x_266, 0, x_253); +lean_ctor_set(x_266, 1, x_265); +lean_ctor_set(x_266, 2, x_255); +x_267 = l_Lean_BinderInfo_isExplicit(x_263); +if (x_267 == 0) +{ +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; +lean_dec(x_13); +x_268 = lean_box(0); +x_269 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_266, x_248, x_250, x_251, x_268, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_251); +x_270 = lean_ctor_get(x_269, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_269, 1); +lean_inc(x_271); +lean_dec(x_269); +x_14 = x_270; +x_15 = x_271; +goto block_22; +} +else +{ +lean_object* x_272; lean_object* x_273; +lean_inc(x_13); +x_272 = l_Lean_Expr_mvarId_x21(x_13); +x_273 = l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(x_248, x_272); +if (lean_obj_tag(x_273) == 0) +{ +lean_object* x_274; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_274 = lean_infer_type(x_13, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_274) == 0) +{ +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; +x_275 = lean_ctor_get(x_274, 0); +lean_inc(x_275); +x_276 = lean_ctor_get(x_274, 1); +lean_inc(x_276); +lean_dec(x_274); +x_277 = lean_box_usize(x_1); +lean_inc(x_251); +lean_inc(x_248); +x_278 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___boxed), 10, 3); +lean_closure_set(x_278, 0, x_248); +lean_closure_set(x_278, 1, x_251); +lean_closure_set(x_278, 2, x_277); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_279 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_275, x_278, x_6, x_7, x_8, x_9, x_276); +if (lean_obj_tag(x_279) == 0) +{ +lean_object* x_280; +x_280 = lean_ctor_get(x_279, 0); +lean_inc(x_280); +if (lean_obj_tag(x_280) == 0) +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +lean_dec(x_272); +x_281 = lean_ctor_get(x_279, 1); +lean_inc(x_281); +lean_dec(x_279); +x_282 = lean_box(0); +x_283 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_266, x_248, x_250, x_251, x_282, x_6, x_7, x_8, x_9, x_281); +lean_dec(x_251); +x_284 = lean_ctor_get(x_283, 0); +lean_inc(x_284); +x_285 = lean_ctor_get(x_283, 1); +lean_inc(x_285); +lean_dec(x_283); +x_14 = x_284; +x_15 = x_285; +goto block_22; +} +else +{ +lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; +x_286 = lean_ctor_get(x_279, 1); +lean_inc(x_286); +lean_dec(x_279); +x_287 = lean_ctor_get(x_280, 0); +lean_inc(x_287); +lean_dec(x_280); +x_288 = lean_box(0); +x_289 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_248, x_272, x_288); +x_290 = l_Lean_Expr_mvarId_x21(x_287); +x_291 = l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(x_289, x_290, x_288); +lean_inc(x_251); +x_292 = lean_array_push(x_250, x_251); +x_293 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_266, x_291, x_292, x_251, x_288, x_6, x_7, x_8, x_9, x_286); +lean_dec(x_251); +x_294 = lean_ctor_get(x_293, 0); +lean_inc(x_294); +x_295 = lean_ctor_get(x_293, 1); +lean_inc(x_295); +lean_dec(x_293); +x_14 = x_294; +x_15 = x_295; +goto block_22; +} +} +else +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +lean_dec(x_272); +lean_dec(x_266); +lean_dec(x_251); +lean_dec(x_250); +lean_dec(x_248); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_296 = lean_ctor_get(x_279, 0); +lean_inc(x_296); +x_297 = lean_ctor_get(x_279, 1); +lean_inc(x_297); +if (lean_is_exclusive(x_279)) { + lean_ctor_release(x_279, 0); + lean_ctor_release(x_279, 1); + x_298 = x_279; +} else { + lean_dec_ref(x_279); + x_298 = lean_box(0); +} +if (lean_is_scalar(x_298)) { + x_299 = lean_alloc_ctor(1, 2, 0); +} else { + x_299 = x_298; +} +lean_ctor_set(x_299, 0, x_296); +lean_ctor_set(x_299, 1, x_297); +return x_299; +} +} +else +{ +lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; +lean_dec(x_272); +lean_dec(x_266); +lean_dec(x_251); +lean_dec(x_250); +lean_dec(x_248); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_300 = lean_ctor_get(x_274, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_274, 1); +lean_inc(x_301); +if (lean_is_exclusive(x_274)) { + lean_ctor_release(x_274, 0); + lean_ctor_release(x_274, 1); + x_302 = x_274; +} else { + lean_dec_ref(x_274); + x_302 = lean_box(0); +} +if (lean_is_scalar(x_302)) { + x_303 = lean_alloc_ctor(1, 2, 0); +} else { + x_303 = x_302; +} +lean_ctor_set(x_303, 0, x_300); +lean_ctor_set(x_303, 1, x_301); +return x_303; +} +} +else +{ +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +lean_dec(x_273); +lean_dec(x_272); +lean_dec(x_13); +x_304 = lean_box(0); +x_305 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_266, x_248, x_250, x_251, x_304, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_251); +x_306 = lean_ctor_get(x_305, 0); +lean_inc(x_306); +x_307 = lean_ctor_get(x_305, 1); +lean_inc(x_307); +lean_dec(x_305); +x_14 = x_306; +x_15 = x_307; +goto block_22; +} +} +} +} +block_22: +{ +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +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; size_t x_19; size_t x_20; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_19 = 1; +x_20 = lean_usize_add(x_4, x_19); +x_4 = x_20; +x_5 = x_18; +x_10 = x_15; +goto _start; +} +} +} +} +} +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -7214,112 +7201,112 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___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* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___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* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_14; lean_object* x_15; size_t x_16; size_t 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; size_t x_28; lean_object* x_29; -x_14 = lean_box(0); -x_15 = lean_array_get_size(x_1); -x_16 = lean_usize_of_nat(x_15); -lean_dec(x_15); -x_17 = 0; -x_18 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_1, x_16, x_17, x_14, x_9, x_10, x_11, x_12, x_13); -x_19 = lean_ctor_get(x_18, 0); +lean_object* x_13; lean_object* x_14; size_t x_15; size_t 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; size_t x_27; lean_object* x_28; +x_13 = lean_box(0); +x_14 = lean_array_get_size(x_1); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +x_17 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3(x_1, x_15, x_16, x_13, x_8, x_9, x_10, x_11, x_12); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_array_get_size(x_2); -x_22 = lean_unsigned_to_nat(0u); -x_23 = l_Array_toSubarray___rarg(x_2, x_22, x_21); -x_24 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___lambda__1___closed__1; +lean_dec(x_17); +x_20 = lean_array_get_size(x_2); +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_Array_toSubarray___rarg(x_2, x_21, x_20); +x_23 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__1___closed__1; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_23); x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 0, x_22); lean_ctor_set(x_25, 1, x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_23); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_array_get_size(x_3); -x_28 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_29 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___at_Lean_Meta_mkSimpCongrTheorem___spec__9(x_4, x_17, x_3, x_28, x_17, x_26, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_29) == 0) +x_26 = lean_array_get_size(x_3); +x_27 = lean_usize_of_nat(x_26); +lean_dec(x_26); +x_28 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___at_Lean_Meta_mkSimpCongrTheorem___spec__8(x_16, x_3, x_27, x_16, x_25, x_8, x_9, x_10, x_11, x_19); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = lean_ctor_get(x_29, 0); +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_29, 1); lean_inc(x_30); +lean_dec(x_29); x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); +x_32 = !lean_is_exclusive(x_28); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_28, 0); +lean_dec(x_33); +x_34 = lean_ctor_get(x_31, 0); +lean_inc(x_34); lean_dec(x_31); -x_33 = !lean_is_exclusive(x_29); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_29, 0); -lean_dec(x_34); -x_35 = lean_ctor_get(x_32, 0); -lean_inc(x_35); -lean_dec(x_32); -x_36 = l_Lean_Expr_constName_x21(x_5); -x_37 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_37, 0, x_6); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 2, x_35); -lean_ctor_set(x_37, 3, x_7); -lean_ctor_set(x_29, 0, x_37); -return x_29; +x_35 = l_Lean_Expr_constName_x21(x_4); +x_36 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_36, 0, x_5); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set(x_36, 2, x_34); +lean_ctor_set(x_36, 3, x_6); +lean_ctor_set(x_28, 0, x_36); +return x_28; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_38 = lean_ctor_get(x_29, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_28, 1); +lean_inc(x_37); +lean_dec(x_28); +x_38 = lean_ctor_get(x_31, 0); lean_inc(x_38); -lean_dec(x_29); -x_39 = lean_ctor_get(x_32, 0); -lean_inc(x_39); -lean_dec(x_32); -x_40 = l_Lean_Expr_constName_x21(x_5); -x_41 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_41, 0, x_6); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_41, 2, x_39); -lean_ctor_set(x_41, 3, x_7); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_38); -return x_42; +lean_dec(x_31); +x_39 = l_Lean_Expr_constName_x21(x_4); +x_40 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_40, 0, x_5); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +lean_ctor_set(x_40, 3, x_6); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_37); +return x_41; } } else { -uint8_t x_43; -lean_dec(x_7); +uint8_t x_42; lean_dec(x_6); -x_43 = !lean_is_exclusive(x_29); -if (x_43 == 0) +lean_dec(x_5); +x_42 = !lean_is_exclusive(x_28); +if (x_42 == 0) { -return x_29; +return x_28; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_29, 0); -x_45 = lean_ctor_get(x_29, 1); -lean_inc(x_45); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_28, 0); +x_44 = lean_ctor_get(x_28, 1); lean_inc(x_44); -lean_dec(x_29); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_inc(x_43); +lean_dec(x_28); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__1() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__1() { _start: { lean_object* x_1; @@ -7327,252 +7314,16 @@ x_1 = lean_mk_string_from_bytes("invalid 'congr' theorem, equality left/right-ha return x_1; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__2() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__1; +x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -if (lean_obj_tag(x_9) == 5) -{ -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_9, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_9, 1); -lean_inc(x_18); -lean_dec(x_9); -x_19 = lean_array_set(x_10, x_11, x_18); -x_20 = lean_unsigned_to_nat(1u); -x_21 = lean_nat_sub(x_11, x_20); -lean_dec(x_11); -x_9 = x_17; -x_10 = x_19; -x_11 = x_21; -goto _start; -} -else -{ -uint8_t x_23; -lean_dec(x_11); -x_23 = l_Lean_Expr_isConst(x_7); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_24 = l_Lean_indentExpr(x_5); -x_25 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__2; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; -x_28 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_28, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) -{ -return x_29; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_29, 0); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_29); -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 -{ -uint8_t x_34; -x_34 = l_Lean_Expr_isConst(x_9); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_35 = l_Lean_indentExpr(x_5); -x_36 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__2; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -x_38 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; -x_39 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_39, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -x_41 = !lean_is_exclusive(x_40); -if (x_41 == 0) -{ -return x_40; -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_40, 0); -x_43 = lean_ctor_get(x_40, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_40); -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 -{ -lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_45 = l_Lean_Expr_constName_x21(x_7); -x_46 = l_Lean_Expr_constName_x21(x_9); -lean_dec(x_9); -x_47 = lean_name_eq(x_45, x_46); -lean_dec(x_46); -lean_dec(x_45); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_48 = l_Lean_indentExpr(x_5); -x_49 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__2; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -x_51 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_52, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -x_54 = !lean_is_exclusive(x_53); -if (x_54 == 0) -{ -return x_53; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_53, 0); -x_56 = lean_ctor_get(x_53, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_53); -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 -{ -lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_58 = lean_array_get_size(x_8); -x_59 = lean_array_get_size(x_10); -lean_dec(x_10); -x_60 = lean_nat_dec_eq(x_58, x_59); -lean_dec(x_59); -lean_dec(x_58); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_61 = l_Lean_indentExpr(x_5); -x_62 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__2; -x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_61); -x_64 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; -x_65 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_65, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -x_67 = !lean_is_exclusive(x_66); -if (x_67 == 0) -{ -return x_66; -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_66, 0); -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); -lean_inc(x_68); -lean_dec(x_66); -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; -} -} -else -{ -lean_object* x_71; lean_object* x_72; -lean_dec(x_5); -x_71 = lean_box(0); -x_72 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___lambda__1(x_8, x_4, x_3, x_6, x_7, x_1, x_2, x_71, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_7); -lean_dec(x_8); -return x_72; -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { if (lean_obj_tag(x_8) == 5) @@ -7594,52 +7345,304 @@ goto _start; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +uint8_t x_22; lean_dec(x_10); -x_22 = lean_unsigned_to_nat(0u); -x_23 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_7, x_22); -x_24 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2___closed__1; -lean_inc(x_23); -x_25 = lean_mk_array(x_23, x_24); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_sub(x_23, x_26); -lean_dec(x_23); -x_28 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_7, x_25, x_27, x_11, x_12, x_13, x_14, x_15); +x_22 = l_Lean_Expr_isConst(x_6); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_23 = l_Lean_indentExpr(x_5); +x_24 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__2; +x_25 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; +x_27 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_27, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ return x_28; } +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_28); +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; +x_33 = l_Lean_Expr_isConst(x_8); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_34 = l_Lean_indentExpr(x_5); +x_35 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__2; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_38, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +return x_39; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_39, 0); +x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_39); +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 +{ +lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_44 = l_Lean_Expr_constName_x21(x_6); +x_45 = l_Lean_Expr_constName_x21(x_8); +lean_dec(x_8); +x_46 = lean_name_eq(x_44, x_45); +lean_dec(x_45); +lean_dec(x_44); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_47 = l_Lean_indentExpr(x_5); +x_48 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__2; +x_49 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +x_50 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; +x_51 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_51, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_53 = !lean_is_exclusive(x_52); +if (x_53 == 0) +{ +return x_52; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_52, 0); +x_55 = lean_ctor_get(x_52, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_52); +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; +} +} +else +{ +lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_57 = lean_array_get_size(x_7); +x_58 = lean_array_get_size(x_9); +lean_dec(x_9); +x_59 = lean_nat_dec_eq(x_57, x_58); +lean_dec(x_58); +lean_dec(x_57); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_60 = l_Lean_indentExpr(x_5); +x_61 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__2; +x_62 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_64, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_66 = !lean_is_exclusive(x_65); +if (x_66 == 0) +{ +return x_65; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_65, 0); +x_68 = lean_ctor_get(x_65, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_65); +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; +} +} +else +{ +lean_object* x_70; lean_object* x_71; +lean_dec(x_5); +x_70 = lean_box(0); +x_71 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__1(x_7, x_4, x_3, x_6, x_1, x_2, x_70, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_6); +lean_dec(x_7); +return x_71; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +if (lean_obj_tag(x_7) == 5) +{ +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_7, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_7, 1); +lean_inc(x_16); +lean_dec(x_7); +x_17 = lean_array_set(x_8, x_9, x_16); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_9, x_18); +lean_dec(x_9); +x_7 = x_15; +x_8 = x_17; +x_9 = x_19; +goto _start; +} +else +{ +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_dec(x_9); +x_21 = lean_unsigned_to_nat(0u); +x_22 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_6, x_21); +x_23 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2___closed__1; +lean_inc(x_22); +x_24 = lean_mk_array(x_22, x_23); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_sub(x_22, x_25); +lean_dec(x_22); +x_27 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9(x_1, x_2, x_3, x_4, x_5, x_7, x_8, x_6, x_24, x_26, x_10, x_11, x_12, x_13, x_14); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__11(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; uint8_t x_9; +x_7 = lean_ctor_get(x_4, 5); +x_8 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_7); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set_tag(x_8, 1); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +lean_inc(x_7); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} } } static lean_object* _init_l_Lean_Meta_mkSimpCongrTheorem___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Eq", 2); +x_1 = lean_mk_string_from_bytes("invalid 'congr' theorem, equality expected", 42); return x_1; } } static lean_object* _init_l_Lean_Meta_mkSimpCongrTheorem___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_mkSimpCongrTheorem___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_mkSimpCongrTheorem___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("invalid 'congr' theorem, equality expected", 42); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_mkSimpCongrTheorem___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_mkSimpCongrTheorem___closed__3; +x_1 = l_Lean_Meta_mkSimpCongrTheorem___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -7692,7 +7695,7 @@ lean_inc(x_3); x_21 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_16, x_19, x_18, x_20, x_3, x_4, x_5, x_6, x_17); if (lean_obj_tag(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; uint8_t x_30; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_22, 1); @@ -7703,807 +7706,1096 @@ lean_dec(x_21); x_25 = lean_ctor_get(x_22, 0); lean_inc(x_25); lean_dec(x_22); -x_26 = lean_ctor_get(x_23, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_23, 1); -lean_inc(x_27); -lean_dec(x_23); -x_28 = l_Lean_Meta_mkSimpCongrTheorem___closed__2; -x_29 = lean_unsigned_to_nat(3u); -x_30 = l_Lean_Expr_isAppOfArity(x_27, x_28, x_29); -if (x_30 == 0) +x_26 = !lean_is_exclusive(x_23); +if (x_26 == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -lean_dec(x_26); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_27 = lean_ctor_get(x_23, 0); +x_28 = lean_ctor_get(x_23, 1); +x_48 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__4; +x_49 = lean_unsigned_to_nat(3u); +x_50 = l_Lean_Expr_isAppOfArity(x_28, x_48, x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_51 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__6; +x_52 = lean_unsigned_to_nat(2u); +x_53 = l_Lean_Expr_isAppOfArity(x_28, x_51, x_52); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; +lean_free_object(x_23); +lean_dec(x_27); lean_dec(x_25); lean_dec(x_2); lean_dec(x_1); -x_31 = l_Lean_indentExpr(x_27); -x_32 = l_Lean_Meta_mkSimpCongrTheorem___closed__4; -x_33 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -x_34 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__2(x_35, x_3, x_4, x_5, x_6, x_24); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) -{ -return x_36; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_ctor_get(x_36, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_36); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -else -{ -lean_object* x_41; lean_object* x_42; lean_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_41 = l_Lean_Expr_appFn_x21(x_27); -x_42 = l_Lean_Expr_appArg_x21(x_41); -lean_dec(x_41); -x_43 = l_Lean_Expr_appArg_x21(x_27); -x_44 = lean_unsigned_to_nat(0u); -x_45 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_42, x_44); -x_46 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2___closed__1; -lean_inc(x_45); -x_47 = lean_mk_array(x_45, x_46); -x_48 = lean_unsigned_to_nat(1u); -x_49 = lean_nat_sub(x_45, x_48); -lean_dec(x_45); -x_50 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__11(x_1, x_2, x_25, x_26, x_27, x_28, x_43, x_42, x_47, x_49, x_3, x_4, x_5, x_6, x_24); -lean_dec(x_25); -if (lean_obj_tag(x_50) == 0) -{ -uint8_t x_51; -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -return x_50; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_50, 0); -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_50); -x_54 = lean_alloc_ctor(0, 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; -x_55 = !lean_is_exclusive(x_50); -if (x_55 == 0) -{ -return x_50; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_50, 0); -x_57 = lean_ctor_get(x_50, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_50); -x_58 = lean_alloc_ctor(1, 2, 0); +x_54 = l_Lean_indentExpr(x_28); +x_55 = l_Lean_Meta_mkSimpCongrTheorem___closed__2; +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; +x_58 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_58, 0, x_56); lean_ctor_set(x_58, 1, x_57); -return x_58; +x_59 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__11(x_58, x_3, x_4, x_5, x_6, x_24); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) +{ +return x_59; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_59, 0); +x_62 = lean_ctor_get(x_59, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_59); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = l_Lean_Expr_appFn_x21(x_28); +x_65 = l_Lean_Expr_appArg_x21(x_64); +lean_dec(x_64); +x_66 = l_Lean_Expr_appArg_x21(x_28); +lean_ctor_set(x_23, 1, x_66); +lean_ctor_set(x_23, 0, x_65); +x_29 = x_23; +goto block_47; +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = l_Lean_Expr_appFn_x21(x_28); +x_68 = l_Lean_Expr_appArg_x21(x_67); +lean_dec(x_67); +x_69 = l_Lean_Expr_appArg_x21(x_28); +lean_ctor_set(x_23, 1, x_69); +lean_ctor_set(x_23, 0, x_68); +x_29 = x_23; +goto block_47; +} +block_47: +{ +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; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_unsigned_to_nat(0u); +x_33 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_30, x_32); +x_34 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2___closed__1; +lean_inc(x_33); +x_35 = lean_mk_array(x_33, x_34); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_nat_sub(x_33, x_36); +lean_dec(x_33); +x_38 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10(x_1, x_2, x_25, x_27, x_28, x_31, x_30, x_35, x_37, x_3, x_4, x_5, x_6, x_24); +lean_dec(x_25); +if (lean_obj_tag(x_38) == 0) +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +return x_38; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_38, 0); +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_38); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +else +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_38); +if (x_43 == 0) +{ +return x_38; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_38, 0); +x_45 = lean_ctor_get(x_38, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_38); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } } else { -uint8_t x_59; +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_70 = lean_ctor_get(x_23, 0); +x_71 = lean_ctor_get(x_23, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_23); +x_91 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__4; +x_92 = lean_unsigned_to_nat(3u); +x_93 = l_Lean_Expr_isAppOfArity(x_71, x_91, x_92); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_94 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__6; +x_95 = lean_unsigned_to_nat(2u); +x_96 = l_Lean_Expr_isAppOfArity(x_71, x_94, x_95); +if (x_96 == 0) +{ +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; lean_object* x_105; lean_object* x_106; +lean_dec(x_70); +lean_dec(x_25); +lean_dec(x_2); +lean_dec(x_1); +x_97 = l_Lean_indentExpr(x_71); +x_98 = l_Lean_Meta_mkSimpCongrTheorem___closed__2; +x_99 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; +x_101 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__11(x_101, x_3, x_4, x_5, x_6, x_24); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_105 = x_102; +} else { + lean_dec_ref(x_102); + x_105 = lean_box(0); +} +if (lean_is_scalar(x_105)) { + x_106 = lean_alloc_ctor(1, 2, 0); +} else { + x_106 = x_105; +} +lean_ctor_set(x_106, 0, x_103); +lean_ctor_set(x_106, 1, x_104); +return x_106; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_107 = l_Lean_Expr_appFn_x21(x_71); +x_108 = l_Lean_Expr_appArg_x21(x_107); +lean_dec(x_107); +x_109 = l_Lean_Expr_appArg_x21(x_71); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +x_72 = x_110; +goto block_90; +} +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_111 = l_Lean_Expr_appFn_x21(x_71); +x_112 = l_Lean_Expr_appArg_x21(x_111); +lean_dec(x_111); +x_113 = l_Lean_Expr_appArg_x21(x_71); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +x_72 = x_114; +goto block_90; +} +block_90: +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_unsigned_to_nat(0u); +x_76 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_73, x_75); +x_77 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2___closed__1; +lean_inc(x_76); +x_78 = lean_mk_array(x_76, x_77); +x_79 = lean_unsigned_to_nat(1u); +x_80 = lean_nat_sub(x_76, x_79); +lean_dec(x_76); +x_81 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10(x_1, x_2, x_25, x_70, x_71, x_74, x_73, x_78, x_80, x_3, x_4, x_5, x_6, x_24); +lean_dec(x_25); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* 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); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_84 = x_81; +} else { + lean_dec_ref(x_81); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_84; +} +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_83); +return x_85; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_86 = lean_ctor_get(x_81, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_81, 1); +lean_inc(x_87); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_88 = x_81; +} else { + lean_dec_ref(x_81); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 2, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_87); +return x_89; +} +} +} +} +else +{ +uint8_t x_115; lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_59 = !lean_is_exclusive(x_21); -if (x_59 == 0) +x_115 = !lean_is_exclusive(x_21); +if (x_115 == 0) { return x_21; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_21, 0); -x_61 = lean_ctor_get(x_21, 1); -lean_inc(x_61); -lean_inc(x_60); +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_21, 0); +x_117 = lean_ctor_get(x_21, 1); +lean_inc(x_117); +lean_inc(x_116); lean_dec(x_21); -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; +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; } } } else { -uint8_t x_63; +uint8_t x_119; lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_63 = !lean_is_exclusive(x_15); -if (x_63 == 0) +x_119 = !lean_is_exclusive(x_15); +if (x_119 == 0) { return x_15; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_15, 0); -x_65 = lean_ctor_get(x_15, 1); -lean_inc(x_65); -lean_inc(x_64); +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_15, 0); +x_121 = lean_ctor_get(x_15, 1); +lean_inc(x_121); +lean_inc(x_120); lean_dec(x_15); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -return x_66; +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +return x_122; } } } else { -uint8_t x_67; +uint8_t x_123; lean_dec(x_3); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_67 = !lean_is_exclusive(x_12); -if (x_67 == 0) +x_123 = !lean_is_exclusive(x_12); +if (x_123 == 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_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; -} -} -} -else -{ -uint8_t x_71; uint8_t x_72; uint8_t x_73; uint8_t x_74; uint8_t x_75; uint8_t x_76; uint8_t x_77; uint8_t x_78; uint8_t x_79; uint8_t x_80; uint8_t x_81; uint8_t x_82; uint8_t x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; -x_71 = lean_ctor_get_uint8(x_9, 0); -x_72 = lean_ctor_get_uint8(x_9, 1); -x_73 = lean_ctor_get_uint8(x_9, 2); -x_74 = lean_ctor_get_uint8(x_9, 3); -x_75 = lean_ctor_get_uint8(x_9, 4); -x_76 = lean_ctor_get_uint8(x_9, 6); -x_77 = lean_ctor_get_uint8(x_9, 7); -x_78 = lean_ctor_get_uint8(x_9, 8); -x_79 = lean_ctor_get_uint8(x_9, 9); -x_80 = lean_ctor_get_uint8(x_9, 10); -x_81 = lean_ctor_get_uint8(x_9, 11); -x_82 = lean_ctor_get_uint8(x_9, 12); -x_83 = lean_ctor_get_uint8(x_9, 13); -lean_dec(x_9); -x_84 = 2; -x_85 = lean_alloc_ctor(0, 0, 14); -lean_ctor_set_uint8(x_85, 0, x_71); -lean_ctor_set_uint8(x_85, 1, x_72); -lean_ctor_set_uint8(x_85, 2, x_73); -lean_ctor_set_uint8(x_85, 3, x_74); -lean_ctor_set_uint8(x_85, 4, x_75); -lean_ctor_set_uint8(x_85, 5, x_84); -lean_ctor_set_uint8(x_85, 6, x_76); -lean_ctor_set_uint8(x_85, 7, x_77); -lean_ctor_set_uint8(x_85, 8, x_78); -lean_ctor_set_uint8(x_85, 9, x_79); -lean_ctor_set_uint8(x_85, 10, x_80); -lean_ctor_set_uint8(x_85, 11, x_81); -lean_ctor_set_uint8(x_85, 12, x_82); -lean_ctor_set_uint8(x_85, 13, x_83); -lean_ctor_set(x_3, 0, x_85); -lean_inc(x_1); -x_86 = l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1(x_1, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_86) == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_89 = lean_infer_type(x_87, x_3, x_4, x_5, x_6, x_88); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; uint8_t x_94; lean_object* x_95; -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = lean_box(0); -x_93 = 1; -x_94 = 0; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_95 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_90, x_93, x_92, x_94, x_3, x_4, x_5, x_6, x_91); -if (lean_obj_tag(x_95) == 0) -{ -lean_object* x_96; 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; uint8_t x_104; -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -x_98 = lean_ctor_get(x_95, 1); -lean_inc(x_98); -lean_dec(x_95); -x_99 = lean_ctor_get(x_96, 0); -lean_inc(x_99); -lean_dec(x_96); -x_100 = lean_ctor_get(x_97, 0); -lean_inc(x_100); -x_101 = lean_ctor_get(x_97, 1); -lean_inc(x_101); -lean_dec(x_97); -x_102 = l_Lean_Meta_mkSimpCongrTheorem___closed__2; -x_103 = lean_unsigned_to_nat(3u); -x_104 = l_Lean_Expr_isAppOfArity(x_101, x_102, x_103); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; 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; -lean_dec(x_100); -lean_dec(x_99); -lean_dec(x_2); -lean_dec(x_1); -x_105 = l_Lean_indentExpr(x_101); -x_106 = l_Lean_Meta_mkSimpCongrTheorem___closed__4; -x_107 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_105); -x_108 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; -x_109 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -x_110 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__2(x_109, x_3, x_4, x_5, x_6, x_98); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_113 = x_110; -} else { - lean_dec_ref(x_110); - x_113 = lean_box(0); -} -if (lean_is_scalar(x_113)) { - x_114 = lean_alloc_ctor(1, 2, 0); -} else { - x_114 = x_113; -} -lean_ctor_set(x_114, 0, x_111); -lean_ctor_set(x_114, 1, x_112); -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 = l_Lean_Expr_appFn_x21(x_101); -x_116 = l_Lean_Expr_appArg_x21(x_115); -lean_dec(x_115); -x_117 = l_Lean_Expr_appArg_x21(x_101); -x_118 = lean_unsigned_to_nat(0u); -x_119 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_116, x_118); -x_120 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2___closed__1; -lean_inc(x_119); -x_121 = lean_mk_array(x_119, x_120); -x_122 = lean_unsigned_to_nat(1u); -x_123 = lean_nat_sub(x_119, x_122); -lean_dec(x_119); -x_124 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__11(x_1, x_2, x_99, x_100, x_101, x_102, x_117, x_116, x_121, x_123, x_3, x_4, x_5, x_6, x_98); -lean_dec(x_99); -if (lean_obj_tag(x_124) == 0) -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_125 = lean_ctor_get(x_124, 0); +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_12, 0); +x_125 = lean_ctor_get(x_12, 1); lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_127 = x_124; -} else { - lean_dec_ref(x_124); - x_127 = lean_box(0); -} -if (lean_is_scalar(x_127)) { - x_128 = lean_alloc_ctor(0, 2, 0); -} else { - x_128 = x_127; -} -lean_ctor_set(x_128, 0, x_125); -lean_ctor_set(x_128, 1, x_126); -return x_128; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_129 = lean_ctor_get(x_124, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_124, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_131 = x_124; -} else { - lean_dec_ref(x_124); - x_131 = lean_box(0); -} -if (lean_is_scalar(x_131)) { - x_132 = lean_alloc_ctor(1, 2, 0); -} else { - x_132 = x_131; -} -lean_ctor_set(x_132, 0, x_129); -lean_ctor_set(x_132, 1, x_130); -return x_132; +lean_inc(x_124); +lean_dec(x_12); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; } } } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -lean_dec(x_3); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_133 = lean_ctor_get(x_95, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_95, 1); -lean_inc(x_134); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_135 = x_95; -} else { - lean_dec_ref(x_95); - x_135 = lean_box(0); -} -if (lean_is_scalar(x_135)) { - x_136 = lean_alloc_ctor(1, 2, 0); -} else { - x_136 = x_135; -} -lean_ctor_set(x_136, 0, x_133); -lean_ctor_set(x_136, 1, x_134); -return x_136; -} -} -else -{ -lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; -lean_dec(x_3); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_137 = lean_ctor_get(x_89, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_89, 1); -lean_inc(x_138); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_139 = x_89; -} else { - lean_dec_ref(x_89); - x_139 = lean_box(0); -} -if (lean_is_scalar(x_139)) { - x_140 = lean_alloc_ctor(1, 2, 0); -} else { - x_140 = x_139; -} -lean_ctor_set(x_140, 0, x_137); -lean_ctor_set(x_140, 1, x_138); -return x_140; -} -} -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -lean_dec(x_3); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_141 = lean_ctor_get(x_86, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_86, 1); -lean_inc(x_142); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_143 = x_86; -} else { - lean_dec_ref(x_86); - x_143 = lean_box(0); -} -if (lean_is_scalar(x_143)) { - x_144 = lean_alloc_ctor(1, 2, 0); -} else { - x_144 = x_143; -} -lean_ctor_set(x_144, 0, x_141); -lean_ctor_set(x_144, 1, x_142); -return x_144; -} -} -} -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; uint8_t x_151; uint8_t x_152; uint8_t x_153; uint8_t x_154; uint8_t x_155; uint8_t x_156; uint8_t x_157; uint8_t x_158; uint8_t x_159; uint8_t x_160; uint8_t x_161; uint8_t x_162; uint8_t x_163; lean_object* x_164; uint8_t x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_145 = lean_ctor_get(x_3, 0); -x_146 = lean_ctor_get(x_3, 1); -x_147 = lean_ctor_get(x_3, 2); -x_148 = lean_ctor_get(x_3, 3); -x_149 = lean_ctor_get(x_3, 4); -x_150 = lean_ctor_get(x_3, 5); -lean_inc(x_150); -lean_inc(x_149); -lean_inc(x_148); -lean_inc(x_147); -lean_inc(x_146); -lean_inc(x_145); -lean_dec(x_3); -x_151 = lean_ctor_get_uint8(x_145, 0); -x_152 = lean_ctor_get_uint8(x_145, 1); -x_153 = lean_ctor_get_uint8(x_145, 2); -x_154 = lean_ctor_get_uint8(x_145, 3); -x_155 = lean_ctor_get_uint8(x_145, 4); -x_156 = lean_ctor_get_uint8(x_145, 6); -x_157 = lean_ctor_get_uint8(x_145, 7); -x_158 = lean_ctor_get_uint8(x_145, 8); -x_159 = lean_ctor_get_uint8(x_145, 9); -x_160 = lean_ctor_get_uint8(x_145, 10); -x_161 = lean_ctor_get_uint8(x_145, 11); -x_162 = lean_ctor_get_uint8(x_145, 12); -x_163 = lean_ctor_get_uint8(x_145, 13); -if (lean_is_exclusive(x_145)) { - x_164 = x_145; -} else { - lean_dec_ref(x_145); - x_164 = lean_box(0); -} -x_165 = 2; -if (lean_is_scalar(x_164)) { - x_166 = lean_alloc_ctor(0, 0, 14); -} else { - x_166 = x_164; -} -lean_ctor_set_uint8(x_166, 0, x_151); -lean_ctor_set_uint8(x_166, 1, x_152); -lean_ctor_set_uint8(x_166, 2, x_153); -lean_ctor_set_uint8(x_166, 3, x_154); -lean_ctor_set_uint8(x_166, 4, x_155); -lean_ctor_set_uint8(x_166, 5, x_165); -lean_ctor_set_uint8(x_166, 6, x_156); -lean_ctor_set_uint8(x_166, 7, x_157); -lean_ctor_set_uint8(x_166, 8, x_158); -lean_ctor_set_uint8(x_166, 9, x_159); -lean_ctor_set_uint8(x_166, 10, x_160); -lean_ctor_set_uint8(x_166, 11, x_161); -lean_ctor_set_uint8(x_166, 12, x_162); -lean_ctor_set_uint8(x_166, 13, x_163); -x_167 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_146); -lean_ctor_set(x_167, 2, x_147); -lean_ctor_set(x_167, 3, x_148); -lean_ctor_set(x_167, 4, x_149); -lean_ctor_set(x_167, 5, x_150); +uint8_t x_127; uint8_t x_128; uint8_t x_129; uint8_t x_130; uint8_t x_131; uint8_t x_132; uint8_t x_133; uint8_t x_134; uint8_t x_135; uint8_t x_136; uint8_t x_137; uint8_t x_138; uint8_t x_139; uint8_t x_140; lean_object* x_141; lean_object* x_142; +x_127 = lean_ctor_get_uint8(x_9, 0); +x_128 = lean_ctor_get_uint8(x_9, 1); +x_129 = lean_ctor_get_uint8(x_9, 2); +x_130 = lean_ctor_get_uint8(x_9, 3); +x_131 = lean_ctor_get_uint8(x_9, 4); +x_132 = lean_ctor_get_uint8(x_9, 6); +x_133 = lean_ctor_get_uint8(x_9, 7); +x_134 = lean_ctor_get_uint8(x_9, 8); +x_135 = lean_ctor_get_uint8(x_9, 9); +x_136 = lean_ctor_get_uint8(x_9, 10); +x_137 = lean_ctor_get_uint8(x_9, 11); +x_138 = lean_ctor_get_uint8(x_9, 12); +x_139 = lean_ctor_get_uint8(x_9, 13); +lean_dec(x_9); +x_140 = 2; +x_141 = lean_alloc_ctor(0, 0, 14); +lean_ctor_set_uint8(x_141, 0, x_127); +lean_ctor_set_uint8(x_141, 1, x_128); +lean_ctor_set_uint8(x_141, 2, x_129); +lean_ctor_set_uint8(x_141, 3, x_130); +lean_ctor_set_uint8(x_141, 4, x_131); +lean_ctor_set_uint8(x_141, 5, x_140); +lean_ctor_set_uint8(x_141, 6, x_132); +lean_ctor_set_uint8(x_141, 7, x_133); +lean_ctor_set_uint8(x_141, 8, x_134); +lean_ctor_set_uint8(x_141, 9, x_135); +lean_ctor_set_uint8(x_141, 10, x_136); +lean_ctor_set_uint8(x_141, 11, x_137); +lean_ctor_set_uint8(x_141, 12, x_138); +lean_ctor_set_uint8(x_141, 13, x_139); +lean_ctor_set(x_3, 0, x_141); lean_inc(x_1); -x_168 = l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1(x_1, x_167, x_4, x_5, x_6, x_7); +x_142 = l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1(x_1, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_142, 0); +lean_inc(x_143); +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +lean_dec(x_142); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_145 = lean_infer_type(x_143, x_3, x_4, x_5, x_6, x_144); +if (lean_obj_tag(x_145) == 0) +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; uint8_t x_150; lean_object* x_151; +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_145, 1); +lean_inc(x_147); +lean_dec(x_145); +x_148 = lean_box(0); +x_149 = 1; +x_150 = 0; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_151 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_146, x_149, x_148, x_150, x_3, x_4, x_5, x_6, x_147); +if (lean_obj_tag(x_151) == 0) +{ +lean_object* x_152; lean_object* x_153; 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_178; lean_object* x_179; uint8_t x_180; +x_152 = lean_ctor_get(x_151, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_152, 1); +lean_inc(x_153); +x_154 = lean_ctor_get(x_151, 1); +lean_inc(x_154); +lean_dec(x_151); +x_155 = lean_ctor_get(x_152, 0); +lean_inc(x_155); +lean_dec(x_152); +x_156 = lean_ctor_get(x_153, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_153, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_158 = x_153; +} else { + lean_dec_ref(x_153); + x_158 = lean_box(0); +} +x_178 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__4; +x_179 = lean_unsigned_to_nat(3u); +x_180 = l_Lean_Expr_isAppOfArity(x_157, x_178, x_179); +if (x_180 == 0) +{ +lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_181 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__6; +x_182 = lean_unsigned_to_nat(2u); +x_183 = l_Lean_Expr_isAppOfArity(x_157, x_181, x_182); +if (x_183 == 0) +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; +lean_dec(x_158); +lean_dec(x_156); +lean_dec(x_155); +lean_dec(x_2); +lean_dec(x_1); +x_184 = l_Lean_indentExpr(x_157); +x_185 = l_Lean_Meta_mkSimpCongrTheorem___closed__2; +x_186 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_184); +x_187 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; +x_188 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_188, 0, x_186); +lean_ctor_set(x_188, 1, x_187); +x_189 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__11(x_188, x_3, x_4, x_5, x_6, x_154); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +if (lean_is_exclusive(x_189)) { + lean_ctor_release(x_189, 0); + lean_ctor_release(x_189, 1); + x_192 = x_189; +} else { + lean_dec_ref(x_189); + x_192 = lean_box(0); +} +if (lean_is_scalar(x_192)) { + x_193 = lean_alloc_ctor(1, 2, 0); +} else { + x_193 = x_192; +} +lean_ctor_set(x_193, 0, x_190); +lean_ctor_set(x_193, 1, x_191); +return x_193; +} +else +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_194 = l_Lean_Expr_appFn_x21(x_157); +x_195 = l_Lean_Expr_appArg_x21(x_194); +lean_dec(x_194); +x_196 = l_Lean_Expr_appArg_x21(x_157); +if (lean_is_scalar(x_158)) { + x_197 = lean_alloc_ctor(0, 2, 0); +} else { + x_197 = x_158; +} +lean_ctor_set(x_197, 0, x_195); +lean_ctor_set(x_197, 1, x_196); +x_159 = x_197; +goto block_177; +} +} +else +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_198 = l_Lean_Expr_appFn_x21(x_157); +x_199 = l_Lean_Expr_appArg_x21(x_198); +lean_dec(x_198); +x_200 = l_Lean_Expr_appArg_x21(x_157); +if (lean_is_scalar(x_158)) { + x_201 = lean_alloc_ctor(0, 2, 0); +} else { + x_201 = x_158; +} +lean_ctor_set(x_201, 0, x_199); +lean_ctor_set(x_201, 1, x_200); +x_159 = x_201; +goto block_177; +} +block_177: +{ +lean_object* x_160; lean_object* x_161; 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; +x_160 = lean_ctor_get(x_159, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); +lean_dec(x_159); +x_162 = lean_unsigned_to_nat(0u); +x_163 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_160, x_162); +x_164 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2___closed__1; +lean_inc(x_163); +x_165 = lean_mk_array(x_163, x_164); +x_166 = lean_unsigned_to_nat(1u); +x_167 = lean_nat_sub(x_163, x_166); +lean_dec(x_163); +x_168 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10(x_1, x_2, x_155, x_156, x_157, x_161, x_160, x_165, x_167, x_3, x_4, x_5, x_6, x_154); +lean_dec(x_155); if (lean_obj_tag(x_168) == 0) { -lean_object* x_169; lean_object* x_170; lean_object* x_171; +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; x_169 = lean_ctor_get(x_168, 0); lean_inc(x_169); x_170 = lean_ctor_get(x_168, 1); lean_inc(x_170); -lean_dec(x_168); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_167); -x_171 = lean_infer_type(x_169, x_167, x_4, x_5, x_6, x_170); -if (lean_obj_tag(x_171) == 0) -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; uint8_t x_176; lean_object* x_177; -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_171, 1); -lean_inc(x_173); -lean_dec(x_171); -x_174 = lean_box(0); -x_175 = 1; -x_176 = 0; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_167); -x_177 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_172, x_175, x_174, x_176, x_167, x_4, x_5, x_6, x_173); -if (lean_obj_tag(x_177) == 0) -{ -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; -x_178 = lean_ctor_get(x_177, 0); -lean_inc(x_178); -x_179 = lean_ctor_get(x_178, 1); -lean_inc(x_179); -x_180 = lean_ctor_get(x_177, 1); -lean_inc(x_180); -lean_dec(x_177); -x_181 = lean_ctor_get(x_178, 0); -lean_inc(x_181); -lean_dec(x_178); -x_182 = lean_ctor_get(x_179, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_179, 1); -lean_inc(x_183); -lean_dec(x_179); -x_184 = l_Lean_Meta_mkSimpCongrTheorem___closed__2; -x_185 = lean_unsigned_to_nat(3u); -x_186 = l_Lean_Expr_isAppOfArity(x_183, x_184, x_185); -if (x_186 == 0) -{ -lean_object* x_187; lean_object* x_188; 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_dec(x_182); -lean_dec(x_181); -lean_dec(x_2); -lean_dec(x_1); -x_187 = l_Lean_indentExpr(x_183); -x_188 = l_Lean_Meta_mkSimpCongrTheorem___closed__4; -x_189 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_187); -x_190 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9; -x_191 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_191, 0, x_189); -lean_ctor_set(x_191, 1, x_190); -x_192 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__2(x_191, x_167, x_4, x_5, x_6, x_180); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_167); -x_193 = lean_ctor_get(x_192, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_192, 1); -lean_inc(x_194); -if (lean_is_exclusive(x_192)) { - lean_ctor_release(x_192, 0); - lean_ctor_release(x_192, 1); - x_195 = x_192; -} else { - lean_dec_ref(x_192); - x_195 = lean_box(0); -} -if (lean_is_scalar(x_195)) { - x_196 = lean_alloc_ctor(1, 2, 0); -} else { - x_196 = x_195; -} -lean_ctor_set(x_196, 0, x_193); -lean_ctor_set(x_196, 1, x_194); -return x_196; -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_197 = l_Lean_Expr_appFn_x21(x_183); -x_198 = l_Lean_Expr_appArg_x21(x_197); -lean_dec(x_197); -x_199 = l_Lean_Expr_appArg_x21(x_183); -x_200 = lean_unsigned_to_nat(0u); -x_201 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_198, x_200); -x_202 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2___closed__1; -lean_inc(x_201); -x_203 = lean_mk_array(x_201, x_202); -x_204 = lean_unsigned_to_nat(1u); -x_205 = lean_nat_sub(x_201, x_204); -lean_dec(x_201); -x_206 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__11(x_1, x_2, x_181, x_182, x_183, x_184, x_199, x_198, x_203, x_205, x_167, x_4, x_5, x_6, x_180); -lean_dec(x_181); -if (lean_obj_tag(x_206) == 0) -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; -x_207 = lean_ctor_get(x_206, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_206, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_206)) { - lean_ctor_release(x_206, 0); - lean_ctor_release(x_206, 1); - x_209 = x_206; -} else { - lean_dec_ref(x_206); - x_209 = lean_box(0); -} -if (lean_is_scalar(x_209)) { - x_210 = lean_alloc_ctor(0, 2, 0); -} else { - x_210 = x_209; -} -lean_ctor_set(x_210, 0, x_207); -lean_ctor_set(x_210, 1, x_208); -return x_210; -} -else -{ -lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_211 = lean_ctor_get(x_206, 0); -lean_inc(x_211); -x_212 = lean_ctor_get(x_206, 1); -lean_inc(x_212); -if (lean_is_exclusive(x_206)) { - lean_ctor_release(x_206, 0); - lean_ctor_release(x_206, 1); - x_213 = x_206; -} else { - lean_dec_ref(x_206); - x_213 = lean_box(0); -} -if (lean_is_scalar(x_213)) { - x_214 = lean_alloc_ctor(1, 2, 0); -} else { - x_214 = x_213; -} -lean_ctor_set(x_214, 0, x_211); -lean_ctor_set(x_214, 1, x_212); -return x_214; -} -} -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; -lean_dec(x_167); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_215 = lean_ctor_get(x_177, 0); -lean_inc(x_215); -x_216 = lean_ctor_get(x_177, 1); -lean_inc(x_216); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - x_217 = x_177; -} else { - lean_dec_ref(x_177); - x_217 = lean_box(0); -} -if (lean_is_scalar(x_217)) { - x_218 = lean_alloc_ctor(1, 2, 0); -} else { - x_218 = x_217; -} -lean_ctor_set(x_218, 0, x_215); -lean_ctor_set(x_218, 1, x_216); -return x_218; -} -} -else -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; -lean_dec(x_167); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_219 = lean_ctor_get(x_171, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_171, 1); -lean_inc(x_220); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - lean_ctor_release(x_171, 1); - x_221 = x_171; -} else { - lean_dec_ref(x_171); - x_221 = lean_box(0); -} -if (lean_is_scalar(x_221)) { - x_222 = lean_alloc_ctor(1, 2, 0); -} else { - x_222 = x_221; -} -lean_ctor_set(x_222, 0, x_219); -lean_ctor_set(x_222, 1, x_220); -return x_222; -} -} -else -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -lean_dec(x_167); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_223 = lean_ctor_get(x_168, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_168, 1); -lean_inc(x_224); if (lean_is_exclusive(x_168)) { lean_ctor_release(x_168, 0); lean_ctor_release(x_168, 1); - x_225 = x_168; + x_171 = x_168; } else { lean_dec_ref(x_168); - x_225 = lean_box(0); + x_171 = lean_box(0); } -if (lean_is_scalar(x_225)) { - x_226 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_171)) { + x_172 = lean_alloc_ctor(0, 2, 0); } else { - x_226 = x_225; + x_172 = x_171; } -lean_ctor_set(x_226, 0, x_223); -lean_ctor_set(x_226, 1, x_224); -return x_226; +lean_ctor_set(x_172, 0, x_169); +lean_ctor_set(x_172, 1, x_170); +return x_172; +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_173 = lean_ctor_get(x_168, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_168, 1); +lean_inc(x_174); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_175 = x_168; +} else { + lean_dec_ref(x_168); + x_175 = lean_box(0); +} +if (lean_is_scalar(x_175)) { + x_176 = lean_alloc_ctor(1, 2, 0); +} else { + x_176 = x_175; +} +lean_ctor_set(x_176, 0, x_173); +lean_ctor_set(x_176, 1, x_174); +return x_176; +} +} +} +else +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +lean_dec(x_3); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_202 = lean_ctor_get(x_151, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_151, 1); +lean_inc(x_203); +if (lean_is_exclusive(x_151)) { + lean_ctor_release(x_151, 0); + lean_ctor_release(x_151, 1); + x_204 = x_151; +} else { + lean_dec_ref(x_151); + x_204 = lean_box(0); +} +if (lean_is_scalar(x_204)) { + x_205 = lean_alloc_ctor(1, 2, 0); +} else { + x_205 = x_204; +} +lean_ctor_set(x_205, 0, x_202); +lean_ctor_set(x_205, 1, x_203); +return x_205; +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +lean_dec(x_3); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_206 = lean_ctor_get(x_145, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_145, 1); +lean_inc(x_207); +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_208 = x_145; +} else { + lean_dec_ref(x_145); + x_208 = lean_box(0); +} +if (lean_is_scalar(x_208)) { + x_209 = lean_alloc_ctor(1, 2, 0); +} else { + x_209 = x_208; +} +lean_ctor_set(x_209, 0, x_206); +lean_ctor_set(x_209, 1, x_207); +return x_209; +} +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +lean_dec(x_3); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_210 = lean_ctor_get(x_142, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_142, 1); +lean_inc(x_211); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + lean_ctor_release(x_142, 1); + x_212 = x_142; +} else { + lean_dec_ref(x_142); + x_212 = lean_box(0); +} +if (lean_is_scalar(x_212)) { + x_213 = lean_alloc_ctor(1, 2, 0); +} else { + x_213 = x_212; +} +lean_ctor_set(x_213, 0, x_210); +lean_ctor_set(x_213, 1, x_211); +return x_213; +} +} +} +else +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; uint8_t x_221; uint8_t x_222; uint8_t x_223; uint8_t x_224; uint8_t x_225; uint8_t x_226; uint8_t x_227; uint8_t x_228; uint8_t x_229; uint8_t x_230; uint8_t x_231; uint8_t x_232; lean_object* x_233; uint8_t x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_214 = lean_ctor_get(x_3, 0); +x_215 = lean_ctor_get(x_3, 1); +x_216 = lean_ctor_get(x_3, 2); +x_217 = lean_ctor_get(x_3, 3); +x_218 = lean_ctor_get(x_3, 4); +x_219 = lean_ctor_get(x_3, 5); +lean_inc(x_219); +lean_inc(x_218); +lean_inc(x_217); +lean_inc(x_216); +lean_inc(x_215); +lean_inc(x_214); +lean_dec(x_3); +x_220 = lean_ctor_get_uint8(x_214, 0); +x_221 = lean_ctor_get_uint8(x_214, 1); +x_222 = lean_ctor_get_uint8(x_214, 2); +x_223 = lean_ctor_get_uint8(x_214, 3); +x_224 = lean_ctor_get_uint8(x_214, 4); +x_225 = lean_ctor_get_uint8(x_214, 6); +x_226 = lean_ctor_get_uint8(x_214, 7); +x_227 = lean_ctor_get_uint8(x_214, 8); +x_228 = lean_ctor_get_uint8(x_214, 9); +x_229 = lean_ctor_get_uint8(x_214, 10); +x_230 = lean_ctor_get_uint8(x_214, 11); +x_231 = lean_ctor_get_uint8(x_214, 12); +x_232 = lean_ctor_get_uint8(x_214, 13); +if (lean_is_exclusive(x_214)) { + x_233 = x_214; +} else { + lean_dec_ref(x_214); + x_233 = lean_box(0); +} +x_234 = 2; +if (lean_is_scalar(x_233)) { + x_235 = lean_alloc_ctor(0, 0, 14); +} else { + x_235 = x_233; +} +lean_ctor_set_uint8(x_235, 0, x_220); +lean_ctor_set_uint8(x_235, 1, x_221); +lean_ctor_set_uint8(x_235, 2, x_222); +lean_ctor_set_uint8(x_235, 3, x_223); +lean_ctor_set_uint8(x_235, 4, x_224); +lean_ctor_set_uint8(x_235, 5, x_234); +lean_ctor_set_uint8(x_235, 6, x_225); +lean_ctor_set_uint8(x_235, 7, x_226); +lean_ctor_set_uint8(x_235, 8, x_227); +lean_ctor_set_uint8(x_235, 9, x_228); +lean_ctor_set_uint8(x_235, 10, x_229); +lean_ctor_set_uint8(x_235, 11, x_230); +lean_ctor_set_uint8(x_235, 12, x_231); +lean_ctor_set_uint8(x_235, 13, x_232); +x_236 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_215); +lean_ctor_set(x_236, 2, x_216); +lean_ctor_set(x_236, 3, x_217); +lean_ctor_set(x_236, 4, x_218); +lean_ctor_set(x_236, 5, x_219); +lean_inc(x_1); +x_237 = l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1(x_1, x_236, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_237) == 0) +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; +x_238 = lean_ctor_get(x_237, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_237, 1); +lean_inc(x_239); +lean_dec(x_237); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_236); +x_240 = lean_infer_type(x_238, x_236, x_4, x_5, x_6, x_239); +if (lean_obj_tag(x_240) == 0) +{ +lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; uint8_t x_245; lean_object* x_246; +x_241 = lean_ctor_get(x_240, 0); +lean_inc(x_241); +x_242 = lean_ctor_get(x_240, 1); +lean_inc(x_242); +lean_dec(x_240); +x_243 = lean_box(0); +x_244 = 1; +x_245 = 0; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_236); +x_246 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(x_241, x_244, x_243, x_245, x_236, x_4, x_5, x_6, x_242); +if (lean_obj_tag(x_246) == 0) +{ +lean_object* x_247; lean_object* x_248; 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_273; lean_object* x_274; uint8_t x_275; +x_247 = lean_ctor_get(x_246, 0); +lean_inc(x_247); +x_248 = lean_ctor_get(x_247, 1); +lean_inc(x_248); +x_249 = lean_ctor_get(x_246, 1); +lean_inc(x_249); +lean_dec(x_246); +x_250 = lean_ctor_get(x_247, 0); +lean_inc(x_250); +lean_dec(x_247); +x_251 = lean_ctor_get(x_248, 0); +lean_inc(x_251); +x_252 = lean_ctor_get(x_248, 1); +lean_inc(x_252); +if (lean_is_exclusive(x_248)) { + lean_ctor_release(x_248, 0); + lean_ctor_release(x_248, 1); + x_253 = x_248; +} else { + lean_dec_ref(x_248); + x_253 = lean_box(0); +} +x_273 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__4; +x_274 = lean_unsigned_to_nat(3u); +x_275 = l_Lean_Expr_isAppOfArity(x_252, x_273, x_274); +if (x_275 == 0) +{ +lean_object* x_276; lean_object* x_277; uint8_t x_278; +x_276 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__6; +x_277 = lean_unsigned_to_nat(2u); +x_278 = l_Lean_Expr_isAppOfArity(x_252, x_276, x_277); +if (x_278 == 0) +{ +lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; +lean_dec(x_253); +lean_dec(x_251); +lean_dec(x_250); +lean_dec(x_2); +lean_dec(x_1); +x_279 = l_Lean_indentExpr(x_252); +x_280 = l_Lean_Meta_mkSimpCongrTheorem___closed__2; +x_281 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_281, 0, x_280); +lean_ctor_set(x_281, 1, x_279); +x_282 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9; +x_283 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_283, 0, x_281); +lean_ctor_set(x_283, 1, x_282); +x_284 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__11(x_283, x_236, x_4, x_5, x_6, x_249); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_236); +x_285 = lean_ctor_get(x_284, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_284, 1); +lean_inc(x_286); +if (lean_is_exclusive(x_284)) { + lean_ctor_release(x_284, 0); + lean_ctor_release(x_284, 1); + x_287 = x_284; +} else { + lean_dec_ref(x_284); + x_287 = lean_box(0); +} +if (lean_is_scalar(x_287)) { + x_288 = lean_alloc_ctor(1, 2, 0); +} else { + x_288 = x_287; +} +lean_ctor_set(x_288, 0, x_285); +lean_ctor_set(x_288, 1, x_286); +return x_288; +} +else +{ +lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; +x_289 = l_Lean_Expr_appFn_x21(x_252); +x_290 = l_Lean_Expr_appArg_x21(x_289); +lean_dec(x_289); +x_291 = l_Lean_Expr_appArg_x21(x_252); +if (lean_is_scalar(x_253)) { + x_292 = lean_alloc_ctor(0, 2, 0); +} else { + x_292 = x_253; +} +lean_ctor_set(x_292, 0, x_290); +lean_ctor_set(x_292, 1, x_291); +x_254 = x_292; +goto block_272; +} +} +else +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; +x_293 = l_Lean_Expr_appFn_x21(x_252); +x_294 = l_Lean_Expr_appArg_x21(x_293); +lean_dec(x_293); +x_295 = l_Lean_Expr_appArg_x21(x_252); +if (lean_is_scalar(x_253)) { + x_296 = lean_alloc_ctor(0, 2, 0); +} else { + x_296 = x_253; +} +lean_ctor_set(x_296, 0, x_294); +lean_ctor_set(x_296, 1, x_295); +x_254 = x_296; +goto block_272; +} +block_272: +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; +x_255 = lean_ctor_get(x_254, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_254, 1); +lean_inc(x_256); +lean_dec(x_254); +x_257 = lean_unsigned_to_nat(0u); +x_258 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_255, x_257); +x_259 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2___closed__1; +lean_inc(x_258); +x_260 = lean_mk_array(x_258, x_259); +x_261 = lean_unsigned_to_nat(1u); +x_262 = lean_nat_sub(x_258, x_261); +lean_dec(x_258); +x_263 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10(x_1, x_2, x_250, x_251, x_252, x_256, x_255, x_260, x_262, x_236, x_4, x_5, x_6, x_249); +lean_dec(x_250); +if (lean_obj_tag(x_263) == 0) +{ +lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; +x_264 = lean_ctor_get(x_263, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_263, 1); +lean_inc(x_265); +if (lean_is_exclusive(x_263)) { + lean_ctor_release(x_263, 0); + lean_ctor_release(x_263, 1); + x_266 = x_263; +} else { + lean_dec_ref(x_263); + x_266 = lean_box(0); +} +if (lean_is_scalar(x_266)) { + x_267 = lean_alloc_ctor(0, 2, 0); +} else { + x_267 = x_266; +} +lean_ctor_set(x_267, 0, x_264); +lean_ctor_set(x_267, 1, x_265); +return x_267; +} +else +{ +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; +x_268 = lean_ctor_get(x_263, 0); +lean_inc(x_268); +x_269 = lean_ctor_get(x_263, 1); +lean_inc(x_269); +if (lean_is_exclusive(x_263)) { + lean_ctor_release(x_263, 0); + lean_ctor_release(x_263, 1); + x_270 = x_263; +} else { + lean_dec_ref(x_263); + x_270 = lean_box(0); +} +if (lean_is_scalar(x_270)) { + x_271 = lean_alloc_ctor(1, 2, 0); +} else { + x_271 = x_270; +} +lean_ctor_set(x_271, 0, x_268); +lean_ctor_set(x_271, 1, x_269); +return x_271; +} +} +} +else +{ +lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; +lean_dec(x_236); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_297 = lean_ctor_get(x_246, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_246, 1); +lean_inc(x_298); +if (lean_is_exclusive(x_246)) { + lean_ctor_release(x_246, 0); + lean_ctor_release(x_246, 1); + x_299 = x_246; +} else { + lean_dec_ref(x_246); + x_299 = lean_box(0); +} +if (lean_is_scalar(x_299)) { + x_300 = lean_alloc_ctor(1, 2, 0); +} else { + x_300 = x_299; +} +lean_ctor_set(x_300, 0, x_297); +lean_ctor_set(x_300, 1, x_298); +return x_300; +} +} +else +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; +lean_dec(x_236); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_301 = lean_ctor_get(x_240, 0); +lean_inc(x_301); +x_302 = lean_ctor_get(x_240, 1); +lean_inc(x_302); +if (lean_is_exclusive(x_240)) { + lean_ctor_release(x_240, 0); + lean_ctor_release(x_240, 1); + x_303 = x_240; +} else { + lean_dec_ref(x_240); + x_303 = lean_box(0); +} +if (lean_is_scalar(x_303)) { + x_304 = lean_alloc_ctor(1, 2, 0); +} else { + x_304 = x_303; +} +lean_ctor_set(x_304, 0, x_301); +lean_ctor_set(x_304, 1, x_302); +return x_304; +} +} +else +{ +lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; +lean_dec(x_236); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_305 = lean_ctor_get(x_237, 0); +lean_inc(x_305); +x_306 = lean_ctor_get(x_237, 1); +lean_inc(x_306); +if (lean_is_exclusive(x_237)) { + lean_ctor_release(x_237, 0); + lean_ctor_release(x_237, 1); + x_307 = x_237; +} else { + lean_dec_ref(x_237); + x_307 = lean_box(0); +} +if (lean_is_scalar(x_307)) { + x_308 = lean_alloc_ctor(1, 2, 0); +} else { + x_308 = x_307; +} +lean_ctor_set(x_308, 0, x_305); +lean_ctor_set(x_308, 1, x_306); +return x_308; } } } @@ -8520,16 +8812,21 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__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: { -lean_object* x_7; -x_7 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_2); lean_dec(x_2); -return x_7; +x_11 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__2(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_12; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__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) { @@ -8549,28 +8846,11 @@ lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__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) { -_start: -{ -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_11 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_12 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5___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_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__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) { _start: { lean_object* x_7; -x_7 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -8578,11 +8858,11 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___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_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -8592,6 +8872,20 @@ lean_dec(x_1); return x_8; } } +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___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: +{ +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_Meta_mkSimpCongrTheorem___spec__5(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); +lean_dec(x_2); +return x_14; +} +} LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___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: { @@ -8601,20 +8895,6 @@ lean_dec(x_4); x_13 = lean_unbox_usize(x_5); lean_dec(x_5); x_14 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6(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); -lean_dec(x_2); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___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: -{ -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_Meta_mkSimpCongrTheorem___spec__7(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_10); lean_dec(x_9); lean_dec(x_8); @@ -8624,11 +8904,11 @@ lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__1(x_1, 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); @@ -8638,13 +8918,13 @@ lean_dec(x_4); return x_11; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___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, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___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, lean_object* x_10) { _start: { size_t x_11; lean_object* x_12; x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2(x_1, x_2, x_11, 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); @@ -8654,55 +8934,40 @@ lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; lean_object* x_13; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); return x_13; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___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) { _start: { size_t x_11; lean_object* x_12; x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___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: { -size_t x_12; lean_object* x_13; -x_12 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; size_t x_15; lean_object* x_16; -x_13 = lean_unbox_usize(x_3); +size_t x_11; lean_object* x_12; +x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_15 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8(x_1, x_2, x_13, x_4, x_14, x_15, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_4); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_2); -return x_16; +return x_12; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___at_Lean_Meta_mkSimpCongrTheorem___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___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: { size_t x_12; size_t x_13; size_t x_14; lean_object* x_15; @@ -8712,39 +8977,67 @@ x_13 = lean_unbox_usize(x_4); lean_dec(x_4); x_14 = lean_unbox_usize(x_5); lean_dec(x_5); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___at_Lean_Meta_mkSimpCongrTheorem___spec__9(x_1, x_12, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7(x_1, x_12, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_3); +lean_dec(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___at_Lean_Meta_mkSimpCongrTheorem___spec__8___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: +{ +size_t x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___at_Lean_Meta_mkSimpCongrTheorem___spec__8(x_11, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_3); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_3); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__11___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) { _start: { -lean_object* x_14; -x_14 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_8); +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__11(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -lean_object* x_17; -x_17 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_3); -return x_17; -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -lean_object* x_16; -x_16 = l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_3); -return x_16; +lean_dec(x_2); +return x_7; } } static lean_object* _init_l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__1() { @@ -9525,7 +9818,7 @@ x_10 = l_Lean_Meta_addSimpCongrTheorem(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__1() { _start: { uint8_t x_1; uint8_t x_2; uint8_t x_3; uint8_t x_4; lean_object* x_5; @@ -9551,7 +9844,7 @@ lean_ctor_set_uint8(x_5, 13, x_4); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9563,7 +9856,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -9572,23 +9865,23 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__3; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__5() { _start: { size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 5; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__4; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__3; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__4; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__3; x_4 = lean_unsigned_to_nat(0u); x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); lean_ctor_set(x_5, 0, x_2); @@ -9599,25 +9892,25 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__5; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__5; 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_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = lean_box(0); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__1; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__6; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__1; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__6; x_4 = l_Lean_Meta_instInhabitedSimpCongrTheorem___closed__1; x_5 = lean_unsigned_to_nat(0u); x_6 = lean_alloc_ctor(0, 6, 0); @@ -9630,7 +9923,7 @@ lean_ctor_set(x_6, 5, x_1); return x_6; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__8() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9642,7 +9935,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__9() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9654,13 +9947,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__10() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__8; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__9; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__8; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__9; x_4 = l_Lean_Meta_SimpCongrTheorems_lemmas___default___closed__3; x_5 = lean_alloc_ctor(0, 8, 0); lean_ctor_set(x_5, 0, x_1); @@ -9674,14 +9967,14 @@ lean_ctor_set(x_5, 7, x_3); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__11() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_box(0); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__10; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__10; x_3 = l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__9; -x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__5; +x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__5; x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_2); lean_ctor_set(x_5, 1, x_3); @@ -9690,7 +9983,7 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -9711,14 +10004,14 @@ x_12 = lean_st_ref_get(x_5, x_11); x_13 = lean_ctor_get(x_12, 1); lean_inc(x_13); lean_dec(x_12); -x_14 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__11; +x_14 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__11; x_15 = lean_st_mk_ref(x_14, x_13); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__7; +x_18 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__7; lean_inc(x_5); lean_inc(x_16); x_19 = l_Lean_Meta_addSimpCongrTheorem(x_1, x_3, x_10, x_18, x_16, x_4, x_5, x_17); @@ -9810,7 +10103,7 @@ return x_37; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___closed__1() { _start: { lean_object* x_1; @@ -9818,25 +10111,25 @@ x_1 = lean_mk_string_from_bytes("attribute cannot be erased", 26); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2(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; -x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___closed__2; +x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___closed__2; x_6 = l_Lean_throwError___at_Lean_AttributeImpl_erase___default___spec__1(x_5, x_2, x_3, x_4); return x_6; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -9846,17 +10139,17 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__1; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_468____closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__3() { _start: { lean_object* x_1; @@ -9864,17 +10157,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__5() { _start: { lean_object* x_1; @@ -9882,37 +10175,37 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__5; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__6; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__6; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_468____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__8() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__7; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__7; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_468____closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__9() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__9() { _start: { lean_object* x_1; @@ -9920,17 +10213,17 @@ x_1 = lean_mk_string_from_bytes("Tactic", 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__10() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__8; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__9; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__8; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__9; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__11() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__11() { _start: { lean_object* x_1; @@ -9938,17 +10231,17 @@ x_1 = lean_mk_string_from_bytes("Simp", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__12() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__10; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__11; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__10; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__13() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__13() { _start: { lean_object* x_1; @@ -9956,17 +10249,17 @@ x_1 = lean_mk_string_from_bytes("SimpCongrTheorems", 17); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__14() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__12; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__13; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__12; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__13; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__15() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__15() { _start: { lean_object* x_1; @@ -9974,27 +10267,27 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__16() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__14; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__15; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__14; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__15; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__17() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__16; -x_2 = lean_unsigned_to_nat(2370u); +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__16; +x_2 = lean_unsigned_to_nat(2352u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__18() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__18() { _start: { lean_object* x_1; @@ -10002,17 +10295,17 @@ x_1 = lean_mk_string_from_bytes("congr", 5); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__19() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__18; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__18; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__20() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__20() { _start: { lean_object* x_1; @@ -10020,13 +10313,13 @@ x_1 = lean_mk_string_from_bytes("congruence theorem", 18); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__21() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__17; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__19; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__20; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__17; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__19; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__20; x_4 = 0; x_5 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_5, 0, x_1); @@ -10036,29 +10329,29 @@ lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__22() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__22() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___boxed), 6, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__23() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__23() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___boxed), 4, 0); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__24() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__21; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__22; -x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__23; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__21; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__22; +x_3 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__23; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -10066,31 +10359,31 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__24; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__24; x_3 = l_Lean_registerBuiltinAttribute(x_2, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____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_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____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) { _start: { uint8_t x_7; lean_object* x_8; x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); +x_8 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1(x_1, x_2, x_7, x_4, x_5, x_6); lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -10353,10 +10646,28 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Meta_congrExtension = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_congrExtension); lean_dec_ref(res); -}l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__4___closed__2); +}l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__3___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__3); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__4); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__5); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__6); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__7 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__7(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__7); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__8 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__8(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__8); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__5___closed__9); l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__1(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__1); l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__2(); @@ -10365,52 +10676,38 @@ l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__3 lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__3); l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__4(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__4); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__5); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__6); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__7 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__7(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__7); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__8 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__8(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__8); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__6___closed__9); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__2); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__3); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___closed__4); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__2___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__3___closed__2); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__4___closed__2); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__8___lambda__5___closed__2); -l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___lambda__1___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___lambda__1___closed__1); -l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__1(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__1); -l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__2 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__2(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__10___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__2___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__3___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__4___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__3); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__4); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__5); +l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_mkSimpCongrTheorem___spec__7___lambda__5___closed__6); +l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__1___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___lambda__1___closed__1); +l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__1(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__1); +l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__2 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__2(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_mkSimpCongrTheorem___spec__9___closed__2); l_Lean_Meta_mkSimpCongrTheorem___closed__1 = _init_l_Lean_Meta_mkSimpCongrTheorem___closed__1(); lean_mark_persistent(l_Lean_Meta_mkSimpCongrTheorem___closed__1); l_Lean_Meta_mkSimpCongrTheorem___closed__2 = _init_l_Lean_Meta_mkSimpCongrTheorem___closed__2(); lean_mark_persistent(l_Lean_Meta_mkSimpCongrTheorem___closed__2); -l_Lean_Meta_mkSimpCongrTheorem___closed__3 = _init_l_Lean_Meta_mkSimpCongrTheorem___closed__3(); -lean_mark_persistent(l_Lean_Meta_mkSimpCongrTheorem___closed__3); -l_Lean_Meta_mkSimpCongrTheorem___closed__4 = _init_l_Lean_Meta_mkSimpCongrTheorem___closed__4(); -lean_mark_persistent(l_Lean_Meta_mkSimpCongrTheorem___closed__4); l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__1 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__1(); lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__1); l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__2 = _init_l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__2(); @@ -10431,81 +10728,81 @@ l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___clo lean_mark_persistent(l_Lean_ScopedEnvExtension_add___at_Lean_Meta_addSimpCongrTheorem___spec__1___closed__9); l_Lean_Meta_addSimpCongrTheorem___closed__1 = _init_l_Lean_Meta_addSimpCongrTheorem___closed__1(); lean_mark_persistent(l_Lean_Meta_addSimpCongrTheorem___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__7); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__8); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__9); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__10); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__1___closed__11); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____lambda__2___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__7); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__8(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__8); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__9(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__9); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__10(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__10); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__11(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__11); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__12(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__12); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__13(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__13); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__14(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__14); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__15(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__15); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__16 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__16(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__16); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__17 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__17(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__17); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__18 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__18(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__18); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__19 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__19(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__19); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__20 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__20(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__20); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__21 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__21(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__21); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__22 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__22(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__22); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__23 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__23(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__23); -l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__24 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__24(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370____closed__24); -res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2370_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__7); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__8(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__8); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__9(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__9); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__10(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__10); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__11(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__1___closed__11); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____lambda__2___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__7); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__8(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__8); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__9(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__9); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__10(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__10); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__11(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__11); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__12(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__12); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__13(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__13); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__14(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__14); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__15 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__15(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__15); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__16 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__16(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__16); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__17 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__17(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__17); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__18 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__18(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__18); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__19 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__19(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__19); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__20 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__20(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__20); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__21 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__21(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__21); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__22 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__22(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__22); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__23 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__23(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__23); +l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__24 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__24(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352____closed__24); +res = l_Lean_Meta_initFn____x40_Lean_Meta_Tactic_Simp_SimpCongrTheorems___hyg_2352_(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/Meta/Tactic/Split.c b/stage0/stdlib/Lean/Meta/Tactic/Split.c index a793f527c5..2f94a7e38a 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Split.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Split.c @@ -41,6 +41,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_splitTarget_x3f_go(lean_object*, uint8_t, l lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Meta_Split_findSplit_x3f_isCandidate___closed__1; static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__1; +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_simpMatchCore_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___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lambda__6___closed__2; lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); @@ -316,7 +317,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Split_getSimpMatchContext___rarg___boxed(le lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__3___closed__3; LEAN_EXPORT uint8_t l_Lean_Meta_Split_findSplit_x3f_isCandidate___lambda__1(lean_object*); -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Split_applyMatchSplitter___lambda__7(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4016,7 +4016,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_21 = l_Std_Range_forIn_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__2___lambda__3___closed__2; -x_22 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_21, x_11, x_12, x_13, x_14, x_15); +x_22 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_21, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -4056,7 +4056,7 @@ lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_27 = l_Std_Range_forIn_loop___at___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___spec__2___lambda__3___closed__2; -x_28 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_27, x_11, x_12, x_13, x_14, x_15); +x_28 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_27, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -4873,7 +4873,7 @@ x_21 = lean_ctor_get(x_18, 1); lean_inc(x_21); lean_dec(x_18); x_22 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lambda__2___closed__2; -x_23 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_22, x_6, x_7, x_8, x_9, x_21); +x_23 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_22, x_6, x_7, x_8, x_9, x_21); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5020,7 +5020,7 @@ x_32 = lean_ctor_get(x_29, 1); lean_inc(x_32); lean_dec(x_29); x_33 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lambda__3___closed__2; -x_34 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_33, x_9, x_10, x_11, x_12, x_32); +x_34 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_33, x_9, x_10, x_11, x_12, x_32); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -6853,7 +6853,7 @@ x_27 = l_Lean_Meta_Split_applyMatchSplitter___lambda__3___closed__5; x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_28, x_11, x_12, x_13, x_14, x_19); +x_29 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_28, x_11, x_12, x_13, x_14, x_19); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -7187,7 +7187,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_32 = l_Lean_Meta_Split_applyMatchSplitter___lambda__7___closed__2; -x_33 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_32, x_15, x_16, x_17, x_18, x_30); +x_33 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_32, x_15, x_16, x_17, x_18, x_30); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Unfold.c b/stage0/stdlib/Lean/Meta/Tactic/Unfold.c index 4befe8c9f9..c59a09e413 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Unfold.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Unfold.c @@ -19,6 +19,7 @@ lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Unfold_0__Lean_Meta_getSimpUnfoldContext___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_unfoldTarget___lambda__2___closed__1; +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_unfoldTarget___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_unfoldLocalDecl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -66,7 +67,6 @@ static lean_object* l_Lean_Meta_unfoldLocalDecl___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_unfoldLocalDecl___lambda__1___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_unfoldLocalDecl___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_unfold_pre___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_unfoldLocalDecl___lambda__1___closed__4; static lean_object* l_Lean_Meta_unfoldTarget___lambda__2___closed__5; lean_object* l_Lean_indentExpr(lean_object*); @@ -1161,7 +1161,7 @@ x_27 = l_Lean_Meta_unfoldTarget___lambda__2___closed__6; x_28 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_28, x_3, x_4, x_5, x_6, x_16); +x_29 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_28, x_3, x_4, x_5, x_6, x_16); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -1469,7 +1469,7 @@ x_29 = l_Lean_Meta_unfoldTarget___lambda__2___closed__6; x_30 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__5(x_30, x_4, x_5, x_6, x_7, x_17); +x_31 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_30, x_4, x_5, x_6, x_7, x_17); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index 780962a824..fbfb5cc439 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -24,7 +24,7 @@ static lean_object* l_Lean_Parser_Term_dbgTrace_formatter___closed__7; static lean_object* l_Lean_Parser_Term_binop__lazy_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_panic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_binop__lazy_formatter___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__32; +static lean_object* l_Lean_Parser_Term_ellipsis___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_dbgTrace_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro_x27_declRange___closed__7; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -56,7 +56,6 @@ static lean_object* l_Lean_Parser_Term_basicFun___closed__11; LEAN_EXPORT lean_object* l_Lean_Parser_Term_haveIdLhs_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_letRecDecl_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__10; static lean_object* l_Lean_Parser_Term_ident_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_dynamicQuot; @@ -99,7 +98,6 @@ static lean_object* l_Lean_Parser_Term_matchDiscr___closed__4; static lean_object* l_Lean_Parser_Term_sufficesDecl_parenthesizer___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_scientific_declRange(lean_object*); static lean_object* l_Lean_Parser_Term_proj_formatter___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__20; static lean_object* l___regBuiltin_Lean_Parser_Tactic_quotSeq_declRange___closed__5; static lean_object* l_Lean_Parser_Term_stateRefT___closed__3; static lean_object* l_Lean_Parser_Term_motive_formatter___closed__2; @@ -113,6 +111,7 @@ static lean_object* l_Lean_Parser_Term_quotedName___closed__4; static lean_object* l_Lean_Parser_Term_letIdLhs___closed__7; static lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_let__fun_declRange___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__26; static lean_object* l___regBuiltin_Lean_Parser_Term_structInst_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_declRange___closed__4; static lean_object* l_Lean_Parser_Term_let__fun_formatter___closed__3; @@ -164,7 +163,6 @@ static lean_object* l_Lean_Parser_Term_bracketedBinder___closed__1; static lean_object* l_Lean_Parser_Term_fromTerm___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_structInst_docString(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_waitIfContainsMVar_parenthesizer(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__43; static lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_unop___closed__3; static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_formatter___closed__1; @@ -348,7 +346,6 @@ static lean_object* l_Lean_Parser_Term_structInst___closed__6; static lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_hole_declRange___closed__1; static lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__16; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_unreachable_parenthesizer(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_quot_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_explicitUniv_formatter___closed__1; @@ -372,6 +369,7 @@ static lean_object* l_Lean_Parser_Term_letDecl_parenthesizer___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_tacticSeq1Indented_formatter(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_typeSpec_formatter(lean_object*); +static lean_object* l_Lean_Parser_Term_ellipsis___closed__7; static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_let_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_completion_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -419,6 +417,7 @@ static lean_object* l_Lean_Parser_Term_generalizingParam___closed__12; static lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__2; static lean_object* l_Lean_Parser_Term_withDeclName_formatter___closed__7; static lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__31; static lean_object* l_Lean_Parser_Term_namedArgument___closed__5; static lean_object* l_Lean_Parser_Term_binop__lazy_formatter___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binrel_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -569,6 +568,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_letPatDecl; LEAN_EXPORT lean_object* l_Lean_Parser_Term_assert; LEAN_EXPORT lean_object* l_Lean_Parser_Term_let__delayed_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_letrec_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__12; static lean_object* l___regBuiltin_Lean_Parser_Term_sort_declRange___closed__5; static lean_object* l_Lean_Parser_Term_leading__parser___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Term_leading__parser_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -611,6 +611,7 @@ static lean_object* l_Lean_Parser_Term_fromTerm_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_haveDecl_formatter___closed__4; static lean_object* l_Lean_Parser_Term_letrec___closed__7; static lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__10; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__11; static lean_object* l_Lean_Parser_Term_forall_formatter___closed__5; static lean_object* l_Lean_Parser_Term_forInMacro_x27___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_withDeclName_declRange___closed__3; @@ -752,7 +753,6 @@ static lean_object* l_Lean_Parser_Term_suffices___closed__9; static lean_object* l_Lean_Parser_Term_instBinder_formatter___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_cdot_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Command_commentBody___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__24; static lean_object* l___regBuiltin_Lean_Parser_Term_type_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_clear___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_prop_parenthesizer(lean_object*); @@ -774,6 +774,7 @@ static lean_object* l_Lean_Parser_Term_sorry_formatter___closed__3; static lean_object* l_Lean_Parser_Term_declName___closed__1; static lean_object* l_Lean_Parser_Term_app_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_explicitBinder_formatter___closed__1; +static lean_object* l_Lean_Parser_Term_ellipsis_formatter___closed__4; static lean_object* l_Lean_Parser_Term_structInstLVal___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Term_nomatch_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__8; @@ -790,6 +791,7 @@ static lean_object* l_Lean_Parser_Term_binderTactic___closed__10; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_tacticSeq1Indented_parenthesizer(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_noindex_declRange(lean_object*); static lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__19; static lean_object* l___regBuiltin_Lean_Parser_Term_macroDollarArg_formatter___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_paren_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_seq1_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -841,6 +843,7 @@ static lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__7; static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_leading__parser_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_attributes_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__35; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_structInstLVal_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_optIdent_formatter___closed__1; static lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__19; @@ -895,6 +898,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_assert_declRange___closed__1 static lean_object* l___regBuiltin_Lean_Parser_Term_assert_docString___closed__1; static lean_object* l_Lean_Parser_Term_binrel__no__prop___closed__3; static lean_object* l_Lean_Parser_Term_letRecDecl_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__39; static lean_object* l___regBuiltin_Lean_Parser_Term_hole_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_scientific_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Term_structInstFieldAbbrev; @@ -937,6 +941,7 @@ static lean_object* l_Lean_Parser_Term_strictImplicitRightBracket___closed__1; static lean_object* l_Lean_Parser_Term_hole_formatter___closed__2; static lean_object* l_Lean_Parser_Term_binrel__no__prop_formatter___closed__1; static lean_object* l_Lean_Parser_Term_borrowed_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_Term_ellipsis_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_completion_formatter___closed__1; static lean_object* l_Lean_Parser_Term_unop_formatter___closed__3; static lean_object* l_Lean_Parser_Term_binop___closed__7; @@ -951,6 +956,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_dotIdent_parenthesizer( static lean_object* l_Lean_Parser_Term_show___closed__6; static lean_object* l_Lean_Parser_Term_noImplicitLambda___closed__7; static lean_object* l_Lean_Parser_Term_typeAscription_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__45; LEAN_EXPORT lean_object* l_Lean_Parser_Term_attrInstance_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_typeSpec_parenthesizer(lean_object*); @@ -1199,6 +1205,7 @@ static lean_object* l_Lean_Parser_Term_letrec___closed__11; static lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_instCoeTSyntaxConsSyntaxNodeKindMkStr4Nil__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_forInMacro_x27_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__40; static lean_object* l_Lean_Parser_Term_clear_formatter___closed__1; static lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__9; static lean_object* l_Lean_Parser_Term_optEllipsis___closed__2; @@ -1242,7 +1249,6 @@ static lean_object* l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_let__fun___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_motive_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_checkColGt_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__22; LEAN_EXPORT lean_object* l_Lean_Parser_Term_basicFun_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Term_inaccessible; static lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__2; @@ -1310,6 +1316,7 @@ static lean_object* l_Lean_Parser_Term_waitIfTypeMVar___closed__3; static lean_object* l_Lean_Parser_Term_structInstArrayRef_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_declName_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_fun_declRange___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_docComment___closed__12; @@ -1353,6 +1360,7 @@ static lean_object* l_Lean_Parser_Term_waitIfTypeContainsMVar___closed__2; static lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_withAnonymousAntiquot_formatter___closed__2; static lean_object* l_Lean_Parser_Term_letRecDecl___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__17; static lean_object* l___regBuiltin_Lean_Parser_Term_syntheticHole_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_typeSpec_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_letMVar_declRange___closed__5; @@ -1424,6 +1432,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter___clos extern lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder___closed__1; static lean_object* l_Lean_Parser_Term_suffices___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__36; static lean_object* l_Lean_Parser_Term_tupleTail_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_let__fun_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_typeSpec_formatter___closed__1; @@ -1474,6 +1483,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_ident_declRange___closed__7; static lean_object* l_Lean_Parser_Term_subst_formatter___closed__1; static lean_object* l_Lean_Parser_Term_binop__lazy___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_sorry_formatter___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__44; static lean_object* l_Lean_Parser_Term_sort___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_sorry_docString(lean_object*); static lean_object* l_Lean_Parser_Term_letMVar_parenthesizer___closed__6; @@ -1485,7 +1495,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_typeSpec_parenthesizer___clo LEAN_EXPORT lean_object* l_Lean_Parser_Term_waitIfContainsMVar; static lean_object* l___regBuiltin_Lean_Parser_Term_have_formatter___closed__1; static lean_object* l_Lean_Parser_Term_cdot_formatter___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__33; static lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__9; static lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_hole_parenthesizer___closed__2; @@ -1533,7 +1542,6 @@ static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_parenthesizer___c static lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__11; static lean_object* l_Lean_Parser_Term_unreachable___closed__7; static lean_object* l_Lean_Parser_Term_let__tmp_parenthesizer___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__29; static lean_object* l_Lean_Parser_Term_anonymousCtor___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_match_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_typeAscription_parenthesizer___closed__1; @@ -1643,6 +1651,7 @@ static lean_object* l_Lean_Parser_Term_assert___closed__1; static lean_object* l_Lean_Parser_Term_withAnonymousAntiquot___closed__2; static lean_object* l_Lean_Parser_Term_withDeclName___closed__11; static lean_object* l_Lean_Parser_Term_sufficesDecl___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_typeOf_declRange___closed__3; static lean_object* l_Lean_Parser_Term_whereDecls___closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Term_strictImplicitBinder___boxed(lean_object*); @@ -1693,6 +1702,7 @@ static lean_object* l_Lean_Parser_Term_structInst___closed__27; static lean_object* l_Lean_Parser_Term_waitIfTypeContainsMVar_parenthesizer___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_let_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_attributes___closed__5; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__9; static lean_object* l_Lean_Parser_Term_funBinder_parenthesizer___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_local_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_let__delayed_declRange___closed__3; @@ -1701,6 +1711,7 @@ static lean_object* l_Lean_Parser_Term_paren___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__4; static lean_object* l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_192____closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_type_declRange___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_typeOf_formatter___closed__2; static lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__8; static lean_object* l_Lean_Parser_Term_withDeclName_formatter___closed__6; @@ -1719,7 +1730,6 @@ static lean_object* l_Lean_Parser_Term_paren_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_hole_declRange___closed__7; static lean_object* l_Lean_Parser_Term_let__fun___closed__2; static lean_object* l_Lean_Parser_Term_byTactic_formatter___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__25; static lean_object* l___regBuiltin_Lean_Parser_Term_waitIfContainsMVar_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_whereDecls___closed__4; static lean_object* l_Lean_Parser_Term_typeSpec___closed__2; @@ -1745,6 +1755,7 @@ static lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__1 static lean_object* l_Lean_Parser_Term_type_formatter___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_binderTactic_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_letIdDecl_parenthesizer(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__27; static lean_object* l_Lean_Parser_Term_match_formatter___closed__9; static lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRange___closed__4; @@ -1845,10 +1856,12 @@ static lean_object* l_Lean_Parser_Term_leading__parser___closed__5; static lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_cdot_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_fun_declRange___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__41; static lean_object* l_Lean_Parser_Term_let__delayed_formatter___closed__4; static lean_object* l_Lean_Parser_Term_paren___closed__8; static lean_object* l_Lean_Parser_Term_haveDecl___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_doubleQuotedName_formatter(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__13; static lean_object* l_Lean_Parser_Term_doubleQuotedName_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_letPatDecl___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_declName_declRange___closed__5; @@ -1878,12 +1891,11 @@ static lean_object* l_Lean_Parser_Term_whereDecls___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_explicit_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_generalizingParam_formatter___closed__2; lean_object* l_Lean_Parser_symbol(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__14; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_withAnonymousAntiquot_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_panic_declRange___closed__7; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__7; static lean_object* l_Lean_Parser_Term_letIdBinder___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__23; static lean_object* l_Lean_Parser_Term_stateRefT___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_let__tmp_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_show_parenthesizer___closed__2; @@ -1961,7 +1973,6 @@ lean_object* l_Lean_Parser_atomic(lean_object*); static lean_object* l_Lean_Parser_Term_unreachable___closed__5; static lean_object* l_Lean_Parser_Term_trailing__parser_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_dbgTrace_declRange___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__37; static lean_object* l_Lean_Parser_Term_attrInstance___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_declRange___closed__5; static lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__1; @@ -1991,7 +2002,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_type_declRange___closed__3; static lean_object* l_Lean_Parser_Term_sorry___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_binrel_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_declRange___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__42; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_unreachable(lean_object*); static lean_object* l_Lean_Parser_Term_show___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_let__delayed(lean_object*); @@ -2064,6 +2074,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_formatter(lean static lean_object* l_Lean_Parser_Term_attrInstance___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_letRecDecls_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__1; static lean_object* l_Lean_Parser_Term_show___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_quotedName_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_char_declRange___closed__6; @@ -2081,6 +2092,7 @@ static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket_parenthesizer__ static lean_object* l_Lean_Parser_Term_type_formatter___closed__1; static lean_object* l_Lean_Parser_Term_haveEqnsDecl___closed__1; static lean_object* l_Lean_Parser_Term_assert___closed__9; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__34; static lean_object* l_Lean_Parser_Term_clear_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_letEqnsDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_docString___closed__1; @@ -2152,6 +2164,7 @@ static lean_object* l_Lean_Parser_Term_basicFun___closed__13; static lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_formatter___closed__1; static lean_object* l_Lean_Parser_Term_let__tmp___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_scoped; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_completion_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_prop_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2248,9 +2261,10 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_instCoeTSyntaxConsSyntaxNodeKindMkSt static lean_object* l_Lean_Parser_Term_leading__parser_parenthesizer___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_structInst___closed__15; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__21; extern lean_object* l_Lean_Parser_maxPrec; static lean_object* l_Lean_Parser_Term_local_formatter___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__30; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__38; static lean_object* l_Lean_Parser_Term_haveEqnsDecl_formatter___closed__2; static lean_object* l_Lean_Parser_Term_dotIdent___closed__1; static lean_object* l_Lean_Parser_Term_type_formatter___closed__2; @@ -2262,7 +2276,6 @@ static lean_object* l_Lean_Parser_Term_explicit_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_match_parenthesizer___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_motive_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_trailing__parser___closed__8; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__28; static lean_object* l_Lean_Parser_Term_sort_formatter___closed__1; static lean_object* l_Lean_Parser_Term_let__delayed___closed__2; lean_object* l_Lean_Parser_strLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2285,7 +2298,6 @@ static lean_object* l_Lean_Parser_Term_fromTerm___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_assert_declRange___closed__6; static lean_object* l_Lean_Parser_Term_forInMacro_formatter___closed__2; static lean_object* l_Lean_Parser_Term_dynamicQuot___closed__10; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__18; static lean_object* l_Lean_Parser_Term_letEqnsDecl_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_syntheticHole___closed__2; static lean_object* l_Lean_Parser_Term_prop_parenthesizer___closed__3; @@ -2294,7 +2306,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro_parenthesizer___c static lean_object* l___regBuiltin_Lean_Parser_Term_inaccessible_docString___closed__1; static lean_object* l_Lean_Parser_Term_app_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_letrec_declRange___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__5; static lean_object* l_Lean_Parser_Tactic_quot___closed__6; static lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Tactic_seq1___closed__5; @@ -2358,7 +2369,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_binop__lazy_declRange___clos static lean_object* l_Lean_Parser_Term_paren_formatter___closed__4; static lean_object* l_Lean_Parser_Term_defaultOrOfNonempty___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_structInst_declRange___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__3; static lean_object* l_Lean_Parser_Term_structInstField___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_sorry_parenthesizer(lean_object*); static lean_object* l_Lean_Parser_Term_pipeProj_parenthesizer___closed__5; @@ -2370,7 +2380,6 @@ static lean_object* l_Lean_Parser_Term_haveEqnsDecl___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_namedArgument; lean_object* l_Lean_Parser_sepByIndent_parenthesizer___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_Parser_Term_sort_docString___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__15; static lean_object* l___regBuiltin_Lean_Parser_Term_type_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Term_implicitBinder(uint8_t); @@ -2386,6 +2395,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_prop_formatter(lean_obj static lean_object* l_Lean_Parser_Term_match___closed__13; static lean_object* l___regBuiltin_Lean_Parser_Term_arrow_declRange___closed__3; static lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__29; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_noImplicitLambda_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_parenthesizer___closed__2; @@ -2445,7 +2455,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_noindex_declRange___closed__ static lean_object* l_Lean_Parser_Term_withDeclName_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_forInMacro_x27___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_declRange___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__2; lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_sufficesDecl_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_tacticParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2507,6 +2516,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_declRange___clo LEAN_EXPORT lean_object* l_Lean_Parser_Term_suffices_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_namedArgument___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_withDeclName_formatter(lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__25; static lean_object* l___regBuiltin_Lean_Parser_Term_panic_declRange___closed__5; lean_object* l_Lean_Parser_incQuotDepth(lean_object*); static lean_object* l_Lean_Parser_Term_structInstField_formatter___closed__4; @@ -2551,6 +2561,7 @@ static lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__5; static lean_object* l_Lean_Parser_Term_type_parenthesizer___closed__11; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_dotIdent(lean_object*); static lean_object* l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_192____closed__23; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__22; static lean_object* l___regBuiltin_Lean_Parser_Term_let__tmp_declRange___closed__5; static lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_inaccessible_parenthesizer___closed__1; @@ -2631,7 +2642,6 @@ static lean_object* l_Lean_Parser_Term_nomatch___closed__6; static lean_object* l_Lean_Parser_Term_attributes___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_whereDecls_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_trailing__parser___closed__10; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__1; static lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__2; static lean_object* l_Lean_Parser_Term_letMVar_parenthesizer___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_declName_parenthesizer___closed__1; @@ -2729,7 +2739,6 @@ static lean_object* l_Lean_Parser_Term_borrowed___closed__7; static lean_object* l_Lean_Parser_Term_generalizingParam___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binderIdent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_declRange___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__17; static lean_object* l_Lean_Parser_Term_tupleTail_formatter___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_str_declRange___closed__6; @@ -2746,7 +2755,6 @@ static lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_letMVar_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_trueVal_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_let__delayed_docString___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__44; static lean_object* l_Lean_Parser_Term_argument_formatter___closed__2; static lean_object* l_Lean_Parser_Term_withDeclName_parenthesizer___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_docString(lean_object*); @@ -2760,7 +2768,6 @@ static lean_object* l_Lean_Parser_Command_docComment_formatter___closed__5; static lean_object* l_Lean_Parser_Term_typeOf_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_str___closed__1; static lean_object* l_Lean_Parser_Term_prop___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_noErrorIfUnused_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_docComment_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_proj___closed__1; @@ -2778,6 +2785,7 @@ static lean_object* l_Lean_Parser_Term_noErrorIfUnused_parenthesizer___closed__1 static lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_structInst_formatter(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_quotedName_declRange___closed__5; +static lean_object* l_Lean_Parser_Term_ellipsis_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_unreachable_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_attrKind_formatter___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__1; @@ -2810,6 +2818,7 @@ static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_91____clo static lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro_declRange___closed__5; static lean_object* l_Lean_Parser_Term_let__delayed_formatter___closed__5; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__33; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented; LEAN_EXPORT lean_object* l_Lean_Parser_Term_binderType_formatter(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__7; @@ -2835,7 +2844,6 @@ static lean_object* l_Lean_Parser_Term_doubleQuotedName___closed__13; static lean_object* l___regBuiltin_Lean_Parser_Term_noindex_declRange___closed__2; static lean_object* l_Lean_Parser_Term_letIdLhs___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_noImplicitLambda_parenthesizer(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__9; static lean_object* l_Lean_Parser_Term_show___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Term_completion; static lean_object* l___regBuiltin_Lean_Parser_Term_char_declRange___closed__3; @@ -2852,7 +2860,6 @@ static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_parenthesizer___clo LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_binderTactic_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_letPatDecl___closed__10; static lean_object* l_Lean_Parser_Term_tupleTail_formatter___closed__5; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__45; static lean_object* l_Lean_Parser_Term_noErrorIfUnused___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Term_have_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_fun_parenthesizer___closed__2; @@ -2870,7 +2877,6 @@ static lean_object* l_Lean_Parser_Term_paren___closed__12; static lean_object* l_Lean_Parser_Term_noindex___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Tactic_tacticSeq1Indented_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_letEqnsDecl_parenthesizer___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__27; static lean_object* l_Lean_Parser_Term_forall___closed__13; static lean_object* l_Lean_Parser_Term_typeAscription___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_waitIfContainsMVar_declRange(lean_object*); @@ -2890,7 +2896,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_motive_parenthesizer(le static lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_motive_parenthesizer___closed__4; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__40; static lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__3; static lean_object* l_Lean_Parser_Term_haveEqnsDecl___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_waitIfTypeContainsMVar_declRange___closed__2; @@ -2942,11 +2947,13 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_typeAscription_parenthe static lean_object* l_Lean_Parser_Term_let_formatter___closed__4; static lean_object* l_Lean_Parser_Term_waitIfTypeContainsMVar_formatter___closed__4; static lean_object* l_Lean_Parser_Term_binrel__no__prop_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__14; static lean_object* l___regBuiltin_Lean_Parser_Term_letMVar_declRange___closed__1; static lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__1; static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_91____closed__15; static lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_clear_declRange___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__28; lean_object* l_Lean_Parser_sepBy1Indent_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_inaccessible_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_waitIfTypeMVar___closed__4; @@ -2957,10 +2964,10 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_falseVal_parenthesizer___clo static lean_object* l___regBuiltin_Lean_Parser_Term_let_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_noErrorIfUnused_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_clear_formatter___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__5; static lean_object* l_Lean_Parser_Term_namedArgument___closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Term_fromTerm_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Tactic_quotSeq_declRange___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_docString___closed__1; static lean_object* l_Lean_Parser_Term_withDeclName_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_noImplicitLambda___closed__8; @@ -3062,6 +3069,7 @@ static lean_object* l_Lean_Parser_Term_binderTactic___closed__8; static lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__4; static lean_object* l_Lean_Parser_Term_motive___closed__6; static lean_object* l_Lean_Parser_Term_match_formatter___closed__2; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__3; static lean_object* l_Lean_Parser_Term_anonymousCtor_formatter___closed__6; static lean_object* l_Lean_Parser_Term_noErrorIfUnused___closed__5; static lean_object* l_Lean_Parser_Term_strictImplicitLeftBracket___closed__5; @@ -3101,7 +3109,6 @@ static lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_matchAlt___closed__4; static lean_object* l_Lean_Parser_Term_have___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Term_app; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__6; static lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_binrel__no__prop_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_cdot_declRange___closed__6; @@ -3198,6 +3205,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Term_optEllipsis_formatter(lean_object*, static lean_object* l_Lean_Parser_Term_let__delayed___closed__3; static lean_object* l_Lean_Parser_Term_sort___closed__6; static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__37; static lean_object* l_Lean_Parser_Command_docComment_formatter___closed__3; static lean_object* l_Lean_Parser_Term_waitIfTypeMVar___closed__8; static lean_object* l_Lean_Parser_Term_structInstLVal___closed__1; @@ -3240,6 +3248,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_letrec_declRange___closed__3 static lean_object* l___regBuiltin_Lean_Parser_Term_trailing__parser_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_ensureTypeOf_declRange___closed__6; static lean_object* l_Lean_Parser_Term_unop_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__42; static lean_object* l_Lean_Parser_Term_instBinder___closed__8; static lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_optEllipsis_parenthesizer___closed__2; @@ -3289,8 +3298,6 @@ static lean_object* l_Lean_Parser_Term_arrow_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Term_anonymousCtor; static lean_object* l_Lean_Parser_Term_stateRefT___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_noErrorIfUnused_declRange___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__41; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__13; static lean_object* l_Lean_Parser_Term_forall___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Term_unreachable_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_explicitUniv_parenthesizer(lean_object*); @@ -3386,7 +3393,6 @@ static lean_object* l_Lean_Parser_Term_borrowed___closed__3; static lean_object* l_Lean_Parser_Term_instBinder___closed__9; static lean_object* l_Lean_Parser_Term_falseVal___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_quotedName_declRange___closed__6; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__34; static lean_object* l_Lean_Parser_Term_depArrow___closed__6; static lean_object* l_Lean_Parser_Term_paren_formatter___closed__12; static lean_object* l_Lean_Parser_Term_sorry_parenthesizer___closed__2; @@ -3494,6 +3500,7 @@ static lean_object* l_Lean_Parser_Tactic_quot_formatter___closed__2; static lean_object* l_Lean_Parser_Term_strictImplicitBinder___closed__3; static lean_object* l_Lean_Parser_Term_dynamicQuot_formatter___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Term_paren_declRange___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__18; static lean_object* l_Lean_Parser_Term_str___closed__1; static lean_object* l_Lean_Parser_Term_fun___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Command_docComment; @@ -3520,12 +3527,11 @@ static lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_x27_formatter___closed__1; static lean_object* l_Lean_Parser_Term_have___closed__4; static lean_object* l_Lean_Parser_Term_waitIfTypeContainsMVar___closed__8; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__21; static lean_object* l_Lean_Parser_Term_waitIfContainsMVar___closed__7; static lean_object* l_Lean_Parser_Term_pipeProj_formatter___closed__4; static lean_object* l_Lean_Parser_Term_structInst___closed__21; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__38; static lean_object* l_Lean_Parser_Term_anonymousCtor___closed__10; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__30; static lean_object* l___regBuiltin_Lean_Parser_Term_scientific_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_unop_declRange___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer(lean_object*); @@ -3537,6 +3543,7 @@ static lean_object* l_Lean_Parser_Term_explicitUniv_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_docComment_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_letIdDecl___closed__5; static lean_object* l_Lean_Parser_Term_match___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__15; static lean_object* l_Lean_Parser_Term_falseVal___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_suffices_declRange___closed__3; @@ -3597,6 +3604,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_binop_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_assert_declRange___closed__7; static lean_object* l_Lean_Parser_Term_attrKind_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_namedPattern_formatter___closed__4; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__24; static lean_object* l_Lean_Parser_Term_match___closed__8; static lean_object* l_Lean_Parser_Term_basicFun_formatter___closed__8; static lean_object* l_Lean_Parser_Term_waitIfTypeMVar_parenthesizer___closed__1; @@ -3620,7 +3628,7 @@ static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_91____clo LEAN_EXPORT lean_object* l_Lean_Parser_Command_commentBody_parenthesizer(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_quotedName_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_strictImplicitRightBracket_parenthesizer___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__23; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__7; static lean_object* l_Lean_Parser_Term_doubleQuotedName___closed__8; static lean_object* l_Lean_Parser_Term_macroDollarArg_formatter___closed__3; static lean_object* l_Lean_Parser_Term_structInst_formatter___closed__18; @@ -3828,7 +3836,9 @@ static lean_object* l_Lean_Parser_Term_panic_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_typeAscription_formatter___closed__1; lean_object* l_Lean_Parser_levelParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__1; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__10; static lean_object* l_Lean_Parser_Command_commentBody___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__32; static lean_object* l_Lean_Parser_Term_doubleQuotedName___closed__9; static lean_object* l_Lean_Parser_Term_letRecDecl_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___closed__3; @@ -3949,7 +3959,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_explicit_declRange___closed_ static lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_borrowed_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_cdot_declRange___closed__3; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__31; static lean_object* l_Lean_Parser_Term_matchAlts___closed__1; static lean_object* l_Lean_Parser_Term_forInMacro___closed__1; static lean_object* l_Lean_Parser_Term_namedPattern_parenthesizer___closed__6; @@ -4042,9 +4051,11 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_have_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_str_declRange___closed__7; static lean_object* l_Lean_Parser_Term_withDeclName___closed__6; static lean_object* l_Lean_Parser_Term_withAnonymousAntiquot___closed__6; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__43; static lean_object* l_Lean_Parser_Term_structInstField_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_basicFun_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_sort_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Term_ellipsis___closed__6; static lean_object* l_Lean_Parser_Term_let__delayed_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_basicFun_formatter___closed__2; static lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__2; @@ -4105,6 +4116,7 @@ static lean_object* l_Lean_Parser_Term_withDeclName___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_namedArgument_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_haveDecl___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_withAnonymousAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__20; static lean_object* l_Lean_Parser_Term_have_formatter___closed__4; static lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_let__fun___closed__9; @@ -4219,7 +4231,6 @@ static lean_object* l_Lean_Parser_Term_leading__parser___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_namedPattern_declRange___closed__2; static lean_object* l_Lean_Parser_Term_noErrorIfUnused_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_defaultOrOfNonempty_declRange___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__12; static lean_object* l_Lean_Parser_Term_noindex___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Term_clear_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Term_pipeProj_declRange___closed__7; @@ -4245,7 +4256,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_unreachable_formatter___clos static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_paren_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__26; static lean_object* l___regBuiltin_Lean_Parser_Term_let__fun_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_waitIfTypeMVar_declRange___closed__5; static lean_object* l_Lean_Parser_Term_letrec___closed__6; @@ -4354,7 +4364,6 @@ static lean_object* l_Lean_Parser_Term_funStrictImplicitBinder_formatter___close static lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_forInMacro_x27_declRange___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_explicitUniv_docString(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__11; static lean_object* l_Lean_Parser_Term_byTactic_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Term_tupleTail___closed__4; static lean_object* l_Lean_Parser_Term_argument___closed__1; @@ -4433,7 +4442,6 @@ static lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_sort_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_sufficesDecl___closed__4; static lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__1; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__35; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_leading__parser_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__6; static lean_object* l_Lean_Parser_Term_letDecl___closed__5; @@ -4521,7 +4529,7 @@ static lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Term_sorry_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_91_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545_(lean_object*); static lean_object* l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_192____closed__9; static lean_object* l_Lean_Parser_Term_doubleQuotedName___closed__7; static lean_object* l_Lean_Parser_Term_structInstFieldAbbrev_formatter___closed__4; @@ -4552,7 +4560,6 @@ static lean_object* l_Lean_Parser_Term_macroDollarArg_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_strictImplicitBinder(uint8_t); static lean_object* l_Lean_Parser_Term_dbgTrace___closed__7; static lean_object* l_Lean_Parser_Term_letRecDecls___closed__2; -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__36; static lean_object* l_Lean_Parser_Term_scoped___closed__1; static lean_object* l_Lean_Parser_Term_letrec_formatter___closed__2; static lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__7; @@ -4616,7 +4623,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_dotIdent_formatter___closed_ static lean_object* l_Lean_Parser_Term_namedPattern_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Term_macroLastArg_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_num_declRange(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__19; static lean_object* l_Lean_Parser_Term_waitIfTypeMVar_formatter___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_cdot_declRange(lean_object*); lean_object* l_Lean_Parser_nameLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4636,7 +4642,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_quotedName_declRange___close LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_tupleTail_formatter(lean_object*); static lean_object* l_Lean_Parser_Term_funBinder___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_waitIfTypeMVar(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__39; static lean_object* l_Lean_Parser_Term_binrel_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Term_match___closed__12; static lean_object* l___regBuiltin_Lean_Parser_Term_haveDecl_formatter___closed__2; @@ -4719,6 +4724,7 @@ static lean_object* l_Lean_Parser_Term_instBinder___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Tactic_quotSeq_declRange___closed__7; static lean_object* l_Lean_Parser_Term_dynamicQuot___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_leading__parser_declRange___closed__5; +static lean_object* l_Lean_Parser_Term_ellipsis_formatter___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_completion_declRange___closed__2; static lean_object* l_Lean_Parser_Term_let__fun_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Term_motive___closed__4; @@ -4736,6 +4742,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_binrel__no__prop_declRa LEAN_EXPORT lean_object* l_Lean_Parser_Command_commentBody; lean_object* l_Lean_PrettyPrinter_Formatter_andthen_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_let__delayed_declRange___closed__7; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__16; LEAN_EXPORT lean_object* l_Lean_Parser_Term_noErrorIfUnused_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_forall_formatter___closed__9; static lean_object* l_Lean_Parser_Term_withDeclName___closed__2; @@ -48632,20 +48639,48 @@ return x_4; static lean_object* _init_l_Lean_Parser_Term_ellipsis___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_ellipsis___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_optEllipsis___closed__5; -x_4 = l_Lean_Parser_leadingNode(x_1, x_2, x_3); -return x_4; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("`.` immediately after `..`", 26); +return x_1; } } static lean_object* _init_l_Lean_Parser_Term_ellipsis___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_ellipsis___closed__3; +x_1 = l_Lean_Parser_Term_cdot___closed__7; x_2 = l_Lean_Parser_Term_ellipsis___closed__4; +x_3 = l_Lean_Parser_notFollowedBy(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_ellipsis___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_optEllipsis___closed__5; +x_2 = l_Lean_Parser_Term_ellipsis___closed__5; +x_3 = l_Lean_Parser_andthen(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_ellipsis___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_ellipsis___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Term_ellipsis___closed__6; +x_4 = l_Lean_Parser_leadingNode(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_ellipsis___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_ellipsis___closed__3; +x_2 = l_Lean_Parser_Term_ellipsis___closed__7; x_3 = l_Lean_Parser_withAntiquot(x_1, x_2); return x_3; } @@ -48654,7 +48689,7 @@ static lean_object* _init_l_Lean_Parser_Term_ellipsis() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_ellipsis___closed__5; +x_1 = l_Lean_Parser_Term_ellipsis___closed__8; return x_1; } } @@ -48815,7 +48850,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_app_declRange___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(558u); +x_1 = lean_unsigned_to_nat(559u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -48827,7 +48862,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_app_declRange___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(558u); +x_1 = lean_unsigned_to_nat(559u); x_2 = lean_unsigned_to_nat(81u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -48855,7 +48890,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_app_declRange___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(558u); +x_1 = lean_unsigned_to_nat(559u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -48867,7 +48902,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_app_declRange___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(558u); +x_1 = lean_unsigned_to_nat(559u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -49053,10 +49088,32 @@ return x_6; static lean_object* _init_l_Lean_Parser_Term_ellipsis_formatter___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_cdot_formatter___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_notFollowedBy_formatter___boxed), 5, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_ellipsis_formatter___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_optEllipsis_formatter___closed__2; +x_2 = l_Lean_Parser_Term_ellipsis_formatter___closed__2; +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_Term_ellipsis_formatter___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_ellipsis___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_optEllipsis_formatter___closed__2; +x_3 = l_Lean_Parser_Term_ellipsis_formatter___closed__3; 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); @@ -49069,7 +49126,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_ellipsis_formatter___closed__1; -x_7 = l_Lean_Parser_Term_ellipsis_formatter___closed__2; +x_7 = l_Lean_Parser_Term_ellipsis_formatter___closed__4; 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; } @@ -49356,10 +49413,32 @@ return x_6; static lean_object* _init_l_Lean_Parser_Term_ellipsis_parenthesizer___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_cdot_parenthesizer___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer___boxed), 5, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_ellipsis_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_optEllipsis_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Term_ellipsis_parenthesizer___closed__2; +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_Term_ellipsis_parenthesizer___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_ellipsis___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_optEllipsis_parenthesizer___closed__2; +x_3 = l_Lean_Parser_Term_ellipsis_parenthesizer___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -49372,7 +49451,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_ellipsis_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_ellipsis_parenthesizer___closed__2; +x_7 = l_Lean_Parser_Term_ellipsis_parenthesizer___closed__4; x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -49644,7 +49723,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_proj_declRange___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(572u); +x_1 = lean_unsigned_to_nat(573u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -49656,7 +49735,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_proj_declRange___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(573u); +x_1 = lean_unsigned_to_nat(574u); x_2 = lean_unsigned_to_nat(70u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -49684,7 +49763,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_proj_declRange___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(572u); +x_1 = lean_unsigned_to_nat(573u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -49696,7 +49775,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_proj_declRange___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(572u); +x_1 = lean_unsigned_to_nat(573u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50011,7 +50090,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_completion_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(574u); +x_1 = lean_unsigned_to_nat(575u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50023,7 +50102,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_completion_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(575u); +x_1 = lean_unsigned_to_nat(576u); x_2 = lean_unsigned_to_nat(24u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50051,7 +50130,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_completion_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(574u); +x_1 = lean_unsigned_to_nat(575u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50063,7 +50142,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_completion_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(574u); +x_1 = lean_unsigned_to_nat(575u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50318,7 +50397,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_arrow_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(576u); +x_1 = lean_unsigned_to_nat(577u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50330,7 +50409,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_arrow_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(577u); +x_1 = lean_unsigned_to_nat(578u); x_2 = lean_unsigned_to_nat(61u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50358,7 +50437,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_arrow_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(576u); +x_1 = lean_unsigned_to_nat(577u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50370,7 +50449,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_arrow_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(576u); +x_1 = lean_unsigned_to_nat(577u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50788,7 +50867,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_explicitUniv_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(584u); +x_1 = lean_unsigned_to_nat(585u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50800,7 +50879,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_explicitUniv_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(587u); +x_1 = lean_unsigned_to_nat(588u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50828,7 +50907,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_explicitUniv_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(584u); +x_1 = lean_unsigned_to_nat(585u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -50840,7 +50919,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_explicitUniv_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(584u); +x_1 = lean_unsigned_to_nat(585u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51312,7 +51391,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_namedPattern_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(589u); +x_1 = lean_unsigned_to_nat(590u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51324,7 +51403,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_namedPattern_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(592u); +x_1 = lean_unsigned_to_nat(593u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51352,7 +51431,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_namedPattern_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(589u); +x_1 = lean_unsigned_to_nat(590u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51364,7 +51443,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_namedPattern_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(589u); +x_1 = lean_unsigned_to_nat(590u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51791,7 +51870,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeProj_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(598u); +x_1 = lean_unsigned_to_nat(599u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51803,7 +51882,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeProj_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(599u); +x_1 = lean_unsigned_to_nat(600u); x_2 = lean_unsigned_to_nat(71u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51831,7 +51910,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeProj_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(598u); +x_1 = lean_unsigned_to_nat(599u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -51843,7 +51922,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeProj_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(598u); +x_1 = lean_unsigned_to_nat(599u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52148,7 +52227,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(600u); +x_1 = lean_unsigned_to_nat(601u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52160,7 +52239,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(601u); +x_1 = lean_unsigned_to_nat(602u); x_2 = lean_unsigned_to_nat(8u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52188,7 +52267,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(600u); +x_1 = lean_unsigned_to_nat(601u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52200,7 +52279,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_pipeCompletion_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(600u); +x_1 = lean_unsigned_to_nat(601u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52459,7 +52538,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_subst_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(611u); +x_1 = lean_unsigned_to_nat(612u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52471,7 +52550,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_subst_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(612u); +x_1 = lean_unsigned_to_nat(613u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52499,7 +52578,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_subst_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(611u); +x_1 = lean_unsigned_to_nat(612u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52511,7 +52590,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_subst_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(611u); +x_1 = lean_unsigned_to_nat(612u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52882,7 +52961,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_panic_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(625u); +x_1 = lean_unsigned_to_nat(626u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52894,7 +52973,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_panic_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(626u); +x_1 = lean_unsigned_to_nat(627u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52922,7 +53001,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_panic_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(625u); +x_1 = lean_unsigned_to_nat(626u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -52934,7 +53013,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_panic_declRange___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(625u); +x_1 = lean_unsigned_to_nat(626u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53287,7 +53366,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unreachable_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(628u); +x_1 = lean_unsigned_to_nat(629u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53299,7 +53378,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unreachable_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(629u); +x_1 = lean_unsigned_to_nat(630u); x_2 = lean_unsigned_to_nat(16u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53327,7 +53406,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unreachable_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(628u); +x_1 = lean_unsigned_to_nat(629u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53339,7 +53418,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_unreachable_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(628u); +x_1 = lean_unsigned_to_nat(629u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53716,7 +53795,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dbgTrace_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(634u); +x_1 = lean_unsigned_to_nat(635u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53728,7 +53807,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dbgTrace_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(636u); +x_1 = lean_unsigned_to_nat(637u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53756,7 +53835,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dbgTrace_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(634u); +x_1 = lean_unsigned_to_nat(635u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -53768,7 +53847,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dbgTrace_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(634u); +x_1 = lean_unsigned_to_nat(635u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54238,7 +54317,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_assert_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(638u); +x_1 = lean_unsigned_to_nat(639u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54250,7 +54329,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_assert_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(639u); +x_1 = lean_unsigned_to_nat(640u); x_2 = lean_unsigned_to_nat(68u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54278,7 +54357,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_assert_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(638u); +x_1 = lean_unsigned_to_nat(639u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54290,7 +54369,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_assert_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(638u); +x_1 = lean_unsigned_to_nat(639u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54812,7 +54891,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_stateRefT_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(647u); +x_1 = lean_unsigned_to_nat(648u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54824,7 +54903,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_stateRefT_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(648u); +x_1 = lean_unsigned_to_nat(649u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54852,7 +54931,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_stateRefT_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(647u); +x_1 = lean_unsigned_to_nat(648u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -54864,7 +54943,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_stateRefT_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(647u); +x_1 = lean_unsigned_to_nat(648u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -55564,7 +55643,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dynamicQuot_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(650u); +x_1 = lean_unsigned_to_nat(651u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -55576,7 +55655,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dynamicQuot_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(651u); +x_1 = lean_unsigned_to_nat(652u); x_2 = lean_unsigned_to_nat(81u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -55604,7 +55683,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dynamicQuot_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(650u); +x_1 = lean_unsigned_to_nat(651u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -55616,7 +55695,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dynamicQuot_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(650u); +x_1 = lean_unsigned_to_nat(651u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56090,7 +56169,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(653u); +x_1 = lean_unsigned_to_nat(654u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56102,7 +56181,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(654u); +x_1 = lean_unsigned_to_nat(655u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56130,7 +56209,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(653u); +x_1 = lean_unsigned_to_nat(654u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56142,7 +56221,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Term_dotIdent_declRange___c _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(653u); +x_1 = lean_unsigned_to_nat(654u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56519,7 +56598,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quot_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(658u); +x_1 = lean_unsigned_to_nat(659u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56531,7 +56610,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quot_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(659u); +x_1 = lean_unsigned_to_nat(660u); x_2 = lean_unsigned_to_nat(67u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56559,7 +56638,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quot_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(658u); +x_1 = lean_unsigned_to_nat(659u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56571,7 +56650,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quot_declRange___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(658u); +x_1 = lean_unsigned_to_nat(659u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -56991,7 +57070,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quotSeq_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(660u); +x_1 = lean_unsigned_to_nat(661u); x_2 = lean_unsigned_to_nat(23u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -57003,7 +57082,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quotSeq_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(661u); +x_1 = lean_unsigned_to_nat(662u); x_2 = lean_unsigned_to_nat(66u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -57031,7 +57110,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quotSeq_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(660u); +x_1 = lean_unsigned_to_nat(661u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -57043,7 +57122,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Tactic_quotSeq_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(660u); +x_1 = lean_unsigned_to_nat(661u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -57467,7 +57546,7 @@ 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_initFn____x40_Lean_Parser_Term___hyg_4537____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -57477,7 +57556,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -57487,7 +57566,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -57497,7 +57576,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -57507,7 +57586,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -57517,7 +57596,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -57527,7 +57606,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -57537,7 +57616,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -57547,7 +57626,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__9() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -57557,7 +57636,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__10() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -57567,7 +57646,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__11() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -57577,7 +57656,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__12() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -57587,7 +57666,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__13() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -57597,7 +57676,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__14() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -57607,7 +57686,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__15() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -57617,7 +57696,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__16() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -57627,7 +57706,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__17() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -57637,7 +57716,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__18() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -57647,7 +57726,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__19() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -57657,7 +57736,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__20() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__20() { _start: { lean_object* x_1; lean_object* x_2; @@ -57667,7 +57746,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__21() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -57677,7 +57756,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__22() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -57687,7 +57766,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__23() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -57697,7 +57776,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__24() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -57707,7 +57786,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__25() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__25() { _start: { lean_object* x_1; lean_object* x_2; @@ -57717,7 +57796,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__26() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -57727,7 +57806,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__27() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -57737,7 +57816,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__28() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -57747,7 +57826,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__29() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__29() { _start: { lean_object* x_1; lean_object* x_2; @@ -57757,7 +57836,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__30() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__30() { _start: { lean_object* x_1; lean_object* x_2; @@ -57767,7 +57846,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__31() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -57777,7 +57856,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__32() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__32() { _start: { lean_object* x_1; lean_object* x_2; @@ -57787,7 +57866,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__33() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__33() { _start: { lean_object* x_1; lean_object* x_2; @@ -57797,7 +57876,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__34() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__34() { _start: { lean_object* x_1; lean_object* x_2; @@ -57807,7 +57886,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__35() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__35() { _start: { lean_object* x_1; lean_object* x_2; @@ -57817,7 +57896,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__36() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__36() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -57827,7 +57906,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__37() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__37() { _start: { lean_object* x_1; lean_object* x_2; @@ -57837,7 +57916,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__38() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__38() { _start: { lean_object* x_1; lean_object* x_2; @@ -57847,7 +57926,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__39() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__39() { _start: { lean_object* x_1; lean_object* x_2; @@ -57857,7 +57936,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__40() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__40() { _start: { lean_object* x_1; lean_object* x_2; @@ -57867,7 +57946,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__41() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -57877,7 +57956,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__42() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__42() { _start: { lean_object* x_1; lean_object* x_2; @@ -57887,7 +57966,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__43() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__43() { _start: { lean_object* x_1; lean_object* x_2; @@ -57897,7 +57976,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__44() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__44() { _start: { lean_object* x_1; lean_object* x_2; @@ -57907,7 +57986,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__45() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__45() { _start: { lean_object* x_1; lean_object* x_2; @@ -57917,14 +57996,14 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545_(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; lean_object* x_7; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__1; x_3 = l_Lean_Parser_Term_letDecl___closed__2; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__2; -x_5 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__3; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__2; +x_5 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__3; x_6 = l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_192____closed__9; x_7 = l_Lean_Parser_registerAlias(x_2, x_3, x_4, x_5, x_6, x_1); if (lean_obj_tag(x_7) == 0) @@ -57934,7 +58013,7 @@ x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); x_9 = l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_192____closed__12; -x_10 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__4; +x_10 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__4; x_11 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_2, x_10, x_8); if (lean_obj_tag(x_11) == 0) { @@ -57943,7 +58022,7 @@ x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); lean_dec(x_11); x_13 = l_Lean_Parser_Tactic_initFn____x40_Lean_Parser_Term___hyg_192____closed__15; -x_14 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__5; +x_14 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__5; x_15 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_2, x_14, x_12); if (lean_obj_tag(x_15) == 0) { @@ -57951,10 +58030,10 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); lean_dec(x_15); -x_17 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__6; +x_17 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__6; x_18 = l_Lean_Parser_Term_haveDecl___closed__2; -x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__7; -x_20 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__8; +x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__7; +x_20 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__8; x_21 = l_Lean_Parser_registerAlias(x_17, x_18, x_19, x_20, x_6, x_16); if (lean_obj_tag(x_21) == 0) { @@ -57962,7 +58041,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); lean_dec(x_21); -x_23 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__9; +x_23 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__9; x_24 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_17, x_23, x_22); if (lean_obj_tag(x_24) == 0) { @@ -57970,7 +58049,7 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); -x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__10; +x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__10; x_27 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_17, x_26, x_25); if (lean_obj_tag(x_27) == 0) { @@ -57978,10 +58057,10 @@ lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__11; +x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__11; x_30 = l_Lean_Parser_Term_sufficesDecl___closed__2; -x_31 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__12; -x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__13; +x_31 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__12; +x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__13; x_33 = l_Lean_Parser_registerAlias(x_29, x_30, x_31, x_32, x_6, x_28); if (lean_obj_tag(x_33) == 0) { @@ -57989,7 +58068,7 @@ lean_object* x_34; lean_object* x_35; lean_object* x_36; x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); -x_35 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__14; +x_35 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__14; x_36 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_29, x_35, x_34); if (lean_obj_tag(x_36) == 0) { @@ -57997,7 +58076,7 @@ lean_object* x_37; lean_object* x_38; lean_object* x_39; x_37 = lean_ctor_get(x_36, 1); lean_inc(x_37); lean_dec(x_36); -x_38 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__15; +x_38 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__15; x_39 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_29, x_38, x_37); if (lean_obj_tag(x_39) == 0) { @@ -58005,10 +58084,10 @@ lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean x_40 = lean_ctor_get(x_39, 1); lean_inc(x_40); lean_dec(x_39); -x_41 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__16; +x_41 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__16; x_42 = l_Lean_Parser_Term_letRecDecls___closed__2; -x_43 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__17; -x_44 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__18; +x_43 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__17; +x_44 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__18; x_45 = l_Lean_Parser_registerAlias(x_41, x_42, x_43, x_44, x_6, x_40); if (lean_obj_tag(x_45) == 0) { @@ -58016,7 +58095,7 @@ lean_object* x_46; lean_object* x_47; lean_object* x_48; x_46 = lean_ctor_get(x_45, 1); lean_inc(x_46); lean_dec(x_45); -x_47 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__19; +x_47 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__19; x_48 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_41, x_47, x_46); if (lean_obj_tag(x_48) == 0) { @@ -58024,7 +58103,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; x_49 = lean_ctor_get(x_48, 1); lean_inc(x_49); lean_dec(x_48); -x_50 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__20; +x_50 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__20; x_51 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_41, x_50, x_49); if (lean_obj_tag(x_51) == 0) { @@ -58032,10 +58111,10 @@ lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean x_52 = lean_ctor_get(x_51, 1); lean_inc(x_52); lean_dec(x_51); -x_53 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__21; +x_53 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__21; x_54 = l_Lean_Parser_Term_hole___closed__2; -x_55 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__22; -x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__23; +x_55 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__22; +x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__23; x_57 = l_Lean_Parser_registerAlias(x_53, x_54, x_55, x_56, x_6, x_52); if (lean_obj_tag(x_57) == 0) { @@ -58043,7 +58122,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__24; +x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__24; x_60 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_53, x_59, x_58); if (lean_obj_tag(x_60) == 0) { @@ -58051,7 +58130,7 @@ lean_object* x_61; lean_object* x_62; lean_object* x_63; x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); lean_dec(x_60); -x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__25; +x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__25; x_63 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_53, x_62, x_61); if (lean_obj_tag(x_63) == 0) { @@ -58059,10 +58138,10 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); lean_dec(x_63); -x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__26; +x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__26; x_66 = l_Lean_Parser_Term_syntheticHole___closed__2; -x_67 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__27; -x_68 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__28; +x_67 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__27; +x_68 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__28; x_69 = l_Lean_Parser_registerAlias(x_65, x_66, x_67, x_68, x_6, x_64); if (lean_obj_tag(x_69) == 0) { @@ -58070,7 +58149,7 @@ lean_object* x_70; lean_object* x_71; lean_object* x_72; x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); lean_dec(x_69); -x_71 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__29; +x_71 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__29; x_72 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_65, x_71, x_70); if (lean_obj_tag(x_72) == 0) { @@ -58078,7 +58157,7 @@ lean_object* x_73; lean_object* x_74; lean_object* x_75; x_73 = lean_ctor_get(x_72, 1); lean_inc(x_73); lean_dec(x_72); -x_74 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__30; +x_74 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__30; x_75 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_65, x_74, x_73); if (lean_obj_tag(x_75) == 0) { @@ -58086,10 +58165,10 @@ lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean x_76 = lean_ctor_get(x_75, 1); lean_inc(x_76); lean_dec(x_75); -x_77 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__31; +x_77 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__31; x_78 = l_Lean_Parser_Term_matchDiscr___closed__2; -x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__32; -x_80 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__33; +x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__32; +x_80 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__33; x_81 = l_Lean_Parser_registerAlias(x_77, x_78, x_79, x_80, x_6, x_76); if (lean_obj_tag(x_81) == 0) { @@ -58097,7 +58176,7 @@ lean_object* x_82; lean_object* x_83; lean_object* x_84; x_82 = lean_ctor_get(x_81, 1); lean_inc(x_82); lean_dec(x_81); -x_83 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__34; +x_83 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__34; x_84 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_77, x_83, x_82); if (lean_obj_tag(x_84) == 0) { @@ -58105,7 +58184,7 @@ lean_object* x_85; lean_object* x_86; lean_object* x_87; x_85 = lean_ctor_get(x_84, 1); lean_inc(x_85); lean_dec(x_84); -x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__35; +x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__35; x_87 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_77, x_86, x_85); if (lean_obj_tag(x_87) == 0) { @@ -58113,10 +58192,10 @@ lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean x_88 = lean_ctor_get(x_87, 1); lean_inc(x_88); lean_dec(x_87); -x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__36; +x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__36; x_90 = l_Lean_Parser_Term_bracketedBinder___closed__2; -x_91 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__37; -x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__38; +x_91 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__37; +x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__38; x_93 = l_Lean_Parser_registerAlias(x_89, x_90, x_91, x_92, x_6, x_88); if (lean_obj_tag(x_93) == 0) { @@ -58124,7 +58203,7 @@ lean_object* x_94; lean_object* x_95; lean_object* x_96; x_94 = lean_ctor_get(x_93, 1); lean_inc(x_94); lean_dec(x_93); -x_95 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__39; +x_95 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__39; x_96 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_89, x_95, x_94); if (lean_obj_tag(x_96) == 0) { @@ -58132,7 +58211,7 @@ lean_object* x_97; lean_object* x_98; lean_object* x_99; x_97 = lean_ctor_get(x_96, 1); lean_inc(x_97); lean_dec(x_96); -x_98 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__40; +x_98 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__40; x_99 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_89, x_98, x_97); if (lean_obj_tag(x_99) == 0) { @@ -58140,10 +58219,10 @@ lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; x_100 = lean_ctor_get(x_99, 1); lean_inc(x_100); lean_dec(x_99); -x_101 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__41; +x_101 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__41; x_102 = l_Lean_Parser_Term_attrKind___closed__2; -x_103 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__42; -x_104 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__43; +x_103 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__42; +x_104 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__43; x_105 = l_Lean_Parser_registerAlias(x_101, x_102, x_103, x_104, x_6, x_100); if (lean_obj_tag(x_105) == 0) { @@ -58151,7 +58230,7 @@ lean_object* x_106; lean_object* x_107; lean_object* x_108; x_106 = lean_ctor_get(x_105, 1); lean_inc(x_106); lean_dec(x_105); -x_107 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__44; +x_107 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__44; x_108 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_101, x_107, x_106); if (lean_obj_tag(x_108) == 0) { @@ -58159,7 +58238,7 @@ lean_object* x_109; lean_object* x_110; lean_object* x_111; x_109 = lean_ctor_get(x_108, 1); lean_inc(x_109); lean_dec(x_108); -x_110 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__45; +x_110 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__45; x_111 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_101, x_110, x_109); return x_111; } @@ -66224,6 +66303,12 @@ l_Lean_Parser_Term_ellipsis___closed__4 = _init_l_Lean_Parser_Term_ellipsis___cl lean_mark_persistent(l_Lean_Parser_Term_ellipsis___closed__4); l_Lean_Parser_Term_ellipsis___closed__5 = _init_l_Lean_Parser_Term_ellipsis___closed__5(); lean_mark_persistent(l_Lean_Parser_Term_ellipsis___closed__5); +l_Lean_Parser_Term_ellipsis___closed__6 = _init_l_Lean_Parser_Term_ellipsis___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_ellipsis___closed__6); +l_Lean_Parser_Term_ellipsis___closed__7 = _init_l_Lean_Parser_Term_ellipsis___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_ellipsis___closed__7); +l_Lean_Parser_Term_ellipsis___closed__8 = _init_l_Lean_Parser_Term_ellipsis___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_ellipsis___closed__8); l_Lean_Parser_Term_ellipsis = _init_l_Lean_Parser_Term_ellipsis(); lean_mark_persistent(l_Lean_Parser_Term_ellipsis); l_Lean_Parser_Term_argument___closed__1 = _init_l_Lean_Parser_Term_argument___closed__1(); @@ -66299,6 +66384,10 @@ l_Lean_Parser_Term_ellipsis_formatter___closed__1 = _init_l_Lean_Parser_Term_ell lean_mark_persistent(l_Lean_Parser_Term_ellipsis_formatter___closed__1); l_Lean_Parser_Term_ellipsis_formatter___closed__2 = _init_l_Lean_Parser_Term_ellipsis_formatter___closed__2(); lean_mark_persistent(l_Lean_Parser_Term_ellipsis_formatter___closed__2); +l_Lean_Parser_Term_ellipsis_formatter___closed__3 = _init_l_Lean_Parser_Term_ellipsis_formatter___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_ellipsis_formatter___closed__3); +l_Lean_Parser_Term_ellipsis_formatter___closed__4 = _init_l_Lean_Parser_Term_ellipsis_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_ellipsis_formatter___closed__4); l___regBuiltin_Lean_Parser_Term_ellipsis_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_ellipsis_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_ellipsis_formatter___closed__1); l___regBuiltin_Lean_Parser_Term_ellipsis_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_ellipsis_formatter___closed__2(); @@ -66346,6 +66435,10 @@ l_Lean_Parser_Term_ellipsis_parenthesizer___closed__1 = _init_l_Lean_Parser_Term lean_mark_persistent(l_Lean_Parser_Term_ellipsis_parenthesizer___closed__1); l_Lean_Parser_Term_ellipsis_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_ellipsis_parenthesizer___closed__2(); lean_mark_persistent(l_Lean_Parser_Term_ellipsis_parenthesizer___closed__2); +l_Lean_Parser_Term_ellipsis_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_ellipsis_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_ellipsis_parenthesizer___closed__3); +l_Lean_Parser_Term_ellipsis_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_ellipsis_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_ellipsis_parenthesizer___closed__4); l___regBuiltin_Lean_Parser_Term_ellipsis_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_ellipsis_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_ellipsis_parenthesizer___closed__1); l___regBuiltin_Lean_Parser_Term_ellipsis_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Term_ellipsis_parenthesizer___closed__2(); @@ -67763,97 +67856,97 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_quotSeq_parenthesizer___c res = l___regBuiltin_Lean_Parser_Tactic_quotSeq_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__8); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__9(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__9); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__10(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__10); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__11(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__11); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__12(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__12); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__13(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__13); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__14(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__14); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__15(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__16(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__16); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__17(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__17); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__18(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__18); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__19(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__19); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__20(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__20); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__21(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__21); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__22(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__22); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__23(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__23); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__24(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__24); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__25(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__25); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__26(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__26); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__27(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__27); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__28(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__28); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__29(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__29); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__30(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__30); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__31(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__31); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__32(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__32); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__33(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__33); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__34(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__34); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__35(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__35); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__36(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__36); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__37 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__37(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__37); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__38 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__38(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__38); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__39 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__39(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__39); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__40 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__40(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__40); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__41 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__41(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__41); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__42 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__42(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__42); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__43 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__43(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__43); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__44 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__44(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__44); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__45 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__45(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537____closed__45); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4537_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__9(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__9); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__10(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__10); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__11(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__11); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__12(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__12); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__13(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__13); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__14(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__14); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__15(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__15); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__16(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__16); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__17(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__17); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__18(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__18); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__19(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__19); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__20(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__20); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__21(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__21); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__22(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__22); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__23(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__23); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__24(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__24); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__25(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__25); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__26(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__26); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__27(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__27); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__28(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__28); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__29 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__29(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__29); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__30 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__30(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__30); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__31 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__31(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__31); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__32 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__32(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__32); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__33 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__33(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__33); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__34 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__34(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__34); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__35 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__35(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__35); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__36 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__36(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__36); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__37 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__37(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__37); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__38 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__38(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__38); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__39 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__39(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__39); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__40 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__40(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__40); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__41 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__41(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__41); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__42 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__42(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__42); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__43 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__43(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__43); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__44 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__44(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__44); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__45 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__45(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545____closed__45); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4545_(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/ResolveName.c b/stage0/stdlib/Lean/ResolveName.c index 1cd1904a28..e0c5e7ca8f 100644 --- a/stage0/stdlib/Lean/ResolveName.c +++ b/stage0/stdlib/Lean/ResolveName.c @@ -3454,94 +3454,108 @@ x_5 = lean_ctor_get(x_3, 0); lean_inc(x_5); if (lean_obj_tag(x_5) == 0) { -lean_object* x_6; -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) +uint8_t x_6; +x_6 = !lean_is_exclusive(x_3); +if (x_6 == 0) { -uint8_t x_7; -x_7 = !lean_is_exclusive(x_3); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_8 = lean_ctor_get(x_3, 1); -x_9 = lean_ctor_get(x_3, 0); -lean_dec(x_9); -x_10 = lean_ctor_get(x_5, 0); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 0); +lean_dec(x_8); +x_9 = lean_ctor_get(x_5, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_5, 1); lean_inc(x_10); lean_dec(x_5); lean_inc(x_2); -x_11 = l_Lean_Name_append(x_10, x_2); -lean_dec(x_10); +x_11 = l_Lean_Name_append(x_9, x_2); +lean_dec(x_9); lean_inc(x_11); x_12 = l_Lean_Environment_isNamespace(x_1, x_11); if (x_12 == 0) { lean_dec(x_11); +lean_dec(x_10); lean_free_object(x_3); -x_3 = x_8; +x_3 = x_7; goto _start; } else { -lean_object* x_14; -x_14 = l_Lean_ResolveName_resolveNamespaceUsingOpenDecls(x_1, x_2, x_8); -lean_ctor_set(x_3, 1, x_14); +uint8_t x_14; +x_14 = l_List_elem___at_Lean_NameHashSet_insert___spec__2(x_2, x_10); +lean_dec(x_10); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = l_Lean_ResolveName_resolveNamespaceUsingOpenDecls(x_1, x_2, x_7); +lean_ctor_set(x_3, 1, x_15); lean_ctor_set(x_3, 0, x_11); return x_3; } +else +{ +lean_dec(x_11); +lean_free_object(x_3); +x_3 = x_7; +goto _start; +} +} } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_15 = lean_ctor_get(x_3, 1); -lean_inc(x_15); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_ctor_get(x_3, 1); +lean_inc(x_17); lean_dec(x_3); -x_16 = lean_ctor_get(x_5, 0); -lean_inc(x_16); +x_18 = lean_ctor_get(x_5, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); lean_dec(x_5); lean_inc(x_2); -x_17 = l_Lean_Name_append(x_16, x_2); -lean_dec(x_16); -lean_inc(x_17); -x_18 = l_Lean_Environment_isNamespace(x_1, x_17); -if (x_18 == 0) +x_20 = l_Lean_Name_append(x_18, x_2); +lean_dec(x_18); +lean_inc(x_20); +x_21 = l_Lean_Environment_isNamespace(x_1, x_20); +if (x_21 == 0) { -lean_dec(x_17); -x_3 = x_15; +lean_dec(x_20); +lean_dec(x_19); +x_3 = x_17; goto _start; } else { -lean_object* x_20; lean_object* x_21; -x_20 = l_Lean_ResolveName_resolveNamespaceUsingOpenDecls(x_1, x_2, x_15); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_17); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} +uint8_t x_23; +x_23 = l_List_elem___at_Lean_NameHashSet_insert___spec__2(x_2, x_19); +lean_dec(x_19); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = l_Lean_ResolveName_resolveNamespaceUsingOpenDecls(x_1, x_2, x_17); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_20); +lean_ctor_set(x_25, 1, x_24); +return x_25; } else { -lean_object* x_22; -lean_dec(x_6); -lean_dec(x_5); -x_22 = lean_ctor_get(x_3, 1); -lean_inc(x_22); -lean_dec(x_3); -x_3 = x_22; +lean_dec(x_20); +x_3 = x_17; goto _start; } } +} +} else { -lean_object* x_24; +lean_object* x_27; lean_dec(x_5); -x_24 = lean_ctor_get(x_3, 1); -lean_inc(x_24); +x_27 = lean_ctor_get(x_3, 1); +lean_inc(x_27); lean_dec(x_3); -x_3 = x_24; +x_3 = x_27; goto _start; } } diff --git a/stage0/stdlib/Lean/Util/Recognizers.c b/stage0/stdlib/Lean/Util/Recognizers.c index 494d8e92fc..783fdfdded 100644 --- a/stage0/stdlib/Lean/Util/Recognizers.c +++ b/stage0/stdlib/Lean/Util/Recognizers.c @@ -65,6 +65,7 @@ static lean_object* l_Lean_Expr_iff_x3f___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_heq_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_app4_x3f___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_eqOrIff_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_eq_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_iff_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_natAdd_x3f(lean_object*); @@ -118,6 +119,7 @@ lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Lean_Expr_not_x3f___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_not_x3f___boxed(lean_object*); lean_object* l_Lean_Expr_appArg_x21_x27(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_eqOrIff_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_listLit_x3f_loop(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_isConstructorApp_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Expr_constructorApp_x3f___closed__3; @@ -499,6 +501,65 @@ lean_dec(x_1); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_Expr_eqOrIff_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = l_Lean_Expr_eq_x3f___closed__2; +x_3 = lean_unsigned_to_nat(3u); +x_4 = l_Lean_Expr_isAppOfArity(x_1, x_2, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = l_Lean_Expr_iff_x3f___closed__2; +x_6 = lean_unsigned_to_nat(2u); +x_7 = l_Lean_Expr_isAppOfArity(x_1, x_5, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = l_Lean_Expr_appFn_x21(x_1); +x_10 = l_Lean_Expr_appArg_x21(x_9); +lean_dec(x_9); +x_11 = l_Lean_Expr_appArg_x21(x_1); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = l_Lean_Expr_appFn_x21(x_1); +x_15 = l_Lean_Expr_appArg_x21(x_14); +lean_dec(x_14); +x_16 = l_Lean_Expr_appArg_x21(x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_eqOrIff_x3f___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Expr_eqOrIff_x3f(x_1); +lean_dec(x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Expr_not_x3f___closed__1() { _start: {