From 62639da58cbe76da947a27b2bc8bc5776305dee2 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Sun, 29 Nov 2020 16:24:37 -0800 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/NotationExtra.lean | 2 +- stage0/src/Init/Prelude.lean | 24 +- stage0/src/Lean/Delaborator.lean | 16 +- stage0/src/Lean/Elab/Inductive.lean | 11 +- stage0/src/Lean/Elab/Structure.lean | 51 +- stage0/src/Lean/Elab/Syntax.lean | 17 +- stage0/src/Lean/Elab/Term.lean | 13 +- stage0/src/Lean/Meta/Offset.lean | 4 + stage0/src/Lean/Meta/UnificationHint.lean | 1 + stage0/src/Lean/Parser/Syntax.lean | 12 +- stage0/src/library/constants.cpp | 103 + stage0/src/runtime/alloc.cpp | 8 +- stage0/src/runtime/object.cpp | 1 + stage0/stdlib/Init/NotationExtra.c | 2565 ++-- stage0/stdlib/Init/Prelude.c | 62 +- stage0/stdlib/Lean/Delaborator.c | 385 +- stage0/stdlib/Lean/Elab/Binders.c | 8 +- stage0/stdlib/Lean/Elab/Declaration.c | 882 +- stage0/stdlib/Lean/Elab/DefView.c | 12 +- stage0/stdlib/Lean/Elab/Inductive.c | 871 +- stage0/stdlib/Lean/Elab/Level.c | 16 +- stage0/stdlib/Lean/Elab/MutualDef.c | 4 +- .../Lean/Elab/PreDefinition/Structural.c | 8 +- stage0/stdlib/Lean/Elab/Quotation.c | 4 +- stage0/stdlib/Lean/Elab/Structure.c | 12074 +++++++++------- stage0/stdlib/Lean/Elab/Syntax.c | 4473 ++++-- stage0/stdlib/Lean/Elab/Tactic/Basic.c | 6 +- stage0/stdlib/Lean/Elab/Term.c | 378 +- stage0/stdlib/Lean/Expr.c | 4 +- stage0/stdlib/Lean/Meta/Match/Match.c | 28 +- stage0/stdlib/Lean/Meta/Offset.c | 3136 ++-- stage0/stdlib/Lean/Meta/Tactic/Constructor.c | 4 +- stage0/stdlib/Lean/Meta/UnificationHint.c | 125 +- stage0/stdlib/Lean/Parser/Command.c | 36 +- stage0/stdlib/Lean/Parser/Level.c | 30 +- stage0/stdlib/Lean/Parser/Syntax.c | 852 +- stage0/stdlib/Lean/Parser/Term.c | 32 +- .../stdlib/Lean/PrettyPrinter/Parenthesizer.c | 4 +- 38 files changed, 14987 insertions(+), 11275 deletions(-) diff --git a/stage0/src/Init/NotationExtra.lean b/stage0/src/Init/NotationExtra.lean index 4e41424674..a5ee409bca 100644 --- a/stage0/src/Init/NotationExtra.lean +++ b/stage0/src/Init/NotationExtra.lean @@ -69,7 +69,7 @@ private def mkHintBody (cs : Array Syntax) (p : Syntax) : MacroM Syntax := do return body macro_rules - | `(unif_hint $bs* where $cs* |- $p) => do + | `(unif_hint $bs:explicitBinder* where $cs* |- $p) => do let body ← mkHintBody cs p `(@[unificationHint] def hint $bs:explicitBinder* : Sort _ := $body) | `(unif_hint $n:ident $bs* where $cs* |- $p) => do diff --git a/stage0/src/Init/Prelude.lean b/stage0/src/Init/Prelude.lean index a7530dbb03..bb7f775052 100644 --- a/stage0/src/Init/Prelude.lean +++ b/stage0/src/Init/Prelude.lean @@ -340,6 +340,9 @@ inductive Nat where | zero : Nat | succ (n : Nat) : Nat +instance : Inhabited Nat where + default := Nat.zero + /- For numeric literals notation -/ class OfNat (α : Type u) where ofNat : Nat → α @@ -350,8 +353,25 @@ export OfNat (ofNat) instance : OfNat Nat where ofNat x := x -instance : Inhabited Nat where - default := 0 +class One (α : Type u) where + one : α + +instance [OfNat α] : One α where + one := ofNat Nat.zero.succ + +class Zero (α : Type u) where + zero : α + +instance [OfNat α] : Zero α where + zero := ofNat Nat.zero + +@[defaultInstance] +instance : One Nat where + one := Nat.zero.succ + +@[defaultInstance] +instance : Zero Nat where + zero := Nat.zero class HasLessEq (α : Type u) where LessEq : α → α → Prop class HasLess (α : Type u) where Less : α → α → Prop diff --git a/stage0/src/Lean/Delaborator.lean b/stage0/src/Lean/Delaborator.lean index e0595d7c46..018664f89f 100644 --- a/stage0/src/Lean/Delaborator.lean +++ b/stage0/src/Lean/Delaborator.lean @@ -603,7 +603,21 @@ def delabLit : Delab := do @[builtinDelab app.OfNat.ofNat] def delabOfNat : Delab := whenPPOption getPPCoercions do let e@(Expr.app _ (Expr.lit (Literal.natVal n) _) _) ← getExpr | failure - pure $ quote n + return quote n + +-- `One.one` ~> `1` +@[builtinDelab app.One.one] +def delabOne : Delab := whenPPOption getPPCoercions do + let e ← getExpr + guard <| e.getAppNumArgs == 2 + return quote (1:Nat) + +-- `Zero.zero` ~> `0` +@[builtinDelab app.Zero.zero] +def delabZero : Delab := whenPPOption getPPCoercions do + let e ← getExpr + guard <| e.getAppNumArgs == 2 + return quote (0:Nat) /-- Delaborate a projection primitive. These do not usually occur in diff --git a/stage0/src/Lean/Elab/Inductive.lean b/stage0/src/Lean/Elab/Inductive.lean index a678d5f467..d230629865 100644 --- a/stage0/src/Lean/Elab/Inductive.lean +++ b/stage0/src/Lean/Elab/Inductive.lean @@ -18,7 +18,10 @@ open Meta builtin_initialize registerTraceClass `Elab.inductive -def checkValidInductiveModifier (modifiers : Modifiers) : CommandElabM Unit := do +section +variables {m : Type → Type} [Monad m] [MonadExceptOf Exception m] [MonadRef m] [AddErrorMessageContext m] + +def checkValidInductiveModifier (modifiers : Modifiers) : m Unit := do if modifiers.isNoncomputable then throwError "invalid use of 'noncomputable' in inductive declaration" if modifiers.isPartial then @@ -26,7 +29,7 @@ def checkValidInductiveModifier (modifiers : Modifiers) : CommandElabM Unit := d unless modifiers.attrs.size == 0 || (modifiers.attrs.size == 1 && modifiers.attrs[0].name == `class) do throwError "invalid use of attributes in inductive declaration" -def checkValidCtorModifier (modifiers : Modifiers) : CommandElabM Unit := do +def checkValidCtorModifier (modifiers : Modifiers) : m Unit := do if modifiers.isNoncomputable then throwError "invalid use of 'noncomputable' in constructor declaration" if modifiers.isPartial then @@ -36,6 +39,8 @@ def checkValidCtorModifier (modifiers : Modifiers) : CommandElabM Unit := do if modifiers.attrs.size != 0 then throwError "invalid use of attributes in constructor declaration" +end + structure CtorView where ref : Syntax modifiers : Modifiers @@ -448,7 +453,7 @@ private def mkInductiveDecl (vars : Array Expr) (views : Array InductiveView) : checkLevelNames views let allUserLevelNames := view0.levelNames let isUnsafe := view0.modifiers.isUnsafe - withRef view0.ref $ Term.withLevelNames allUserLevelNames do + withRef view0.ref <| Term.withLevelNames allUserLevelNames do let rs ← elabHeader views withInductiveLocalDecls rs fun params indFVars => do let numExplicitParams := params.size diff --git a/stage0/src/Lean/Elab/Structure.lean b/stage0/src/Lean/Elab/Structure.lean index dbc1c26c5a..20f1e28d7a 100644 --- a/stage0/src/Lean/Elab/Structure.lean +++ b/stage0/src/Lean/Elab/Structure.lean @@ -97,7 +97,7 @@ The structure constructor syntax is parser! try (declModifiers >> ident >> optional inferMod >> " :: ") ``` -/ -private def expandCtor (structStx : Syntax) (structModifiers : Modifiers) (structDeclName : Name) : CommandElabM StructCtorView := +private def expandCtor (structStx : Syntax) (structModifiers : Modifiers) (structDeclName : Name) : TermElabM StructCtorView := let useDefault := pure { ref := structStx, modifiers := {}, inferMod := false, name := defaultCtorName, declName := structDeclName ++ defaultCtorName } if structStx[5].isNone then @@ -121,7 +121,7 @@ private def expandCtor (structStx : Syntax) (structModifiers : Modifiers) (struc let declName ← applyVisibility ctorModifiers.visibility declName pure { ref := ctor, name := name, modifiers := ctorModifiers, inferMod := inferMod, declName := declName } -def checkValidFieldModifier (modifiers : Modifiers) : CommandElabM Unit := do +def checkValidFieldModifier (modifiers : Modifiers) : TermElabM Unit := do if modifiers.isNoncomputable then throwError "invalid use of 'noncomputable' in field declaration" if modifiers.isPartial then @@ -142,7 +142,7 @@ def structSimpleBinder := parser! atomic (declModifiers true >> many1 ident) > def structFields := parser! many (structExplicitBinder <|> structImplicitBinder <|> structInstBinder) ``` -/ -private def expandFields (structStx : Syntax) (structModifiers : Modifiers) (structDeclName : Name) : CommandElabM (Array StructFieldView) := +private def expandFields (structStx : Syntax) (structModifiers : Modifiers) (structDeclName : Name) : TermElabM (Array StructFieldView) := let fieldBinders := if structStx[5].isNone then #[] else structStx[5][2][0].getArgs fieldBinders.foldlM (init := #[]) fun (views : Array StructFieldView) fieldBinder => withRef fieldBinder do let mut fieldBinder := fieldBinder @@ -470,7 +470,7 @@ private def elabStructureView (view : StructView) : TermElabM Unit := do trace[Elab.structure]! "type: {type}" let usedLevelNames ← collectLevelParamsInStructure type scopeVars view.params fieldInfos match sortDeclLevelParams view.scopeLevelNames view.allUserLevelNames usedLevelNames with - | Except.error msg => throwError msg + | Except.error msg => withRef view.ref <| throwError msg | Except.ok levelParams => let params := scopeVars ++ view.params let ctor ← mkCtor view levelParams params fieldInfos @@ -528,24 +528,31 @@ def elabStructure (modifiers : Modifiers) (stx : Syntax) : CommandElabM Unit := let parents := if exts.isNone then #[] else exts[0][1].getSepArgs let optType := stx[4] let type ← if optType.isNone then `(Sort _) else pure optType[0][1] - let scopeLevelNames ← getLevelNames - let ⟨name, declName, allUserLevelNames⟩ ← expandDeclId declId modifiers - let ctor ← expandCtor stx modifiers declName - let fields ← expandFields stx modifiers declName - runTermElabM declName $ fun scopeVars => Term.withLevelNames allUserLevelNames $ Term.elabBinders params fun params => elabStructureView { - ref := stx, - modifiers := modifiers, - scopeLevelNames := scopeLevelNames, - allUserLevelNames := allUserLevelNames, - declName := declName, - isClass := isClass, - scopeVars := scopeVars, - params := params, - parents := parents, - type := type, - ctor := ctor, - fields := fields - } + runTermElabM none fun scopeVars => do + let scopeLevelNames ← Term.getLevelNames + let ⟨name, declName, allUserLevelNames⟩ ← Elab.expandDeclId (← getCurrNamespace) scopeLevelNames declId modifiers + Term.withDeclName declName do + let ctor ← expandCtor stx modifiers declName + let fields ← expandFields stx modifiers declName + Term.withLevelNames allUserLevelNames <| Term.withAutoBoundImplicitLocal <| + Term.elabBinders params (catchAutoBoundImplicit := true) fun params => do + let params ← Term.addAutoBoundImplicits params + let allUserLevelNames ← Term.getLevelNames + Term.withAutoBoundImplicitLocal (flag := false) do + elabStructureView { + ref := stx, + modifiers := modifiers, + scopeLevelNames := scopeLevelNames, + allUserLevelNames := allUserLevelNames, + declName := declName, + isClass := isClass, + scopeVars := scopeVars, + params := params, + parents := parents, + type := type, + ctor := ctor, + fields := fields + } builtin_initialize registerTraceClass `Elab.structure diff --git a/stage0/src/Lean/Elab/Syntax.lean b/stage0/src/Lean/Elab/Syntax.lean index 37a537617a..b087be79e5 100644 --- a/stage0/src/Lean/Elab/Syntax.lean +++ b/stage0/src/Lean/Elab/Syntax.lean @@ -332,6 +332,11 @@ def elabNoKindMacroRulesAux (alts : Array Syntax) : CommandElabM Syntax := do | `(infixl:$prec $op => $f) => let prec1 : Syntax := quote (prec.toNat+1); `(notation:$prec lhs $op:strLit rhs:$prec1 => $f lhs rhs) | `(prefix:$prec $op => $f) => `(notation:$prec $op:strLit arg:$prec => $f arg) | `(postfix:$prec $op => $f) => `(notation:$prec arg $op:strLit => $f arg) + | `(infix:$prec [$prio] $op => $f) => `(infixl:$prec [$prio] $op => $f) + | `(infixr:$prec [$prio] $op => $f) => `(notation:$prec [$prio] lhs $op:strLit rhs:$prec => $f lhs rhs) + | `(infixl:$prec [$prio] $op => $f) => let prec1 : Syntax := quote (prec.toNat+1); `(notation:$prec [$prio] lhs $op:strLit rhs:$prec1 => $f lhs rhs) + | `(prefix:$prec [$prio] $op => $f) => `(notation:$prec [$prio] $op:strLit arg:$prec => $f arg) + | `(postfix:$prec [$prio] $op => $f) => `(notation:$prec [$prio] arg $op:strLit => $f arg) | _ => Macro.throwUnsupported /- Wrap all occurrences of the given `ident` nodes in antiquotations -/ @@ -372,7 +377,7 @@ def expandNotationItemIntoPattern (stx : Syntax) : MacroM Syntax := else Macro.throwUnsupported -private def expandNotationAux (ref : Syntax) (currNamespace : Name) (prec? : Option Syntax) (items : Array Syntax) (rhs : Syntax) : MacroM Syntax := do +private def expandNotationAux (ref : Syntax) (currNamespace : Name) (prec? : Option Syntax) (prio : Nat) (items : Array Syntax) (rhs : Syntax) : MacroM Syntax := do let kind ← mkFreshKind `term -- build parser let syntaxParts ← items.mapM expandNotationItemIntoSyntaxItem @@ -386,15 +391,17 @@ private def expandNotationAux (ref : Syntax) (currNamespace : Name) (prec? : Opt So, we must include current namespace when we create a pattern for the following `macro_rules` commands. -/ let pat := Syntax.node (currNamespace ++ kind) patArgs match prec? with - | none => `(syntax [$(mkIdentFrom ref kind):ident] $syntaxParts* : $cat macro_rules | `($pat) => `($rhs)) - | some prec => `(syntax:$prec [$(mkIdentFrom ref kind):ident] $syntaxParts* : $cat macro_rules | `($pat) => `($rhs)) + | none => `(syntax [$(mkIdentFrom ref kind):ident, $(quote prio):numLit] $syntaxParts* : $cat macro_rules | `($pat) => `($rhs)) + | some prec => `(syntax:$prec [$(mkIdentFrom ref kind):ident, $(quote prio):numLit] $syntaxParts* : $cat macro_rules | `($pat) => `($rhs)) @[builtinCommandElab «notation»] def expandNotation : CommandElab := adaptExpander fun stx => do let currNamespace ← getCurrNamespace match_syntax stx with - | `(notation:$prec $items* => $rhs) => liftMacroM $ expandNotationAux stx currNamespace prec items rhs - | `(notation $items:notationItem* => $rhs) => liftMacroM $ expandNotationAux stx currNamespace none items rhs + | `(notation:$prec $items* => $rhs) => liftMacroM <| expandNotationAux stx currNamespace prec 0 items rhs + | `(notation $items:notationItem* => $rhs) => liftMacroM <| expandNotationAux stx currNamespace none 0 items rhs + | `(notation:$prec [$prio] $items* => $rhs) => liftMacroM <| expandNotationAux stx currNamespace prec (prio.isNatLit?.getD 0) items rhs + | `(notation [$prio] $items:notationItem* => $rhs) => liftMacroM <| expandNotationAux stx currNamespace none (prio.isNatLit?.getD 0) items rhs | _ => throwUnsupportedSyntax /- Convert `macro` argument into a `syntax` command item -/ diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index 7d84f4709a..af0e5408ee 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -1255,7 +1255,7 @@ def resolveName (n : Name) (preresolved : List (Name × List String)) (explicitL @[builtinTermElab numLit] def elabNumLit : TermElab := fun stx expectedType? => do let val ← match stx.isNatLit? with - | some val => pure (mkNatLit val) + | some val => pure val | none => throwIllFormedSyntax let typeMVar ← mkFreshTypeMVar MetavarKind.synthetic match expectedType? with @@ -1263,8 +1263,15 @@ def resolveName (n : Name) (preresolved : List (Name × List String)) (explicitL | _ => pure () let u ← getLevel typeMVar let u ← decLevel u - let mvar ← mkInstMVar (mkApp (Lean.mkConst `OfNat [u]) typeMVar) - pure $ mkApp3 (Lean.mkConst `OfNat.ofNat [u]) typeMVar mvar val + if val == 0 then + let mvar ← mkInstMVar (mkApp (Lean.mkConst `Zero [u]) typeMVar) + return mkApp2 (Lean.mkConst `Zero.zero [u]) typeMVar mvar + else if val == 1 then + let mvar ← mkInstMVar (mkApp (Lean.mkConst `One [u]) typeMVar) + return mkApp2 (Lean.mkConst `One.one [u]) typeMVar mvar + else + let mvar ← mkInstMVar (mkApp (Lean.mkConst `OfNat [u]) typeMVar) + return mkApp3 (Lean.mkConst `OfNat.ofNat [u]) typeMVar mvar (mkNatLit val) @[builtinTermElab charLit] def elabCharLit : TermElab := fun stx _ => do match stx.isCharLit? with diff --git a/stage0/src/Lean/Meta/Offset.lean b/stage0/src/Lean/Meta/Offset.lean index 57e5c96200..bd396cf987 100644 --- a/stage0/src/Lean/Meta/Offset.lean +++ b/stage0/src/Lean/Meta/Offset.lean @@ -58,6 +58,10 @@ where return v₁ * v₂ else if c == `OfNat.ofNat && nargs == 3 then evalNat (e.getArg! 2) + else if c == `One.one && nargs == 2 then + return 1 + else if c == `Zero.zero && nargs == 2 then + return 0 else failure | _ => failure diff --git a/stage0/src/Lean/Meta/UnificationHint.lean b/stage0/src/Lean/Meta/UnificationHint.lean index 6ec1ca9a8c..6d7b130450 100644 --- a/stage0/src/Lean/Meta/UnificationHint.lean +++ b/stage0/src/Lean/Meta/UnificationHint.lean @@ -87,6 +87,7 @@ builtin_initialize } def tryUnificationHints (t s : Expr) : MetaM Bool := do + trace[Meta.isDefEq.hint]! "{t} =?= {s}" unless (← read).config.unificationHints do return false if t.isMVar then diff --git a/stage0/src/Lean/Parser/Syntax.lean b/stage0/src/Lean/Parser/Syntax.lean index 126ebd25e7..e9f48c03b3 100644 --- a/stage0/src/Lean/Parser/Syntax.lean +++ b/stage0/src/Lean/Parser/Syntax.lean @@ -50,21 +50,13 @@ def «infixl» := parser! "infixl" def «infixr» := parser! "infixr" def «postfix» := parser! "postfix" def mixfixKind := «prefix» <|> «infix» <|> «infixl» <|> «infixr» <|> «postfix» -@[builtinCommandParser] def «mixfix» := parser! - (checkOutsideQuot >> mixfixKind >> optPrecedence >> ppSpace >> strLit >> darrow >> termParser) - <|> - (checkInsideQuot >> mixfixKind >> optPrecedence >> optPrio >> ppSpace >> strLit >> darrow >> termParser) - +@[builtinCommandParser] def «mixfix» := parser! mixfixKind >> optPrecedence >> optPrio >> ppSpace >> strLit >> darrow >> termParser -- NOTE: We use `suppressInsideQuot` in the following parsers because quotations inside them are evaluated in the same stage and -- thus should be ignored when we use `checkInsideQuot` to prepare the next stage for a builtin syntax change def identPrec := parser! ident >> optPrecedence def optKind : Parser := optional ("[" >> ident >> "]") def notationItem := ppSpace >> withAntiquot (mkAntiquot "notationItem" `Lean.Parser.Command.notationItem) (strLit <|> identPrec) -@[builtinCommandParser] def «notation» := parser! - (checkOutsideQuot >> "notation" >> optPrecedence >> many notationItem >> darrow >> termParser) - <|> - (checkInsideQuot >> "notation" >> optPrecedence >> optPrio >> many notationItem >> darrow >> termParser) - +@[builtinCommandParser] def «notation» := parser! "notation" >> optPrecedence >> optPrio >> many notationItem >> darrow >> termParser @[builtinCommandParser] def «macro_rules» := suppressInsideQuot (parser! "macro_rules" >> optKind >> Term.matchAlts) def parserKind := parser! ident def parserPrio := parser! numLit diff --git a/stage0/src/library/constants.cpp b/stage0/src/library/constants.cpp index 8479a14d68..879f23b016 100644 --- a/stage0/src/library/constants.cpp +++ b/stage0/src/library/constants.cpp @@ -108,108 +108,211 @@ name const * g_uint64 = nullptr; name const * g_usize = nullptr; void initialize_constants() { g_absurd = new name{"absurd"}; + mark_persistent(g_absurd->raw()); g_and = new name{"And"}; + mark_persistent(g_and->raw()); g_and_left = new name{"And", "left"}; + mark_persistent(g_and_left->raw()); g_and_right = new name{"And", "right"}; + mark_persistent(g_and_right->raw()); g_and_intro = new name{"And", "intro"}; + mark_persistent(g_and_intro->raw()); g_and_rec = new name{"And", "rec"}; + mark_persistent(g_and_rec->raw()); g_and_cases_on = new name{"And", "casesOn"}; + mark_persistent(g_and_cases_on->raw()); g_array = new name{"Array"}; + mark_persistent(g_array->raw()); g_array_sz = new name{"Array", "sz"}; + mark_persistent(g_array_sz->raw()); g_array_data = new name{"Array", "data"}; + mark_persistent(g_array_data->raw()); g_auto_param = new name{"autoParam"}; + mark_persistent(g_auto_param->raw()); g_bit0 = new name{"bit0"}; + mark_persistent(g_bit0->raw()); g_bit1 = new name{"bit1"}; + mark_persistent(g_bit1->raw()); g_has_of_nat_of_nat = new name{"HasOfNat", "ofNat"}; + mark_persistent(g_has_of_nat_of_nat->raw()); g_byte_array = new name{"ByteArray"}; + mark_persistent(g_byte_array->raw()); g_bool = new name{"Bool"}; + mark_persistent(g_bool->raw()); g_bool_false = new name{"Bool", "false"}; + mark_persistent(g_bool_false->raw()); g_bool_true = new name{"Bool", "true"}; + mark_persistent(g_bool_true->raw()); g_bool_cases_on = new name{"Bool", "casesOn"}; + mark_persistent(g_bool_cases_on->raw()); g_cast = new name{"cast"}; + mark_persistent(g_cast->raw()); g_char = new name{"Char"}; + mark_persistent(g_char->raw()); g_congr_arg = new name{"congrArg"}; + mark_persistent(g_congr_arg->raw()); g_decidable = new name{"Decidable"}; + mark_persistent(g_decidable->raw()); g_decidable_is_true = new name{"Decidable", "isTrue"}; + mark_persistent(g_decidable_is_true->raw()); g_decidable_is_false = new name{"Decidable", "isFalse"}; + mark_persistent(g_decidable_is_false->raw()); g_decidable_decide = new name{"Decidable", "decide"}; + mark_persistent(g_decidable_decide->raw()); g_empty = new name{"Empty"}; + mark_persistent(g_empty->raw()); g_empty_rec = new name{"Empty", "rec"}; + mark_persistent(g_empty_rec->raw()); g_empty_cases_on = new name{"Empty", "casesOn"}; + mark_persistent(g_empty_cases_on->raw()); g_exists = new name{"Exists"}; + mark_persistent(g_exists->raw()); g_eq = new name{"Eq"}; + mark_persistent(g_eq->raw()); g_eq_cases_on = new name{"Eq", "casesOn"}; + mark_persistent(g_eq_cases_on->raw()); g_eq_rec_on = new name{"Eq", "recOn"}; + mark_persistent(g_eq_rec_on->raw()); g_eq_rec = new name{"Eq", "rec"}; + mark_persistent(g_eq_rec->raw()); g_eq_ndrec = new name{"Eq", "ndrec"}; + mark_persistent(g_eq_ndrec->raw()); g_eq_refl = new name{"Eq", "refl"}; + mark_persistent(g_eq_refl->raw()); g_eq_subst = new name{"Eq", "subst"}; + mark_persistent(g_eq_subst->raw()); g_eq_symm = new name{"Eq", "symm"}; + mark_persistent(g_eq_symm->raw()); g_eq_trans = new name{"Eq", "trans"}; + mark_persistent(g_eq_trans->raw()); g_float = new name{"Float"}; + mark_persistent(g_float->raw()); g_float_array = new name{"FloatArray"}; + mark_persistent(g_float_array->raw()); g_false = new name{"False"}; + mark_persistent(g_false->raw()); g_false_rec = new name{"False", "rec"}; + mark_persistent(g_false_rec->raw()); g_false_cases_on = new name{"False", "casesOn"}; + mark_persistent(g_false_cases_on->raw()); g_has_add_add = new name{"HasAdd", "add"}; + mark_persistent(g_has_add_add->raw()); g_has_neg_neg = new name{"HasNeg", "neg"}; + mark_persistent(g_has_neg_neg->raw()); g_has_one_one = new name{"HasOne", "one"}; + mark_persistent(g_has_one_one->raw()); g_has_zero_zero = new name{"HasZero", "zero"}; + mark_persistent(g_has_zero_zero->raw()); g_heq = new name{"HEq"}; + mark_persistent(g_heq->raw()); g_heq_refl = new name{"HEq", "refl"}; + mark_persistent(g_heq_refl->raw()); g_iff = new name{"Iff"}; + mark_persistent(g_iff->raw()); g_iff_refl = new name{"Iff", "refl"}; + mark_persistent(g_iff_refl->raw()); g_int = new name{"Int"}; + mark_persistent(g_int->raw()); g_int_nat_abs = new name{"Int", "natAbs"}; + mark_persistent(g_int_nat_abs->raw()); g_int_dec_lt = new name{"Int", "decLt"}; + mark_persistent(g_int_dec_lt->raw()); g_int_of_nat = new name{"Int", "ofNat"}; + mark_persistent(g_int_of_nat->raw()); g_inline = new name{"inline"}; + mark_persistent(g_inline->raw()); g_io = new name{"IO"}; + mark_persistent(g_io->raw()); g_ite = new name{"ite"}; + mark_persistent(g_ite->raw()); g_lc_proof = new name{"lcProof"}; + mark_persistent(g_lc_proof->raw()); g_lc_unreachable = new name{"lcUnreachable"}; + mark_persistent(g_lc_unreachable->raw()); g_list = new name{"List"}; + mark_persistent(g_list->raw()); g_mut_quot = new name{"MutQuot"}; + mark_persistent(g_mut_quot->raw()); g_nat = new name{"Nat"}; + mark_persistent(g_nat->raw()); g_nat_succ = new name{"Nat", "succ"}; + mark_persistent(g_nat_succ->raw()); g_nat_zero = new name{"Nat", "zero"}; + mark_persistent(g_nat_zero->raw()); g_nat_has_zero = new name{"Nat", "HasZero"}; + mark_persistent(g_nat_has_zero->raw()); g_nat_has_one = new name{"Nat", "HasOne"}; + mark_persistent(g_nat_has_one->raw()); g_nat_has_add = new name{"Nat", "HasAdd"}; + mark_persistent(g_nat_has_add->raw()); g_nat_add = new name{"Nat", "add"}; + mark_persistent(g_nat_add->raw()); g_nat_dec_eq = new name{"Nat", "decEq"}; + mark_persistent(g_nat_dec_eq->raw()); g_nat_sub = new name{"Nat", "sub"}; + mark_persistent(g_nat_sub->raw()); g_ne = new name{"ne"}; + mark_persistent(g_ne->raw()); g_not = new name{"Not"}; + mark_persistent(g_not->raw()); g_opt_param = new name{"optParam"}; + mark_persistent(g_opt_param->raw()); g_or = new name{"Or"}; + mark_persistent(g_or->raw()); g_panic = new name{"panic"}; + mark_persistent(g_panic->raw()); g_punit = new name{"PUnit"}; + mark_persistent(g_punit->raw()); g_punit_unit = new name{"PUnit", "unit"}; + mark_persistent(g_punit_unit->raw()); g_pprod = new name{"PProd"}; + mark_persistent(g_pprod->raw()); g_pprod_mk = new name{"PProd", "mk"}; + mark_persistent(g_pprod_mk->raw()); g_pprod_fst = new name{"PProd", "fst"}; + mark_persistent(g_pprod_fst->raw()); g_pprod_snd = new name{"PProd", "snd"}; + mark_persistent(g_pprod_snd->raw()); g_propext = new name{"propext"}; + mark_persistent(g_propext->raw()); g_quot_mk = new name{"Quot", "mk"}; + mark_persistent(g_quot_mk->raw()); g_quot_lift = new name{"Quot", "lift"}; + mark_persistent(g_quot_lift->raw()); g_sorry_ax = new name{"sorryAx"}; + mark_persistent(g_sorry_ax->raw()); g_string = new name{"String"}; + mark_persistent(g_string->raw()); g_string_data = new name{"String", "data"}; + mark_persistent(g_string_data->raw()); g_subsingleton_elim = new name{"Subsingleton", "elim"}; + mark_persistent(g_subsingleton_elim->raw()); g_task = new name{"Task"}; + mark_persistent(g_task->raw()); g_thunk = new name{"Thunk"}; + mark_persistent(g_thunk->raw()); g_thunk_mk = new name{"Thunk", "mk"}; + mark_persistent(g_thunk_mk->raw()); g_thunk_get = new name{"Thunk", "get"}; + mark_persistent(g_thunk_get->raw()); g_true = new name{"True"}; + mark_persistent(g_true->raw()); g_true_intro = new name{"True", "intro"}; + mark_persistent(g_true_intro->raw()); g_unit = new name{"Unit"}; + mark_persistent(g_unit->raw()); g_unit_unit = new name{"Unit", "unit"}; + mark_persistent(g_unit_unit->raw()); g_uint8 = new name{"UInt8"}; + mark_persistent(g_uint8->raw()); g_uint16 = new name{"UInt16"}; + mark_persistent(g_uint16->raw()); g_uint32 = new name{"UInt32"}; + mark_persistent(g_uint32->raw()); g_uint64 = new name{"UInt64"}; + mark_persistent(g_uint64->raw()); g_usize = new name{"USize"}; + mark_persistent(g_usize->raw()); } void finalize_constants() { delete g_absurd; diff --git a/stage0/src/runtime/alloc.cpp b/stage0/src/runtime/alloc.cpp index 5d7c35c83b..711d52af78 100644 --- a/stage0/src/runtime/alloc.cpp +++ b/stage0/src/runtime/alloc.cpp @@ -267,10 +267,11 @@ void heap::export_objs() { void heap::alloc_segment() { if (heap * h = g_heap_manager->pop_orphan()) { lean_assert(h->m_curr_segment); + /* import pending objects, before moving `h`'s segment to *this* heap. */ + h->import_objs(); segment * s = h->m_curr_segment; h->m_curr_segment = s->m_next; s->move_to_heap(this); - h->import_objs(); if (h->m_curr_segment != nullptr) { g_heap_manager->push_orphan(h); } else { @@ -369,7 +370,10 @@ extern "C" void * lean_alloc_small(unsigned sz, unsigned slot_idx) { if (LEAN_UNLIKELY(r == nullptr)) { if (g_heap->m_page_free_list[slot_idx] == nullptr) { g_heap->import_objs(); - p = alloc_page(g_heap, sz); + lean_assert(g_heap->m_curr_page[slot_idx] == p); + /* g_heap->import_objs() may add objects to p->m_header.m_free_list */ + if (p->m_header.m_free_list == nullptr) + p = alloc_page(g_heap, sz); } else { p = page_list_pop(g_heap->m_page_free_list[slot_idx]); p->m_header.m_in_page_free_list = false; diff --git a/stage0/src/runtime/object.cpp b/stage0/src/runtime/object.cpp index e83e76c694..6770cb4608 100644 --- a/stage0/src/runtime/object.cpp +++ b/stage0/src/runtime/object.cpp @@ -305,6 +305,7 @@ extern "C" b_obj_res lean_thunk_get_core(b_obj_arg t) { object * r = lean_apply_1(c, lean_box(0)); lean_assert(r != nullptr); /* Closure must return a valid lean object */ lean_assert(lean_to_thunk(t)->m_value == nullptr); + mark_mt(r); lean_to_thunk(t)->m_value = r; return r; } else { diff --git a/stage0/stdlib/Init/NotationExtra.c b/stage0/stdlib/Init/NotationExtra.c index 3783b744ee..1f2d44d6ac 100644 --- a/stage0/stdlib/Init/NotationExtra.c +++ b/stage0/stdlib/Init/NotationExtra.c @@ -15,157 +15,158 @@ extern "C" { #endif extern lean_object* l_Lean_Parser_Tactic_orelse___closed__4; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__6; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__3; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__3; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__7; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2371____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; size_t l_USize_add(size_t, size_t); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3263____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_unifConstraint___closed__1; lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__10; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__2; -lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__1; -lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_3573_; +lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_2805_; extern lean_object* l_Lean_Parser_Tactic_apply___closed__2; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__19; extern lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__6; lean_object* l_Lean_unbracktedExplicitBinders; lean_object* l_Lean_explicitBinders___closed__4; -lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__2; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__15; lean_object* l_Lean_unifConstraint___closed__8; lean_object* l_Lean_unifConstraint___closed__2; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__5; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2123____boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_expandExplicitBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decEq(size_t, size_t); -lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__7; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__3; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_explicitBinders___closed__3; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__5; lean_object* l_Lean_unbracktedExplicitBinders___closed__5; lean_object* l_Lean_expandExplicitBinders___closed__1; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__8; lean_object* l_Lean_unifConstraint___closed__3; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__20; lean_object* l_Lean_expandExplicitBindersAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__1; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__1; lean_object* l_Lean_expandBrackedBindersAux_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_7535____closed__4; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__3; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__9; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__11; extern lean_object* l_Lean_Parser_Tactic_intro___closed__4; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__40; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13; extern lean_object* l_Lean_identKind___closed__2; -lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__19; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__2; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__2; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__2; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__2; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__1; extern lean_object* l_Array_empty___closed__1; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10; lean_object* l_Lean_explicitBinders___closed__2; lean_object* l_Lean_expandExplicitBindersAux_loop_match__1(lean_object*); lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3015____boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2729____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__19; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__3; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__1; lean_object* l_Lean_bracketedExplicitBinders___closed__7; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; lean_object* l_Lean_unbracktedExplicitBinders___closed__4; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_binderIdent___closed__3; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__1; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__2; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__1; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__1; +lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__11; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__2; extern lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__1; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__1; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__4; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_unifConstraintElem; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__5; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__6; lean_object* l_Lean_expandExplicitBindersAux_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__1; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35; lean_object* l_Lean_bracketedExplicitBinders___closed__3; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__4; -lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__11; lean_object* l_Lean_explicitBinders___closed__1; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__5; lean_object* l_Lean_expandExplicitBindersAux_loop_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandExplicitBindersAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__36; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__39; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__26; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__6; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; lean_object* lean_string_utf8_byte_size(lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__7; lean_object* l_Lean_bracketedExplicitBinders___closed__5; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__17; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__12; lean_object* l___private_Init_NotationExtra_0__Lean_mkHintBody(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__5; lean_object* l_Lean_unifConstraint___closed__6; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__6; uint8_t l_USize_decLt(size_t, size_t); -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__6; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__5; lean_object* l_Lean_expandExplicitBindersAux_loop___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__7; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__2; extern lean_object* l_Lean_Parser_Tactic_intros___closed__6; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157_(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__4; lean_object* l_Lean_expandExplicitBindersAux_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__6; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__3; lean_object* l_Lean_expandBrackedBindersAux_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__22; lean_object* l_Lean_expandBrackedBindersAux_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandBrackedBindersAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__3; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__14; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__22; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__48; lean_object* l_Lean_binderIdent; +lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__9; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__41; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__13; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__4; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__5; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__28; lean_object* l_Lean_expandBrackedBinders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__3; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__1; extern lean_object* l_Lean_Parser_Tactic_locationTarget___closed__6; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__2; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__30; lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__1; extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__15; lean_object* l_Lean_unifConstraint___closed__9; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3497____boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__8; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__46; lean_object* l_Lean_unifConstraintElem___closed__4; lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__12; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__3; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__5; +lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__1; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__5; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__18; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__4; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__8; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__2; lean_object* l_Lean_Syntax_copyInfo(lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__1; lean_object* l_Lean_bracketedExplicitBinders___closed__6; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__7; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__15; lean_object* l_Lean_explicitBinders___closed__5; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__44; lean_object* l_Array_anyMUnsafe_any___at_Lean_expandExplicitBinders___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__6; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__2; lean_object* l_Lean_expandExplicitBindersAux_loop___closed__7; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; lean_object* l_Lean_unifConstraintElem___closed__1; @@ -174,140 +175,138 @@ lean_object* l_Lean_expandExplicitBinders(lean_object*, lean_object*, lean_objec lean_object* l_Lean_unifConstraintElem___closed__2; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__24; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__7; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__10; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__7; lean_object* l_Lean_expandBrackedBindersAux_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2615____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; lean_object* l_Lean_unifConstraint___closed__4; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__7; extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__2; +lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__2; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__2; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__16; extern lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__9; extern lean_object* l_Lean_Parser_Tactic_location___closed__4; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__12; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__4; lean_object* l_Lean_bracketedExplicitBinders; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__1; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__43; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__9; lean_object* l_Lean_unifConstraint___closed__10; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__8; lean_object* l_Lean_bracketedExplicitBinders___closed__2; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2247____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__3; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__3; extern lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__7; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__5; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; lean_object* l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__2; lean_object* l_Array_reverse___rarg(lean_object*); -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__4; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__2; -lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__10; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__29; uint8_t l_Array_anyMUnsafe_any___at_Lean_expandExplicitBinders___spec__1(lean_object*, lean_object*, size_t, size_t); extern lean_object* l_Lean_instInhabitedSyntax; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2891____boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__6; lean_object* l_Lean_unifConstraintElem___closed__5; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__16; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__42; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__4; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__5; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__1; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__1; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__9; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__2; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__5; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_unifConstraintElem___closed__6; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__7; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3383____boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__9; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; lean_object* l_Lean_bracketedExplicitBinders___closed__1; lean_object* l_Lean_bracketedExplicitBinders___closed__8; extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__4; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__23; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__2; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__2; lean_object* l_Lean_bracketedExplicitBinders___closed__4; lean_object* l_Lean_expandExplicitBindersAux_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandBrackedBindersAux_loop_match__1(lean_object*); -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__3; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__21; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__25; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__4; extern lean_object* l_Lean_Parser_Tactic_paren___closed__4; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__2; lean_object* l_Lean_Macro_throwError___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_7663____closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__6; lean_object* l_Lean_expandExplicitBindersAux_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_expandExplicitBindersAux_loop___closed__6; -lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__8; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__6; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2973_; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2849_; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3459_; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3345_; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3221_; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3097_; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__7; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2453_; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2329_; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2205_; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2081_; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2691_; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2577_; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__29; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__5; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__8; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__6; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914_; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__25; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__11; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__1; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__4; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__4; lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); +lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__5; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__11; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__16; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__9; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__6; lean_object* l_Array_ofSubarray___rarg(lean_object*); extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3263_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2891_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3139_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3497_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3383_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3015_(lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3139____boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2247_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2123_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2495_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2729_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2371_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2615_(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__3; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__5; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__8; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__1; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__23; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__12; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__5; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__17; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__9; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__11; lean_object* l_Lean_expandExplicitBindersAux_loop_match__2(lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__1; +lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__7; lean_object* l_Lean_expandBrackedBindersAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__11; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__6; extern lean_object* l_Lean_Parser_Tactic_apply___closed__1; lean_object* l_Lean_expandBrackedBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__7; lean_object* l_Lean_expandExplicitBindersAux_loop_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_7407____closed__8; -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__2; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_expandExplicitBindersAux_loop___closed__1; -lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__6; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__2; lean_object* l_Lean_expandExplicitBindersAux_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__6; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__1; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__1; lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; extern lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__4; lean_object* l_Lean_binderIdent___closed__2; @@ -323,22 +322,22 @@ lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4; extern lean_object* l_Lean_Parser_Tactic_intro___closed__3; lean_object* l_Lean_unbracktedExplicitBinders___closed__3; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__3; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__21; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__4; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__6; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__7; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__1; extern lean_object* l_Lean_Parser_Tactic_intro___closed__15; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__5; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__7; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__6; extern lean_object* l___private_Init_Prelude_0__Lean_eraseMacroScopesAux___closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__6; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__5; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__1; +lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__7; lean_object* l___private_Init_NotationExtra_0__Lean_mkHintBody___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__11; lean_object* l_Lean_unbracktedExplicitBinders___closed__2; -lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__4; -lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__4; +lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__10; +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2495____boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__6; lean_object* l_Lean_unifConstraint___closed__5; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__4; lean_object* l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__9; @@ -350,6 +349,7 @@ lean_object* l_Lean_expandExplicitBindersAux_loop___closed__3; lean_object* l_Lean_unifConstraint___closed__7; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__17; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__2; uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l_Lean_explicitBinders; lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__47; @@ -2348,39 +2348,34 @@ static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157___ _start: { lean_object* x_1; -x_1 = lean_mk_string("hint"); +x_1 = lean_mk_string("optDeclSig"); return x_1; } } static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__25; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__25; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__25; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; +x_1 = lean_mk_string("sort"); +return x_1; } } static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__25; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2389,7 +2384,7 @@ static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157___ _start: { lean_object* x_1; -x_1 = lean_mk_string("optDeclSig"); +x_1 = lean_mk_string("Sort"); return x_1; } } @@ -2397,61 +2392,25 @@ static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__29; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("sort"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Sort"); -return x_1; -} -} -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__29; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__36() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32() { _start: { lean_object* x_1; @@ -2459,23 +2418,67 @@ x_1 = lean_mk_string("Level"); return x_1; } } -static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37() { +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__4; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__36; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; +x_2 = l_myMacro____x40_Init_Notation___hyg_8168____closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; +x_2 = l_myMacro____x40_Init_Notation___hyg_8168____closed__16; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nullKind___closed__2; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__36; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; -x_2 = l_myMacro____x40_Init_Notation___hyg_8168____closed__12; -x_3 = lean_name_mk_string(x_1, x_2); +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_3 = lean_array_push(x_1, x_2); return x_3; } } @@ -2483,8 +2486,8 @@ static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; -x_2 = l_myMacro____x40_Init_Notation___hyg_8168____closed__16; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -2495,7 +2498,7 @@ static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__39; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -2505,7 +2508,7 @@ static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind___closed__2; +x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__40; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2517,7 +2520,7 @@ static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35; +x_1 = l_Array_empty___closed__1; x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__41; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -2527,7 +2530,7 @@ static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_1 = l_Lean_nullKind___closed__2; x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__42; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2538,61 +2541,58 @@ return x_3; static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__44() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__43; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("declValSimple"); +return x_1; } } static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__44; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__46() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("hint"); +return x_1; } } static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__47() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind___closed__2; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__46; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__46; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__48() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("declValSimple"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__46; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__47; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; } } static lean_object* _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__48; +x_1 = lean_box(0); +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__46; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2637,1071 +2637,543 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_166; uint8_t x_167; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_163; uint8_t x_164; x_14 = lean_unsigned_to_nat(1u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_166 = l_Lean_nullKind___closed__2; +x_163 = l_Lean_nullKind___closed__2; lean_inc(x_15); -x_167 = l_Lean_Syntax_isOfKind(x_15, x_166); -if (x_167 == 0) +x_164 = l_Lean_Syntax_isOfKind(x_15, x_163); +if (x_164 == 0) { -lean_object* x_168; -x_168 = lean_box(0); -x_16 = x_168; -goto block_165; +lean_object* x_165; +x_165 = lean_box(0); +x_16 = x_165; +goto block_162; } else { -lean_object* x_169; lean_object* x_170; uint8_t x_171; -x_169 = l_Lean_Syntax_getArgs(x_15); -x_170 = lean_array_get_size(x_169); -x_171 = lean_nat_dec_eq(x_170, x_14); -lean_dec(x_170); -if (x_171 == 0) +lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; +x_166 = l_Lean_Syntax_getArgs(x_15); +x_167 = lean_array_get_size(x_166); +lean_dec(x_166); +x_168 = lean_unsigned_to_nat(0u); +x_169 = lean_nat_dec_eq(x_167, x_168); +lean_dec(x_167); +if (x_169 == 0) { -lean_object* x_172; -lean_dec(x_169); -x_172 = lean_box(0); -x_16 = x_172; -goto block_165; +lean_object* x_170; +x_170 = lean_box(0); +x_16 = x_170; +goto block_162; } else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; -x_173 = lean_unsigned_to_nat(0u); -x_174 = l_Lean_Syntax_getArg(x_15, x_173); +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; lean_object* x_179; uint8_t x_180; lean_dec(x_15); -x_175 = l_Lean_identKind___closed__2; -lean_inc(x_174); -x_176 = l_Lean_Syntax_isOfKind(x_174, x_175); -if (x_176 == 0) -{ -lean_object* x_177; lean_object* x_178; uint8_t x_179; +x_171 = lean_unsigned_to_nat(2u); +x_172 = l_Lean_Syntax_getArg(x_1, x_171); +x_173 = lean_unsigned_to_nat(4u); +x_174 = l_Lean_Syntax_getArg(x_1, x_173); +x_175 = lean_unsigned_to_nat(6u); +x_176 = l_Lean_Syntax_getArg(x_1, x_175); +lean_dec(x_1); +x_177 = l_Lean_Syntax_getArgs(x_174); lean_dec(x_174); -x_177 = lean_unsigned_to_nat(2u); -x_178 = l_Lean_Syntax_getArg(x_1, x_177); -lean_inc(x_178); -x_179 = l_Lean_Syntax_isOfKind(x_178, x_166); -if (x_179 == 0) +x_178 = l_Lean_Syntax_getArgs(x_172); +lean_dec(x_172); +x_179 = l___private_Init_NotationExtra_0__Lean_mkHintBody(x_177, x_176, x_2, x_3); +lean_dec(x_176); +x_180 = !lean_is_exclusive(x_179); +if (x_180 == 0) { -lean_object* x_180; lean_object* x_181; -lean_dec(x_178); -lean_dec(x_169); +lean_object* x_181; lean_object* x_182; lean_object* x_183; 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_object* x_194; lean_object* x_195; lean_object* x_196; 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; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; 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; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_181 = lean_ctor_get(x_179, 0); +x_182 = lean_ctor_get(x_2, 2); +lean_inc(x_182); +x_183 = lean_ctor_get(x_2, 1); +lean_inc(x_183); lean_dec(x_2); -lean_dec(x_1); -x_180 = lean_box(1); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_3); -return x_181; -} -else -{ -lean_object* x_182; lean_object* x_183; uint8_t x_184; -x_182 = l_Lean_Syntax_getArgs(x_178); -lean_dec(x_178); -x_183 = lean_array_get_size(x_182); -lean_dec(x_182); -x_184 = lean_nat_dec_eq(x_183, x_173); -lean_dec(x_183); -if (x_184 == 0) -{ -lean_object* x_185; lean_object* x_186; -lean_dec(x_169); -lean_dec(x_2); -lean_dec(x_1); -x_185 = lean_box(1); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set(x_186, 1, x_3); -return x_186; -} -else -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; -x_187 = lean_unsigned_to_nat(4u); -x_188 = l_Lean_Syntax_getArg(x_1, x_187); -x_189 = lean_unsigned_to_nat(6u); -x_190 = l_Lean_Syntax_getArg(x_1, x_189); -lean_dec(x_1); -x_191 = l_Lean_Syntax_getArgs(x_188); -lean_dec(x_188); -x_192 = l___private_Init_NotationExtra_0__Lean_mkHintBody(x_191, x_190, x_2, x_3); -lean_dec(x_190); -x_193 = !lean_is_exclusive(x_192); -if (x_193 == 0) -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; 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; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; 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; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; 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; lean_object* x_256; -x_194 = lean_ctor_get(x_192, 0); -x_195 = lean_ctor_get(x_2, 2); -lean_inc(x_195); -x_196 = lean_ctor_get(x_2, 1); -lean_inc(x_196); -lean_dec(x_2); -x_197 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; -lean_inc(x_195); -lean_inc(x_196); -x_198 = l_Lean_addMacroScope(x_196, x_197, x_195); -x_199 = lean_box(0); -x_200 = l_Lean_instInhabitedSourceInfo___closed__1; -x_201 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; -x_202 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_202, 0, x_200); -lean_ctor_set(x_202, 1, x_201); -lean_ctor_set(x_202, 2, x_198); -lean_ctor_set(x_202, 3, x_199); -x_203 = l_Array_empty___closed__1; -x_204 = lean_array_push(x_203, x_202); -x_205 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -x_206 = lean_array_push(x_204, x_205); -x_207 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; -x_208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_208, 0, x_207); -lean_ctor_set(x_208, 1, x_206); -x_209 = lean_array_push(x_203, x_208); -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_166); -lean_ctor_set(x_210, 1, x_209); -x_211 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; -x_212 = lean_array_push(x_211, x_210); -x_213 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; -x_214 = lean_array_push(x_212, x_213); -x_215 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_215); -lean_ctor_set(x_216, 1, x_214); -x_217 = lean_array_push(x_203, x_216); -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_166); +x_184 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; +lean_inc(x_182); +lean_inc(x_183); +x_185 = l_Lean_addMacroScope(x_183, x_184, x_182); +x_186 = lean_box(0); +x_187 = l_Lean_instInhabitedSourceInfo___closed__1; +x_188 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; +x_189 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_189, 0, x_187); +lean_ctor_set(x_189, 1, x_188); +lean_ctor_set(x_189, 2, x_185); +lean_ctor_set(x_189, 3, x_186); +x_190 = l_Array_empty___closed__1; +x_191 = lean_array_push(x_190, x_189); +x_192 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; +x_193 = lean_array_push(x_191, x_192); +x_194 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; +x_195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_193); +x_196 = lean_array_push(x_190, x_195); +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_163); +lean_ctor_set(x_197, 1, x_196); +x_198 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; +x_199 = lean_array_push(x_198, x_197); +x_200 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; +x_201 = lean_array_push(x_199, x_200); +x_202 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; +x_203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_201); +x_204 = lean_array_push(x_190, x_203); +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_163); +lean_ctor_set(x_205, 1, x_204); +x_206 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; +x_207 = lean_array_push(x_206, x_205); +x_208 = lean_array_push(x_207, x_192); +x_209 = lean_array_push(x_208, x_192); +x_210 = lean_array_push(x_209, x_192); +x_211 = lean_array_push(x_210, x_192); +x_212 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_212); +lean_ctor_set(x_213, 1, x_211); +x_214 = lean_array_push(x_190, x_213); +x_215 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_216 = l_Lean_addMacroScope(x_183, x_215, x_182); +x_217 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__48; +x_218 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_218, 0, x_187); lean_ctor_set(x_218, 1, x_217); -x_219 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; -x_220 = lean_array_push(x_219, x_218); -x_221 = lean_array_push(x_220, x_205); -x_222 = lean_array_push(x_221, x_205); -x_223 = lean_array_push(x_222, x_205); -x_224 = lean_array_push(x_223, x_205); -x_225 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; +lean_ctor_set(x_218, 2, x_216); +lean_ctor_set(x_218, 3, x_186); +x_219 = lean_array_push(x_190, x_218); +x_220 = lean_array_push(x_219, x_192); +x_221 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; +x_222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_222, 0, x_221); +lean_ctor_set(x_222, 1, x_220); +x_223 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; +x_224 = lean_array_push(x_223, x_222); +x_225 = l_Array_appendCore___rarg(x_190, x_178); +lean_dec(x_178); x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_225); -lean_ctor_set(x_226, 1, x_224); -x_227 = lean_array_push(x_203, x_226); -x_228 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; -x_229 = l_Lean_addMacroScope(x_196, x_228, x_195); -x_230 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; -x_231 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_231, 0, x_200); -lean_ctor_set(x_231, 1, x_230); -lean_ctor_set(x_231, 2, x_229); -lean_ctor_set(x_231, 3, x_199); -x_232 = lean_array_push(x_203, x_231); -x_233 = lean_array_push(x_232, x_205); -x_234 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; -x_235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_233); -x_236 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; -x_237 = lean_array_push(x_236, x_235); -x_238 = l_Array_appendCore___rarg(x_203, x_169); -lean_dec(x_169); -x_239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_239, 0, x_166); -lean_ctor_set(x_239, 1, x_238); -x_240 = lean_array_push(x_203, x_239); -x_241 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__47; -x_242 = lean_array_push(x_240, x_241); -x_243 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; -x_244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_244, 0, x_243); -lean_ctor_set(x_244, 1, x_242); -x_245 = lean_array_push(x_237, x_244); -x_246 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; -x_247 = lean_array_push(x_246, x_194); -x_248 = lean_array_push(x_247, x_205); -x_249 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_249); -lean_ctor_set(x_250, 1, x_248); -x_251 = lean_array_push(x_245, x_250); -x_252 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_251); -x_254 = lean_array_push(x_227, x_253); -x_255 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_255); -lean_ctor_set(x_256, 1, x_254); -lean_ctor_set(x_192, 0, x_256); -return x_192; +lean_ctor_set(x_226, 0, x_163); +lean_ctor_set(x_226, 1, x_225); +x_227 = lean_array_push(x_190, x_226); +x_228 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__43; +x_229 = lean_array_push(x_227, x_228); +x_230 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_229); +x_232 = lean_array_push(x_224, x_231); +x_233 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; +x_234 = lean_array_push(x_233, x_181); +x_235 = lean_array_push(x_234, x_192); +x_236 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; +x_237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_237, 0, x_236); +lean_ctor_set(x_237, 1, x_235); +x_238 = lean_array_push(x_232, x_237); +x_239 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_239); +lean_ctor_set(x_240, 1, x_238); +x_241 = lean_array_push(x_214, x_240); +x_242 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_241); +lean_ctor_set(x_179, 0, x_243); +return x_179; } else { -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; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; 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_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; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; -x_257 = lean_ctor_get(x_192, 0); -x_258 = lean_ctor_get(x_192, 1); -lean_inc(x_258); -lean_inc(x_257); -lean_dec(x_192); -x_259 = lean_ctor_get(x_2, 2); -lean_inc(x_259); -x_260 = lean_ctor_get(x_2, 1); -lean_inc(x_260); +lean_object* x_244; lean_object* x_245; lean_object* x_246; 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; 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; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; 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_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; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; +x_244 = lean_ctor_get(x_179, 0); +x_245 = lean_ctor_get(x_179, 1); +lean_inc(x_245); +lean_inc(x_244); +lean_dec(x_179); +x_246 = lean_ctor_get(x_2, 2); +lean_inc(x_246); +x_247 = lean_ctor_get(x_2, 1); +lean_inc(x_247); lean_dec(x_2); -x_261 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; -lean_inc(x_259); -lean_inc(x_260); -x_262 = l_Lean_addMacroScope(x_260, x_261, x_259); -x_263 = lean_box(0); -x_264 = l_Lean_instInhabitedSourceInfo___closed__1; -x_265 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; -x_266 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_266, 0, x_264); -lean_ctor_set(x_266, 1, x_265); -lean_ctor_set(x_266, 2, x_262); -lean_ctor_set(x_266, 3, x_263); -x_267 = l_Array_empty___closed__1; -x_268 = lean_array_push(x_267, x_266); -x_269 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -x_270 = lean_array_push(x_268, x_269); -x_271 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_271); -lean_ctor_set(x_272, 1, x_270); -x_273 = lean_array_push(x_267, x_272); -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_166); -lean_ctor_set(x_274, 1, x_273); -x_275 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; -x_276 = lean_array_push(x_275, x_274); -x_277 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; -x_278 = lean_array_push(x_276, x_277); -x_279 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_278); -x_281 = lean_array_push(x_267, x_280); -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_166); +x_248 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; +lean_inc(x_246); +lean_inc(x_247); +x_249 = l_Lean_addMacroScope(x_247, x_248, x_246); +x_250 = lean_box(0); +x_251 = l_Lean_instInhabitedSourceInfo___closed__1; +x_252 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; +x_253 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_253, 0, x_251); +lean_ctor_set(x_253, 1, x_252); +lean_ctor_set(x_253, 2, x_249); +lean_ctor_set(x_253, 3, x_250); +x_254 = l_Array_empty___closed__1; +x_255 = lean_array_push(x_254, x_253); +x_256 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; +x_257 = lean_array_push(x_255, x_256); +x_258 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; +x_259 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_257); +x_260 = lean_array_push(x_254, x_259); +x_261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_163); +lean_ctor_set(x_261, 1, x_260); +x_262 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; +x_263 = lean_array_push(x_262, x_261); +x_264 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; +x_265 = lean_array_push(x_263, x_264); +x_266 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; +x_267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_265); +x_268 = lean_array_push(x_254, x_267); +x_269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_269, 0, x_163); +lean_ctor_set(x_269, 1, x_268); +x_270 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; +x_271 = lean_array_push(x_270, x_269); +x_272 = lean_array_push(x_271, x_256); +x_273 = lean_array_push(x_272, x_256); +x_274 = lean_array_push(x_273, x_256); +x_275 = lean_array_push(x_274, x_256); +x_276 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; +x_277 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_277, 0, x_276); +lean_ctor_set(x_277, 1, x_275); +x_278 = lean_array_push(x_254, x_277); +x_279 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_280 = l_Lean_addMacroScope(x_247, x_279, x_246); +x_281 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__48; +x_282 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_282, 0, x_251); lean_ctor_set(x_282, 1, x_281); -x_283 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; -x_284 = lean_array_push(x_283, x_282); -x_285 = lean_array_push(x_284, x_269); -x_286 = lean_array_push(x_285, x_269); -x_287 = lean_array_push(x_286, x_269); -x_288 = lean_array_push(x_287, x_269); -x_289 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; +lean_ctor_set(x_282, 2, x_280); +lean_ctor_set(x_282, 3, x_250); +x_283 = lean_array_push(x_254, x_282); +x_284 = lean_array_push(x_283, x_256); +x_285 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_284); +x_287 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; +x_288 = lean_array_push(x_287, x_286); +x_289 = l_Array_appendCore___rarg(x_254, x_178); +lean_dec(x_178); x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_288); -x_291 = lean_array_push(x_267, x_290); -x_292 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; -x_293 = l_Lean_addMacroScope(x_260, x_292, x_259); -x_294 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; -x_295 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_295, 0, x_264); -lean_ctor_set(x_295, 1, x_294); -lean_ctor_set(x_295, 2, x_293); -lean_ctor_set(x_295, 3, x_263); -x_296 = lean_array_push(x_267, x_295); -x_297 = lean_array_push(x_296, x_269); -x_298 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; -x_299 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_299, 0, x_298); -lean_ctor_set(x_299, 1, x_297); -x_300 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; -x_301 = lean_array_push(x_300, x_299); -x_302 = l_Array_appendCore___rarg(x_267, x_169); -lean_dec(x_169); -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_166); -lean_ctor_set(x_303, 1, x_302); -x_304 = lean_array_push(x_267, x_303); -x_305 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__47; -x_306 = lean_array_push(x_304, x_305); -x_307 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; -x_308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_290, 0, x_163); +lean_ctor_set(x_290, 1, x_289); +x_291 = lean_array_push(x_254, x_290); +x_292 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__43; +x_293 = lean_array_push(x_291, x_292); +x_294 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; +x_295 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_295, 0, x_294); +lean_ctor_set(x_295, 1, x_293); +x_296 = lean_array_push(x_288, x_295); +x_297 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; +x_298 = lean_array_push(x_297, x_244); +x_299 = lean_array_push(x_298, x_256); +x_300 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; +x_301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_301, 0, x_300); +lean_ctor_set(x_301, 1, x_299); +x_302 = lean_array_push(x_296, x_301); +x_303 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; +x_304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_302); +x_305 = lean_array_push(x_278, x_304); +x_306 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; +x_307 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_307, 0, x_306); +lean_ctor_set(x_307, 1, x_305); +x_308 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_308, 0, x_307); -lean_ctor_set(x_308, 1, x_306); -x_309 = lean_array_push(x_301, x_308); -x_310 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; -x_311 = lean_array_push(x_310, x_257); -x_312 = lean_array_push(x_311, x_269); -x_313 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_312); -x_315 = lean_array_push(x_309, x_314); -x_316 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_315); -x_318 = lean_array_push(x_291, x_317); -x_319 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; -x_320 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_320, 0, x_319); -lean_ctor_set(x_320, 1, x_318); -x_321 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_321, 0, x_320); -lean_ctor_set(x_321, 1, x_258); -return x_321; +lean_ctor_set(x_308, 1, x_245); +return x_308; } } } -} -else +block_162: { -lean_object* x_322; lean_object* x_323; lean_object* x_324; uint8_t x_454; -x_322 = lean_unsigned_to_nat(2u); -x_323 = l_Lean_Syntax_getArg(x_1, x_322); -lean_inc(x_323); -x_454 = l_Lean_Syntax_isOfKind(x_323, x_166); -if (x_454 == 0) -{ -lean_object* x_455; -lean_dec(x_169); -x_455 = lean_box(0); -x_324 = x_455; -goto block_453; -} -else -{ -lean_object* x_456; lean_object* x_457; uint8_t x_458; -x_456 = l_Lean_Syntax_getArgs(x_323); -x_457 = lean_array_get_size(x_456); -lean_dec(x_456); -x_458 = lean_nat_dec_eq(x_457, x_173); -lean_dec(x_457); -if (x_458 == 0) -{ -lean_object* x_459; -lean_dec(x_169); -x_459 = lean_box(0); -x_324 = x_459; -goto block_453; -} -else -{ -lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; uint8_t x_466; -lean_dec(x_323); -lean_dec(x_174); -x_460 = lean_unsigned_to_nat(4u); -x_461 = l_Lean_Syntax_getArg(x_1, x_460); -x_462 = lean_unsigned_to_nat(6u); -x_463 = l_Lean_Syntax_getArg(x_1, x_462); -lean_dec(x_1); -x_464 = l_Lean_Syntax_getArgs(x_461); -lean_dec(x_461); -x_465 = l___private_Init_NotationExtra_0__Lean_mkHintBody(x_464, x_463, x_2, x_3); -lean_dec(x_463); -x_466 = !lean_is_exclusive(x_465); -if (x_466 == 0) -{ -lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; -x_467 = lean_ctor_get(x_465, 0); -x_468 = lean_ctor_get(x_2, 2); -lean_inc(x_468); -x_469 = lean_ctor_get(x_2, 1); -lean_inc(x_469); -lean_dec(x_2); -x_470 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; -lean_inc(x_468); -lean_inc(x_469); -x_471 = l_Lean_addMacroScope(x_469, x_470, x_468); -x_472 = lean_box(0); -x_473 = l_Lean_instInhabitedSourceInfo___closed__1; -x_474 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; -x_475 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_475, 0, x_473); -lean_ctor_set(x_475, 1, x_474); -lean_ctor_set(x_475, 2, x_471); -lean_ctor_set(x_475, 3, x_472); -x_476 = l_Array_empty___closed__1; -x_477 = lean_array_push(x_476, x_475); -x_478 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -x_479 = lean_array_push(x_477, x_478); -x_480 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; -x_481 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_481, 0, x_480); -lean_ctor_set(x_481, 1, x_479); -x_482 = lean_array_push(x_476, x_481); -x_483 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_483, 0, x_166); -lean_ctor_set(x_483, 1, x_482); -x_484 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; -x_485 = lean_array_push(x_484, x_483); -x_486 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; -x_487 = lean_array_push(x_485, x_486); -x_488 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; -x_489 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_489, 0, x_488); -lean_ctor_set(x_489, 1, x_487); -x_490 = lean_array_push(x_476, x_489); -x_491 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_491, 0, x_166); -lean_ctor_set(x_491, 1, x_490); -x_492 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; -x_493 = lean_array_push(x_492, x_491); -x_494 = lean_array_push(x_493, x_478); -x_495 = lean_array_push(x_494, x_478); -x_496 = lean_array_push(x_495, x_478); -x_497 = lean_array_push(x_496, x_478); -x_498 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; -x_499 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_499, 0, x_498); -lean_ctor_set(x_499, 1, x_497); -x_500 = lean_array_push(x_476, x_499); -x_501 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; -x_502 = l_Lean_addMacroScope(x_469, x_501, x_468); -x_503 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; -x_504 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_504, 0, x_473); -lean_ctor_set(x_504, 1, x_503); -lean_ctor_set(x_504, 2, x_502); -lean_ctor_set(x_504, 3, x_472); -x_505 = lean_array_push(x_476, x_504); -x_506 = lean_array_push(x_505, x_478); -x_507 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; -x_508 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_508, 0, x_507); -lean_ctor_set(x_508, 1, x_506); -x_509 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; -x_510 = lean_array_push(x_509, x_508); -x_511 = l_Array_appendCore___rarg(x_476, x_169); -lean_dec(x_169); -x_512 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_512, 0, x_166); -lean_ctor_set(x_512, 1, x_511); -x_513 = lean_array_push(x_476, x_512); -x_514 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__47; -x_515 = lean_array_push(x_513, x_514); -x_516 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; -x_517 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_517, 0, x_516); -lean_ctor_set(x_517, 1, x_515); -x_518 = lean_array_push(x_510, x_517); -x_519 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; -x_520 = lean_array_push(x_519, x_467); -x_521 = lean_array_push(x_520, x_478); -x_522 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; -x_523 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_523, 0, x_522); -lean_ctor_set(x_523, 1, x_521); -x_524 = lean_array_push(x_518, x_523); -x_525 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; -x_526 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_526, 0, x_525); -lean_ctor_set(x_526, 1, x_524); -x_527 = lean_array_push(x_500, x_526); -x_528 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; -x_529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_529, 0, x_528); -lean_ctor_set(x_529, 1, x_527); -lean_ctor_set(x_465, 0, x_529); -return x_465; -} -else -{ -lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; -x_530 = lean_ctor_get(x_465, 0); -x_531 = lean_ctor_get(x_465, 1); -lean_inc(x_531); -lean_inc(x_530); -lean_dec(x_465); -x_532 = lean_ctor_get(x_2, 2); -lean_inc(x_532); -x_533 = lean_ctor_get(x_2, 1); -lean_inc(x_533); -lean_dec(x_2); -x_534 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; -lean_inc(x_532); -lean_inc(x_533); -x_535 = l_Lean_addMacroScope(x_533, x_534, x_532); -x_536 = lean_box(0); -x_537 = l_Lean_instInhabitedSourceInfo___closed__1; -x_538 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; -x_539 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_539, 0, x_537); -lean_ctor_set(x_539, 1, x_538); -lean_ctor_set(x_539, 2, x_535); -lean_ctor_set(x_539, 3, x_536); -x_540 = l_Array_empty___closed__1; -x_541 = lean_array_push(x_540, x_539); -x_542 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -x_543 = lean_array_push(x_541, x_542); -x_544 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; -x_545 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_545, 0, x_544); -lean_ctor_set(x_545, 1, x_543); -x_546 = lean_array_push(x_540, x_545); -x_547 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_547, 0, x_166); -lean_ctor_set(x_547, 1, x_546); -x_548 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; -x_549 = lean_array_push(x_548, x_547); -x_550 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; -x_551 = lean_array_push(x_549, x_550); -x_552 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; -x_553 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_553, 0, x_552); -lean_ctor_set(x_553, 1, x_551); -x_554 = lean_array_push(x_540, x_553); -x_555 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_555, 0, x_166); -lean_ctor_set(x_555, 1, x_554); -x_556 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; -x_557 = lean_array_push(x_556, x_555); -x_558 = lean_array_push(x_557, x_542); -x_559 = lean_array_push(x_558, x_542); -x_560 = lean_array_push(x_559, x_542); -x_561 = lean_array_push(x_560, x_542); -x_562 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; -x_563 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_563, 0, x_562); -lean_ctor_set(x_563, 1, x_561); -x_564 = lean_array_push(x_540, x_563); -x_565 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; -x_566 = l_Lean_addMacroScope(x_533, x_565, x_532); -x_567 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; -x_568 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_568, 0, x_537); -lean_ctor_set(x_568, 1, x_567); -lean_ctor_set(x_568, 2, x_566); -lean_ctor_set(x_568, 3, x_536); -x_569 = lean_array_push(x_540, x_568); -x_570 = lean_array_push(x_569, x_542); -x_571 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; -x_572 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_572, 0, x_571); -lean_ctor_set(x_572, 1, x_570); -x_573 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; -x_574 = lean_array_push(x_573, x_572); -x_575 = l_Array_appendCore___rarg(x_540, x_169); -lean_dec(x_169); -x_576 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_576, 0, x_166); -lean_ctor_set(x_576, 1, x_575); -x_577 = lean_array_push(x_540, x_576); -x_578 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__47; -x_579 = lean_array_push(x_577, x_578); -x_580 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; -x_581 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_581, 0, x_580); -lean_ctor_set(x_581, 1, x_579); -x_582 = lean_array_push(x_574, x_581); -x_583 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; -x_584 = lean_array_push(x_583, x_530); -x_585 = lean_array_push(x_584, x_542); -x_586 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; -x_587 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_587, 0, x_586); -lean_ctor_set(x_587, 1, x_585); -x_588 = lean_array_push(x_582, x_587); -x_589 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; -x_590 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_590, 0, x_589); -lean_ctor_set(x_590, 1, x_588); -x_591 = lean_array_push(x_564, x_590); -x_592 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; -x_593 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_593, 0, x_592); -lean_ctor_set(x_593, 1, x_591); -x_594 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_594, 0, x_593); -lean_ctor_set(x_594, 1, x_531); -return x_594; -} -} -} -block_453: -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; uint8_t x_332; -lean_dec(x_324); -x_325 = lean_unsigned_to_nat(4u); -x_326 = l_Lean_Syntax_getArg(x_1, x_325); -x_327 = lean_unsigned_to_nat(6u); -x_328 = l_Lean_Syntax_getArg(x_1, x_327); -lean_dec(x_1); -x_329 = l_Lean_Syntax_getArgs(x_326); -lean_dec(x_326); -x_330 = l_Lean_Syntax_getArgs(x_323); -lean_dec(x_323); -x_331 = l___private_Init_NotationExtra_0__Lean_mkHintBody(x_329, x_328, x_2, x_3); -lean_dec(x_328); -x_332 = !lean_is_exclusive(x_331); -if (x_332 == 0) -{ -lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; -x_333 = lean_ctor_get(x_331, 0); -x_334 = lean_ctor_get(x_2, 2); -lean_inc(x_334); -x_335 = lean_ctor_get(x_2, 1); -lean_inc(x_335); -lean_dec(x_2); -x_336 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; -x_337 = l_Lean_addMacroScope(x_335, x_336, x_334); -x_338 = lean_box(0); -x_339 = l_Lean_instInhabitedSourceInfo___closed__1; -x_340 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; -x_341 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_341, 0, x_339); -lean_ctor_set(x_341, 1, x_340); -lean_ctor_set(x_341, 2, x_337); -lean_ctor_set(x_341, 3, x_338); -x_342 = l_Array_empty___closed__1; -x_343 = lean_array_push(x_342, x_341); -x_344 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -x_345 = lean_array_push(x_343, x_344); -x_346 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; -x_347 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_347, 0, x_346); -lean_ctor_set(x_347, 1, x_345); -x_348 = lean_array_push(x_342, x_347); -x_349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_349, 0, x_166); -lean_ctor_set(x_349, 1, x_348); -x_350 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; -x_351 = lean_array_push(x_350, x_349); -x_352 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; -x_353 = lean_array_push(x_351, x_352); -x_354 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_354); -lean_ctor_set(x_355, 1, x_353); -x_356 = lean_array_push(x_342, x_355); -x_357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_357, 0, x_166); -lean_ctor_set(x_357, 1, x_356); -x_358 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; -x_359 = lean_array_push(x_358, x_357); -x_360 = lean_array_push(x_359, x_344); -x_361 = lean_array_push(x_360, x_344); -x_362 = lean_array_push(x_361, x_344); -x_363 = lean_array_push(x_362, x_344); -x_364 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; -x_365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_365, 0, x_364); -lean_ctor_set(x_365, 1, x_363); -x_366 = lean_array_push(x_342, x_365); -x_367 = lean_array_push(x_342, x_174); -x_368 = lean_array_push(x_367, x_344); -x_369 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; -x_370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_370, 0, x_369); -lean_ctor_set(x_370, 1, x_368); -x_371 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; -x_372 = lean_array_push(x_371, x_370); -x_373 = l_Array_appendCore___rarg(x_342, x_330); -lean_dec(x_330); -x_374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_374, 0, x_166); -lean_ctor_set(x_374, 1, x_373); -x_375 = lean_array_push(x_342, x_374); -x_376 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__47; -x_377 = lean_array_push(x_375, x_376); -x_378 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; -x_379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_379, 0, x_378); -lean_ctor_set(x_379, 1, x_377); -x_380 = lean_array_push(x_372, x_379); -x_381 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; -x_382 = lean_array_push(x_381, x_333); -x_383 = lean_array_push(x_382, x_344); -x_384 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; -x_385 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_385, 0, x_384); -lean_ctor_set(x_385, 1, x_383); -x_386 = lean_array_push(x_380, x_385); -x_387 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; -x_388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_388, 0, x_387); -lean_ctor_set(x_388, 1, x_386); -x_389 = lean_array_push(x_366, x_388); -x_390 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; -x_391 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_391, 0, x_390); -lean_ctor_set(x_391, 1, x_389); -lean_ctor_set(x_331, 0, x_391); -return x_331; -} -else -{ -lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; -x_392 = lean_ctor_get(x_331, 0); -x_393 = lean_ctor_get(x_331, 1); -lean_inc(x_393); -lean_inc(x_392); -lean_dec(x_331); -x_394 = lean_ctor_get(x_2, 2); -lean_inc(x_394); -x_395 = lean_ctor_get(x_2, 1); -lean_inc(x_395); -lean_dec(x_2); -x_396 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; -x_397 = l_Lean_addMacroScope(x_395, x_396, x_394); -x_398 = lean_box(0); -x_399 = l_Lean_instInhabitedSourceInfo___closed__1; -x_400 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; -x_401 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_401, 0, x_399); -lean_ctor_set(x_401, 1, x_400); -lean_ctor_set(x_401, 2, x_397); -lean_ctor_set(x_401, 3, x_398); -x_402 = l_Array_empty___closed__1; -x_403 = lean_array_push(x_402, x_401); -x_404 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -x_405 = lean_array_push(x_403, x_404); -x_406 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; -x_407 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_407, 0, x_406); -lean_ctor_set(x_407, 1, x_405); -x_408 = lean_array_push(x_402, x_407); -x_409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_409, 0, x_166); -lean_ctor_set(x_409, 1, x_408); -x_410 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; -x_411 = lean_array_push(x_410, x_409); -x_412 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; -x_413 = lean_array_push(x_411, x_412); -x_414 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; -x_415 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_415, 0, x_414); -lean_ctor_set(x_415, 1, x_413); -x_416 = lean_array_push(x_402, x_415); -x_417 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_417, 0, x_166); -lean_ctor_set(x_417, 1, x_416); -x_418 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; -x_419 = lean_array_push(x_418, x_417); -x_420 = lean_array_push(x_419, x_404); -x_421 = lean_array_push(x_420, x_404); -x_422 = lean_array_push(x_421, x_404); -x_423 = lean_array_push(x_422, x_404); -x_424 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; -x_425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_425, 0, x_424); -lean_ctor_set(x_425, 1, x_423); -x_426 = lean_array_push(x_402, x_425); -x_427 = lean_array_push(x_402, x_174); -x_428 = lean_array_push(x_427, x_404); -x_429 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; -x_430 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_430, 0, x_429); -lean_ctor_set(x_430, 1, x_428); -x_431 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; -x_432 = lean_array_push(x_431, x_430); -x_433 = l_Array_appendCore___rarg(x_402, x_330); -lean_dec(x_330); -x_434 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_434, 0, x_166); -lean_ctor_set(x_434, 1, x_433); -x_435 = lean_array_push(x_402, x_434); -x_436 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__47; -x_437 = lean_array_push(x_435, x_436); -x_438 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; -x_439 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_439, 0, x_438); -lean_ctor_set(x_439, 1, x_437); -x_440 = lean_array_push(x_432, x_439); -x_441 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; -x_442 = lean_array_push(x_441, x_392); -x_443 = lean_array_push(x_442, x_404); -x_444 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; -x_445 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_445, 0, x_444); -lean_ctor_set(x_445, 1, x_443); -x_446 = lean_array_push(x_440, x_445); -x_447 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; -x_448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_448, 0, x_447); -lean_ctor_set(x_448, 1, x_446); -x_449 = lean_array_push(x_426, x_448); -x_450 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; -x_451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_451, 0, x_450); -lean_ctor_set(x_451, 1, x_449); -x_452 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_452, 0, x_451); -lean_ctor_set(x_452, 1, x_393); -return x_452; -} -} -} -} -} -block_165: -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_object* x_17; uint8_t x_18; lean_dec(x_16); -x_17 = lean_unsigned_to_nat(2u); -x_18 = l_Lean_Syntax_getArg(x_1, x_17); -x_19 = l_Lean_nullKind___closed__2; -lean_inc(x_18); -x_20 = l_Lean_Syntax_isOfKind(x_18, x_19); -if (x_20 == 0) +x_17 = l_Lean_nullKind___closed__2; +lean_inc(x_15); +x_18 = l_Lean_Syntax_isOfKind(x_15, x_17); +if (x_18 == 0) { -lean_object* x_21; lean_object* x_22; -lean_dec(x_18); +lean_object* x_19; lean_object* x_20; lean_dec(x_15); lean_dec(x_2); lean_dec(x_1); -x_21 = lean_box(1); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_3); -return x_22; +x_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_3); +return x_20; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_23 = l_Lean_Syntax_getArgs(x_18); -lean_dec(x_18); -x_24 = lean_array_get_size(x_23); -lean_dec(x_23); -x_25 = lean_unsigned_to_nat(0u); -x_26 = lean_nat_dec_eq(x_24, x_25); -lean_dec(x_24); -if (x_26 == 0) +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = l_Lean_Syntax_getArgs(x_15); +x_22 = lean_array_get_size(x_21); +lean_dec(x_21); +x_23 = lean_nat_dec_eq(x_22, x_14); +lean_dec(x_22); +if (x_23 == 0) { -lean_object* x_27; lean_object* x_28; +lean_object* x_24; lean_object* x_25; lean_dec(x_15); lean_dec(x_2); lean_dec(x_1); -x_27 = lean_box(1); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_3); -return x_28; +x_24 = lean_box(1); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_3); +return x_25; } else { -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; -x_29 = lean_unsigned_to_nat(4u); -x_30 = l_Lean_Syntax_getArg(x_1, x_29); -x_31 = lean_unsigned_to_nat(6u); -x_32 = l_Lean_Syntax_getArg(x_1, x_31); -lean_dec(x_1); -x_33 = l_Lean_Syntax_getArgs(x_30); -lean_dec(x_30); -x_34 = l_Lean_Syntax_getArgs(x_15); +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_26 = lean_unsigned_to_nat(0u); +x_27 = l_Lean_Syntax_getArg(x_15, x_26); lean_dec(x_15); -x_35 = l___private_Init_NotationExtra_0__Lean_mkHintBody(x_33, x_32, x_2, x_3); -lean_dec(x_32); -x_36 = !lean_is_exclusive(x_35); -if (x_36 == 0) +x_28 = l_Lean_identKind___closed__2; +lean_inc(x_27); +x_29 = l_Lean_Syntax_isOfKind(x_27, x_28); +if (x_29 == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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; lean_object* x_72; 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; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; 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; -x_37 = lean_ctor_get(x_35, 0); -x_38 = lean_ctor_get(x_2, 2); -lean_inc(x_38); -x_39 = lean_ctor_get(x_2, 1); -lean_inc(x_39); +lean_object* x_30; lean_object* x_31; +lean_dec(x_27); lean_dec(x_2); -x_40 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; -lean_inc(x_38); -lean_inc(x_39); -x_41 = l_Lean_addMacroScope(x_39, x_40, x_38); -x_42 = lean_box(0); -x_43 = l_Lean_instInhabitedSourceInfo___closed__1; -x_44 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; -x_45 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_41); -lean_ctor_set(x_45, 3, x_42); -x_46 = l_Array_empty___closed__1; -x_47 = lean_array_push(x_46, x_45); -x_48 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -x_49 = lean_array_push(x_47, x_48); -x_50 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_49); -x_52 = lean_array_push(x_46, x_51); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_19); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; -x_55 = lean_array_push(x_54, x_53); -x_56 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; -x_57 = lean_array_push(x_55, x_56); -x_58 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -x_60 = lean_array_push(x_46, x_59); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_19); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; -x_63 = lean_array_push(x_62, x_61); -x_64 = lean_array_push(x_63, x_48); -x_65 = lean_array_push(x_64, x_48); -x_66 = lean_array_push(x_65, x_48); -x_67 = lean_array_push(x_66, x_48); -x_68 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -x_70 = lean_array_push(x_46, x_69); -x_71 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; -x_72 = l_Lean_addMacroScope(x_39, x_71, x_38); -x_73 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; -x_74 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_74, 0, x_43); -lean_ctor_set(x_74, 1, x_73); -lean_ctor_set(x_74, 2, x_72); -lean_ctor_set(x_74, 3, x_42); -x_75 = lean_array_push(x_46, x_74); -x_76 = lean_array_push(x_75, x_48); -x_77 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_76); -x_79 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; -x_80 = lean_array_push(x_79, x_78); -x_81 = l_Array_appendCore___rarg(x_46, x_34); -lean_dec(x_34); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_19); -lean_ctor_set(x_82, 1, x_81); -x_83 = lean_array_push(x_46, x_82); -x_84 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__47; -x_85 = lean_array_push(x_83, x_84); -x_86 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_85); -x_88 = lean_array_push(x_80, x_87); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; -x_90 = lean_array_push(x_89, x_37); -x_91 = lean_array_push(x_90, x_48); -x_92 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_91); -x_94 = lean_array_push(x_88, x_93); -x_95 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = lean_array_push(x_70, x_96); -x_98 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_97); -lean_ctor_set(x_35, 0, x_99); -return x_35; +lean_dec(x_1); +x_30 = lean_box(1); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_3); +return x_31; } else { -lean_object* x_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_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_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; 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; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_100 = lean_ctor_get(x_35, 0); -x_101 = lean_ctor_get(x_35, 1); -lean_inc(x_101); -lean_inc(x_100); +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; uint8_t x_41; +x_32 = lean_unsigned_to_nat(2u); +x_33 = l_Lean_Syntax_getArg(x_1, x_32); +x_34 = lean_unsigned_to_nat(4u); +x_35 = l_Lean_Syntax_getArg(x_1, x_34); +x_36 = lean_unsigned_to_nat(6u); +x_37 = l_Lean_Syntax_getArg(x_1, x_36); +lean_dec(x_1); +x_38 = l_Lean_Syntax_getArgs(x_35); lean_dec(x_35); -x_102 = lean_ctor_get(x_2, 2); -lean_inc(x_102); -x_103 = lean_ctor_get(x_2, 1); -lean_inc(x_103); +x_39 = l_Lean_Syntax_getArgs(x_33); +lean_dec(x_33); +x_40 = l___private_Init_NotationExtra_0__Lean_mkHintBody(x_38, x_37, x_2, x_3); +lean_dec(x_37); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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; lean_object* x_72; 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; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; 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; +x_42 = lean_ctor_get(x_40, 0); +x_43 = lean_ctor_get(x_2, 2); +lean_inc(x_43); +x_44 = lean_ctor_get(x_2, 1); +lean_inc(x_44); lean_dec(x_2); -x_104 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; +x_45 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; +x_46 = l_Lean_addMacroScope(x_44, x_45, x_43); +x_47 = lean_box(0); +x_48 = l_Lean_instInhabitedSourceInfo___closed__1; +x_49 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; +x_50 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_46); +lean_ctor_set(x_50, 3, x_47); +x_51 = l_Array_empty___closed__1; +x_52 = lean_array_push(x_51, x_50); +x_53 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; +x_54 = lean_array_push(x_52, x_53); +x_55 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_54); +x_57 = lean_array_push(x_51, x_56); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_17); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; +x_60 = lean_array_push(x_59, x_58); +x_61 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; +x_62 = lean_array_push(x_60, x_61); +x_63 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = lean_array_push(x_51, x_64); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_17); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; +x_68 = lean_array_push(x_67, x_66); +x_69 = lean_array_push(x_68, x_53); +x_70 = lean_array_push(x_69, x_53); +x_71 = lean_array_push(x_70, x_53); +x_72 = lean_array_push(x_71, x_53); +x_73 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_72); +x_75 = lean_array_push(x_51, x_74); +x_76 = lean_array_push(x_51, x_27); +x_77 = lean_array_push(x_76, x_53); +x_78 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; +x_81 = lean_array_push(x_80, x_79); +x_82 = l_Array_appendCore___rarg(x_51, x_39); +lean_dec(x_39); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_17); +lean_ctor_set(x_83, 1, x_82); +x_84 = lean_array_push(x_51, x_83); +x_85 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__43; +x_86 = lean_array_push(x_84, x_85); +x_87 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_86); +x_89 = lean_array_push(x_81, x_88); +x_90 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; +x_91 = lean_array_push(x_90, x_42); +x_92 = lean_array_push(x_91, x_53); +x_93 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = lean_array_push(x_89, x_94); +x_96 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +x_98 = lean_array_push(x_75, x_97); +x_99 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +lean_ctor_set(x_40, 0, x_100); +return x_40; +} +else +{ +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_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_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; 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; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; 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_101 = lean_ctor_get(x_40, 0); +x_102 = lean_ctor_get(x_40, 1); lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_40); +x_103 = lean_ctor_get(x_2, 2); lean_inc(x_103); -x_105 = l_Lean_addMacroScope(x_103, x_104, x_102); -x_106 = lean_box(0); -x_107 = l_Lean_instInhabitedSourceInfo___closed__1; -x_108 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; -x_109 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -lean_ctor_set(x_109, 2, x_105); -lean_ctor_set(x_109, 3, x_106); -x_110 = l_Array_empty___closed__1; -x_111 = lean_array_push(x_110, x_109); -x_112 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -x_113 = lean_array_push(x_111, x_112); -x_114 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_113); -x_116 = lean_array_push(x_110, x_115); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_19); -lean_ctor_set(x_117, 1, x_116); -x_118 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; -x_119 = lean_array_push(x_118, x_117); -x_120 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; -x_121 = lean_array_push(x_119, x_120); -x_122 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_121); -x_124 = lean_array_push(x_110, x_123); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_19); -lean_ctor_set(x_125, 1, x_124); -x_126 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; -x_127 = lean_array_push(x_126, x_125); -x_128 = lean_array_push(x_127, x_112); -x_129 = lean_array_push(x_128, x_112); -x_130 = lean_array_push(x_129, x_112); -x_131 = lean_array_push(x_130, x_112); -x_132 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -x_134 = lean_array_push(x_110, x_133); -x_135 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; -x_136 = l_Lean_addMacroScope(x_103, x_135, x_102); -x_137 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; -x_138 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_138, 0, x_107); -lean_ctor_set(x_138, 1, x_137); -lean_ctor_set(x_138, 2, x_136); -lean_ctor_set(x_138, 3, x_106); -x_139 = lean_array_push(x_110, x_138); -x_140 = lean_array_push(x_139, x_112); -x_141 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_140); -x_143 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; -x_144 = lean_array_push(x_143, x_142); -x_145 = l_Array_appendCore___rarg(x_110, x_34); -lean_dec(x_34); -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_19); -lean_ctor_set(x_146, 1, x_145); -x_147 = lean_array_push(x_110, x_146); -x_148 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__47; -x_149 = lean_array_push(x_147, x_148); -x_150 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = lean_array_push(x_144, x_151); -x_153 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; -x_154 = lean_array_push(x_153, x_100); -x_155 = lean_array_push(x_154, x_112); -x_156 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_104 = lean_ctor_get(x_2, 1); +lean_inc(x_104); +lean_dec(x_2); +x_105 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__18; +x_106 = l_Lean_addMacroScope(x_104, x_105, x_103); +x_107 = lean_box(0); +x_108 = l_Lean_instInhabitedSourceInfo___closed__1; +x_109 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__17; +x_110 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +lean_ctor_set(x_110, 2, x_106); +lean_ctor_set(x_110, 3, x_107); +x_111 = l_Array_empty___closed__1; +x_112 = lean_array_push(x_111, x_110); +x_113 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; +x_114 = lean_array_push(x_112, x_113); +x_115 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_114); +x_117 = lean_array_push(x_111, x_116); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_17); +lean_ctor_set(x_118, 1, x_117); +x_119 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; +x_120 = lean_array_push(x_119, x_118); +x_121 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; +x_122 = lean_array_push(x_120, x_121); +x_123 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +x_125 = lean_array_push(x_111, x_124); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_17); +lean_ctor_set(x_126, 1, x_125); +x_127 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; +x_128 = lean_array_push(x_127, x_126); +x_129 = lean_array_push(x_128, x_113); +x_130 = lean_array_push(x_129, x_113); +x_131 = lean_array_push(x_130, x_113); +x_132 = lean_array_push(x_131, x_113); +x_133 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_132); +x_135 = lean_array_push(x_111, x_134); +x_136 = lean_array_push(x_111, x_27); +x_137 = lean_array_push(x_136, x_113); +x_138 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_137); +x_140 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__22; +x_141 = lean_array_push(x_140, x_139); +x_142 = l_Array_appendCore___rarg(x_111, x_39); +lean_dec(x_39); +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_17); +lean_ctor_set(x_143, 1, x_142); +x_144 = lean_array_push(x_111, x_143); +x_145 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__43; +x_146 = lean_array_push(x_144, x_145); +x_147 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_146); +x_149 = lean_array_push(x_141, x_148); +x_150 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; +x_151 = lean_array_push(x_150, x_101); +x_152 = lean_array_push(x_151, x_113); +x_153 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_152); +x_155 = lean_array_push(x_149, x_154); +x_156 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; x_157 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_157, 0, x_156); lean_ctor_set(x_157, 1, x_155); -x_158 = lean_array_push(x_152, x_157); -x_159 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; +x_158 = lean_array_push(x_135, x_157); +x_159 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; x_160 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_160, 0, x_159); lean_ctor_set(x_160, 1, x_158); -x_161 = lean_array_push(x_134, x_160); -x_162 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_161); -x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_101); -return x_164; +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_102); +return x_161; } } } @@ -3710,7 +3182,8 @@ return x_164; } } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__1() { +} +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -3720,27 +3193,27 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__2() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__1; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__1; x_2 = l_Lean_Name_hasMacroScopes___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__3() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__2; -x_2 = lean_unsigned_to_nat(2849u); +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__2; +x_2 = lean_unsigned_to_nat(2081u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__4() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__4() { _start: { lean_object* x_1; @@ -3748,22 +3221,22 @@ x_1 = lean_mk_string("∃"); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__5() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__4; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__4; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__6() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__5; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__5; x_3 = l_Lean_explicitBinders; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -3772,12 +3245,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__7() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__6; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__6; x_3 = l___kind_term____x40_Init_Notation___hyg_6289____closed__7; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -3786,12 +3259,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__8() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__7; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__7; x_3 = l___kind_term____x40_Init_Notation___hyg_5672____closed__9; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -3800,13 +3273,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__9() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__3; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__3; x_2 = lean_unsigned_to_nat(1023u); -x_3 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__8; +x_3 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__8; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3814,15 +3287,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2849_() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2081_() { _start: { lean_object* x_1; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__9; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__9; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__1() { _start: { lean_object* x_1; @@ -3830,21 +3303,21 @@ x_1 = lean_mk_string("Exists"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__1; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2891_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2123_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__3; +x_4 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__3; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -3884,7 +3357,7 @@ x_15 = l_Lean_Syntax_getArg(x_1, x_14); x_16 = lean_unsigned_to_nat(3u); x_17 = l_Lean_Syntax_getArg(x_1, x_16); lean_dec(x_1); -x_18 = l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__2; +x_18 = l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__2; x_19 = l_Lean_expandExplicitBinders(x_18, x_15, x_17, x_2, x_3); lean_dec(x_15); return x_19; @@ -3892,26 +3365,26 @@ return x_19; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2891____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2123____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2891_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2123_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__1() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__2; -x_2 = lean_unsigned_to_nat(2973u); +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__2; +x_2 = lean_unsigned_to_nat(2205u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__2() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__2() { _start: { lean_object* x_1; @@ -3919,22 +3392,22 @@ x_1 = lean_mk_string("exists"); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__3() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__2; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__2; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__4() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__3; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__3; x_3 = l_Lean_explicitBinders; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -3943,12 +3416,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__5() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__4; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__4; x_3 = l___kind_term____x40_Init_Notation___hyg_6289____closed__7; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -3957,12 +3430,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__6() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__5; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__5; x_3 = l___kind_term____x40_Init_Notation___hyg_5672____closed__9; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -3971,13 +3444,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__7() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__1; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__1; x_2 = lean_unsigned_to_nat(1023u); -x_3 = l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__6; +x_3 = l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__6; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3985,19 +3458,19 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2973_() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2205_() { _start: { lean_object* x_1; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__7; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__7; return x_1; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3015_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2247_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__1; +x_4 = l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -4037,7 +3510,7 @@ x_15 = l_Lean_Syntax_getArg(x_1, x_14); x_16 = lean_unsigned_to_nat(3u); x_17 = l_Lean_Syntax_getArg(x_1, x_16); lean_dec(x_1); -x_18 = l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__2; +x_18 = l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__2; x_19 = l_Lean_expandExplicitBinders(x_18, x_15, x_17, x_2, x_3); lean_dec(x_15); return x_19; @@ -4045,26 +3518,26 @@ return x_19; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3015____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2247____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_3015_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2247_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__1() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__2; -x_2 = lean_unsigned_to_nat(3097u); +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__2; +x_2 = lean_unsigned_to_nat(2329u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__2() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__2() { _start: { lean_object* x_1; @@ -4072,22 +3545,22 @@ x_1 = lean_mk_string("Σ"); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__3() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__2; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__2; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__4() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__3; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__3; x_3 = l_Lean_explicitBinders; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -4096,12 +3569,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__5() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__4; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__4; x_3 = l___kind_term____x40_Init_Notation___hyg_6289____closed__7; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -4110,12 +3583,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__6() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__5; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__5; x_3 = l___kind_term____x40_Init_Notation___hyg_5672____closed__9; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -4124,13 +3597,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__7() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__1; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__1; x_2 = lean_unsigned_to_nat(1023u); -x_3 = l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__6; +x_3 = l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__6; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4138,15 +3611,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3097_() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2329_() { _start: { lean_object* x_1; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__7; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__1() { _start: { lean_object* x_1; @@ -4154,21 +3627,21 @@ x_1 = lean_mk_string("Sigma"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__1; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3139_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2371_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__1; +x_4 = l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -4208,7 +3681,7 @@ x_15 = l_Lean_Syntax_getArg(x_1, x_14); x_16 = lean_unsigned_to_nat(3u); x_17 = l_Lean_Syntax_getArg(x_1, x_16); lean_dec(x_1); -x_18 = l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__2; +x_18 = l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__2; x_19 = l_Lean_expandExplicitBinders(x_18, x_15, x_17, x_2, x_3); lean_dec(x_15); return x_19; @@ -4216,26 +3689,26 @@ return x_19; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3139____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2371____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_3139_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2371_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__1() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__2; -x_2 = lean_unsigned_to_nat(3221u); +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__2; +x_2 = lean_unsigned_to_nat(2453u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__2() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__2() { _start: { lean_object* x_1; @@ -4243,22 +3716,22 @@ x_1 = lean_mk_string("Σ'"); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__3() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__2; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__2; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__4() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__3; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__3; x_3 = l_Lean_explicitBinders; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -4267,12 +3740,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__5() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__4; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__4; x_3 = l___kind_term____x40_Init_Notation___hyg_6289____closed__7; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -4281,12 +3754,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__6() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__5; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__5; x_3 = l___kind_term____x40_Init_Notation___hyg_5672____closed__9; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -4295,13 +3768,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__7() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__1; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__1; x_2 = lean_unsigned_to_nat(1023u); -x_3 = l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__6; +x_3 = l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__6; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4309,15 +3782,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3221_() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2453_() { _start: { lean_object* x_1; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__7; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__7; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__1() { _start: { lean_object* x_1; @@ -4325,21 +3798,21 @@ x_1 = lean_mk_string("PSigma"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__1; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3263_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2495_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__1; +x_4 = l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -4379,7 +3852,7 @@ x_15 = l_Lean_Syntax_getArg(x_1, x_14); x_16 = lean_unsigned_to_nat(3u); x_17 = l_Lean_Syntax_getArg(x_1, x_16); lean_dec(x_1); -x_18 = l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__2; +x_18 = l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__2; x_19 = l_Lean_expandExplicitBinders(x_18, x_15, x_17, x_2, x_3); lean_dec(x_15); return x_19; @@ -4387,26 +3860,26 @@ return x_19; } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3263____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2495____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_3263_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2495_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__1() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__2; -x_2 = lean_unsigned_to_nat(3345u); +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__2; +x_2 = lean_unsigned_to_nat(2577u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__2() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__2() { _start: { lean_object* x_1; @@ -4414,23 +3887,23 @@ x_1 = lean_mk_string("×"); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__3() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__2; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__2; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__4() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; x_2 = l_Lean_bracketedExplicitBinders; -x_3 = l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__3; +x_3 = l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__3; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4438,12 +3911,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__5() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__4; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__4; x_3 = l___kind_term____x40_Init_Notation___hyg_5672____closed__9; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -4452,13 +3925,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__6() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__1; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__1; x_2 = lean_unsigned_to_nat(25u); -x_3 = l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__5; +x_3 = l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__5; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4466,19 +3939,19 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3345_() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2577_() { _start: { lean_object* x_1; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__6; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__6; return x_1; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3383_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2615_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__1; +x_4 = l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -4518,33 +3991,33 @@ x_15 = l_Lean_Syntax_getArg(x_1, x_14); x_16 = lean_unsigned_to_nat(2u); x_17 = l_Lean_Syntax_getArg(x_1, x_16); lean_dec(x_1); -x_18 = l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__2; +x_18 = l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__2; x_19 = l_Lean_expandBrackedBinders(x_18, x_15, x_17, x_2, x_3); return x_19; } } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3383____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2615____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_3383_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2615_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__1() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__2; -x_2 = lean_unsigned_to_nat(3459u); +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__2; +x_2 = lean_unsigned_to_nat(2691u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__2() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__2() { _start: { lean_object* x_1; @@ -4552,23 +4025,23 @@ x_1 = lean_mk_string("×'"); return x_1; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__3() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__2; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__2; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__4() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; x_2 = l_Lean_bracketedExplicitBinders; -x_3 = l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__3; +x_3 = l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__3; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4576,12 +4049,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__5() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__4; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__4; x_3 = l___kind_term____x40_Init_Notation___hyg_5672____closed__9; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -4590,13 +4063,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__6() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__1; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__1; x_2 = lean_unsigned_to_nat(25u); -x_3 = l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__5; +x_3 = l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__5; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4604,19 +4077,19 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_3459_() { +static lean_object* _init_l___kind_term____x40_Init_NotationExtra___hyg_2691_() { _start: { lean_object* x_1; -x_1 = l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__6; +x_1 = l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__6; return x_1; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3497_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2729_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__1; +x_4 = l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -4656,23 +4129,23 @@ x_15 = l_Lean_Syntax_getArg(x_1, x_14); x_16 = lean_unsigned_to_nat(2u); x_17 = l_Lean_Syntax_getArg(x_1, x_16); lean_dec(x_1); -x_18 = l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__2; +x_18 = l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__2; x_19 = l_Lean_expandBrackedBinders(x_18, x_15, x_17, x_2, x_3); return x_19; } } } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3497____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2729____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_myMacro____x40_Init_NotationExtra___hyg_3497_(x_1, x_2, x_3); +x_4 = l_myMacro____x40_Init_NotationExtra___hyg_2729_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__1() { +static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4682,57 +4155,57 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__2() { +static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__1; +x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__1; x_2 = l___private_Init_Prelude_0__Lean_eraseMacroScopesAux___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__3() { +static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__2; +x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__2; x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__4() { +static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__3; +x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__3; x_2 = l_Lean___kind_command____x40_Init_NotationExtra___hyg_914____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__5() { +static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__4; +x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__4; x_2 = l_Lean_Name_hasMacroScopes___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__6() { +static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__5; -x_2 = lean_unsigned_to_nat(3573u); +x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__5; +x_2 = lean_unsigned_to_nat(2805u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__7() { +static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__7() { _start: { lean_object* x_1; @@ -4740,11 +4213,11 @@ x_1 = lean_mk_string("funext "); return x_1; } } -static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__8() { +static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__8() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__7; +x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__7; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -4752,7 +4225,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__9() { +static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4764,13 +4237,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__10() { +static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__8; -x_3 = l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__9; +x_2 = l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__8; +x_3 = l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__9; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4778,13 +4251,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__11() { +static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__6; +x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__6; x_2 = lean_unsigned_to_nat(1023u); -x_3 = l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__10; +x_3 = l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__10; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4792,15 +4265,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573_() { +static lean_object* _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805_() { _start: { lean_object* x_1; -x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__11; +x_1 = l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__11; return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__1() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4812,17 +4285,17 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__2() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__1; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__1; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__3() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__3() { _start: { lean_object* x_1; @@ -4830,22 +4303,22 @@ x_1 = lean_mk_string("funext"); return x_1; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__4() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__3; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__3; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__5() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__3; +x_1 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__4; +x_3 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4853,41 +4326,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__6() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__3; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__7() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__6; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__6; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__8() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__7; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__9() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4899,43 +4372,43 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__9; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__9; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__11() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__3; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__3; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__12() { +static lean_object* _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__11; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__11; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__6; +x_4 = l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__6; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -4988,17 +4461,17 @@ lean_inc(x_19); x_20 = lean_ctor_get(x_2, 1); lean_inc(x_20); lean_dec(x_2); -x_21 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__6; +x_21 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__6; x_22 = l_Lean_addMacroScope(x_20, x_21, x_19); x_23 = l_Lean_instInhabitedSourceInfo___closed__1; -x_24 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__5; -x_25 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__8; +x_24 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__5; +x_25 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__8; x_26 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_26, 0, x_23); lean_ctor_set(x_26, 1, x_24); lean_ctor_set(x_26, 2, x_22); lean_ctor_set(x_26, 3, x_25); -x_27 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__2; +x_27 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__2; x_28 = lean_array_push(x_27, x_26); x_29 = l_Lean_Parser_Tactic_apply___closed__2; x_30 = lean_alloc_ctor(1, 2, 0); @@ -5016,7 +4489,7 @@ x_39 = l_Lean_nullKind___closed__2; x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_38); -x_41 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10; +x_41 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10; x_42 = lean_array_push(x_41, x_40); x_43 = l_Lean_Parser_Tactic_intro___closed__4; x_44 = lean_alloc_ctor(1, 2, 0); @@ -5033,7 +4506,7 @@ lean_dec(x_49); x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_39); lean_ctor_set(x_51, 1, x_50); -x_52 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__12; +x_52 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__12; x_53 = lean_array_push(x_52, x_51); x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_4); @@ -5060,17 +4533,17 @@ lean_inc(x_61); x_62 = lean_ctor_get(x_2, 1); lean_inc(x_62); lean_dec(x_2); -x_63 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__6; +x_63 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__6; x_64 = l_Lean_addMacroScope(x_62, x_63, x_61); x_65 = l_Lean_instInhabitedSourceInfo___closed__1; -x_66 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__5; -x_67 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__8; +x_66 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__5; +x_67 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__8; x_68 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_68, 0, x_65); lean_ctor_set(x_68, 1, x_66); lean_ctor_set(x_68, 2, x_64); lean_ctor_set(x_68, 3, x_67); -x_69 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__2; +x_69 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__2; x_70 = lean_array_push(x_69, x_68); x_71 = l_Lean_Parser_Tactic_apply___closed__2; x_72 = lean_alloc_ctor(1, 2, 0); @@ -5089,7 +4562,7 @@ x_81 = l_Lean_nullKind___closed__2; x_82 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_82, 0, x_81); lean_ctor_set(x_82, 1, x_80); -x_83 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10; +x_83 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10; x_84 = lean_array_push(x_83, x_82); x_85 = l_Lean_Parser_Tactic_intro___closed__4; x_86 = lean_alloc_ctor(1, 2, 0); @@ -5400,162 +4873,162 @@ l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__48 = _init_l_Lean lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__48); l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49 = _init_l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49(); lean_mark_persistent(l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49); -l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__1(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__1); -l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__2 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__2(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__2); -l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__3 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__3(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__3); -l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__4 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__4(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__4); -l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__5 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__5(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__5); -l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__6 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__6(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__6); -l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__7 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__7(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__7); -l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__8 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__8(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__8); -l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__9 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__9(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2849____closed__9); -l___kind_term____x40_Init_NotationExtra___hyg_2849_ = _init_l___kind_term____x40_Init_NotationExtra___hyg_2849_(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2849_); -l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2891____closed__2); -l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__1(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__1); -l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__2 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__2(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__2); -l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__3 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__3(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__3); -l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__4 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__4(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__4); -l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__5 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__5(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__5); -l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__6 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__6(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__6); -l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__7 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__7(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__7); -l___kind_term____x40_Init_NotationExtra___hyg_2973_ = _init_l___kind_term____x40_Init_NotationExtra___hyg_2973_(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2973_); -l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__1(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__1); -l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__2 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__2(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__2); -l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__3 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__3(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__3); -l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__4 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__4(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__4); -l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__5 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__5(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__5); -l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__6 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__6(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__6); -l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__7 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__7(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3097____closed__7); -l___kind_term____x40_Init_NotationExtra___hyg_3097_ = _init_l___kind_term____x40_Init_NotationExtra___hyg_3097_(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3097_); -l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3139____closed__2); -l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__1(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__1); -l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__2 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__2(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__2); -l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__3 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__3(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__3); -l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__4 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__4(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__4); -l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__5 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__5(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__5); -l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__6 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__6(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__6); -l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__7 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__7(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3221____closed__7); -l___kind_term____x40_Init_NotationExtra___hyg_3221_ = _init_l___kind_term____x40_Init_NotationExtra___hyg_3221_(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3221_); -l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3263____closed__2); -l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__1(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__1); -l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__2 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__2(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__2); -l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__3 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__3(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__3); -l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__4 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__4(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__4); -l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__5 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__5(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__5); -l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__6 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__6(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__6); -l___kind_term____x40_Init_NotationExtra___hyg_3345_ = _init_l___kind_term____x40_Init_NotationExtra___hyg_3345_(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3345_); -l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__1(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__1); -l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__2 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__2(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__2); -l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__3 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__3(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__3); -l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__4 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__4(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__4); -l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__5 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__5(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__5); -l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__6 = _init_l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__6(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3459____closed__6); -l___kind_term____x40_Init_NotationExtra___hyg_3459_ = _init_l___kind_term____x40_Init_NotationExtra___hyg_3459_(); -lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_3459_); -l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__1 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__1(); -lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__1); -l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__2 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__2(); -lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__2); -l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__3 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__3(); -lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__3); -l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__4 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__4(); -lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__4); -l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__5 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__5(); -lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__5); -l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__6 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__6(); -lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__6); -l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__7 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__7(); -lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__7); -l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__8 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__8(); -lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__8); -l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__9 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__9(); -lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__9); -l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__10 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__10(); -lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__10); -l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__11 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__11(); -lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_3573____closed__11); -l___kind_tactic____x40_Init_NotationExtra___hyg_3573_ = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_3573_(); -lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_3573_); -l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__1(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__1); -l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__2(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__2); -l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__3 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__3(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__3); -l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__4 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__4(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__4); -l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__5 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__5(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__5); -l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__6 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__6(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__6); -l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__7 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__7(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__7); -l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__8 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__8(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__8); -l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__9 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__9(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__9); -l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10); -l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__11 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__11(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__11); -l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__12 = _init_l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__12(); -lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__12); +l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__1); +l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__2 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__2); +l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__3 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__3); +l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__4 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__4); +l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__5 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__5); +l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__6 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__6(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__6); +l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__7 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__7(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__7); +l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__8 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__8(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__8); +l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__9 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__9(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2081____closed__9); +l___kind_term____x40_Init_NotationExtra___hyg_2081_ = _init_l___kind_term____x40_Init_NotationExtra___hyg_2081_(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2081_); +l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2123____closed__2); +l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__1); +l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__2 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__2); +l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__3 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__3); +l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__4 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__4); +l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__5 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__5); +l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__6 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__6(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__6); +l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__7 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__7(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__7); +l___kind_term____x40_Init_NotationExtra___hyg_2205_ = _init_l___kind_term____x40_Init_NotationExtra___hyg_2205_(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2205_); +l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__1); +l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__2 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__2); +l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__3 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__3); +l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__4 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__4); +l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__5 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__5); +l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__6 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__6(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__6); +l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__7 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__7(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2329____closed__7); +l___kind_term____x40_Init_NotationExtra___hyg_2329_ = _init_l___kind_term____x40_Init_NotationExtra___hyg_2329_(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2329_); +l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2371____closed__2); +l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__1); +l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__2 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__2); +l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__3 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__3); +l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__4 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__4); +l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__5 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__5); +l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__6 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__6(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__6); +l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__7 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__7(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2453____closed__7); +l___kind_term____x40_Init_NotationExtra___hyg_2453_ = _init_l___kind_term____x40_Init_NotationExtra___hyg_2453_(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2453_); +l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2495____closed__2); +l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__1); +l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__2 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__2); +l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__3 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__3); +l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__4 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__4); +l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__5 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__5); +l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__6 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__6(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__6); +l___kind_term____x40_Init_NotationExtra___hyg_2577_ = _init_l___kind_term____x40_Init_NotationExtra___hyg_2577_(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2577_); +l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__1 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__1); +l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__2 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__2); +l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__3 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__3); +l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__4 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__4); +l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__5 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__5); +l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__6 = _init_l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__6(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2691____closed__6); +l___kind_term____x40_Init_NotationExtra___hyg_2691_ = _init_l___kind_term____x40_Init_NotationExtra___hyg_2691_(); +lean_mark_persistent(l___kind_term____x40_Init_NotationExtra___hyg_2691_); +l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__1 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__1(); +lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__1); +l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__2 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__2(); +lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__2); +l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__3 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__3(); +lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__3); +l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__4 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__4(); +lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__4); +l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__5 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__5(); +lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__5); +l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__6 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__6(); +lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__6); +l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__7 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__7(); +lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__7); +l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__8 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__8(); +lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__8); +l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__9 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__9(); +lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__9); +l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__10 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__10(); +lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__10); +l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__11 = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__11(); +lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_2805____closed__11); +l___kind_tactic____x40_Init_NotationExtra___hyg_2805_ = _init_l___kind_tactic____x40_Init_NotationExtra___hyg_2805_(); +lean_mark_persistent(l___kind_tactic____x40_Init_NotationExtra___hyg_2805_); +l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__1 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__1); +l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__2 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__2); +l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__3 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__3); +l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__4 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__4); +l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__5 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__5); +l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__6 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__6); +l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__7 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__7); +l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__8 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__8); +l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__9 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__9); +l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10); +l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__11 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__11); +l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__12 = _init_l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__12); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Prelude.c b/stage0/stdlib/Init/Prelude.c index 7b1d6451df..42dddb2fa7 100644 --- a/stage0/stdlib/Init/Prelude.c +++ b/stage0/stdlib/Init/Prelude.c @@ -89,6 +89,7 @@ lean_object* l_instDecidableEqUInt8___boxed(lean_object*, lean_object*); lean_object* l_Lean_withRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_arbitrary___rarg___boxed(lean_object*); lean_object* l_ReaderT_bind___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_instZeroNat; lean_object* l_ReaderT_run(lean_object*, lean_object*, lean_object*); lean_object* l_instMonadStateOf___rarg(lean_object*, lean_object*); lean_object* l_Lean_maxRecDepthErrorMessage; @@ -102,6 +103,7 @@ lean_object* l_instSubNat; lean_object* l_ReaderT_instMonadFunctorReaderT___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_foldl___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_run(lean_object*, lean_object*, lean_object*); +lean_object* l_instOne(lean_object*); lean_object* l_UInt8_size; lean_object* l_Lean_Syntax_getKind_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHasLessEqUInt32; @@ -256,6 +258,7 @@ lean_object* l_cast___rarg___boxed(lean_object*); lean_object* l_Lean_Macro_mkMacroEnv___boxed(lean_object*); lean_object* l_inferInstance___rarg(lean_object*); lean_object* l_Lean_addMacroScope_match__1(lean_object*); +lean_object* l_instZero(lean_object*); lean_object* l_getThe___rarg(lean_object*); lean_object* l___private_Init_Prelude_0__Lean_extractMacroScopesAux(lean_object*, lean_object*); uint8_t l_Lean_Name_hasMacroScopes(lean_object*); @@ -292,6 +295,7 @@ lean_object* l_Lean_interpolatedStrLitKind___closed__1; lean_object* l_EStateM_adaptExcept_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_review_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_ite(lean_object*, lean_object*); +lean_object* l_instZero___rarg(lean_object*); lean_object* l_Lean_numLitKind; lean_object* l_List_set_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_tryCatch_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -379,6 +383,7 @@ lean_object* l_EStateM_map_match__1___rarg(lean_object*, lean_object*, lean_obje lean_object* l_ReaderT_bind___at_Lean_Macro_instMonadRefMacroM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_instInhabitedUInt8___closed__1; lean_object* l_instMonadFunctorT___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_instOneNat; lean_object* l_Lean_Macro_expandMacro_x3f___rarg(lean_object*); lean_object* l_Lean_Macro_expandMacroNotAvailable_x3f___closed__1; uint16_t l_instInhabitedUInt16___closed__1; @@ -691,6 +696,7 @@ lean_object* l_and_match__1(lean_object*); lean_object* l_Lean_Macro_expandMacro_x3fImp(lean_object*, lean_object*, lean_object*); lean_object* l_and_match__1___rarg(uint8_t, uint8_t, lean_object*, lean_object*); lean_object* l_EStateM_instInhabitedResult(lean_object*, lean_object*, lean_object*); +lean_object* l_instOne___rarg(lean_object*); lean_object* l_Lean_Syntax_setArgs_match__1(lean_object*); lean_object* l_List_hasDecEq_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_getOp___rarg(lean_object*, lean_object*, lean_object*); @@ -2058,6 +2064,14 @@ x_4 = lean_box(x_3); return x_4; } } +static lean_object* _init_l_instInhabitedNat() { +_start: +{ +lean_object* x_1; +x_1 = lean_unsigned_to_nat(0u); +return x_1; +} +} lean_object* l_instOfNatNat(lean_object* x_1) { _start: { @@ -2074,7 +2088,49 @@ lean_dec(x_1); return x_2; } } -static lean_object* _init_l_instInhabitedNat() { +lean_object* l_instOne___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_unsigned_to_nat(1u); +x_3 = lean_apply_1(x_1, x_2); +return x_3; +} +} +lean_object* l_instOne(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_instOne___rarg), 1, 0); +return x_2; +} +} +lean_object* l_instZero___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_apply_1(x_1, x_2); +return x_3; +} +} +lean_object* l_instZero(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_instZero___rarg), 1, 0); +return x_2; +} +} +static lean_object* _init_l_instOneNat() { +_start: +{ +lean_object* x_1; +x_1 = lean_unsigned_to_nat(1u); +return x_1; +} +} +static lean_object* _init_l_instZeroNat() { _start: { lean_object* x_1; @@ -11448,6 +11504,10 @@ l_instInhabitedPointedType = _init_l_instInhabitedPointedType(); lean_mark_persistent(l_instInhabitedPointedType); l_instInhabitedNat = _init_l_instInhabitedNat(); lean_mark_persistent(l_instInhabitedNat); +l_instOneNat = _init_l_instOneNat(); +lean_mark_persistent(l_instOneNat); +l_instZeroNat = _init_l_instZeroNat(); +lean_mark_persistent(l_instZeroNat); l_instAddNat___closed__1 = _init_l_instAddNat___closed__1(); lean_mark_persistent(l_instAddNat___closed__1); l_instAddNat = _init_l_instAddNat(); diff --git a/stage0/stdlib/Lean/Delaborator.c b/stage0/stdlib/Lean/Delaborator.c index 709857a5ce..0c03a7985f 100644 --- a/stage0/stdlib/Lean/Delaborator.c +++ b/stage0/stdlib/Lean/Delaborator.c @@ -25,6 +25,7 @@ lean_object* l_Lean_Delaborator_delabseqRight___closed__1; extern lean_object* l_Lean_Name_toString___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__4; lean_object* l_Lean_Delaborator_delabDoElems___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabZero___closed__1; lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__3; lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabEq(lean_object*); @@ -37,8 +38,10 @@ lean_object* l_Lean_Delaborator_withProj(lean_object*); lean_object* l_Lean_Delaborator_delabBind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_quote___closed__6; extern lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit___closed__2; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; size_t l_USize_add(size_t, size_t); extern lean_object* l_Lean_fieldIdxKind; +lean_object* l___regBuiltin_Lean_Delaborator_delabZero(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabBind___closed__2; lean_object* l_Lean_Delaborator_delabFComp___lambda__1___closed__2; @@ -72,12 +75,14 @@ extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed_ lean_object* l_Lean_Delaborator_delabseqRight___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_Delaborator_delabProd___closed__1; lean_object* l_Lean_Delaborator_annotatePos(lean_object*, lean_object*); +lean_object* l___regBuiltin_Lean_Delaborator_delabZero___closed__3; lean_object* l_Lean_Delaborator_delabMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at_Lean_Delaborator_delabLetE___spec__1(lean_object*); lean_object* l_Lean_Delaborator_delabAdd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_addParenHeuristic___closed__2; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabLE___lambda__1___closed__4; +lean_object* l___regBuiltin_Lean_Delaborator_delabZero___closed__1; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__7; lean_object* l___regBuiltin_Lean_Delaborator_delabConsList___closed__1; extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; @@ -110,6 +115,7 @@ lean_object* l_Lean_Delaborator_AppMatchState_moreArgs___default; lean_object* l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__1; lean_object* l_Lean_Delaborator_delabAnd___closed__1; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext_match__1(lean_object*); +lean_object* l___regBuiltin_Lean_Delaborator_delabZero___closed__2; lean_object* l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabMod___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabAppImplicit_match__1(lean_object*); @@ -199,7 +205,6 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(le lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__2; extern lean_object* l_myMacro____x40_Init_Core___hyg_715____closed__4; lean_object* l_Lean_getPPNotation___boxed(lean_object*); -extern lean_object* l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__2; lean_object* l_Lean_Delaborator_delabEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_quote___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_sub(size_t, size_t); @@ -273,6 +278,7 @@ uint8_t l_Lean_Delaborator_hasIdent(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabCoe___closed__1; lean_object* l_Lean_Delaborator_withMDataExpr___rarg___closed__2; lean_object* l_Lean_Delaborator_delabEquiv___closed__1; +extern lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__2; extern lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__1; lean_object* l_Lean_Delaborator_delabLit_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabCons___closed__1; @@ -327,6 +333,7 @@ extern lean_object* l_myMacro____x40_Init_Control_Basic___hyg_75____closed__6; lean_object* l_Lean_Delaborator_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_getOffsetAux(lean_object*, lean_object*); extern lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__8; +extern lean_object* l_Lean_Meta_evalNat_visit___closed__10; lean_object* l_Lean_Delaborator_delabListToArray___lambda__1___closed__1; lean_object* l_Lean_Delaborator_delabAnd___lambda__1___closed__1; lean_object* l_Lean_Level_quote_match__1(lean_object*); @@ -342,12 +349,12 @@ lean_object* l_Lean_Delaborator_annotateCurPos___boxed(lean_object*, lean_object lean_object* l___regBuiltin_Lean_Delaborator_delabCons___closed__2; lean_object* l___regBuiltin_Lean_Delaborator_delabAdd___closed__3; lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabZero___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_shiftRight(size_t, size_t); lean_object* l_Lean_Delaborator_delabDoElems_match__1(lean_object*); lean_object* l_Lean_Level_quote___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getPPFullNames___boxed(lean_object*); lean_object* l_Lean_Delaborator_delabLam_match__1(lean_object*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__39; lean_object* l_Lean_Delaborator_delabBNot___lambda__1___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabEquiv___closed__1; lean_object* l_Lean_Delaborator_getPPOption_match__1(lean_object*); @@ -357,6 +364,7 @@ lean_object* l_Lean_Delaborator_delabBind___lambda__1(uint8_t, lean_object*, lea lean_object* l_Lean_Delaborator_delabAppMatch_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabLetE___closed__1; lean_object* l_Lean_Delaborator_delabAdd___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; lean_object* l___regBuiltin_Lean_Delaborator_delabOfNat(lean_object*); lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___closed__4; lean_object* l___regBuiltin_Lean_Delaborator_delabBEq___closed__1; @@ -455,11 +463,13 @@ lean_object* l_Lean_Delaborator_delabDoElems___lambda__1(lean_object*, lean_obje uint8_t l_Lean_getPPFullNames(lean_object*); lean_object* l_Lean_Delaborator_delabAppend___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_Level_instQuoteLevel___closed__1; +lean_object* l_Lean_Delaborator_delabOne___lambda__1___closed__2; lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__4; lean_object* l_Lean_Delaborator_delabNot___lambda__1___closed__4; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders_match__1(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__7; +lean_object* l_Lean_Delaborator_delabOne___lambda__1___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabAppend(lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabMData___closed__1; @@ -495,6 +505,7 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__1; lean_object* l_Lean_Delaborator_delabConst___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabListToArray___closed__2; lean_object* l_Lean_Delaborator_delabDoElems(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabOne___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabForall___lambda__1___closed__4; extern lean_object* l___kind_term____x40_Init_Data_Array_Basic___hyg_3284____closed__7; lean_object* l_Lean_Delaborator_delabAppExplicit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -665,7 +676,6 @@ size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_Delaborator_delab___closed__4; extern lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__1; uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_delabForall___spec__3(lean_object*, lean_object*, size_t, size_t); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; lean_object* l___regBuiltin_Lean_Delaborator_delabDo___closed__1; lean_object* l_Lean_Delaborator_delabAdd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); @@ -673,6 +683,7 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__1; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAdd___closed__1; lean_object* l_Lean_Delaborator_delabMul(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabZero___closed__2; lean_object* l_Lean_Delaborator_delabNamedPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); lean_object* l_Lean_Delaborator_delabOr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -714,6 +725,7 @@ lean_object* l_Lean_Delaborator_delabIff(lean_object*, lean_object*, lean_object extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__18; uint8_t l_Lean_getPPStructureInstanceType(lean_object*); lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__10; +lean_object* l_Lean_Delaborator_delabOne___closed__2; lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); lean_object* l_Lean_Delaborator_getParamKinds_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_ctorName___closed__3; @@ -737,12 +749,13 @@ lean_object* l_Lean_Delaborator_instInhabitedDelabM___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabMul(lean_object*); lean_object* l_Lean_Delaborator_AppMatchState_rhss___default; lean_object* l_Lean_Delaborator_delabForall___closed__1; +lean_object* l_Lean_Delaborator_delabOne___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_protectedExt; lean_object* l_Lean_Delaborator_delabPrefixOp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_isCharLit___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5; lean_object* l_Lean_Delaborator_failure___rarg___closed__1; -lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_11463_(lean_object*); +lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_11519_(lean_object*); lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574_(lean_object*); lean_object* l_Lean_Delaborator_withAppFn_match__1(lean_object*); lean_object* l_Lean_Delaborator_delabProd___lambda__1___closed__1; @@ -792,10 +805,12 @@ extern lean_object* l_Lean_mkSimpleThunk___closed__1; lean_object* l_Lean_Delaborator_delabLam___lambda__3___closed__4; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_NotationExtra_0__Lean_mkHintBody___closed__2; +lean_object* l___regBuiltin_Lean_Delaborator_delabOne(lean_object*); extern lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp___closed__6; uint8_t l_Lean_Expr_isConst(lean_object*); lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders_match__2(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__4; +lean_object* l___regBuiltin_Lean_Delaborator_delabOne___closed__2; extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; lean_object* l___regBuiltin_Lean_Delaborator_delabMapRev___closed__1; lean_object* l_Lean_Delaborator_initFn____x40_Lean_Delaborator___hyg_626____closed__2; @@ -952,6 +967,7 @@ lean_object* l_Lean_Delaborator_instAlternativeDelabM___closed__3; lean_object* l_Lean_Delaborator_delabGT___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_unresolveOpenDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabSort___closed__2; +lean_object* l_Lean_Delaborator_delabOne(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_mkApp___closed__1; lean_object* l_Lean_Meta_getMatcherInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_fmt___at_Lean_ppExpr___spec__4(lean_object*); @@ -990,6 +1006,7 @@ lean_object* l_Lean_Delaborator_getPPOption_match__1___rarg(lean_object*, lean_o lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__2; lean_object* l_Lean_Delaborator_delabLetE(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Meta_getFVarLocalDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_evalNat_visit___closed__8; extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; lean_object* l_Lean_Delaborator_delabDo___lambda__1___closed__5; lean_object* l_Lean_Expr_bindingName_x21(lean_object*); @@ -1036,7 +1053,6 @@ lean_object* l_Lean_Meta_throwUnknownFVar___rarg(lean_object*, lean_object*, lea lean_object* l_Lean_Delaborator_instAlternativeDelabM; lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__1; -extern lean_object* l_Lean_Meta_evalNat_visit___closed__1; lean_object* l_Lean_Delaborator_delabBVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); lean_object* l_Lean_Delaborator_instMonadQuotationDelabM___closed__4; @@ -1065,6 +1081,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_ lean_object* l_Lean_Delaborator_delabAppExplicit___lambda__2___closed__2; lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_getPPUniverses___closed__2; +lean_object* l_Lean_Delaborator_delabZero(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabLT___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; extern lean_object* l_Lean_getSanitizeNames___closed__1; @@ -1225,6 +1242,7 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabEquiv___closed__2; lean_object* l___regBuiltin_Lean_Delaborator_delabAppend___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabSort___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabMVar___closed__1; +extern lean_object* l_Lean_Meta_evalNat_visit___closed__2; lean_object* l_Lean_Delaborator_delabAttribute; uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabConst___closed__2; @@ -1270,6 +1288,7 @@ lean_object* l_List_forIn_loop___at_Lean_Delaborator_delabMData___spec__3___lamb lean_object* l_Lean_Delaborator_delabBNot___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabProj(lean_object*); lean_object* l_Lean_Delaborator_delabBNot___lambda__1___closed__4; +lean_object* l_Lean_Delaborator_delabZero___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_syntax_ident(lean_object*); lean_object* l_Lean_Delaborator_delabSort___closed__1; lean_object* l___regBuiltin_Lean_Delaborator_delabLetE(lean_object*); @@ -1305,6 +1324,7 @@ lean_object* l_Lean_Delaborator_delabAppExplicit_match__3___rarg(lean_object*, l lean_object* l_Lean_Delaborator_descend___rarg(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*); lean_object* l_Lean_Delaborator_delabLit___closed__1; +lean_object* l___regBuiltin_Lean_Delaborator_delabOne___closed__1; lean_object* l_Lean_Delaborator_delabFVar___closed__1; extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__1; lean_object* l_Lean_Delaborator_mkDelabAttribute___closed__11; @@ -1321,9 +1341,11 @@ lean_object* l_Lean_Delaborator_delabBEq___lambda__1(uint8_t, lean_object*, lean lean_object* l_Lean_Delaborator_delabEquiv___lambda__1___closed__1; lean_object* l_Lean_Delaborator_delabLam___lambda__3___closed__3; lean_object* l___regBuiltin_Lean_Delaborator_delabseqRight___closed__3; +extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___lambda__1___closed__1; lean_object* l_Lean_Delaborator_delabAppend___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabGE___lambda__1___closed__4; lean_object* l_Lean_Delaborator_delabMapRev___lambda__1___closed__2; +lean_object* l_Lean_Delaborator_delabZero___lambda__1___closed__1; lean_object* l_Lean_Delaborator_delabDoElems_delabAndRet___closed__1; lean_object* l_Lean_Delaborator_delabOrElse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); @@ -1349,6 +1371,7 @@ lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___boxed(lean_object*, lean_object* l_Lean_Delaborator_delabSub___closed__1; lean_object* lean_usize_to_nat(size_t); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Delaborator_delabOne___closed__1; lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_withAppFn_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAndThen___lambda__1___closed__2; @@ -1411,6 +1434,7 @@ lean_object* l_Lean_Level_quote___closed__4; lean_object* l_Lean_Delaborator_delabDoElems___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabConst_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__1; +extern lean_object* l_Lean_Meta_evalNat_match__1___rarg___closed__1; extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; lean_object* l_Lean_Delaborator_delabDoElems___lambda__1___closed__3; lean_object* l_Lean_Delaborator_delabConst___closed__3; @@ -1430,6 +1454,7 @@ extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011__ lean_object* l_Lean_getPPPrivateNames___boxed(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabModN(lean_object*); lean_object* l_Lean_Delaborator_delabSub___lambda__1___closed__1; +lean_object* l___regBuiltin_Lean_Delaborator_delabOne___closed__3; lean_object* l_Lean_Delaborator_delabNil___closed__1; lean_object* l_Lean_Delaborator_delabMapRev___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_Delaborator_delabAppMatch___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1443,6 +1468,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__4; lean_object* l_Lean_throwError___at_Lean_Delaborator_delabAppMatch___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_getExprKind_match__3___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* l_Lean_getPPStructureProjections___boxed(lean_object*); +extern lean_object* l_Lean_Meta_evalNat_visit___closed__5; lean_object* l___regBuiltin_Lean_Delaborator_delabNot___closed__2; lean_object* l___regBuiltin_Lean_Delaborator_delabOfNat___closed__2; lean_object* l_Lean_Delaborator_getExprKind_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -1886,7 +1912,7 @@ lean_object* l_Lean_Level_quote___lambda__9(lean_object* x_1, lean_object* x_2, _start: { lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__39; +x_4 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -3904,7 +3930,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -12121,9 +12147,9 @@ x_29 = l_Lean_nullKind___closed__2; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); -x_31 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35; +x_31 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_33 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); @@ -12171,9 +12197,9 @@ x_50 = l_Lean_nullKind___closed__2; x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); -x_52 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35; +x_52 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; x_53 = lean_array_push(x_52, x_51); -x_54 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_54 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_55 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); @@ -12230,9 +12256,9 @@ x_74 = l_Lean_nullKind___closed__2; x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); -x_76 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35; +x_76 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_78 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_78); lean_ctor_set(x_79, 1, x_77); @@ -12280,9 +12306,9 @@ x_95 = l_Lean_nullKind___closed__2; x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_95); lean_ctor_set(x_96, 1, x_94); -x_97 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__35; +x_97 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; x_98 = lean_array_push(x_97, x_96); -x_99 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_99 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_100 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_100, 0, x_99); lean_ctor_set(x_100, 1, x_98); @@ -25735,7 +25761,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_Lean_Meta_evalNat_visit___closed__1; +x_2 = l_Lean_Meta_evalNat_visit___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -25769,6 +25795,289 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +static lean_object* _init_l_Lean_Delaborator_delabOne___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = l_Nat_repr(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Delaborator_delabOne___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_numLitKind; +x_2 = l_Lean_Delaborator_delabOne___lambda__1___closed__1; +x_3 = l_Lean_instInhabitedSourceInfo___closed__1; +x_4 = l_Lean_Syntax_mkLit(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_Delaborator_delabOne___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; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Expr_getAppNumArgsAux(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_Delaborator_failure___rarg(x_7); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = l_Lean_Delaborator_delabOne___lambda__1___closed__2; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_7); +return x_18; +} +} +} +static lean_object* _init_l_Lean_Delaborator_delabOne___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOne___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Delaborator_delabOne___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_Delaborator_delabOne___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Delaborator_delabOne(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; +x_7 = l_Lean_Delaborator_delabOfNat___closed__3; +x_8 = l_Lean_Delaborator_delabOne___closed__2; +x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_Delaborator_delabOne___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_Lean_Delaborator_delabOne___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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOne___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Delaborator_getExprKind___closed__5; +x_2 = l_Lean_Meta_evalNat_visit___closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOne___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Delaborator_delabOne___closed__1; +x_2 = l_Lean_Meta_evalNat_visit___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabOne___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabOne), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Delaborator_delabOne(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_Delaborator_delabOne___closed__2; +x_4 = l___regBuiltin_Lean_Delaborator_delabOne___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Delaborator_delabZero___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_numLitKind; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___lambda__1___closed__1; +x_3 = l_Lean_instInhabitedSourceInfo___closed__1; +x_4 = l_Lean_Syntax_mkLit(x_1, x_2, x_3); +return x_4; +} +} +lean_object* l_Lean_Delaborator_delabZero___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; uint8_t x_11; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Expr_getAppNumArgsAux(x_1, x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_Delaborator_failure___rarg(x_7); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = l_Lean_Delaborator_delabZero___lambda__1___closed__1; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_7); +return x_18; +} +} +} +static lean_object* _init_l_Lean_Delaborator_delabZero___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabZero___lambda__1___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Delaborator_delabZero___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Delaborator_delabAppExplicit___closed__1; +x_2 = l_Lean_Delaborator_delabZero___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Delaborator_delabAppExplicit___spec__2___rarg), 8, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_Lean_Delaborator_delabZero(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; +x_7 = l_Lean_Delaborator_delabOfNat___closed__3; +x_8 = l_Lean_Delaborator_delabZero___closed__2; +x_9 = l_Lean_Delaborator_whenPPOption(x_7, x_8, x_1, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +lean_object* l_Lean_Delaborator_delabZero___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_Lean_Delaborator_delabZero___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); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabZero___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Delaborator_getExprKind___closed__5; +x_2 = l_Lean_Meta_evalNat_visit___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabZero___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Delaborator_delabZero___closed__1; +x_2 = l_Lean_Meta_evalNat_match__1___rarg___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Delaborator_delabZero___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Delaborator_delabZero), 6, 0); +return x_1; +} +} +lean_object* l___regBuiltin_Lean_Delaborator_delabZero(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_Delaborator_delabAttribute; +x_3 = l___regBuiltin_Lean_Delaborator_delabZero___closed__2; +x_4 = l___regBuiltin_Lean_Delaborator_delabZero___closed__3; +x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); +return x_5; +} +} lean_object* l_Lean_Delaborator_delabProj_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -25819,7 +26128,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_Delaborator_withAppFn___rarg___closed__2; x_2 = l_Lean_Delaborator_delabProj___closed__1; -x_3 = lean_unsigned_to_nat(615u); +x_3 = lean_unsigned_to_nat(629u); x_4 = lean_unsigned_to_nat(38u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -28990,7 +29299,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_3345____closed__2; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2577____closed__2; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -34873,7 +35182,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_Delaborator_withAppFn___rarg___closed__2; x_2 = l_Lean_Delaborator_delabDoElems___closed__1; -x_3 = lean_unsigned_to_nat(819u); +x_3 = lean_unsigned_to_nat(833u); x_4 = lean_unsigned_to_nat(40u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -35543,7 +35852,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_Delaborator_withAppFn___rarg___closed__2; x_2 = l_Lean_delab___closed__1; -x_3 = lean_unsigned_to_nat(849u); +x_3 = lean_unsigned_to_nat(863u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -35799,7 +36108,7 @@ goto block_39; } } } -lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_11463_(lean_object* x_1) { +lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_11519_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -36328,6 +36637,38 @@ lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOfNat___closed__3); res = l___regBuiltin_Lean_Delaborator_delabOfNat(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Delaborator_delabOne___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabOne___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabOne___lambda__1___closed__1); +l_Lean_Delaborator_delabOne___lambda__1___closed__2 = _init_l_Lean_Delaborator_delabOne___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Delaborator_delabOne___lambda__1___closed__2); +l_Lean_Delaborator_delabOne___closed__1 = _init_l_Lean_Delaborator_delabOne___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabOne___closed__1); +l_Lean_Delaborator_delabOne___closed__2 = _init_l_Lean_Delaborator_delabOne___closed__2(); +lean_mark_persistent(l_Lean_Delaborator_delabOne___closed__2); +l___regBuiltin_Lean_Delaborator_delabOne___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabOne___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOne___closed__1); +l___regBuiltin_Lean_Delaborator_delabOne___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabOne___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOne___closed__2); +l___regBuiltin_Lean_Delaborator_delabOne___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabOne___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabOne___closed__3); +res = l___regBuiltin_Lean_Delaborator_delabOne(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Delaborator_delabZero___lambda__1___closed__1 = _init_l_Lean_Delaborator_delabZero___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabZero___lambda__1___closed__1); +l_Lean_Delaborator_delabZero___closed__1 = _init_l_Lean_Delaborator_delabZero___closed__1(); +lean_mark_persistent(l_Lean_Delaborator_delabZero___closed__1); +l_Lean_Delaborator_delabZero___closed__2 = _init_l_Lean_Delaborator_delabZero___closed__2(); +lean_mark_persistent(l_Lean_Delaborator_delabZero___closed__2); +l___regBuiltin_Lean_Delaborator_delabZero___closed__1 = _init_l___regBuiltin_Lean_Delaborator_delabZero___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabZero___closed__1); +l___regBuiltin_Lean_Delaborator_delabZero___closed__2 = _init_l___regBuiltin_Lean_Delaborator_delabZero___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabZero___closed__2); +l___regBuiltin_Lean_Delaborator_delabZero___closed__3 = _init_l___regBuiltin_Lean_Delaborator_delabZero___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Delaborator_delabZero___closed__3); +res = l___regBuiltin_Lean_Delaborator_delabZero(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Delaborator_delabProj___closed__1 = _init_l_Lean_Delaborator_delabProj___closed__1(); lean_mark_persistent(l_Lean_Delaborator_delabProj___closed__1); l_Lean_Delaborator_delabProj___closed__2 = _init_l_Lean_Delaborator_delabProj___closed__2(); @@ -37087,7 +37428,7 @@ l_Lean_delab___closed__6 = _init_l_Lean_delab___closed__6(); lean_mark_persistent(l_Lean_delab___closed__6); l_Lean_delab___closed__7 = _init_l_Lean_delab___closed__7(); lean_mark_persistent(l_Lean_delab___closed__7); -res = l_Lean_initFn____x40_Lean_Delaborator___hyg_11463_(lean_io_mk_world()); +res = l_Lean_initFn____x40_Lean_Delaborator___hyg_11519_(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/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 30362c0d31..1de396dfe9 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -81,6 +81,7 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___cl lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___at_Lean_Elab_Term_elabBinders___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_Elab_Term_expandFunBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; +extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10; lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__1; extern lean_object* l_Lean_Parser_Tactic_let___closed__2; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__12; @@ -400,7 +401,6 @@ lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__2; extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10; extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setPostponed___at_Lean_Elab_Term_elabBinders___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -17588,7 +17588,7 @@ x_69 = l_Lean_nullKind___closed__2; x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_68); -x_71 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10; +x_71 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10; x_72 = lean_array_push(x_71, x_70); x_73 = l_Lean_Parser_Tactic_intro___closed__4; x_74 = lean_alloc_ctor(1, 2, 0); @@ -17623,7 +17623,7 @@ x_87 = l_Lean_nullKind___closed__2; x_88 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_88, 0, x_87); lean_ctor_set(x_88, 1, x_86); -x_89 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10; +x_89 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10; x_90 = lean_array_push(x_89, x_88); x_91 = l_Lean_Parser_Tactic_intro___closed__4; x_92 = lean_alloc_ctor(1, 2, 0); @@ -17756,7 +17756,7 @@ x_143 = l_Lean_nullKind___closed__2; x_144 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_144, 0, x_143); lean_ctor_set(x_144, 1, x_142); -x_145 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10; +x_145 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10; x_146 = lean_array_push(x_145, x_144); x_147 = l_Lean_Parser_Tactic_intro___closed__4; x_148 = lean_alloc_ctor(1, 2, 0); diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index d6c73b540e..1e6b7ff6ab 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -27,6 +27,7 @@ size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__3; lean_object* l_Lean_Elab_Command_expandMutualElement_match__2(lean_object*); +extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___closed__2; lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble___closed__1; lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__4(lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom___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*); @@ -43,19 +44,22 @@ lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__ lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__1(lean_object*); uint8_t l_USize_decEq(size_t, size_t); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__1; lean_object* lean_array_uget(lean_object*, size_t); extern lean_object* l_Lean_Elab_Command_elabSection___closed__2; lean_object* l_Array_append___rarg(lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isProtected(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDeclaration___closed__4; lean_object* l_Lean_Syntax_getIdAt(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_commandElabAttribute; lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__2; lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f_match__2(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__16; lean_object* l_Lean_Elab_Command_elabAxiom_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -63,13 +67,19 @@ extern lean_object* l_Array_empty___closed__1; lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom_match__3(lean_object*); lean_object* l_Lean_Elab_Command_elabDeclaration_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; lean_object* lean_st_ref_get(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___boxed(lean_object*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_splitMutualPreamble(lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__1; lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleCommand___closed__1; +lean_object* lean_private_to_user_name(lean_object*); lean_object* l_Lean_Elab_elabAttrs___at_Lean_Elab_Command_elabMutualDef___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -79,6 +89,7 @@ lean_object* l_Lean_Elab_Command_expandMutualPreamble_match__1(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration(lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom_match__5___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -96,31 +107,36 @@ lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Elab_Command_expandMutualElement_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__14; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration___closed__1; extern lean_object* l_Lean_Elab_Command_expandInCmd___closed__7; lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addNamespace___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_elabMutualInductive___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__1; +extern lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__3; lean_object* lean_nat_add(lean_object*, lean_object*); extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__2; lean_object* l_Lean_Elab_Command_elabAxiom_match__4___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_getVarDecls(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace(lean_object*); lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_classInductiveSyntaxToView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__6; +lean_object* l_Lean_setEnv___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__2; extern lean_object* l_Lean_Elab_Command_isDefLike___closed__4; lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f_match__1(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__22; lean_object* l_Lean_Elab_Command_expandInitCmd___closed__19; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandBuiltinInitialize___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__2; lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f_match__2___rarg(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualDef___spec__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_System_IO___hyg_2551____closed__4; @@ -132,16 +148,18 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMutualPreamble_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView_match__2(lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_take(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; lean_object* l_Lean_Elab_Command_elabAxiom___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__3; extern lean_object* l_Lean_Elab_Command_isDefLike___closed__2; lean_object* l_Lean_Elab_Command_expandMutualNamespace___closed__1; lean_object* l_Lean_Elab_Command_expandDeclId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualInductive___spec__1(lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__12; +extern lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__3; lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabInductiveViews(lean_object*, lean_object*, lean_object*, lean_object*); @@ -149,9 +167,9 @@ lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr___closed__3; lean_object* l_Lean_Elab_Command_elabAxiom_match__3___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__2; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom___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* l_Lean_Elab_Command_expandMutualPreamble___closed__4; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__20; lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble(lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__4; @@ -160,21 +178,21 @@ lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__2 lean_object* l_Lean_Elab_Command_expandInitCmd___closed__10; extern lean_object* l___regBuiltin_Lean_Elab_Command_elabVariables___closed__2; extern lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_507____closed__2; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__1; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f_match__1(lean_object*); +extern lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__3; lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_Command_elabClassInductive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandInitialize___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(lean_object*, lean_object*); +extern lean_object* l_Lean_protectedExt; lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1___closed__3; @@ -184,7 +202,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l_Lean_Elab_Command_expandInitCmd___closed__21; lean_object* l_Lean_Elab_Command_expandMutualElement___closed__1; lean_object* l_Lean_Elab_Command_expandMutualPreamble___closed__1; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; lean_object* l_Lean_Elab_Command_expandMutualPreamble___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMutual___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr___closed__1; @@ -205,6 +222,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__4_ lean_object* l_Lean_Elab_Command_elabAxiom_match__2___rarg(lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverses___closed__2; +lean_object* l_Lean_setEnv___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr___closed__2; lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f_match__3(lean_object*); @@ -220,6 +238,7 @@ uint8_t l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualPreambleC lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; lean_object* l_Lean_Elab_Command_expandMutualPreamble(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg___boxed(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_nullKind___closed__2; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__24; @@ -228,7 +247,9 @@ extern lean_object* l_Lean_initFn____x40_Lean_Compiler_InitAttr___hyg_524____clo lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement(lean_object*); lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMutualPreamble___closed__2; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__2; extern lean_object* l___regBuiltin_Lean_Elab_Command_elabCheck___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1___closed__1; extern lean_object* l_Lean_resolveGlobalConstNoOverload___rarg___lambda__1___closed__1; @@ -248,16 +269,20 @@ lean_object* l_Lean_Elab_Command_expandMutualElement_match__3(lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__17; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView_match__3(lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyAttributes(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_System_IO___hyg_2551____closed__18; extern lean_object* l_myMacro____x40_Init_System_IO___hyg_2551____closed__15; lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__4; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMutualPreamble___closed__5; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__2(lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualElement___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_isDefLike___closed__6; @@ -265,6 +290,7 @@ lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object* lean_object* l_Lean_Elab_Command_elabStructure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView_match__1(lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__13; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__3; lean_object* l_Lean_Elab_Command_elabMutual___closed__3; lean_object* l_Array_ofSubarray___rarg(lean_object*); lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -273,6 +299,7 @@ lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object* lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_splitMutualPreamble_loop(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandDeclSig(lean_object*); lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__12; lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualDef___boxed(lean_object*); @@ -282,15 +309,18 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__11; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__18; lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_expandMacro_x3fImp(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__4(uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__6; lean_object* l_Lean_Elab_Command_expandMutualNamespace(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabAxiom_match__4(lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMutualPreamble___closed__6; extern lean_object* l_myMacro____x40_Init_System_IO___hyg_2551____closed__16; lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_elabMutualInductive___boxed__const__1; @@ -305,6 +335,7 @@ lean_object* l_Lean_Elab_Command_expandInitCmd___closed__9; lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__8; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallUsedOnly___at_Lean_Elab_Command_elabAxiom___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -314,8 +345,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__4_ lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__5; lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__3; lean_object* l_Lean_Elab_Command_elabAxiom___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__2; -lean_object* l_Lean_Elab_Command_checkValidCtorModifier(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallUsedOnlyImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDeclaration___closed__5; @@ -328,7 +358,6 @@ lean_object* l_Lean_Elab_Command_elabDeclaration___closed__1; lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualInductive___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___boxed__const__1; lean_object* l_Lean_Elab_Command_expandDeclIdNamespace_x3f_match__2(lean_object*); -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Command_elabAttr___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabDeclaration___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandMutualNamespace___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -337,15 +366,16 @@ lean_object* l_Lean_Elab_Command_expandMutualElement_match__2___rarg(lean_object uint8_t l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_isMutualInductive(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMutualNamespace_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_expandInCmd___closed__2; extern lean_object* l_Lean_Elab_Command_isDefLike___closed__7; extern lean_object* l_Lean_Elab_Command_elabNamespace___closed__1; +extern lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__3; lean_object* l___regBuiltin_Lean_Elab_Command_elabMutual___closed__1; lean_object* l_Lean_Elab_Command_elabAxiom_match__1(lean_object*); lean_object* l_Lean_Elab_Command_expandInitCmd___closed__1; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__3; +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__3; +extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2___closed__2; lean_object* l_Lean_Elab_Command_expandInitCmd___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption___closed__2; lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -353,6 +383,7 @@ lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Command_elabAttr___spec__2 lean_object* l_Lean_Elab_Command_expandInitCmd___closed__5; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; extern lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___lambda__1___closed__2; +extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__2; lean_object* l_Lean_Elab_Command_expandBuiltinInitialize(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__6; @@ -2578,12 +2609,644 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Declaration_0__Lean_Elab_ return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___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* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1(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; uint8_t x_9; +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_array_get_size(x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_7, x_8); +lean_dec(x_7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__3; +x_11 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_10, x_3, x_4, x_5); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_3); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_5); +return x_13; +} +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 3); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_box(0); +x_8 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1(x_1, x_7, x_3, x_4, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__3; +x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_9, x_3, x_4, x_5); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_10); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 2); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_box(0); +x_8 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2(x_1, x_7, x_3, x_4, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__3; +x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_9, x_3, x_4, x_5); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_10); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_box(0); +x_7 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3(x_1, x_6, x_2, x_3, x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__3; +x_9 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_8, x_2, x_3, x_4); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_9); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___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; +x_7 = lean_private_to_user_name(x_1); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +lean_dec(x_2); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_6); +return x_9; +} +else +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_7, 0); +lean_inc(x_10); +lean_dec(x_7); +x_11 = l_Lean_Environment_contains(x_2, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_10); +lean_dec(x_4); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_6); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_14, 0, x_10); +x_15 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__2; +x_16 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; +x_18 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_18, x_4, x_5, x_6); +return x_19; +} +} +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___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; uint8_t x_8; +lean_inc(x_1); +lean_inc(x_2); +x_7 = l_Lean_mkPrivateName(x_2, x_1); +lean_inc(x_2); +x_8 = l_Lean_Environment_contains(x_2, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__1(x_1, x_2, x_9, x_4, x_5, x_6); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_dec(x_2); +x_11 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_11, 0, x_1); +x_12 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2___closed__2; +x_13 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_15, x_4, x_5, x_6); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +return x_16; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_16); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_5 = lean_st_ref_get(x_3, x_4); +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_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +lean_inc(x_8); +x_9 = l_Lean_Environment_contains(x_8, x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__2(x_1, x_8, x_10, x_2, x_3, x_7); +return x_11; +} +else +{ +lean_object* x_12; +lean_dec(x_8); +lean_inc(x_1); +x_12 = lean_private_to_user_name(x_1); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_13 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_13, 0, x_1); +x_14 = l_Lean_throwUnknownConstant___rarg___closed__3; +x_15 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; +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_Elab_Command_elabEnd___spec__1___rarg(x_17, x_2, x_3, x_7); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +return x_18; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_18); +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; +} +} +else +{ +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_dec(x_1); +x_23 = lean_ctor_get(x_12, 0); +lean_inc(x_23); +lean_dec(x_12); +x_24 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___closed__2; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; +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_Elab_Command_elabEnd___spec__1___rarg(x_28, x_2, x_3, x_7); +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; +} +} +} +} +} +lean_object* l_Lean_setEnv___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___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; +x_5 = lean_st_ref_take(x_3, x_4); +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_is_exclusive(x_6); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_6, 0); +lean_dec(x_9); +lean_ctor_set(x_6, 0, x_1); +x_10 = lean_st_ref_set(x_3, x_6, x_7); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_dec(x_12); +x_13 = lean_box(0); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; 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; +x_17 = lean_ctor_get(x_6, 1); +x_18 = lean_ctor_get(x_6, 2); +x_19 = lean_ctor_get(x_6, 3); +x_20 = lean_ctor_get(x_6, 4); +x_21 = lean_ctor_get(x_6, 5); +x_22 = lean_ctor_get(x_6, 6); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_6); +x_23 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_23, 0, x_1); +lean_ctor_set(x_23, 1, x_17); +lean_ctor_set(x_23, 2, x_18); +lean_ctor_set(x_23, 3, x_19); +lean_ctor_set(x_23, 4, x_20); +lean_ctor_set(x_23, 5, x_21); +lean_ctor_set(x_23, 6, x_22); +x_24 = lean_st_ref_set(x_3, x_23, x_7); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + x_26 = x_24; +} else { + lean_dec_ref(x_24); + x_26 = lean_box(0); +} +x_27 = lean_box(0); +if (lean_is_scalar(x_26)) { + x_28 = lean_alloc_ctor(0, 2, 0); +} else { + x_28 = x_26; +} +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_25); +return x_28; +} +} +} +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_6; +lean_inc(x_2); +x_6 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3(x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_6, 0); +lean_dec(x_8); +lean_ctor_set(x_6, 0, x_2); +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +else +{ +uint8_t x_11; +lean_dec(x_2); +x_11 = !lean_is_exclusive(x_6); +if (x_11 == 0) +{ +return x_6; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_6, 0); +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_6); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +case 1: +{ +lean_object* x_15; +lean_inc(x_3); +lean_inc(x_2); +x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3(x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_15) == 0) +{ +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; +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_st_ref_get(x_4, x_16); +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 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_protectedExt; +lean_inc(x_2); +x_22 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_21, x_20, x_2); +x_23 = l_Lean_setEnv___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__4(x_22, x_3, x_4, x_19); +lean_dec(x_3); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_25); +lean_ctor_set(x_23, 0, x_2); +return x_23; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +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 +{ +uint8_t x_28; +lean_dec(x_3); +lean_dec(x_2); +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) +{ +return x_15; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_15); +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; +} +} +} +default: +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_32 = lean_st_ref_get(x_4, x_5); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_ctor_get(x_33, 0); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_mkPrivateName(x_35, x_2); +lean_inc(x_36); +x_37 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3(x_36, x_3, x_4, x_34); +if (lean_obj_tag(x_37) == 0) +{ +uint8_t x_38; +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_36); +return x_37; +} +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_36); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +else +{ +uint8_t x_42; +lean_dec(x_36); +x_42 = !lean_is_exclusive(x_37); +if (x_42 == 0) +{ +return x_37; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_37, 0); +x_44 = lean_ctor_get(x_37, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_37); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___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_inc(x_5); -x_8 = l_Lean_Elab_Command_checkValidCtorModifier(x_1, x_5, x_6, x_7); +x_8 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1(x_1, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -2611,7 +3274,7 @@ lean_object* x_20; lean_object* x_21; x_20 = lean_ctor_get(x_5, 6); lean_dec(x_20); lean_ctor_set(x_5, 6, x_18); -x_21 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(x_14, x_12, x_5, x_6, x_17); +x_21 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__2(x_14, x_12, x_5, x_6, x_17); if (lean_obj_tag(x_21) == 0) { uint8_t x_22; @@ -2776,7 +3439,7 @@ lean_ctor_set(x_66, 3, x_63); lean_ctor_set(x_66, 4, x_64); lean_ctor_set(x_66, 5, x_65); lean_ctor_set(x_66, 6, x_18); -x_67 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(x_14, x_12, x_66, x_6, x_17); +x_67 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__2(x_14, x_12, x_66, x_6, x_17); if (lean_obj_tag(x_67) == 0) { lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; @@ -2906,7 +3569,7 @@ return x_94; } } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -2914,27 +3577,27 @@ x_1 = lean_mk_string("invalid 'protected' constructor in a 'private' inductive d return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__1; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___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_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__3() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__2; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___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) { _start: { uint8_t x_9; @@ -2943,7 +3606,7 @@ if (x_9 == 0) { lean_object* x_10; lean_object* x_11; x_10 = lean_box(0); -x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1(x_1, x_2, x_3, x_10, x_6, x_7, x_8); +x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__1(x_1, x_2, x_3, x_10, x_6, x_7, x_8); return x_11; } else @@ -2954,7 +3617,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; x_13 = lean_box(0); -x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1(x_1, x_2, x_3, x_13, x_6, x_7, x_8); +x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__1(x_1, x_2, x_3, x_13, x_6, x_7, x_8); return x_14; } else @@ -2962,7 +3625,7 @@ else lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_dec(x_2); lean_dec(x_1); -x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__3; +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__3; x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_15, x_6, x_7, x_8); x_17 = !lean_is_exclusive(x_16); if (x_17 == 0) @@ -2986,7 +3649,7 @@ return x_20; } } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__1() { _start: { lean_object* x_1; @@ -2994,27 +3657,27 @@ x_1 = lean_mk_string("invalid 'private' constructor in a 'private' inductive dat return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__1; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___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_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__3() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__2; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1(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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5(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) { _start: { uint8_t x_9; @@ -3081,7 +3744,7 @@ if (x_40 == 0) { lean_object* x_41; lean_object* x_42; x_41 = lean_box(0); -x_42 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2(x_38, x_23, x_2, x_1, x_41, x_36, x_7, x_39); +x_42 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2(x_38, x_23, x_2, x_1, x_41, x_36, x_7, x_39); if (lean_obj_tag(x_42) == 0) { lean_object* x_43; lean_object* x_44; @@ -3126,7 +3789,7 @@ if (x_49 == 0) { lean_object* x_50; lean_object* x_51; x_50 = lean_box(0); -x_51 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2(x_38, x_23, x_2, x_1, x_50, x_36, x_7, x_39); +x_51 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2(x_38, x_23, x_2, x_1, x_50, x_36, x_7, x_39); if (lean_obj_tag(x_51) == 0) { lean_object* x_52; lean_object* x_53; @@ -3169,7 +3832,7 @@ lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_dec(x_38); lean_dec(x_23); lean_dec(x_14); -x_58 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__3; +x_58 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__3; x_59 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_58, x_36, x_7, x_39); x_60 = !lean_is_exclusive(x_59); if (x_60 == 0) @@ -3246,7 +3909,7 @@ _start: { lean_object* x_6; lean_inc(x_3); -x_6 = l_Lean_Elab_Command_checkValidInductiveModifier(x_1, x_3, x_4, x_5); +x_6 = l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1(x_1, x_3, x_4, x_5); if (lean_obj_tag(x_6) == 0) { 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; @@ -3294,7 +3957,7 @@ x_27 = lean_box_usize(x_25); x_28 = l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___boxed__const__1; lean_inc(x_19); lean_inc(x_1); -x_29 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___boxed), 8, 5); +x_29 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___boxed), 8, 5); lean_closure_set(x_29, 0, x_1); lean_closure_set(x_29, 1, x_19); lean_closure_set(x_29, 2, x_27); @@ -3432,22 +4095,115 @@ return x_50; } } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___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* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1___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_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___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_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__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_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___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_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___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: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_7; +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_7; +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3___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_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +lean_object* l_Lean_setEnv___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__4___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_setEnv___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__4(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_1); +lean_dec(x_1); +x_7 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__2(x_6, x_2, x_3, x_4, x_5); +lean_dec(x_4); +return x_7; +} +} +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___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_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___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_4); lean_dec(x_3); return x_8; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); @@ -3455,7 +4211,7 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___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) { _start: { size_t x_9; size_t x_10; lean_object* x_11; @@ -3463,7 +4219,7 @@ x_9 = lean_unbox_usize(x_3); lean_dec(x_3); x_10 = lean_unbox_usize(x_4); lean_dec(x_4); -x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); @@ -6839,7 +7595,7 @@ lean_ctor_set(x_49, 0, x_39); lean_ctor_set(x_49, 1, x_48); x_50 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__7; x_51 = lean_array_push(x_50, x_49); -x_52 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_52 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); @@ -6853,7 +7609,7 @@ lean_ctor_set(x_58, 1, x_56); x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_60 = lean_array_push(x_59, x_58); x_61 = lean_array_push(x_60, x_26); -x_62 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_62 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_63 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); @@ -7040,7 +7796,7 @@ x_172 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_172, 0, x_120); lean_ctor_set(x_172, 1, x_171); x_173 = lean_array_push(x_130, x_172); -x_174 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_174 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_175 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_175, 0, x_174); lean_ctor_set(x_175, 1, x_173); @@ -7054,7 +7810,7 @@ lean_ctor_set(x_180, 1, x_178); x_181 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_182 = lean_array_push(x_181, x_180); x_183 = lean_array_push(x_182, x_115); -x_184 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_184 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_185 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_185, 0, x_184); lean_ctor_set(x_185, 1, x_183); @@ -7242,18 +7998,18 @@ l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__5 = _init_l_Lean_Elab_Comm lean_mark_persistent(l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__5); l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__6 = _init_l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__6(); lean_mark_persistent(l_Lean_Elab_Command_expandDeclNamespace_x3f___closed__6); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__2); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__2___closed__3); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__2); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___closed__3); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___lambda__2___closed__3); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__5___closed__3); l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___boxed__const__1 = _init_l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___boxed__const__1(); lean_mark_persistent(l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___boxed__const__1); l_Lean_Elab_Command_elabDeclaration___closed__1 = _init_l_Lean_Elab_Command_elabDeclaration___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index 8e7d2f6f95..fbca46fb3a 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -40,6 +40,7 @@ lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___closed__2; lean_object* l_Lean_Elab_Command_MkInstanceName_collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__1; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; lean_object* l_Lean_Elab_Command_mkDefViewOfConstant___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -67,6 +68,7 @@ extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____c extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Instances___hyg_272____closed__2; lean_object* l_Lean_Elab_Command_MkInstanceName_mkFreshInstanceName___rarg___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__2; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque_match__1(lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -75,7 +77,6 @@ uint8_t l_Lean_Elab_DefKind_isExample(uint8_t); lean_object* l_Lean_Elab_Command_mkDefView___closed__3; uint8_t l_USize_decLt(size_t, size_t); extern lean_object* l_Lean_Compiler_initFn____x40_Lean_Compiler_InlineAttrs___hyg_54____closed__4; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_MkInstanceName_collect___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfAbbrev___closed__2; @@ -109,7 +110,6 @@ uint8_t l_Char_isLower(uint32_t); lean_object* l_Lean_Elab_Command_isDefLike___boxed(lean_object*); lean_object* l_Std_RBNode_insert___at___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBMap_ofList___at___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___spec__1(lean_object*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__20; lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -128,7 +128,6 @@ extern lean_object* l_Lean_Elab_Term_elabForall___closed__2; uint32_t lean_string_utf8_get(lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__16; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; lean_object* l_Lean_Elab_Command_MkInstanceName_append___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_main___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Command_isDefLike(lean_object*); @@ -157,6 +156,7 @@ lean_object* l_Lean_Elab_Command_mkDefViewOfInstance_match__2(lean_object*); extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_839____closed__1; lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); uint8_t l_Std_RBNode_isRed___rarg(lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__29; lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfConstant_match__1(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); @@ -3239,8 +3239,8 @@ static lean_object* _init_l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkI _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__29; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -4808,7 +4808,7 @@ x_27 = l_Lean_mkAtomFrom(x_2, x_26); x_28 = l_Lean_Syntax_mkApp___closed__1; x_29 = lean_array_push(x_28, x_27); x_30 = lean_array_push(x_29, x_25); -x_31 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_31 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index 4dd744d1b1..191e049769 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -16,18 +16,16 @@ extern "C" { lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__3; lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_isTypeFormerTypeImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__1; extern lean_object* l_Lean_Meta_forallTelescopeCompatibleAux___rarg___lambda__4___closed__4; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__2___closed__1; lean_object* l_Lean_addDecl___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___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_mk_brec_on(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_removeUnused(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_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__2___closed__2; size_t l_USize_add(size_t, size_t); @@ -39,17 +37,16 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed___rar lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___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* l_Lean_stringToMessageData(lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__1; lean_object* l_Lean_Elab_Command_checkResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSort(lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_match__1(lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___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*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__4; -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__4; -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__2; lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingType___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__3(lean_object*); @@ -59,10 +56,10 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_Inductive_0__Lean_Elab_Com lean_object* lean_array_uget(lean_object*, size_t); extern lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__6; lean_object* lean_expr_update_mdata(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__4; lean_object* l_Lean_Elab_Command_mkResultUniverse(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult; -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___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_object*); lean_object* l_Lean_mkBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -73,13 +70,16 @@ lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command lean_object* l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(lean_object*, size_t, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___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_Array_extract___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__1; lean_object* l_Std_HashMapImp_find_x3f___at_Lean_hasOutParams___spec__5(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__3___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* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__7___lambda__3(uint8_t, uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__2___lambda__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedAttribute; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse_match__1(lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -93,8 +93,10 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__2(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___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*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkBInductionOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -112,11 +114,11 @@ lean_object* lean_array_get_size(lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_accLevelAtCtor___closed__1; -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___spec__2(lean_object*, 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_object* l_Lean_Meta_mkForallFVars___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_getAppArgs___closed__1; lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___closed__2; @@ -127,20 +129,20 @@ lean_object* l_Lean_Meta_getLocalInstances___at___private_Lean_Elab_Inductive_0_ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___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*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__1; lean_object* l_Lean_Elab_Term_getLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_shouldInferResultUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_accLevelAtCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___closed__1; lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4____closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__2; lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__5; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); @@ -149,7 +151,7 @@ lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__10___lambda__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTypeWithAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__3; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkResultingUniverse___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -167,8 +169,10 @@ lean_object* l_Array_contains___at_Lean_Elab_Command_accLevelAtCtor___spec__1___ lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__2; lean_object* l_Lean_Elab_Command_checkResultingUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__10(uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__2; lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_eqvFirstTypeResult___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); @@ -176,7 +180,6 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDec lean_object* l_Lean_Elab_Command_checkResultingUniverse___closed__2; lean_object* lean_mk_ibelow(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkResultUniverse___boxed(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -202,16 +205,14 @@ lean_object* l_Lean_Meta_instantiateLevelMVars___at_Lean_Elab_Command_shouldInfe lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed_match__1(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*); uint8_t l_Lean_KVMap_getBool(lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___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_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_tmpIndParam___closed__2; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___spec__1___closed__3; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__1; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__3; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__3___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_Elab_Command_checkValidCtorModifier___lambda__2___closed__2; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused_match__1(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -221,22 +222,17 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isInductiveFam lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___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* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___lambda__4___closed__1; -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__2; -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_tmpIndParam___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed(lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__1(lean_object*, size_t, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_assignLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getCheckResultingUniverseOption___boxed(lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___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_object*, lean_object*); extern lean_object* l_Lean_LocalContext_instInhabitedLocalContext___closed__1; extern lean_object* l_Lean_Expr_instInhabitedExpr___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___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* l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___boxed(lean_object**); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -244,22 +240,24 @@ lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorTypeAux___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_Nat_foldM_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop___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* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__2; lean_object* l_Lean_mkNoConfusion___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateLevelMVars___at_Lean_Elab_Command_shouldInferResultUniverse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedCtorView; lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__3; -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___closed__3; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___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* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__2; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__2; lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParamAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__3; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop_match__1(lean_object*); lean_object* l_Lean_addDecl___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); @@ -275,6 +273,7 @@ lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean lean_object* l_Lean_Meta_getLocalInstances___at_Lean_Elab_Term_removeUnused___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___lambda__4___closed__2; lean_object* lean_mk_no_confusion(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse_match__2(lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls___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* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod(lean_object*, lean_object*, lean_object*); @@ -297,9 +296,9 @@ lean_object* l_Lean_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_o lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__3; lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__2; -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__3; lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___lambda__5___closed__4; +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__1; lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_collectUsedFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_update_let(lean_object*, lean_object*, lean_object*, lean_object*); @@ -311,11 +310,9 @@ size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Meta_getLocalInstances___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedInductiveView___closed__1; -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___closed__2; lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__3; +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* lean_expr_update_proj(lean_object*, lean_object*); @@ -329,9 +326,9 @@ lean_object* l_Lean_Elab_Command_accLevelAtCtor___closed__2; lean_object* l_Lean_mkIBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__2; lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__4; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_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* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkHeaders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_mod(size_t, size_t); @@ -350,16 +347,13 @@ extern lean_object* l_Lean_Expr_instInhabitedExpr; lean_object* l_Lean_throwKernelException___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___closed__1; -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__5; lean_object* l_List_foldl___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isInductiveFamily___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_ptr_addr(lean_object*); lean_object* lean_mk_below(lean_object*, lean_object*); lean_object* l_Lean_Meta_isType___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__4; lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__1(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__7___lambda__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); @@ -369,7 +363,6 @@ lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNamesImp extern uint8_t l_instInhabitedBool; lean_object* l_Lean_throwKernelException___at_Lean_Elab_Term_declareTacticSyntax___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__6; -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__3; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__2___boxed(lean_object**); extern lean_object* l_Lean_CollectLevelParams_instInhabitedState___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__1___closed__1; @@ -395,10 +388,11 @@ lean_object* l_Lean_Meta_getLocalInstances___at___private_Lean_Elab_Inductive_0_ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__1; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__4; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts_match__1(lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_eqvFirstTypeResult___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_PersistentHashMap_find_x21___rarg___closed__3; -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529_(lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4_(lean_object*); lean_object* l_Lean_mkIBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_foldAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -411,6 +405,7 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAnd lean_object* l_Lean_Level_mkNaryMax(lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses___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* l_Lean_Level_normalize(lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__2; lean_object* l_Lean_Elab_Command_elabInductiveViews___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___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withUsed_match__1___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_ReplaceLevelImpl_initCache; @@ -424,31 +419,32 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUnivers lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkNumParams___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* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___closed__4; +lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkCasesOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__3; lean_object* l_Lean_Elab_Command_elabInductiveViews___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_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__1; -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___closed__3; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__1; lean_object* lean_expr_update_lambda(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__6; extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__1; extern lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1___closed__1; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_getLevelOffset(lean_object*); lean_object* l_List_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___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* l_Lean_mkBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__2(lean_object*, size_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___closed__2; +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_removeUnused_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_mkBInductionOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeCompatibleAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux_match__1(lean_object*); -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniversesFromCtorType___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_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); @@ -463,20 +459,21 @@ uint8_t l_Lean_Level_isZero(lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_inferImplicit(lean_object*, lean_object*, uint8_t); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkUnsafe___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__1; lean_object* l_Lean_mkCasesOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__2; lean_object* l_Lean_indentD(lean_object*); uint8_t l_Lean_Level_occurs(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___closed__3; lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___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_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___at_Lean_Elab_Term_ensureType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl_match__1(lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse_match__2___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_CollectFVars_instInhabitedState___closed__1; lean_object* l_Lean_mkBRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__3; lean_object* l_Lean_Elab_Command_accLevelAtCtor_match__1___rarg(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*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkHeader_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -487,9 +484,11 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVar lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___lambda__5___closed__3; extern lean_object* l_Lean_Meta_CheckAssignment_checkFVar___closed__2; +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__3___closed__2; extern lean_object* l_Lean_initFn____x40_Lean_Class___hyg_626____closed__2; -lean_object* l_Lean_Elab_Command_checkValidCtorModifier(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier(lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__7___lambda__2(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -502,10 +501,13 @@ lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___lambda__5___closed__5; +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__6; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___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*); extern lean_object* l_Lean_levelOne; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__3___closed__1; uint8_t lean_level_eq(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__1; uint8_t l_List_beq___at_Lean_OpenDecl_instToStringOpenDecl___spec__1(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -518,14 +520,14 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveL lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingType___closed__1; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier(lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_tmpIndParam; lean_object* l_Lean_Elab_Command_elabInductiveViews___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___lambda__5(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_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__1; lean_object* l_Std_HashMapImp_insert___at_Lean_ClassState_addEntry___spec__6(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_Command_instInhabitedCtorView___closed__1; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__3; lean_object* lean_mk_binduction_on(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_isInductiveFamily___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* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls_loop(lean_object*); @@ -537,7 +539,6 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultin lean_object* l_Lean_Meta_isType___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__4___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__3; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUsed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___spec__1___closed__2; lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -547,7 +548,6 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAnd lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedCtorView___closed__2; lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_ReplaceImpl_initCache; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__7(uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___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_object*, lean_object*); @@ -557,7 +557,6 @@ lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultin uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__3___closed__4; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames___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* l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__1(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_add_decl(lean_object*, lean_object*); static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4____closed__1() { @@ -587,7 +586,7 @@ x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -595,102 +594,120 @@ x_1 = lean_mk_string("invalid use of attributes in inductive declaration"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__1; +x_1 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___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_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__2; +x_1 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___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_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; uint8_t x_11; -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_array_get_size(x_6); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_eq(x_7, x_8); -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_dec_eq(x_7, x_10); -lean_dec(x_7); -if (x_11 == 0) +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; uint8_t x_12; +x_7 = lean_ctor_get(x_1, 1); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_8, x_9); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_dec_eq(x_8, x_11); +lean_dec(x_8); +if (x_12 == 0) { -if (x_9 == 0) +if (x_10 == 0) { -lean_object* x_12; lean_object* x_13; -x_12 = l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__3; -x_13 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_12, x_3, x_4, x_5); -return x_13; +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__3; +x_14 = l_Lean_throwError___rarg(x_2, x_3, x_4, x_5, lean_box(0), x_13); +return x_14; } else { -lean_object* x_14; lean_object* x_15; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -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_5); -return x_15; +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +lean_dec(x_2); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_box(0); +x_18 = lean_apply_2(x_16, lean_box(0), x_17); +return x_18; } } else { -if (x_9 == 0) +if (x_10 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_16 = l_Lean_Elab_instInhabitedAttribute; -x_17 = lean_array_get(x_16, x_6, x_8); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec(x_17); -x_19 = l_Lean_initFn____x40_Lean_Class___hyg_626____closed__2; -x_20 = lean_name_eq(x_18, x_19); -lean_dec(x_18); -if (x_20 == 0) +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = l_Lean_Elab_instInhabitedAttribute; +x_20 = lean_array_get(x_19, x_7, x_9); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +x_22 = l_Lean_initFn____x40_Lean_Class___hyg_626____closed__2; +x_23 = lean_name_eq(x_21, x_22); +lean_dec(x_21); +if (x_23 == 0) { -lean_object* x_21; lean_object* x_22; -x_21 = l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__3; -x_22 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_21, x_3, x_4, x_5); -return x_22; +lean_object* x_24; lean_object* x_25; +x_24 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__3; +x_25 = l_Lean_throwError___rarg(x_2, x_3, x_4, x_5, lean_box(0), x_24); +return x_25; } else { -lean_object* x_23; lean_object* x_24; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -x_23 = lean_box(0); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_5); -return x_24; +x_26 = lean_ctor_get(x_2, 0); +lean_inc(x_26); +lean_dec(x_2); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_box(0); +x_29 = lean_apply_2(x_27, lean_box(0), x_28); +return x_29; } } else { -lean_object* x_25; lean_object* x_26; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -x_25 = lean_box(0); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_5); -return x_26; +x_30 = lean_ctor_get(x_2, 0); +lean_inc(x_30); +lean_dec(x_2); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_box(0); +x_33 = lean_apply_2(x_31, lean_box(0), x_32); +return x_33; } } } } -static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -698,65 +715,75 @@ x_1 = lean_mk_string("invalid use of 'partial' in inductive declaration"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__1; +x_1 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___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_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__2; +x_1 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___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: { -uint8_t x_6; -x_6 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 2); -if (x_6 == 0) +lean_object* x_7; uint8_t x_8; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___boxed), 6, 5); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +lean_closure_set(x_7, 2, x_3); +lean_closure_set(x_7, 3, x_4); +lean_closure_set(x_7, 4, x_5); +x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 2); +lean_dec(x_1); +if (x_8 == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = lean_box(0); -x_8 = l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1(x_1, x_7, x_3, x_4, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__3; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_9, x_3, x_4, x_5); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_inc(x_12); +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_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +lean_dec(x_2); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); lean_dec(x_10); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); +x_12 = lean_box(0); +x_13 = lean_apply_2(x_11, lean_box(0), x_12); +x_14 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_13, x_7); return x_14; } +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_2, 1); +lean_inc(x_15); +x_16 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__3; +x_17 = l_Lean_throwError___rarg(x_2, x_3, x_4, x_5, lean_box(0), x_16); +x_18 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_17, x_7); +return x_18; } } } -static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__1() { _start: { lean_object* x_1; @@ -764,97 +791,102 @@ x_1 = lean_mk_string("invalid use of 'noncomputable' in inductive declaration"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidInductiveModifier___closed__1; +x_1 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___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_Lean_Elab_Command_checkValidInductiveModifier___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidInductiveModifier___closed__2; +x_1 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_5; -x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 1); -if (x_5 == 0) +lean_object* x_6; uint8_t x_7; +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +lean_inc(x_5); +x_6 = lean_alloc_closure((void*)(l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___boxed), 6, 5); +lean_closure_set(x_6, 0, x_5); +lean_closure_set(x_6, 1, x_1); +lean_closure_set(x_6, 2, x_2); +lean_closure_set(x_6, 3, x_3); +lean_closure_set(x_6, 4, x_4); +x_7 = lean_ctor_get_uint8(x_5, sizeof(void*)*2 + 1); +lean_dec(x_5); +if (x_7 == 0) { -lean_object* x_6; lean_object* x_7; -x_6 = lean_box(0); -x_7 = l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2(x_1, x_6, x_2, x_3, x_4); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = l_Lean_Elab_Command_checkValidInductiveModifier___closed__3; -x_9 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_8, x_2, x_3, x_4); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -return x_9; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_inc(x_11); +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_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); lean_dec(x_9); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); +x_11 = lean_box(0); +x_12 = lean_apply_2(x_10, lean_box(0), x_11); +x_13 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_12, x_6); return x_13; } +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +x_15 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__3; +x_16 = l_Lean_throwError___rarg(x_1, x_2, x_3, x_4, lean_box(0), x_15); +x_17 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_16, x_6); +return x_17; } } } -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___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* l_Lean_Elab_Command_checkValidInductiveModifier(lean_object* x_1) { _start: { -lean_object* x_6; -x_6 = l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_6; +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_checkValidInductiveModifier___rarg), 5, 0); +return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___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* l_Lean_Elab_Command_checkValidInductiveModifier___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) { _start: { -lean_object* x_6; -x_6 = l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_2); +lean_object* x_7; +x_7 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); lean_dec(x_1); -return x_6; +return x_7; } } -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___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) { _start: { -lean_object* x_5; -x_5 = l_Lean_Elab_Command_checkValidInductiveModifier(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; +lean_object* x_7; +x_7 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +return x_7; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -862,55 +894,61 @@ x_1 = lean_mk_string("invalid use of attributes in constructor declaration"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__1; +x_1 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___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_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__2; +x_1 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___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_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_array_get_size(x_6); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_eq(x_7, x_8); -lean_dec(x_7); -if (x_9 == 0) +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_1, 1); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_eq(x_8, x_9); +lean_dec(x_8); +if (x_10 == 0) { -lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__3; -x_11 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_10, x_3, x_4, x_5); -return x_11; +lean_object* x_11; lean_object* x_12; +x_11 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__3; +x_12 = l_Lean_throwError___rarg(x_2, x_3, x_4, x_5, lean_box(0), x_11); +return x_12; } else { -lean_object* x_12; lean_object* x_13; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_5); -return x_13; +x_13 = lean_ctor_get(x_2, 0); +lean_inc(x_13); +lean_dec(x_2); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_box(0); +x_16 = lean_apply_2(x_14, lean_box(0), x_15); +return x_16; } } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -918,65 +956,75 @@ x_1 = lean_mk_string("invalid use of 'unsafe' in constructor declaration"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__1; +x_1 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___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_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__2; +x_1 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___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: { -uint8_t x_6; -x_6 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 3); -if (x_6 == 0) +lean_object* x_7; uint8_t x_8; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___boxed), 6, 5); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +lean_closure_set(x_7, 2, x_3); +lean_closure_set(x_7, 3, x_4); +lean_closure_set(x_7, 4, x_5); +x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 3); +lean_dec(x_1); +if (x_8 == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = lean_box(0); -x_8 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__1(x_1, x_7, x_3, x_4, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__3; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_9, x_3, x_4, x_5); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_inc(x_12); +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_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +lean_dec(x_2); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); lean_dec(x_10); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); +x_12 = lean_box(0); +x_13 = lean_apply_2(x_11, lean_box(0), x_12); +x_14 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_13, x_7); return x_14; } +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_2, 1); +lean_inc(x_15); +x_16 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__3; +x_17 = l_Lean_throwError___rarg(x_2, x_3, x_4, x_5, lean_box(0), x_16); +x_18 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_17, x_7); +return x_18; } } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__1() { _start: { lean_object* x_1; @@ -984,65 +1032,75 @@ x_1 = lean_mk_string("invalid use of 'partial' in constructor declaration"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__1; +x_1 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___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_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__2; +x_1 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___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) { _start: { -uint8_t x_6; -x_6 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 2); -if (x_6 == 0) +lean_object* x_7; uint8_t x_8; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___boxed), 6, 5); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +lean_closure_set(x_7, 2, x_3); +lean_closure_set(x_7, 3, x_4); +lean_closure_set(x_7, 4, x_5); +x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 2); +lean_dec(x_1); +if (x_8 == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = lean_box(0); -x_8 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__2(x_1, x_7, x_3, x_4, x_5); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__3; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_9, x_3, x_4, x_5); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_inc(x_12); +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_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +lean_dec(x_2); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); lean_dec(x_10); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); +x_12 = lean_box(0); +x_13 = lean_apply_2(x_11, lean_box(0), x_12); +x_14 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_13, x_7); return x_14; } +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_2, 1); +lean_inc(x_15); +x_16 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__3; +x_17 = l_Lean_throwError___rarg(x_2, x_3, x_4, x_5, lean_box(0), x_16); +x_18 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_17, x_7); +return x_18; } } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___closed__1() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__1() { _start: { lean_object* x_1; @@ -1050,105 +1108,108 @@ x_1 = lean_mk_string("invalid use of 'noncomputable' in constructor declaration" return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___closed__2() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidCtorModifier___closed__1; +x_1 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___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_Lean_Elab_Command_checkValidCtorModifier___closed__3() { +static lean_object* _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_checkValidCtorModifier___closed__2; +x_1 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_5; -x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 1); -if (x_5 == 0) +lean_object* x_6; uint8_t x_7; +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +lean_inc(x_5); +x_6 = lean_alloc_closure((void*)(l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___boxed), 6, 5); +lean_closure_set(x_6, 0, x_5); +lean_closure_set(x_6, 1, x_1); +lean_closure_set(x_6, 2, x_2); +lean_closure_set(x_6, 3, x_3); +lean_closure_set(x_6, 4, x_4); +x_7 = lean_ctor_get_uint8(x_5, sizeof(void*)*2 + 1); +lean_dec(x_5); +if (x_7 == 0) { -lean_object* x_6; lean_object* x_7; -x_6 = lean_box(0); -x_7 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__3(x_1, x_6, x_2, x_3, x_4); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = l_Lean_Elab_Command_checkValidCtorModifier___closed__3; -x_9 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_8, x_2, x_3, x_4); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -return x_9; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_inc(x_11); +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_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); lean_dec(x_9); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); +x_11 = lean_box(0); +x_12 = lean_apply_2(x_10, lean_box(0), x_11); +x_13 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_12, x_6); return x_13; } +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +x_15 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__3; +x_16 = l_Lean_throwError___rarg(x_1, x_2, x_3, x_4, lean_box(0), x_15); +x_17 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_16, x_6); +return x_17; } } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___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* l_Lean_Elab_Command_checkValidCtorModifier(lean_object* x_1) { _start: { -lean_object* x_6; -x_6 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_6; +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_checkValidCtorModifier___rarg), 5, 0); +return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___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* l_Lean_Elab_Command_checkValidCtorModifier___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) { _start: { -lean_object* x_6; -x_6 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__2(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_2); +lean_object* x_7; +x_7 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); lean_dec(x_1); -return x_6; +return x_7; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___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* l_Lean_Elab_Command_checkValidCtorModifier___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) { _start: { -lean_object* x_6; -x_6 = l_Lean_Elab_Command_checkValidCtorModifier___lambda__3(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -return x_6; +lean_object* x_7; +x_7 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +return x_7; } } -lean_object* l_Lean_Elab_Command_checkValidCtorModifier___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___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) { _start: { -lean_object* x_5; -x_5 = l_Lean_Elab_Command_checkValidCtorModifier(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; +lean_object* x_7; +x_7 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +return x_7; } } static lean_object* _init_l_Lean_Elab_Command_instInhabitedCtorView___closed__1() { @@ -9041,7 +9102,7 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__1() { _start: { lean_object* x_1; @@ -9049,17 +9110,17 @@ x_1 = lean_mk_string("bootstrap"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__3() { _start: { lean_object* x_1; @@ -9067,17 +9128,17 @@ x_1 = lean_mk_string("inductiveCheckResultingUniverse"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__2; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__3; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__5() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__5() { _start: { lean_object* x_1; @@ -9085,13 +9146,13 @@ x_1 = lean_mk_string("by default the `inductive/structure commands report an err return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__6() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_initFn____x40_Lean_Data_Options___hyg_476____closed__3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__5; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__1; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__5; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -9099,12 +9160,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__4; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__6; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__4; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__6; x_4 = lean_register_option(x_2, x_3, x_1); return x_4; } @@ -9113,7 +9174,7 @@ uint8_t l_Lean_Elab_Command_getCheckResultingUniverseOption(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; uint8_t x_4; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__4; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__4; x_3 = 1; x_4 = l_Lean_KVMap_getBool(x_1, x_2, x_3); return x_4; @@ -16472,48 +16533,48 @@ lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__1 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__1); -l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__2 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__2); -l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__3 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___lambda__1___closed__3); -l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__1 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__1); -l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__2 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__2); -l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__3 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___lambda__2___closed__3); -l_Lean_Elab_Command_checkValidInductiveModifier___closed__1 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___closed__1); -l_Lean_Elab_Command_checkValidInductiveModifier___closed__2 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___closed__2); -l_Lean_Elab_Command_checkValidInductiveModifier___closed__3 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___closed__3); -l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__1); -l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__2); -l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__3 = _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___lambda__1___closed__3); -l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__1); -l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__2); -l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__3 = _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___lambda__2___closed__3); -l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__1); -l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__2); -l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__3 = _init_l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___lambda__3___closed__3); -l_Lean_Elab_Command_checkValidCtorModifier___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___closed__1); -l_Lean_Elab_Command_checkValidCtorModifier___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___closed__2); -l_Lean_Elab_Command_checkValidCtorModifier___closed__3 = _init_l_Lean_Elab_Command_checkValidCtorModifier___closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___closed__3); +l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__1 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__1); +l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__2 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__2); +l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__3 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__3); +l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__1 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__1); +l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__2 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__2); +l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__3 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__3); +l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__1 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__1); +l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__2 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__2); +l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__3 = _init_l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__3); +l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__1); +l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__2); +l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__3 = _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__3); +l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__1); +l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__2); +l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__3 = _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__3); +l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__1); +l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__2); +l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__3 = _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__3); +l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__1 = _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__1); +l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__2 = _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__2); +l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__3 = _init_l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__3); l_Lean_Elab_Command_instInhabitedCtorView___closed__1 = _init_l_Lean_Elab_Command_instInhabitedCtorView___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_instInhabitedCtorView___closed__1); l_Lean_Elab_Command_instInhabitedCtorView___closed__2 = _init_l_Lean_Elab_Command_instInhabitedCtorView___closed__2(); @@ -16640,19 +16701,19 @@ l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___c lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__1); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__4); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__5); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475____closed__6); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2475_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__5); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529____closed__6); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_2529_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Command_checkResultingUniverse___closed__1 = _init_l_Lean_Elab_Command_checkResultingUniverse___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Level.c b/stage0/stdlib/Lean/Elab/Level.c index 6ac3319e13..83e812f5f2 100644 --- a/stage0/stdlib/Lean/Elab/Level.c +++ b/stage0/stdlib/Lean/Elab/Level.c @@ -43,7 +43,9 @@ lean_object* l_Lean_Elab_Level_mkFreshLevelMVar___boxed(lean_object*, lean_objec lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; lean_object* lean_nat_add(lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Level_elabLevel___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___closed__6; lean_object* l_ReaderT_bind___at_Lean_Elab_Level_instMonadRefLevelElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -84,7 +86,6 @@ lean_object* l_Lean_Elab_Level_elabLevel___closed__5; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l___private_Lean_Elab_Level_0__Lean_Elab_Level_isValidAutoBoundLevelName_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_Level_elabLevel___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at_Lean_Elab_Level_mkFreshLevelMVar___spec__1___boxed(lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___closed__3; @@ -105,7 +106,6 @@ lean_object* l_Lean_Level_ofNat(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Level_elabLevel___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkLevelParam(lean_object*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); lean_object* l_Lean_Elab_Level_instMonadNameGeneratorLevelElabM___closed__4; lean_object* l_Lean_Elab_Level_instMonadRefLevelElabM___closed__3; @@ -1000,7 +1000,7 @@ static lean_object* _init_l_Lean_Elab_Level_elabLevel___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1010,7 +1010,7 @@ static lean_object* _init_l_Lean_Elab_Level_elabLevel___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; x_2 = l_Lean_Level_LevelToFormat_Result_format___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1020,7 +1020,7 @@ static lean_object* _init_l_Lean_Elab_Level_elabLevel___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; x_2 = l_Lean_Level_LevelToFormat_Result_format___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1038,7 +1038,7 @@ static lean_object* _init_l_Lean_Elab_Level_elabLevel___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; x_2 = l_Lean_Elab_Level_elabLevel___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1130,7 +1130,7 @@ x_14 = lean_name_eq(x_4, x_13); if (x_14 == 0) { lean_object* x_15; uint8_t x_16; -x_15 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; +x_15 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; x_16 = lean_name_eq(x_4, x_15); if (x_16 == 0) { @@ -1690,7 +1690,7 @@ x_157 = lean_name_eq(x_4, x_156); if (x_157 == 0) { lean_object* x_158; uint8_t x_159; -x_158 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; +x_158 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; x_159 = lean_name_eq(x_4, x_158); if (x_159 == 0) { diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index e7c9938b83..79912201e4 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -74,6 +74,7 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__6 lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_markModified___rarg(lean_object*); lean_object* l_Lean_CollectFVars_main(lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; lean_object* l_Lean_Elab_Term_elabMutualDef___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_array_uset(lean_object*, size_t, lean_object*); uint8_t l_Lean_Elab_Term_MutualClosure_FixPoint_State_modified___default; @@ -353,7 +354,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_fixpoint_match__1(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check_match__1(lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__2(lean_object*, size_t, size_t); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___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* l_Array_reverse___rarg(lean_object*); extern lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp___closed__6; @@ -5444,7 +5444,7 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm(lea _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_4 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c index b770ae38aa..f7f816cb41 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural.c @@ -85,6 +85,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(le lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_hasBadIndexDep_x3f_match__2(lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_throwToBelowFailed___rarg___closed__3; +extern lean_object* l_Lean_Meta_evalNat_visit___closed__12; extern lean_object* l_Array_empty___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_replaceRecApps_loop___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -521,7 +522,6 @@ lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structu uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isLet(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -extern lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1; lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_getFixedPrefix_match__1___rarg(lean_object* x_1, lean_object* x_2) { _start: @@ -7236,7 +7236,7 @@ lean_closure_set(x_18, 0, x_14); lean_closure_set(x_18, 1, x_1); lean_closure_set(x_18, 2, x_4); lean_closure_set(x_18, 3, x_5); -x_19 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1; +x_19 = l_Lean_Meta_evalNat_visit___closed__12; x_20 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___spec__1___rarg(x_16, x_19, x_18, x_7, x_8, x_9, x_10, x_17); return x_20; } @@ -12084,7 +12084,7 @@ lean_closure_set(x_36, 3, x_2); lean_closure_set(x_36, 4, x_6); lean_closure_set(x_36, 5, x_1); lean_closure_set(x_36, 6, x_28); -x_37 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1; +x_37 = l_Lean_Meta_evalNat_visit___closed__12; x_38 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__4___rarg(x_32, x_37, x_36, x_11, x_12, x_13, x_14, x_15, x_35); return x_38; } @@ -12114,7 +12114,7 @@ lean_closure_set(x_46, 3, x_2); lean_closure_set(x_46, 4, x_6); lean_closure_set(x_46, 5, x_1); lean_closure_set(x_46, 6, x_28); -x_47 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1; +x_47 = l_Lean_Meta_evalNat_visit___closed__12; x_48 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Elab_PreDefinition_Structural_0__Lean_Elab_Structural_mkBRecOn___spec__4___rarg(x_32, x_47, x_46, x_11, x_12, x_13, x_14, x_15, x_45); return x_48; } diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index 1767d4283b..6366b7d67f 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -145,6 +145,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__8; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__2; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__4; @@ -361,7 +362,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explode lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__2; @@ -4321,7 +4321,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabLevelQuot_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; x_2 = l_Lean_Syntax_isQuot_match__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index 1a6b0d80e5..c0321e8cd2 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -13,15 +13,19 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__1; +extern lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_elabStructure___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_instInhabitedStructFieldInfo; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__12; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure___lambda__1___boxed(lean_object**); lean_object* l_Lean_Elab_Term_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__1(lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); @@ -29,16 +33,16 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields_m lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__2; -lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___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_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Meta_addGlobalInstance___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -52,21 +56,22 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsS lean_object* l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(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* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__1; lean_object* l_Lean_Meta_mkId___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__1; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4___closed__1; uint8_t l_USize_decEq(size_t, size_t); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___boxed(lean_object**); lean_object* lean_array_uget(lean_object*, size_t); lean_object* lean_io_error_to_string(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__2; 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_Elab_Command_checkValidFieldModifier___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabStructure___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_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabStructure___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_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__4; @@ -74,52 +79,53 @@ lean_object* l_Lean_Elab_Command_mkResultUniverse(lean_object*, lean_object*); uint8_t l_Lean_Elab_Modifiers_isProtected(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___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_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVars___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* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__11; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___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_object*, lean_object*, lean_object*); -lean_object* l_Lean_setEnv___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___closed__3; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__5___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_instInhabitedAttribute; extern lean_object* l_Array_empty___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__5(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__7; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__3; lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2___closed__1; -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_elabModifiers___rarg___closed__2; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_collectUsedFVarsAtFVars___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___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_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure_match__1(lean_object*); -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_projections(lean_object*, lean_object*, lean_object*, uint8_t); uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___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_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__2; lean_object* lean_private_to_user_name(lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__9; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__3; lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__3; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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* l_Lean_Meta_mkLambdaFVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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*, lean_object*); extern lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -128,25 +134,29 @@ uint8_t l_Lean_isInternalSubobjectFieldName(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux_match__1(lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Array_getEvenElems___rarg___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructType_match__1(lean_object*); lean_object* l_Lean_Level_getOffsetAux(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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* l_Lean_Meta_assignLevelMVar___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___closed__2; +lean_object* l_Lean_Elab_Term_getLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1019____spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__1; lean_object* l_Lean_Elab_Command_shouldInferResultUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_getLevelNames___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__39; lean_object* l_Lean_Elab_Command_accLevelAtCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -156,18 +166,22 @@ lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_USize_decLt(size_t, size_t); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__2; lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3(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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__2; +extern lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__3; lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__7; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__3___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__7(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_getVarDecls(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -175,32 +189,31 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsS lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__4; lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVarsImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___spec__3___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_Elab_Command_elabStructure___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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabStructure___lambda__1(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_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructType___boxed(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__3; lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent___boxed(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse_match__1(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__14; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__2; uint8_t l_Lean_Elab_Command_StructFieldInfo_inferMod___default; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__8; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__4; lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields(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_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2(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* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused_match__1___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_value(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__1; @@ -209,72 +222,80 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___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*); +extern lean_object* l_Lean_Elab_mkDeclName___rarg___closed__2; uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructType(lean_object*); +extern lean_object* l_Lean_Elab_mkDeclName___rarg___lambda__1___closed__3; lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg___closed__3; +lean_object* l_Lean_Elab_Command_elabStructure___lambda__4___closed__1; lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Command_StructFieldInfo_isSubobject(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___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_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__4; lean_object* l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__1(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__5; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkProjection___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabStructure___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* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkProjections___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused_match__1(lean_object*); 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_object* l_Lean_Elab_Command_elabStructure___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkNoConfusion___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed___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* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5___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* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withUsed_match__1(lean_object*); lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Term_collectUsedFVarsAtFVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_expandDeclId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___spec__3(lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instQuoteProd___rarg___closed__1; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure_match__1(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___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* l_List_forM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___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_Meta_assignLevelMVar___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withUsed(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__2; +lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___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_Lean_Expr_fvarId_x21(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__3(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__3; +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_elabStructure___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1; lean_object* l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__8(lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__2___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkProjection___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instInhabitedExpr___closed__1; -lean_object* l_Lean_Elab_Command_elabStructure___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_elabStructure___lambda__3(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_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkIdImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_value_x3f___default; uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2; lean_object* lean_st_mk_ref(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__1; lean_object* l_List_forM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse_match__1(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__1(lean_object*); +extern lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__3; lean_object* l_Lean_Meta_mkId___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -284,25 +305,30 @@ lean_object* l_Lean_mkRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Comm lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue_match__2(lean_object*); +extern lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__3; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure___lambda__2___boxed(lean_object**); lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject___boxed(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___lambda__1___boxed(lean_object**); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__2; +uint8_t l_Lean_Name_isAtomic(lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_protectedExt; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__43; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__1; +lean_object* l_Lean_Elab_Command_elabStructure___lambda__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___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* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__4; +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___rarg___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__1; lean_object* l_Lean_Meta_getLocalInstances___at_Lean_Elab_Term_removeUnused___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -311,12 +337,10 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lea lean_object* l_Lean_Meta_inferType___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults_match__1(lean_object*); extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_507____closed__4; -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView_match__1(lean_object*); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__6; lean_object* l_Lean_Meta_mkAuxDefinition___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue_match__3___rarg(lean_object*, lean_object*, lean_object*); @@ -326,30 +350,33 @@ lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp(lean_objec extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3; lean_object* l_Lean_Elab_Command_elabStructure___closed__3; lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__9; lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields_match__1___rarg(lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_collectUsedFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___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_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields(lean_object*); extern lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__1; +lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandDeclIdCore(lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_updateBinderInfo(lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_elabStructure___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure___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___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents(lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_containsFieldName(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__8; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___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_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -359,7 +386,7 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfiel lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux___boxed__const__1; -lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -367,58 +394,62 @@ lean_object* l_Lean_Syntax_isIdOrAtom_x3f(lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetMessageLog(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instInhabitedExpr; +uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_elabAttr___rarg___closed__3; lean_object* lean_add_instance(lean_object*, lean_object*, lean_object*); extern lean_object* l_Option_get_x21___rarg___closed__4; -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__3; +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_getString_x21(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure___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* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed___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*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__21; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse___closed__2; -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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* l_Lean_setEnv___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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* l_Lean_Syntax_getSepArgs(lean_object*); uint8_t l_Lean_isAttribute(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_addGlobalInstance___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__1; uint8_t l_Lean_BinderInfo_beq(uint8_t, uint8_t); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getNumArgs(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4___boxed(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_CollectLevelParams_instInhabitedState___closed__1; extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; extern lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__2; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___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* l_List_map___at_Lean_Meta_addGlobalInstanceImp___spec__1(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___boxed__const__1; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__8; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__5; +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_getSepArgs___spec__1(lean_object*, size_t, size_t, lean_object*); extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_839____closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___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* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__4(lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttrs___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*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__6; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure___closed__2; -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___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* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_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* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___rarg___closed__2; 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*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -426,49 +457,49 @@ lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_containsFieldName___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_assign_level(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__9; -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___lambda__1(uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_sortDeclLevelParams___closed__1; +lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___lambda__3___boxed(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_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__4; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse___closed__3; +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); size_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__3; +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__6; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabStructure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__2; lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4___closed__2; extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___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*); +extern lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withUsed___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields_match__1(lean_object*); -lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_expandDeclSig(lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___closed__2; lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject_match__1___rarg(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2___closed__3; +extern lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__3; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__9; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withParents___spec__1(lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields___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*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Term_declareTacticSyntax___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -478,21 +509,23 @@ lean_object* l_Lean_Elab_Modifiers_addAttribute(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp___lambda__1___closed__3; lean_object* lean_set_reducibility_status(lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent_match__1___rarg(uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__10; -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_3577_(lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_3621_(lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__1; lean_object* lean_expr_abstract(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_inferImplicit(lean_object*, lean_object*, uint8_t); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__1; lean_object* l___private_Lean_Meta_Closure_0__Lean_Meta_mkAuxDefinitionImp(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections_match__1(lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -500,16 +533,18 @@ lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructTyp lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor(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_mkCasesOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_getLevelNames___boxed(lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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*); +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__3___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___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__3; -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_checkValidFieldModifier___closed__1; uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object*); -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___boxed(lean_object*, lean_object*); @@ -522,69 +557,86 @@ extern lean_object* l_Lean_mkOptionalNode___closed__2; 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*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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*, lean_object*); extern lean_object* l_Lean_CollectFVars_instInhabitedState___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___closed__1; -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__2; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6(lean_object*, uint8_t, lean_object*, uint8_t, 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* l_Lean_Expr_getAppFn(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields_match__2(lean_object*); lean_object* l_Lean_Meta_mkAuxDefinition___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___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_object* l_Lean_Meta_inferType___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_initFn____x40_Lean_Class___hyg_626____closed__2; -lean_object* l_Lean_Elab_Command_checkValidCtorModifier(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___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_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isFromParent_match__1(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1(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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__2(lean_object*); +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f(lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withUsed_match__1___rarg(lean_object*, lean_object*); +uint8_t l_Lean_Elab_isFreshInstanceName(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamFVars___boxed(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_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__1; extern lean_object* l_Lean_Elab_elabAttr___rarg___lambda__3___closed__2; +lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__3; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue___closed__1; lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4___closed__3; +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addCtorFields_match__2(lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParamAux_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidFieldModifier(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidFieldModifier(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_StructFieldInfo_isSubobject_match__1(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInFVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___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* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__6(lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse___closed__3; -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_checkValidInductiveModifier(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__7; +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_elabStructure___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_processSubfields_loop___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_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_instInhabitedCtorView___closed__1; +extern lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__3; +lean_object* l_Lean_Elab_Command_elabStructure___lambda__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_findFieldInfo_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue_match__3(lean_object*); extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_checkParentIsStructure_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_is_class(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__3; -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_elabStructure___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_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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* l_Lean_Elab_Command_elabStructure___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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*); uint8_t l_Lean_isStructure(lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; -lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___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* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields___rarg___closed__7; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParam___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_Command_elabEnd___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_match__4___rarg(uint8_t, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5; lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabFieldTypeValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -797,604 +849,76 @@ x_1 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName___clo return x_1; } } -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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_7; lean_object* x_8; -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_1); -lean_ctor_set(x_7, 1, x_2); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_7 = lean_unsigned_to_nat(1u); -x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = l_Lean_Syntax_getNumArgs(x_8); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_nat_dec_eq(x_9, x_10); -lean_dec(x_9); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_box(0); -x_13 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1(x_2, x_8, x_12, x_4, x_5, x_6); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_8); -x_14 = lean_box(0); -x_15 = lean_box(0); -x_16 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1(x_2, x_14, x_15, x_4, x_5, x_6); -return x_16; -} -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__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; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_6 = lean_st_ref_get(x_4, x_5); -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 = lean_ctor_get(x_7, 0); -lean_inc(x_9); -lean_dec(x_7); -x_10 = l_Lean_isAttribute(x_9, x_2); -lean_dec(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_11 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_11, 0, x_2); -x_12 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__2; -x_13 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -x_14 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__3; -x_15 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_15, x_3, x_4, x_8); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -return x_16; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_16); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_box(0); -x_22 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_1, x_2, x_21, x_3, x_4, x_8); -lean_dec(x_3); -return x_22; -} -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = l_Lean_Syntax_isIdOrAtom_x3f(x_6); -if (lean_obj_tag(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 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_replaceRef(x_6, x_9); -lean_dec(x_9); -lean_dec(x_6); -x_12 = !lean_is_exclusive(x_2); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_2, 6); -lean_dec(x_13); -lean_ctor_set(x_2, 6, x_11); -x_14 = l_Lean_Elab_elabAttr___rarg___closed__3; -x_15 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_14, x_2, x_3, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -return x_15; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_15); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; 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; -x_20 = lean_ctor_get(x_2, 0); -x_21 = lean_ctor_get(x_2, 1); -x_22 = lean_ctor_get(x_2, 2); -x_23 = lean_ctor_get(x_2, 3); -x_24 = lean_ctor_get(x_2, 4); -x_25 = lean_ctor_get(x_2, 5); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_2); -x_26 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_26, 0, x_20); -lean_ctor_set(x_26, 1, x_21); -lean_ctor_set(x_26, 2, x_22); -lean_ctor_set(x_26, 3, x_23); -lean_ctor_set(x_26, 4, x_24); -lean_ctor_set(x_26, 5, x_25); -lean_ctor_set(x_26, 6, x_11); -x_27 = l_Lean_Elab_elabAttr___rarg___closed__3; -x_28 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_27, x_26, x_3, x_10); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_31 = x_28; -} else { - lean_dec_ref(x_28); - x_31 = lean_box(0); -} -if (lean_is_scalar(x_31)) { - x_32 = lean_alloc_ctor(1, 2, 0); -} else { - x_32 = x_31; -} -lean_ctor_set(x_32, 0, x_29); -lean_ctor_set(x_32, 1, x_30); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_6); -x_33 = lean_ctor_get(x_7, 0); -lean_inc(x_33); -lean_dec(x_7); -x_34 = lean_box(0); -x_35 = lean_name_mk_string(x_34, x_33); -x_36 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3(x_1, x_35, x_2, x_3, x_4); -return x_36; -} -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(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) { -_start: -{ -uint8_t x_8; -x_8 = x_3 < x_2; -if (x_8 == 0) -{ -lean_object* x_9; -lean_dec(x_5); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_4); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_array_uget(x_1, x_3); -lean_inc(x_5); -x_11 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4(x_10, x_5, x_6, x_7); -lean_dec(x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; -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_push(x_4, x_12); -x_15 = 1; -x_16 = x_3 + x_15; -x_3 = x_16; -x_4 = x_14; -x_7 = x_13; -goto _start; -} -else -{ -uint8_t x_18; -lean_dec(x_5); -lean_dec(x_4); -x_18 = !lean_is_exclusive(x_11); -if (x_18 == 0) -{ -return x_11; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_11, 0); -x_20 = lean_ctor_get(x_11, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_11); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -} -} -lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3(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; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; -x_5 = l_Lean_Syntax_getSepArgs(x_1); -x_6 = lean_array_get_size(x_5); -x_7 = lean_usize_of_nat(x_6); -lean_dec(x_6); -x_8 = 0; -x_9 = l_Array_empty___closed__1; -x_10 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(x_5, x_7, x_8, x_9, x_2, x_3, x_4); -lean_dec(x_5); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_10); -if (x_15 == 0) -{ -return x_10; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_10, 0); -x_17 = lean_ctor_get(x_10, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_10); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -} -} -lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__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; lean_object* x_7; -x_5 = lean_unsigned_to_nat(1u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3(x_6, x_2, x_3, x_4); -lean_dec(x_6); -return x_7; -} -} -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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) { -_start: -{ -uint8_t x_10; uint8_t x_11; uint8_t x_12; -x_10 = l_Lean_Syntax_isNone(x_1); -x_11 = l_Lean_Syntax_isNone(x_2); -x_12 = l_Lean_Syntax_isNone(x_3); -if (x_10 == 0) -{ -if (x_11 == 0) -{ -if (x_12 == 0) -{ -uint8_t x_13; lean_object* x_14; lean_object* x_15; -x_13 = 1; -x_14 = lean_alloc_ctor(0, 2, 4); -lean_ctor_set(x_14, 0, x_4); -lean_ctor_set(x_14, 1, x_6); -lean_ctor_set_uint8(x_14, sizeof(void*)*2, x_5); -lean_ctor_set_uint8(x_14, sizeof(void*)*2 + 1, x_13); -lean_ctor_set_uint8(x_14, sizeof(void*)*2 + 2, x_13); -lean_ctor_set_uint8(x_14, sizeof(void*)*2 + 3, x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_9); -return x_15; -} -else -{ -uint8_t x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; -x_16 = 1; -x_17 = 0; -x_18 = lean_alloc_ctor(0, 2, 4); -lean_ctor_set(x_18, 0, x_4); -lean_ctor_set(x_18, 1, x_6); -lean_ctor_set_uint8(x_18, sizeof(void*)*2, x_5); -lean_ctor_set_uint8(x_18, sizeof(void*)*2 + 1, x_16); -lean_ctor_set_uint8(x_18, sizeof(void*)*2 + 2, x_16); -lean_ctor_set_uint8(x_18, sizeof(void*)*2 + 3, x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_9); -return x_19; -} -} -else -{ -if (x_12 == 0) -{ -uint8_t x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; -x_20 = 1; -x_21 = 0; -x_22 = lean_alloc_ctor(0, 2, 4); -lean_ctor_set(x_22, 0, x_4); -lean_ctor_set(x_22, 1, x_6); -lean_ctor_set_uint8(x_22, sizeof(void*)*2, x_5); -lean_ctor_set_uint8(x_22, sizeof(void*)*2 + 1, x_20); -lean_ctor_set_uint8(x_22, sizeof(void*)*2 + 2, x_21); -lean_ctor_set_uint8(x_22, sizeof(void*)*2 + 3, 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_9); -return x_23; -} -else -{ -uint8_t x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; -x_24 = 1; -x_25 = 0; -x_26 = lean_alloc_ctor(0, 2, 4); -lean_ctor_set(x_26, 0, x_4); -lean_ctor_set(x_26, 1, x_6); -lean_ctor_set_uint8(x_26, sizeof(void*)*2, x_5); -lean_ctor_set_uint8(x_26, sizeof(void*)*2 + 1, x_24); -lean_ctor_set_uint8(x_26, sizeof(void*)*2 + 2, x_25); -lean_ctor_set_uint8(x_26, sizeof(void*)*2 + 3, x_25); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_9); -return x_27; -} -} -} -else -{ -if (x_11 == 0) -{ -if (x_12 == 0) -{ -uint8_t x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; -x_28 = 0; -x_29 = 1; -x_30 = lean_alloc_ctor(0, 2, 4); -lean_ctor_set(x_30, 0, x_4); -lean_ctor_set(x_30, 1, x_6); -lean_ctor_set_uint8(x_30, sizeof(void*)*2, x_5); -lean_ctor_set_uint8(x_30, sizeof(void*)*2 + 1, x_28); -lean_ctor_set_uint8(x_30, sizeof(void*)*2 + 2, x_29); -lean_ctor_set_uint8(x_30, sizeof(void*)*2 + 3, x_29); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_9); -return x_31; -} -else -{ -uint8_t x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_32 = 0; -x_33 = 1; -x_34 = lean_alloc_ctor(0, 2, 4); -lean_ctor_set(x_34, 0, x_4); -lean_ctor_set(x_34, 1, x_6); -lean_ctor_set_uint8(x_34, sizeof(void*)*2, x_5); -lean_ctor_set_uint8(x_34, sizeof(void*)*2 + 1, x_32); -lean_ctor_set_uint8(x_34, sizeof(void*)*2 + 2, x_33); -lean_ctor_set_uint8(x_34, sizeof(void*)*2 + 3, x_32); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_9); -return x_35; -} -} -else -{ -if (x_12 == 0) -{ -uint8_t x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; -x_36 = 0; -x_37 = 1; -x_38 = lean_alloc_ctor(0, 2, 4); -lean_ctor_set(x_38, 0, x_4); -lean_ctor_set(x_38, 1, x_6); -lean_ctor_set_uint8(x_38, sizeof(void*)*2, x_5); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 1, x_36); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 2, x_36); -lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 3, x_37); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_9); -return x_39; -} -else -{ -uint8_t x_40; lean_object* x_41; lean_object* x_42; -x_40 = 0; -x_41 = lean_alloc_ctor(0, 2, 4); -lean_ctor_set(x_41, 0, x_4); -lean_ctor_set(x_41, 1, x_6); -lean_ctor_set_uint8(x_41, sizeof(void*)*2, x_5); -lean_ctor_set_uint8(x_41, sizeof(void*)*2 + 1, x_40); -lean_ctor_set_uint8(x_41, sizeof(void*)*2 + 2, x_40); -lean_ctor_set_uint8(x_41, sizeof(void*)*2 + 3, x_40); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_9); -return x_42; -} -} -} -} -} -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Syntax_getOptional_x3f(x_5); -if (lean_obj_tag(x_10) == 0) -{ lean_object* x_11; lean_object* x_12; -x_11 = l_Array_empty___closed__1; -x_12 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_6, x_11, x_7, x_8, x_9); -lean_dec(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_1); +lean_ctor_set(x_11, 1, x_2); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); return x_12; } -else +} +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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) { +_start: { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_10, 0); -lean_inc(x_13); -lean_dec(x_10); -lean_inc(x_7); -x_14 = l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2(x_13, x_7, x_8, x_9); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_getNumArgs(x_12); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_eq(x_13, x_14); lean_dec(x_13); -if (lean_obj_tag(x_14) == 0) +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -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_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_6, x_15, x_7, x_8, x_16); -lean_dec(x_7); +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1(x_2, x_12, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_17; } else { -uint8_t x_18; -lean_dec(x_7); -lean_dec(x_4); -x_18 = !lean_is_exclusive(x_14); -if (x_18 == 0) -{ -return x_14; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_14, 0); -x_20 = lean_ctor_get(x_14, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_14); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; +lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_12); +x_18 = lean_box(0); +x_19 = lean_box(0); +x_20 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1(x_2, x_18, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_20; } } } -} -} -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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) { _start: { -lean_object* x_10; -x_10 = l_Lean_Syntax_getOptional_x3f(x_5); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; lean_object* x_12; -x_11 = 0; -x_12 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(x_1, x_2, x_3, x_6, x_4, x_11, x_7, x_8, x_9); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_10, 0); -lean_inc(x_13); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); -x_14 = l_Lean_Syntax_getKind(x_13); -x_15 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1; -x_16 = lean_name_eq(x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2; -x_18 = lean_name_eq(x_14, x_17); -lean_dec(x_14); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -lean_dec(x_6); -x_19 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5; -x_20 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7___rarg(x_13, x_19, x_7, x_8, x_9); +lean_dec(x_11); +x_14 = l_Lean_isAttribute(x_13, x_2); lean_dec(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; uint8_t x_21; +x_15 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_15, 0, x_2); +x_16 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__2; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__3; +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_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_12); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -1416,107 +940,1062 @@ return x_24; } else { -uint8_t x_25; lean_object* x_26; +lean_object* x_25; lean_object* x_26; +x_25 = lean_box(0); +x_26 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_1, x_2, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +lean_dec(x_3); +return x_26; +} +} +} +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Lean_Syntax_isIdOrAtom_x3f(x_10); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_6); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_6, 3); +x_14 = l_Lean_replaceRef(x_10, x_13); lean_dec(x_13); -x_25 = 1; -x_26 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(x_1, x_2, x_3, x_6, x_4, x_25, x_7, x_8, x_9); +lean_dec(x_10); +lean_ctor_set(x_6, 3, x_14); +x_15 = l_Lean_Elab_elabAttr___rarg___closed__3; +x_16 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +return x_16; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_16); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +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_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; +x_21 = lean_ctor_get(x_6, 0); +x_22 = lean_ctor_get(x_6, 1); +x_23 = lean_ctor_get(x_6, 2); +x_24 = lean_ctor_get(x_6, 3); +x_25 = lean_ctor_get(x_6, 4); +x_26 = lean_ctor_get(x_6, 5); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_6); +x_27 = l_Lean_replaceRef(x_10, x_24); +lean_dec(x_24); +lean_dec(x_10); +x_28 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_28, 0, x_21); +lean_ctor_set(x_28, 1, x_22); +lean_ctor_set(x_28, 2, x_23); +lean_ctor_set(x_28, 3, x_27); +lean_ctor_set(x_28, 4, x_25); +lean_ctor_set(x_28, 5, x_26); +x_29 = l_Lean_Elab_elabAttr___rarg___closed__3; +x_30 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_29, x_2, x_3, x_4, x_5, x_28, x_7, x_8); +lean_dec(x_28); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(1, 2, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); +return x_34; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_10); +x_35 = lean_ctor_get(x_11, 0); +lean_inc(x_35); +lean_dec(x_11); +x_36 = lean_box(0); +x_37 = lean_name_mk_string(x_36, x_35); +x_38 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3(x_1, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +return x_38; +} +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(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_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = x_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_9); +lean_dec(x_5); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_uget(x_1, x_3); +lean_inc(x_9); +lean_inc(x_5); +x_15 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; +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 = lean_array_push(x_4, x_16); +x_19 = 1; +x_20 = x_3 + x_19; +x_3 = x_20; +x_4 = x_18; +x_11 = x_17; +goto _start; +} +else +{ +uint8_t x_22; +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) +{ +return x_15; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_15); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +} +lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__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) { +_start: +{ +lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_9 = l_Lean_Syntax_getSepArgs(x_1); +x_10 = lean_array_get_size(x_9); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = l_Array_empty___closed__1; +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(x_9, x_11, x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_9); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) +{ +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_unsigned_to_nat(1u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_10); +return x_11; +} +} +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; uint8_t x_15; uint8_t x_16; +x_14 = l_Lean_Syntax_isNone(x_1); +x_15 = l_Lean_Syntax_isNone(x_2); +x_16 = l_Lean_Syntax_isNone(x_3); +if (x_14 == 0) +{ +if (x_15 == 0) +{ +if (x_16 == 0) +{ +uint8_t x_17; lean_object* x_18; lean_object* x_19; +x_17 = 1; +x_18 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_18, 0, x_4); +lean_ctor_set(x_18, 1, x_6); +lean_ctor_set_uint8(x_18, sizeof(void*)*2, x_5); +lean_ctor_set_uint8(x_18, sizeof(void*)*2 + 1, x_17); +lean_ctor_set_uint8(x_18, sizeof(void*)*2 + 2, x_17); +lean_ctor_set_uint8(x_18, sizeof(void*)*2 + 3, x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_13); +return x_19; +} +else +{ +uint8_t x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; +x_20 = 1; +x_21 = 0; +x_22 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_22, 0, x_4); +lean_ctor_set(x_22, 1, x_6); +lean_ctor_set_uint8(x_22, sizeof(void*)*2, x_5); +lean_ctor_set_uint8(x_22, sizeof(void*)*2 + 1, x_20); +lean_ctor_set_uint8(x_22, sizeof(void*)*2 + 2, x_20); +lean_ctor_set_uint8(x_22, sizeof(void*)*2 + 3, x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_13); +return x_23; +} +} +else +{ +if (x_16 == 0) +{ +uint8_t x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; +x_24 = 1; +x_25 = 0; +x_26 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_26, 0, x_4); +lean_ctor_set(x_26, 1, x_6); +lean_ctor_set_uint8(x_26, sizeof(void*)*2, x_5); +lean_ctor_set_uint8(x_26, sizeof(void*)*2 + 1, x_24); +lean_ctor_set_uint8(x_26, sizeof(void*)*2 + 2, x_25); +lean_ctor_set_uint8(x_26, sizeof(void*)*2 + 3, x_24); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_13); +return x_27; +} +else +{ +uint8_t x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; +x_28 = 1; +x_29 = 0; +x_30 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_30, 0, x_4); +lean_ctor_set(x_30, 1, x_6); +lean_ctor_set_uint8(x_30, sizeof(void*)*2, x_5); +lean_ctor_set_uint8(x_30, sizeof(void*)*2 + 1, x_28); +lean_ctor_set_uint8(x_30, sizeof(void*)*2 + 2, x_29); +lean_ctor_set_uint8(x_30, sizeof(void*)*2 + 3, x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_13); +return x_31; +} +} +} +else +{ +if (x_15 == 0) +{ +if (x_16 == 0) +{ +uint8_t x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_32 = 0; +x_33 = 1; +x_34 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_34, 0, x_4); +lean_ctor_set(x_34, 1, x_6); +lean_ctor_set_uint8(x_34, sizeof(void*)*2, x_5); +lean_ctor_set_uint8(x_34, sizeof(void*)*2 + 1, x_32); +lean_ctor_set_uint8(x_34, sizeof(void*)*2 + 2, x_33); +lean_ctor_set_uint8(x_34, sizeof(void*)*2 + 3, x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_13); +return x_35; +} +else +{ +uint8_t x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; +x_36 = 0; +x_37 = 1; +x_38 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_38, 0, x_4); +lean_ctor_set(x_38, 1, x_6); +lean_ctor_set_uint8(x_38, sizeof(void*)*2, x_5); +lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 1, x_36); +lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 2, x_37); +lean_ctor_set_uint8(x_38, sizeof(void*)*2 + 3, x_36); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_13); +return x_39; +} +} +else +{ +if (x_16 == 0) +{ +uint8_t x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; +x_40 = 0; +x_41 = 1; +x_42 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_42, 0, x_4); +lean_ctor_set(x_42, 1, x_6); +lean_ctor_set_uint8(x_42, sizeof(void*)*2, x_5); +lean_ctor_set_uint8(x_42, sizeof(void*)*2 + 1, x_40); +lean_ctor_set_uint8(x_42, sizeof(void*)*2 + 2, x_40); +lean_ctor_set_uint8(x_42, sizeof(void*)*2 + 3, x_41); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_13); +return x_43; +} +else +{ +uint8_t x_44; lean_object* x_45; lean_object* x_46; +x_44 = 0; +x_45 = lean_alloc_ctor(0, 2, 4); +lean_ctor_set(x_45, 0, x_4); +lean_ctor_set(x_45, 1, x_6); +lean_ctor_set_uint8(x_45, sizeof(void*)*2, x_5); +lean_ctor_set_uint8(x_45, sizeof(void*)*2 + 1, x_44); +lean_ctor_set_uint8(x_45, sizeof(void*)*2 + 2, x_44); +lean_ctor_set_uint8(x_45, sizeof(void*)*2 + 3, x_44); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_13); +return x_46; +} +} +} +} +} +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Syntax_getOptional_x3f(x_5); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_Array_empty___closed__1; +x_16 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_6, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_11); +lean_dec(x_7); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec(x_14); +lean_inc(x_11); +lean_inc(x_7); +x_18 = l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_17); +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 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_6, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +lean_dec(x_11); +lean_dec(x_7); +return x_21; +} +else +{ +uint8_t x_22; +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_4); +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_18, 0); +x_24 = lean_ctor_get(x_18, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_18); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +} +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Syntax_getOptional_x3f(x_5); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; lean_object* x_16; +x_15 = 0; +x_16 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(x_1, x_2, x_3, x_6, x_4, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec(x_14); +lean_inc(x_17); +x_18 = l_Lean_Syntax_getKind(x_17); +x_19 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1; +x_20 = lean_name_eq(x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2; +x_22 = lean_name_eq(x_18, x_21); +lean_dec(x_18); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_dec(x_6); +x_23 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5; +x_24 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___rarg(x_17, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_17); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +return x_24; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_24); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +else +{ +uint8_t x_29; lean_object* x_30; +lean_dec(x_17); +x_29 = 1; +x_30 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(x_1, x_2, x_3, x_6, x_4, x_29, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_30; +} +} +else +{ +uint8_t x_31; lean_object* x_32; +lean_dec(x_18); +lean_dec(x_17); +x_31 = 2; +x_32 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(x_1, x_2, x_3, x_6, x_4, x_31, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_32; +} +} +} +} +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { +_start: +{ +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; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = lean_unsigned_to_nat(2u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +x_15 = lean_unsigned_to_nat(3u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +x_17 = lean_unsigned_to_nat(4u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = lean_unsigned_to_nat(5u); +x_20 = l_Lean_Syntax_getArg(x_1, x_19); +x_21 = l_Lean_Syntax_getOptional_x3f(x_10); +lean_dec(x_10); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_box(0); +x_23 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(x_16, x_20, x_18, x_12, x_14, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_18); +lean_dec(x_20); +lean_dec(x_16); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_21); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_21, 0); +x_26 = l_Lean_Syntax_getArg(x_25, x_11); +if (lean_obj_tag(x_26) == 2) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_25); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_string_utf8_byte_size(x_27); +x_29 = lean_nat_sub(x_28, x_13); +lean_dec(x_28); +x_30 = lean_string_utf8_extract(x_27, x_9, x_29); +lean_dec(x_29); +lean_dec(x_27); +lean_ctor_set(x_21, 0, x_30); +x_31 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(x_16, x_20, x_18, x_12, x_14, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_18); +lean_dec(x_20); +lean_dec(x_16); +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; uint8_t x_38; +lean_free_object(x_21); +lean_dec(x_20); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_12); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_26); +x_33 = l_Lean_Elab_elabModifiers___rarg___closed__2; +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_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +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_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___rarg(x_25, x_36, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_25); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +return x_37; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_37, 0); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_37); +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 +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_21, 0); +lean_inc(x_42); +lean_dec(x_21); +x_43 = l_Lean_Syntax_getArg(x_42, x_11); +if (lean_obj_tag(x_43) == 2) +{ +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_dec(x_42); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_string_utf8_byte_size(x_44); +x_46 = lean_nat_sub(x_45, x_13); +lean_dec(x_45); +x_47 = lean_string_utf8_extract(x_44, x_9, x_46); +lean_dec(x_46); +lean_dec(x_44); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(x_16, x_20, x_18, x_12, x_14, x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_18); +lean_dec(x_20); +lean_dec(x_16); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_20); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_12); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_43); +x_51 = l_Lean_Elab_elabModifiers___rarg___closed__2; +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___rarg(x_42, x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_42); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 2, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +return x_59; +} +} +} +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_1, 1); +x_11 = lean_array_get_size(x_10); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__3; +x_15 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_3); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_9); +return x_17; +} +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___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: +{ +uint8_t x_10; +x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___lambda__1(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__3; +x_14 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___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) { +_start: +{ +uint8_t x_10; +x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___lambda__2(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3___closed__3; +x_14 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__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) { +_start: +{ +uint8_t x_9; +x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___lambda__3(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__3; +x_13 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_13); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { +_start: +{ +lean_object* x_11; +x_11 = lean_private_to_user_name(x_1); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_4); +lean_dec(x_2); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_10); +return x_13; +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_11, 0); +lean_inc(x_14); +lean_dec(x_11); +x_15 = l_Lean_Environment_contains(x_2, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_14); +lean_dec(x_4); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_10); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_18, 0, x_14); +x_19 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__2; +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_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; +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_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_23; +} +} +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___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) { +_start: +{ +lean_object* x_11; uint8_t x_12; +lean_inc(x_1); +lean_inc(x_2); +x_11 = l_Lean_mkPrivateName(x_2, x_1); +lean_inc(x_2); +x_12 = l_Lean_Environment_contains(x_2, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_14; +} +else +{ +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; +lean_dec(x_2); +x_15 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_15, 0, x_1); +x_16 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2___closed__2; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; +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_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +return x_20; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(lean_object* x_1, lean_object* x_2, 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; uint8_t x_13; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +lean_inc(x_12); +x_13 = l_Lean_Environment_contains(x_12, x_1); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___lambda__2(x_1, x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_15; +} +else +{ +lean_object* x_16; +lean_dec(x_12); +lean_inc(x_1); +x_16 = lean_private_to_user_name(x_1); +if (lean_obj_tag(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; uint8_t x_23; +x_17 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_17, 0, x_1); +x_18 = l_Lean_throwUnknownConstant___rarg___closed__3; +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_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_22); +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_object* x_28; -lean_dec(x_14); -lean_dec(x_13); -x_27 = 2; -x_28 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(x_1, x_2, x_3, x_6, x_4, x_27, x_7, x_8, x_9); -return x_28; -} -} -} -} -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = lean_unsigned_to_nat(1u); -x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = lean_unsigned_to_nat(2u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = lean_unsigned_to_nat(3u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = lean_unsigned_to_nat(4u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = lean_unsigned_to_nat(5u); -x_16 = l_Lean_Syntax_getArg(x_1, x_15); -x_17 = l_Lean_Syntax_getOptional_x3f(x_6); -lean_dec(x_6); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_box(0); -x_19 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(x_12, x_16, x_14, x_8, x_10, x_18, x_2, x_3, x_4); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_14); +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_1); +x_27 = lean_ctor_get(x_16, 0); +lean_inc(x_27); lean_dec(x_16); -lean_dec(x_12); -return x_19; -} -else -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_17, 0); -x_22 = l_Lean_Syntax_getArg(x_21, x_7); -if (lean_obj_tag(x_22) == 2) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -lean_dec(x_21); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_string_utf8_byte_size(x_23); -x_25 = lean_nat_sub(x_24, x_9); -lean_dec(x_24); -x_26 = lean_string_utf8_extract(x_23, x_5, x_25); -lean_dec(x_25); -lean_dec(x_23); -lean_ctor_set(x_17, 0, x_26); -x_27 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(x_12, x_16, x_14, x_8, x_10, x_17, x_2, x_3, x_4); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_14); -lean_dec(x_16); -lean_dec(x_12); -return x_27; -} -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; uint8_t x_34; -lean_free_object(x_17); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_8); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_22); -x_29 = l_Lean_Elab_elabModifiers___rarg___closed__2; +x_28 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___closed__2; 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_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_31 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; 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_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7___rarg(x_21, x_32, x_2, x_3, x_4); -lean_dec(x_21); +x_33 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_11); x_34 = !lean_is_exclusive(x_33); if (x_34 == 0) { @@ -1537,279 +2016,279 @@ return x_37; } } } -else -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_17, 0); -lean_inc(x_38); -lean_dec(x_17); -x_39 = l_Lean_Syntax_getArg(x_38, x_7); -if (lean_obj_tag(x_39) == 2) -{ -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_dec(x_38); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_string_utf8_byte_size(x_40); -x_42 = lean_nat_sub(x_41, x_9); -lean_dec(x_41); -x_43 = lean_string_utf8_extract(x_40, x_5, x_42); -lean_dec(x_42); -lean_dec(x_40); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_45 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(x_12, x_16, x_14, x_8, x_10, x_44, x_2, x_3, x_4); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_14); -lean_dec(x_16); -lean_dec(x_12); -return x_45; -} -else -{ -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_dec(x_16); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_8); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_39); -x_47 = l_Lean_Elab_elabModifiers___rarg___closed__2; -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_49 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7___rarg(x_38, x_50, x_2, x_3, x_4); -lean_dec(x_38); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - x_54 = x_51; -} else { - lean_dec_ref(x_51); - x_54 = lean_box(0); -} -if (lean_is_scalar(x_54)) { - x_55 = lean_alloc_ctor(1, 2, 0); -} else { - x_55 = x_54; -} -lean_ctor_set(x_55, 0, x_52); -lean_ctor_set(x_55, 1, x_53); -return x_55; } } -} -} -} -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_7; -x_7 = lean_private_to_user_name(x_1); -if (lean_obj_tag(x_7) == 0) +switch (x_1) { +case 0: { -lean_object* x_8; lean_object* x_9; -lean_dec(x_4); -lean_dec(x_2); -x_8 = lean_box(0); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_6); -return x_9; -} -else +lean_object* x_10; +lean_inc(x_2); +x_10 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_7, 0); -lean_inc(x_10); -lean_dec(x_7); -x_11 = l_Lean_Environment_contains(x_2, x_10); +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); if (x_11 == 0) { -lean_object* x_12; lean_object* x_13; -lean_dec(x_10); -lean_dec(x_4); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_6); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_14 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_14, 0, x_10); -x_15 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__2; -x_16 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -x_17 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; -x_18 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_18, x_4, x_5, x_6); -return x_19; -} -} -} -} -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___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; uint8_t x_8; -lean_inc(x_1); -lean_inc(x_2); -x_7 = l_Lean_mkPrivateName(x_2, x_1); -lean_inc(x_2); -x_8 = l_Lean_Environment_contains(x_2, x_7); -lean_dec(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_box(0); -x_10 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___lambda__1(x_1, x_2, x_9, x_4, x_5, x_6); +lean_object* x_12; +x_12 = lean_ctor_get(x_10, 0); +lean_dec(x_12); +lean_ctor_set(x_10, 0, x_2); return x_10; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_dec(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +else +{ +uint8_t x_15; lean_dec(x_2); -x_11 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_11, 0, x_1); -x_12 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2___closed__2; -x_13 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -x_14 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; -x_15 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_15, x_4, x_5, x_6); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) +x_15 = !lean_is_exclusive(x_10); +if (x_15 == 0) { -return x_16; +return x_10; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_16); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -} -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_5 = lean_st_ref_get(x_3, x_4); -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_ctor_get(x_6, 0); -lean_inc(x_8); -lean_dec(x_6); -lean_inc(x_8); -x_9 = l_Lean_Environment_contains(x_8, x_1); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_box(0); -x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___lambda__2(x_1, x_8, x_10, x_2, x_3, x_7); -return x_11; -} -else -{ -lean_object* x_12; -lean_dec(x_8); -lean_inc(x_1); -x_12 = lean_private_to_user_name(x_1); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_13 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_13, 0, x_1); -x_14 = l_Lean_throwUnknownConstant___rarg___closed__3; -x_15 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_13); -x_16 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; -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_Elab_Command_elabEnd___spec__1___rarg(x_17, x_2, x_3, x_7); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_10, 0); +x_17 = lean_ctor_get(x_10, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_10); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); return x_18; } -else +} +} +case 1: { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); +lean_object* x_19; +lean_inc(x_3); +lean_inc(x_2); +x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_20 = lean_ctor_get(x_19, 1); lean_inc(x_20); -lean_dec(x_18); -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_dec(x_19); +x_21 = lean_st_ref_get(x_8, x_20); +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); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_protectedExt; +lean_inc(x_2); +x_26 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_25, x_24, x_2); +x_27 = l_Lean_setEnv___at_Lean_Elab_Command_elabEvalUnsafe___spec__4(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +lean_dec(x_3); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set(x_27, 0, x_2); +return x_27; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_2); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } else { -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; +uint8_t x_32; +lean_dec(x_3); +lean_dec(x_2); +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) +{ +return x_19; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +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; +} +} +} +default: +{ +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_st_ref_get(x_8, x_9); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_37, 0); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Lean_mkPrivateName(x_39, x_2); +lean_inc(x_40); +x_41 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_38); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_41, 0); +lean_dec(x_43); +lean_ctor_set(x_41, 0, x_40); +return x_41; +} +else +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); +lean_dec(x_41); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_40); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +else +{ +uint8_t x_46; +lean_dec(x_40); +x_46 = !lean_is_exclusive(x_41); +if (x_46 == 0) +{ +return x_41; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_41, 0); +x_48 = lean_ctor_get(x_41, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_41); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +} +} +} +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_12 = lean_unsigned_to_nat(2u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Syntax_isNone(x_13); +lean_dec(x_13); +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +x_17 = l_Lean_Syntax_getId(x_16); +lean_dec(x_16); +lean_inc(x_17); +x_18 = l_Lean_Name_append(x_2, x_17); +x_19 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); +x_20 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(x_19, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (x_14 == 0) +{ +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 0); +x_23 = 1; +x_24 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_3); +lean_ctor_set(x_24, 2, x_17); +lean_ctor_set(x_24, 3, x_22); +lean_ctor_set_uint8(x_24, sizeof(void*)*4, x_23); +lean_ctor_set(x_20, 0, x_24); +return x_20; +} +else +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; +x_25 = lean_ctor_get(x_20, 0); +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_20); +x_27 = 1; +x_28 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_28, 0, x_1); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_28, 2, x_17); +lean_ctor_set(x_28, 3, x_25); +lean_ctor_set_uint8(x_28, sizeof(void*)*4, x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_26); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_17); +lean_dec(x_3); lean_dec(x_1); -x_23 = lean_ctor_get(x_12, 0); -lean_inc(x_23); -lean_dec(x_12); -x_24 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___closed__2; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; -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_Elab_Command_elabEnd___spec__1___rarg(x_28, x_2, x_3, x_7); -x_30 = !lean_is_exclusive(x_29); +x_30 = !lean_is_exclusive(x_20); if (x_30 == 0) { -return x_29; +return x_20; } 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); +x_31 = lean_ctor_get(x_20, 0); +x_32 = lean_ctor_get(x_20, 1); lean_inc(x_32); lean_inc(x_31); -lean_dec(x_29); +lean_dec(x_20); x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_31); lean_ctor_set(x_33, 1, x_32); @@ -1817,438 +2296,70 @@ return x_33; } } } -} -} -lean_object* l_Lean_setEnv___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(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; -x_5 = lean_st_ref_take(x_3, x_4); -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_is_exclusive(x_6); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_ctor_get(x_6, 0); -lean_dec(x_9); -lean_ctor_set(x_6, 0, x_1); -x_10 = lean_st_ref_set(x_3, x_6, x_7); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -lean_dec(x_12); -x_13 = lean_box(0); -lean_ctor_set(x_10, 0, x_13); -return x_10; -} else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_10, 1); -lean_inc(x_14); -lean_dec(x_10); -x_15 = lean_box(0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -return x_16; -} -} -else +if (lean_obj_tag(x_20) == 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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_17 = lean_ctor_get(x_6, 1); -x_18 = lean_ctor_get(x_6, 2); -x_19 = lean_ctor_get(x_6, 3); -x_20 = lean_ctor_get(x_6, 4); -x_21 = lean_ctor_get(x_6, 5); -x_22 = lean_ctor_get(x_6, 6); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_6); -x_23 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_23, 0, x_1); -lean_ctor_set(x_23, 1, x_17); -lean_ctor_set(x_23, 2, x_18); -lean_ctor_set(x_23, 3, x_19); -lean_ctor_set(x_23, 4, x_20); -lean_ctor_set(x_23, 5, x_21); -lean_ctor_set(x_23, 6, x_22); -x_24 = lean_st_ref_set(x_3, x_23, x_7); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - lean_ctor_release(x_24, 1); - x_26 = x_24; -} else { - lean_dec_ref(x_24); - x_26 = lean_box(0); -} -x_27 = lean_box(0); -if (lean_is_scalar(x_26)) { - x_28 = lean_alloc_ctor(0, 2, 0); -} else { - x_28 = x_26; -} -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_25); -return x_28; -} -} -} -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: +uint8_t x_34; +x_34 = !lean_is_exclusive(x_20); +if (x_34 == 0) { -switch (x_1) { -case 0: -{ -lean_object* x_6; -lean_inc(x_2); -x_6 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_6) == 0) -{ -uint8_t x_7; -x_7 = !lean_is_exclusive(x_6); -if (x_7 == 0) -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_6, 0); -lean_dec(x_8); -lean_ctor_set(x_6, 0, x_2); -return x_6; -} -else -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_6, 1); -lean_inc(x_9); -lean_dec(x_6); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_2); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -else -{ -uint8_t x_11; -lean_dec(x_2); -x_11 = !lean_is_exclusive(x_6); -if (x_11 == 0) -{ -return x_6; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_6, 0); -x_13 = lean_ctor_get(x_6, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_6); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -} -} -case 1: -{ -lean_object* x_15; -lean_inc(x_3); -lean_inc(x_2); -x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_15) == 0) -{ -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; -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_st_ref_get(x_4, x_16); -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 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_protectedExt; -lean_inc(x_2); -x_22 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_21, x_20, x_2); -x_23 = l_Lean_setEnv___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(x_22, x_3, x_4, x_19); -lean_dec(x_3); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -lean_ctor_set(x_23, 0, x_2); -return x_23; -} -else -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -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 -{ -uint8_t x_28; -lean_dec(x_3); -lean_dec(x_2); -x_28 = !lean_is_exclusive(x_15); -if (x_28 == 0) -{ -return x_15; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_15, 0); -x_30 = lean_ctor_get(x_15, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_15); -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; -} -} -} -default: -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_32 = lean_st_ref_get(x_4, x_5); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_ctor_get(x_33, 0); -lean_inc(x_35); -lean_dec(x_33); -x_36 = l_Lean_mkPrivateName(x_35, x_2); -lean_inc(x_36); -x_37 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(x_36, x_3, x_4, x_34); -if (lean_obj_tag(x_37) == 0) -{ -uint8_t x_38; -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_36); -return x_37; -} -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_36); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -else -{ -uint8_t x_42; -lean_dec(x_36); -x_42 = !lean_is_exclusive(x_37); -if (x_42 == 0) -{ -return x_37; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_37, 0); -x_44 = lean_ctor_get(x_37, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_37); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -} -} -} -} -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_8 = lean_unsigned_to_nat(2u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_Syntax_isNone(x_9); -lean_dec(x_9); -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_getId(x_12); -lean_dec(x_12); -lean_inc(x_13); -x_14 = l_Lean_Name_append(x_2, x_13); -x_15 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); -x_16 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(x_15, x_14, x_5, x_6, x_7); -if (x_10 == 0) -{ -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; uint8_t x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -x_19 = 1; -x_20 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_20, 0, x_1); -lean_ctor_set(x_20, 1, x_3); -lean_ctor_set(x_20, 2, x_13); -lean_ctor_set(x_20, 3, x_18); -lean_ctor_set_uint8(x_20, sizeof(void*)*4, x_19); -lean_ctor_set(x_16, 0, x_20); -return x_16; -} -else -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_16, 0); -x_22 = lean_ctor_get(x_16, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_16); -x_23 = 1; -x_24 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_24, 0, x_1); -lean_ctor_set(x_24, 1, x_3); -lean_ctor_set(x_24, 2, x_13); -lean_ctor_set(x_24, 3, x_21); -lean_ctor_set_uint8(x_24, sizeof(void*)*4, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_22); -return x_25; -} -} -else -{ -uint8_t x_26; -lean_dec(x_13); -lean_dec(x_3); -lean_dec(x_1); -x_26 = !lean_is_exclusive(x_16); -if (x_26 == 0) -{ -return x_16; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_16, 0); -x_28 = lean_ctor_get(x_16, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_16); -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 -{ -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_30; -x_30 = !lean_is_exclusive(x_16); -if (x_30 == 0) -{ -lean_object* x_31; uint8_t x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_16, 0); -x_32 = 0; -x_33 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_33, 0, x_1); -lean_ctor_set(x_33, 1, x_3); -lean_ctor_set(x_33, 2, x_13); -lean_ctor_set(x_33, 3, x_31); -lean_ctor_set_uint8(x_33, sizeof(void*)*4, x_32); -lean_ctor_set(x_16, 0, x_33); -return x_16; -} -else -{ -lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; -x_34 = lean_ctor_get(x_16, 0); -x_35 = lean_ctor_get(x_16, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_16); +lean_object* x_35; uint8_t x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_20, 0); x_36 = 0; x_37 = lean_alloc_ctor(0, 4, 1); lean_ctor_set(x_37, 0, x_1); lean_ctor_set(x_37, 1, x_3); -lean_ctor_set(x_37, 2, x_13); -lean_ctor_set(x_37, 3, x_34); +lean_ctor_set(x_37, 2, x_17); +lean_ctor_set(x_37, 3, x_35); lean_ctor_set_uint8(x_37, sizeof(void*)*4, x_36); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_35); -return x_38; +lean_ctor_set(x_20, 0, x_37); +return x_20; +} +else +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; +x_38 = lean_ctor_get(x_20, 0); +x_39 = lean_ctor_get(x_20, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_20); +x_40 = 0; +x_41 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_41, 0, x_1); +lean_ctor_set(x_41, 1, x_3); +lean_ctor_set(x_41, 2, x_17); +lean_ctor_set(x_41, 3, x_38); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_40); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_39); +return x_42; } } else { -uint8_t x_39; -lean_dec(x_13); +uint8_t x_43; +lean_dec(x_17); lean_dec(x_3); lean_dec(x_1); -x_39 = !lean_is_exclusive(x_16); -if (x_39 == 0) +x_43 = !lean_is_exclusive(x_20); +if (x_43 == 0) { -return x_16; +return x_20; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_16, 0); -x_41 = lean_ctor_get(x_16, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_16); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_20, 0); +x_45 = lean_ctor_get(x_20, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_20); +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; } } } @@ -2282,53 +2393,53 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { _start: { -uint8_t x_9; -x_9 = l_Lean_Elab_Modifiers_isProtected(x_3); -if (x_9 == 0) +uint8_t x_13; +x_13 = l_Lean_Elab_Modifiers_isProtected(x_3); +if (x_13 == 0) { -lean_object* x_10; lean_object* x_11; -x_10 = lean_box(0); -x_11 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__1(x_1, x_2, x_3, x_10, x_6, x_7, x_8); -return x_11; +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__1(x_1, x_2, x_3, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; } else { -uint8_t x_12; -x_12 = l_Lean_Elab_Modifiers_isPrivate(x_4); -if (x_12 == 0) +uint8_t x_16; +x_16 = l_Lean_Elab_Modifiers_isPrivate(x_4); +if (x_16 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_box(0); -x_14 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__1(x_1, x_2, x_3, x_13, x_6, x_7, x_8); -return x_14; +lean_object* x_17; lean_object* x_18; +x_17 = lean_box(0); +x_18 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__1(x_1, x_2, x_3, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_18; } else { -lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_dec(x_3); lean_dec(x_1); -x_15 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__3; -x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_15, x_6, x_7, x_8); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) +x_19 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2___closed__3; +x_20 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) { -return x_16; +return x_20; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_16); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } @@ -2362,556 +2473,677 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_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_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_7 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName; -x_8 = l_Lean_Name_append(x_3, x_7); -x_9 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; -x_10 = 0; +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_11 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_defaultCtorName; +x_12 = l_Lean_Name_append(x_3, x_11); +x_13 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; +x_14 = 0; lean_inc(x_1); -x_11 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_11, 0, x_1); -lean_ctor_set(x_11, 1, x_9); -lean_ctor_set(x_11, 2, x_7); -lean_ctor_set(x_11, 3, x_8); -lean_ctor_set_uint8(x_11, sizeof(void*)*4, x_10); -x_12 = lean_unsigned_to_nat(5u); -x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_15 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_13); +lean_ctor_set(x_15, 2, x_11); +lean_ctor_set(x_15, 3, x_12); +lean_ctor_set_uint8(x_15, sizeof(void*)*4, x_14); +x_16 = lean_unsigned_to_nat(5u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); lean_dec(x_1); -x_14 = l_Lean_Syntax_isNone(x_13); -if (x_14 == 0) +x_18 = l_Lean_Syntax_isNone(x_17); +if (x_18 == 0) { -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_unsigned_to_nat(1u); -x_16 = l_Lean_Syntax_getArg(x_13, x_15); -lean_dec(x_13); -x_17 = l_Lean_Syntax_isNone(x_16); -if (x_17 == 0) +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_unsigned_to_nat(1u); +x_20 = l_Lean_Syntax_getArg(x_17, x_19); +lean_dec(x_17); +x_21 = l_Lean_Syntax_isNone(x_20); +if (x_21 == 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; uint8_t x_25; -lean_dec(x_11); -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_16, x_18); -lean_dec(x_16); -x_20 = l_Lean_Syntax_getArg(x_19, x_18); -x_21 = l_Lean_Elab_Command_getRef(x_4, x_5, x_6); -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); -x_24 = l_Lean_replaceRef(x_19, x_22); -lean_dec(x_22); -x_25 = !lean_is_exclusive(x_4); +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_dec(x_15); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Syntax_getArg(x_20, x_22); +lean_dec(x_20); +x_24 = l_Lean_Syntax_getArg(x_23, x_22); +x_25 = !lean_is_exclusive(x_8); if (x_25 == 0) { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_4, 6); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_8, 3); +x_27 = l_Lean_replaceRef(x_23, x_26); lean_dec(x_26); -lean_ctor_set(x_4, 6, x_24); +lean_ctor_set(x_8, 3, x_27); +lean_inc(x_8); lean_inc(x_4); -x_27 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(x_20, x_4, x_5, x_23); -lean_dec(x_20); -if (lean_obj_tag(x_27) == 0) +x_28 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_24); +if (lean_obj_tag(x_28) == 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_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); -lean_dec(x_27); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); lean_inc(x_4); -x_30 = l_Lean_Elab_Command_checkValidCtorModifier(x_28, x_4, x_5, x_29); -if (lean_obj_tag(x_30) == 0) +x_31 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_30); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_31; uint8_t x_32; -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec(x_30); -x_32 = l_Lean_Elab_Modifiers_isPrivate(x_28); -if (x_32 == 0) +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_33 = l_Lean_Elab_Modifiers_isPrivate(x_29); +if (x_33 == 0) { -lean_object* x_33; lean_object* x_34; -x_33 = lean_box(0); -x_34 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_19, x_3, x_28, x_2, x_33, x_4, x_5, x_31); -return x_34; +lean_object* x_34; lean_object* x_35; +x_34 = lean_box(0); +x_35 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_23, x_3, x_29, x_2, x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_32); +lean_dec(x_8); +return x_35; } else { -uint8_t x_35; -x_35 = l_Lean_Elab_Modifiers_isPrivate(x_2); -if (x_35 == 0) +uint8_t x_36; +x_36 = l_Lean_Elab_Modifiers_isPrivate(x_2); +if (x_36 == 0) { -lean_object* x_36; lean_object* x_37; -x_36 = lean_box(0); -x_37 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_19, x_3, x_28, x_2, x_36, x_4, x_5, x_31); -return x_37; +lean_object* x_37; lean_object* x_38; +x_37 = lean_box(0); +x_38 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_23, x_3, x_29, x_2, x_37, x_4, x_5, x_6, x_7, x_8, x_9, x_32); +lean_dec(x_8); +return x_38; } else { -lean_object* x_38; lean_object* x_39; uint8_t x_40; -lean_dec(x_28); -lean_dec(x_19); -x_38 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__3; -x_39 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_38, x_4, x_5, x_31); -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) +lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_dec(x_29); +lean_dec(x_23); +x_39 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__3; +x_40 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_32); +lean_dec(x_8); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) { -return x_39; +return x_40; } 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_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_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; +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 { -uint8_t x_44; -lean_dec(x_28); +uint8_t x_45; +lean_dec(x_29); +lean_dec(x_8); +lean_dec(x_23); lean_dec(x_4); -lean_dec(x_19); -x_44 = !lean_is_exclusive(x_30); -if (x_44 == 0) +x_45 = !lean_is_exclusive(x_31); +if (x_45 == 0) { -return x_30; +return x_31; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_30, 0); -x_46 = lean_ctor_get(x_30, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_31, 0); +x_47 = lean_ctor_get(x_31, 1); +lean_inc(x_47); lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_30); -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_dec(x_31); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -uint8_t x_48; +uint8_t x_49; +lean_dec(x_8); +lean_dec(x_23); lean_dec(x_4); -lean_dec(x_19); -x_48 = !lean_is_exclusive(x_27); -if (x_48 == 0) +x_49 = !lean_is_exclusive(x_28); +if (x_49 == 0) { -return x_27; +return x_28; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_27, 0); -x_50 = lean_ctor_get(x_27, 1); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_28, 0); +x_51 = lean_ctor_get(x_28, 1); +lean_inc(x_51); lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_27); -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_28); +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; 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; -x_52 = lean_ctor_get(x_4, 0); -x_53 = lean_ctor_get(x_4, 1); -x_54 = lean_ctor_get(x_4, 2); -x_55 = lean_ctor_get(x_4, 3); -x_56 = lean_ctor_get(x_4, 4); -x_57 = lean_ctor_get(x_4, 5); +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; +x_53 = lean_ctor_get(x_8, 0); +x_54 = lean_ctor_get(x_8, 1); +x_55 = lean_ctor_get(x_8, 2); +x_56 = lean_ctor_get(x_8, 3); +x_57 = lean_ctor_get(x_8, 4); +x_58 = lean_ctor_get(x_8, 5); +lean_inc(x_58); lean_inc(x_57); lean_inc(x_56); lean_inc(x_55); lean_inc(x_54); lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_4); -x_58 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_58, 0, x_52); -lean_ctor_set(x_58, 1, x_53); -lean_ctor_set(x_58, 2, x_54); -lean_ctor_set(x_58, 3, x_55); -lean_ctor_set(x_58, 4, x_56); -lean_ctor_set(x_58, 5, x_57); -lean_ctor_set(x_58, 6, x_24); -lean_inc(x_58); -x_59 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(x_20, x_58, x_5, x_23); -lean_dec(x_20); -if (lean_obj_tag(x_59) == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_59, 0); +lean_dec(x_8); +x_59 = l_Lean_replaceRef(x_23, x_56); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_60, 0, x_53); +lean_ctor_set(x_60, 1, x_54); +lean_ctor_set(x_60, 2, x_55); +lean_ctor_set(x_60, 3, x_59); +lean_ctor_set(x_60, 4, x_57); +lean_ctor_set(x_60, 5, x_58); lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -lean_inc(x_58); -x_62 = l_Lean_Elab_Command_checkValidCtorModifier(x_60, x_58, x_5, x_61); -if (lean_obj_tag(x_62) == 0) +lean_inc(x_4); +x_61 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(x_24, x_4, x_5, x_6, x_7, x_60, x_9, x_10); +lean_dec(x_24); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_62, 1); +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); lean_inc(x_63); +lean_dec(x_61); +lean_inc(x_4); +x_64 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(x_62, x_4, x_5, x_6, x_7, x_60, x_9, x_63); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; uint8_t x_66; +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = l_Lean_Elab_Modifiers_isPrivate(x_62); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_box(0); +x_68 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_23, x_3, x_62, x_2, x_67, x_4, x_5, x_6, x_7, x_60, x_9, x_65); +lean_dec(x_60); +return x_68; +} +else +{ +uint8_t x_69; +x_69 = l_Lean_Elab_Modifiers_isPrivate(x_2); +if (x_69 == 0) +{ +lean_object* x_70; lean_object* x_71; +x_70 = lean_box(0); +x_71 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_23, x_3, x_62, x_2, x_70, x_4, x_5, x_6, x_7, x_60, x_9, x_65); +lean_dec(x_60); +return x_71; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_dec(x_62); -x_64 = l_Lean_Elab_Modifiers_isPrivate(x_60); -if (x_64 == 0) -{ -lean_object* x_65; lean_object* x_66; -x_65 = lean_box(0); -x_66 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_19, x_3, x_60, x_2, x_65, x_58, x_5, x_63); -return x_66; -} -else -{ -uint8_t x_67; -x_67 = l_Lean_Elab_Modifiers_isPrivate(x_2); -if (x_67 == 0) -{ -lean_object* x_68; lean_object* x_69; -x_68 = lean_box(0); -x_69 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_19, x_3, x_60, x_2, x_68, x_58, x_5, x_63); -return x_69; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_23); +x_72 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__3; +x_73 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_72, x_4, x_5, x_6, x_7, x_60, x_9, x_65); lean_dec(x_60); -lean_dec(x_19); -x_70 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___closed__3; -x_71 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_70, x_58, x_5, x_63); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_71, 1); -lean_inc(x_73); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_74 = x_71; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_76 = x_73; } else { - lean_dec_ref(x_71); - x_74 = lean_box(0); + lean_dec_ref(x_73); + x_76 = lean_box(0); } -if (lean_is_scalar(x_74)) { - x_75 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); } else { - x_75 = x_74; + x_77 = x_76; } -lean_ctor_set(x_75, 0, x_72); -lean_ctor_set(x_75, 1, x_73); -return x_75; +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +return x_77; } } } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec(x_62); lean_dec(x_60); -lean_dec(x_58); -lean_dec(x_19); -x_76 = lean_ctor_get(x_62, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_62, 1); -lean_inc(x_77); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_78 = x_62; -} else { - lean_dec_ref(x_62); - x_78 = lean_box(0); -} -if (lean_is_scalar(x_78)) { - x_79 = lean_alloc_ctor(1, 2, 0); -} else { - x_79 = x_78; -} -lean_ctor_set(x_79, 0, x_76); -lean_ctor_set(x_79, 1, x_77); -return x_79; -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -lean_dec(x_58); -lean_dec(x_19); -x_80 = lean_ctor_get(x_59, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_59, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_82 = x_59; -} else { - lean_dec_ref(x_59); - x_82 = lean_box(0); -} -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(1, 2, 0); -} else { - x_83 = x_82; -} -lean_ctor_set(x_83, 0, x_80); -lean_ctor_set(x_83, 1, x_81); -return x_83; -} -} -} -else -{ -lean_object* x_84; -lean_dec(x_16); +lean_dec(x_23); lean_dec(x_4); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_11); -lean_ctor_set(x_84, 1, x_6); -return x_84; +x_78 = lean_ctor_get(x_64, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_64, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_64)) { + lean_ctor_release(x_64, 0); + lean_ctor_release(x_64, 1); + x_80 = x_64; +} else { + lean_dec_ref(x_64); + x_80 = lean_box(0); +} +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(1, 2, 0); +} else { + x_81 = x_80; +} +lean_ctor_set(x_81, 0, x_78); +lean_ctor_set(x_81, 1, x_79); +return x_81; } } else { -lean_object* x_85; -lean_dec(x_13); +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_60); +lean_dec(x_23); lean_dec(x_4); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_11); -lean_ctor_set(x_85, 1, x_6); +x_82 = lean_ctor_get(x_61, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_61, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_84 = x_61; +} else { + lean_dec_ref(x_61); + x_84 = lean_box(0); +} +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(1, 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; } } } -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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: +else { -lean_object* x_7; -x_7 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); +lean_object* x_86; +lean_dec(x_20); +lean_dec(x_8); lean_dec(x_4); -lean_dec(x_3); -return x_7; +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_15); +lean_ctor_set(x_86, 1, x_10); +return x_86; } } -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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) { -_start: +else { -lean_object* x_7; -x_7 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); +lean_object* x_87; +lean_dec(x_17); +lean_dec(x_8); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_7; +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_15); +lean_ctor_set(x_87, 1, x_10); +return x_87; } } -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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_6; -x_6 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { -_start: -{ -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_9 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_10 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(x_1, x_8, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___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_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__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_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_11; +x_11 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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); +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_11; } } -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_6); -lean_dec(x_6); -x_11 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_10, x_7, x_8, x_9); +lean_object* x_11; +x_11 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(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); +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_11; } } -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___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) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__3(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_1); +return x_10; +} +} +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__5(x_1, x_12, x_13, 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_7); +lean_dec(x_6); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_5); +lean_dec(x_5); +x_15 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_14, 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_3); +lean_dec(x_2); +lean_dec(x_1); +return x_15; +} +} +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_6); +lean_dec(x_6); +x_15 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_14, 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_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_15; +} +} +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___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: +{ +lean_object* x_14; +x_14 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_12); +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); -return x_10; +return x_14; } } -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_3); -return x_7; -} -} -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_3); -return x_7; -} -} -lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7___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_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(x_1, x_2, x_3, x_4); -lean_dec(x_3); -return x_5; -} -} -lean_object* l_Lean_setEnv___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___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_setEnv___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; lean_object* x_7; -x_6 = lean_unbox(x_1); -lean_dec(x_1); -x_7 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(x_6, x_2, x_3, x_4, x_5); -lean_dec(x_4); -return x_7; -} -} -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_2); -return x_8; -} -} -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___lambda__1(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_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___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_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___lambda__2(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_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6___lambda__3(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_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___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); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_11; +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8___lambda__2(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); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_11; +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(x_10, 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); +return x_11; +} +} +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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_Structure_0__Lean_Elab_Command_expandCtor___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_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +return x_12; +} +} +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___lambda__2(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_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); -return x_9; +return x_13; } } -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___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_7; -x_7 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor(x_1, x_2, x_3, x_4, x_5, x_6); +lean_object* x_11; +x_11 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor(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_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -return x_7; +return x_11; } } static lean_object* _init_l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__1() { @@ -2942,27 +3174,27 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_6; -x_6 = l_Lean_Elab_Modifiers_isPrivate(x_1); -if (x_6 == 0) +uint8_t x_10; +x_10 = l_Lean_Elab_Modifiers_isPrivate(x_1); +if (x_10 == 0) { -lean_object* x_7; lean_object* x_8; +lean_object* x_11; lean_object* x_12; lean_dec(x_3); -x_7 = lean_box(0); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_5); -return x_8; +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_9); +return x_12; } else { -lean_object* x_9; lean_object* x_10; -x_9 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__3; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_9, x_3, x_4, x_5); -return x_10; +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__3; +x_14 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_14; } } } @@ -2994,45 +3226,45 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___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_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_array_get_size(x_6); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_eq(x_7, x_8); -lean_dec(x_7); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__2___closed__3; -x_11 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_10, x_3, x_4, x_5); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -return x_11; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_inc(x_13); +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_1, 1); +x_11 = lean_array_get_size(x_10); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_nat_dec_eq(x_11, x_12); lean_dec(x_11); -x_15 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__2___closed__3; +x_15 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ return x_15; } +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_15); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} } else { -lean_object* x_16; lean_object* x_17; -x_16 = lean_box(0); -x_17 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__1(x_1, x_16, x_3, x_4, x_5); -return x_17; +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +x_21 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__1(x_1, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_21; } } } @@ -3064,41 +3296,41 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___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) { _start: { -uint8_t x_6; -x_6 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 3); -if (x_6 == 0) +uint8_t x_10; +x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 3); +if (x_10 == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = lean_box(0); -x_8 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__2(x_1, x_7, x_3, x_4, x_5); -return x_8; +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__2(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } else { -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___closed__3; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_9, x_3, x_4, x_5); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__3___closed__3; +x_14 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) { -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_10); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); return x_14; } +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} } } } @@ -3130,41 +3362,41 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___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) { _start: { -uint8_t x_6; -x_6 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 2); -if (x_6 == 0) +uint8_t x_10; +x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 2); +if (x_10 == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = lean_box(0); -x_8 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__3(x_1, x_7, x_3, x_4, x_5); -return x_8; +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__3(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } else { -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__4___closed__3; -x_10 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_9, x_3, x_4, x_5); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__4___closed__3; +x_14 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) { -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_10); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); return x_14; } +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} } } } @@ -3196,96 +3428,116 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Elab_Command_checkValidFieldModifier(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_checkValidFieldModifier(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_5; -x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 1); -if (x_5 == 0) +uint8_t x_9; +x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 1); +if (x_9 == 0) { -lean_object* x_6; lean_object* x_7; -x_6 = lean_box(0); -x_7 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__4(x_1, x_6, x_2, x_3, x_4); -return x_7; +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__4(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; } else { -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = l_Lean_Elab_Command_checkValidFieldModifier___closed__3; -x_9 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_8, x_2, x_3, x_4); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = l_Lean_Elab_Command_checkValidFieldModifier___closed__3; +x_13 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -return x_9; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -lean_inc(x_11); -lean_dec(x_9); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); return x_13; } +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_13); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; } } } -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___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* l_Lean_Elab_Command_checkValidFieldModifier___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: { -lean_object* x_6; -x_6 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_object* x_10; +x_10 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__1(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_2); lean_dec(x_1); -return x_6; +return x_10; } } -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___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* l_Lean_Elab_Command_checkValidFieldModifier___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_6; -x_6 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_object* x_10; +x_10 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__2(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_2); lean_dec(x_1); -return x_6; +return x_10; } } -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___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* l_Lean_Elab_Command_checkValidFieldModifier___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) { _start: { -lean_object* x_6; -x_6 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__3(x_1, x_2, x_3, x_4, x_5); +lean_object* x_10; +x_10 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__3(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_2); lean_dec(x_1); -return x_6; +return x_10; } } -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___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* l_Lean_Elab_Command_checkValidFieldModifier___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) { _start: { -lean_object* x_6; -x_6 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__4(x_1, x_2, x_3, x_4, x_5); +lean_object* x_10; +x_10 = l_Lean_Elab_Command_checkValidFieldModifier___lambda__4(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_2); lean_dec(x_1); -return x_6; +return x_10; } } -lean_object* l_Lean_Elab_Command_checkValidFieldModifier___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l_Lean_Elab_Command_checkValidFieldModifier___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_5; -x_5 = l_Lean_Elab_Command_checkValidFieldModifier(x_1, x_2, x_3, x_4); +lean_object* x_9; +x_9 = l_Lean_Elab_Command_checkValidFieldModifier(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -return x_5; +return x_9; } } lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields_match__1___rarg(lean_object* x_1, lean_object* x_2) { @@ -3330,461 +3582,35 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Co return x_2; } } -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_6 = lean_st_ref_get(x_4, x_5); -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 = lean_ctor_get(x_7, 0); -lean_inc(x_9); -lean_dec(x_7); -x_10 = l_Lean_isAttribute(x_9, x_2); -lean_dec(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_11 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_11, 0, x_2); -x_12 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__2; -x_13 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); -x_14 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__3; -x_15 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_15, x_3, x_4, x_8); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -return x_16; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_16); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_box(0); -x_22 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_1, x_2, x_21, x_3, x_4, x_8); -lean_dec(x_3); -return x_22; -} -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = l_Lean_Syntax_isIdOrAtom_x3f(x_6); -if (lean_obj_tag(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 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = l_Lean_replaceRef(x_6, x_9); -lean_dec(x_9); -lean_dec(x_6); -x_12 = !lean_is_exclusive(x_2); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_2, 6); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_isAttribute(x_13, x_2); lean_dec(x_13); -lean_ctor_set(x_2, 6, x_11); -x_14 = l_Lean_Elab_elabAttr___rarg___closed__3; -x_15 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_14, x_2, x_3, x_10); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +if (x_14 == 0) { -return x_15; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_15); -x_19 = lean_alloc_ctor(1, 2, 0); +lean_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_15 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_15, 0, x_2); +x_16 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__2; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_Elab_elabAttr___rarg___lambda__3___closed__3; +x_19 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; 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; -x_20 = lean_ctor_get(x_2, 0); -x_21 = lean_ctor_get(x_2, 1); -x_22 = lean_ctor_get(x_2, 2); -x_23 = lean_ctor_get(x_2, 3); -x_24 = lean_ctor_get(x_2, 4); -x_25 = lean_ctor_get(x_2, 5); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_2); -x_26 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_26, 0, x_20); -lean_ctor_set(x_26, 1, x_21); -lean_ctor_set(x_26, 2, x_22); -lean_ctor_set(x_26, 3, x_23); -lean_ctor_set(x_26, 4, x_24); -lean_ctor_set(x_26, 5, x_25); -lean_ctor_set(x_26, 6, x_11); -x_27 = l_Lean_Elab_elabAttr___rarg___closed__3; -x_28 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_27, x_26, x_3, x_10); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_31 = x_28; -} else { - lean_dec_ref(x_28); - x_31 = lean_box(0); -} -if (lean_is_scalar(x_31)) { - x_32 = lean_alloc_ctor(1, 2, 0); -} else { - x_32 = x_31; -} -lean_ctor_set(x_32, 0, x_29); -lean_ctor_set(x_32, 1, x_30); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_6); -x_33 = lean_ctor_get(x_7, 0); -lean_inc(x_33); -lean_dec(x_7); -x_34 = lean_box(0); -x_35 = lean_name_mk_string(x_34, x_33); -x_36 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___lambda__1(x_1, x_35, x_2, x_3, x_4); -return x_36; -} -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5(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) { -_start: -{ -uint8_t x_8; -x_8 = x_3 < x_2; -if (x_8 == 0) -{ -lean_object* x_9; -lean_dec(x_5); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_4); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_array_uget(x_1, x_3); -lean_inc(x_5); -x_11 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4(x_10, x_5, x_6, x_7); -lean_dec(x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; -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_push(x_4, x_12); -x_15 = 1; -x_16 = x_3 + x_15; -x_3 = x_16; -x_4 = x_14; -x_7 = x_13; -goto _start; -} -else -{ -uint8_t x_18; -lean_dec(x_5); -lean_dec(x_4); -x_18 = !lean_is_exclusive(x_11); -if (x_18 == 0) -{ -return x_11; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_11, 0); -x_20 = lean_ctor_get(x_11, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_11); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -} -} -lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3(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; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; -x_5 = l_Lean_Syntax_getSepArgs(x_1); -x_6 = lean_array_get_size(x_5); -x_7 = lean_usize_of_nat(x_6); -lean_dec(x_6); -x_8 = 0; -x_9 = l_Array_empty___closed__1; -x_10 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5(x_5, x_7, x_8, x_9, x_2, x_3, x_4); -lean_dec(x_5); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_inc(x_12); -lean_dec(x_10); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -return x_14; -} -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_10); -if (x_15 == 0) -{ -return x_10; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_10, 0); -x_17 = lean_ctor_get(x_10, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_10); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -} -} -lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__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; lean_object* x_7; -x_5 = lean_unsigned_to_nat(1u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3(x_6, x_2, x_3, x_4); -lean_dec(x_6); -return x_7; -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___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; uint8_t x_10; -x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); -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_replaceRef(x_1, x_7); -lean_dec(x_7); -x_10 = !lean_is_exclusive(x_3); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_3, 6); -lean_dec(x_11); -lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_2, x_3, x_4, x_8); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_13 = lean_ctor_get(x_3, 0); -x_14 = lean_ctor_get(x_3, 1); -x_15 = lean_ctor_get(x_3, 2); -x_16 = lean_ctor_get(x_3, 3); -x_17 = lean_ctor_get(x_3, 4); -x_18 = lean_ctor_get(x_3, 5); -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_dec(x_3); -x_19 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_19, 0, x_13); -lean_ctor_set(x_19, 1, x_14); -lean_ctor_set(x_19, 2, x_15); -lean_ctor_set(x_19, 3, x_16); -lean_ctor_set(x_19, 4, x_17); -lean_ctor_set(x_19, 5, x_18); -lean_ctor_set(x_19, 6, x_9); -x_20 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_2, x_19, x_4, x_8); -return x_20; -} -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___rarg___boxed), 5, 0); -return x_2; -} -} -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Syntax_getOptional_x3f(x_5); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = l_Array_empty___closed__1; -x_12 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_6, x_11, x_7, x_8, x_9); -lean_dec(x_7); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_10, 0); -lean_inc(x_13); -lean_dec(x_10); -lean_inc(x_7); -x_14 = l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2(x_13, x_7, x_8, x_9); -lean_dec(x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -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_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_6, x_15, x_7, x_8, x_16); -lean_dec(x_7); -return x_17; -} -else -{ -uint8_t x_18; -lean_dec(x_7); -lean_dec(x_4); -x_18 = !lean_is_exclusive(x_14); -if (x_18 == 0) -{ -return x_14; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_14, 0); -x_20 = lean_ctor_get(x_14, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_14); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -} -} -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Syntax_getOptional_x3f(x_5); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; lean_object* x_12; -x_11 = 0; -x_12 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(x_1, x_2, x_3, x_6, x_4, x_11, x_7, x_8, x_9); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_ctor_get(x_10, 0); -lean_inc(x_13); -lean_dec(x_10); -lean_inc(x_13); -x_14 = l_Lean_Syntax_getKind(x_13); -x_15 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1; -x_16 = lean_name_eq(x_14, x_15); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2; -x_18 = lean_name_eq(x_14, x_17); -lean_dec(x_14); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; -lean_dec(x_6); -x_19 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5; -x_20 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___rarg(x_13, x_19, x_7, x_8, x_9); -lean_dec(x_13); +x_20 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_12); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -3806,120 +3632,1494 @@ return x_24; } else { -uint8_t x_25; lean_object* x_26; -lean_dec(x_13); -x_25 = 1; -x_26 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(x_1, x_2, x_3, x_6, x_4, x_25, x_7, x_8, x_9); +lean_object* x_25; lean_object* x_26; +x_25 = lean_box(0); +x_26 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__4___lambda__2(x_1, x_2, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +lean_dec(x_3); return x_26; } } +} +lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Lean_Syntax_isIdOrAtom_x3f(x_10); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_6); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_6, 3); +x_14 = l_Lean_replaceRef(x_10, x_13); +lean_dec(x_13); +lean_dec(x_10); +lean_ctor_set(x_6, 3, x_14); +x_15 = l_Lean_Elab_elabAttr___rarg___closed__3; +x_16 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +return x_16; +} else { -uint8_t x_27; lean_object* x_28; +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_16); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +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_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; +x_21 = lean_ctor_get(x_6, 0); +x_22 = lean_ctor_get(x_6, 1); +x_23 = lean_ctor_get(x_6, 2); +x_24 = lean_ctor_get(x_6, 3); +x_25 = lean_ctor_get(x_6, 4); +x_26 = lean_ctor_get(x_6, 5); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_6); +x_27 = l_Lean_replaceRef(x_10, x_24); +lean_dec(x_24); +lean_dec(x_10); +x_28 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_28, 0, x_21); +lean_ctor_set(x_28, 1, x_22); +lean_ctor_set(x_28, 2, x_23); +lean_ctor_set(x_28, 3, x_27); +lean_ctor_set(x_28, 4, x_25); +lean_ctor_set(x_28, 5, x_26); +x_29 = l_Lean_Elab_elabAttr___rarg___closed__3; +x_30 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_29, x_2, x_3, x_4, x_5, x_28, x_7, x_8); +lean_dec(x_28); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(1, 2, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); +return x_34; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_10); +x_35 = lean_ctor_get(x_11, 0); +lean_inc(x_35); +lean_dec(x_11); +x_36 = lean_box(0); +x_37 = lean_name_mk_string(x_36, x_35); +x_38 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___lambda__1(x_1, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +return x_38; +} +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5(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_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = x_3 < x_2; +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_9); +lean_dec(x_5); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_uget(x_1, x_3); +lean_inc(x_9); +lean_inc(x_5); +x_15 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_14); -lean_dec(x_13); -x_27 = 2; -x_28 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(x_1, x_2, x_3, x_6, x_4, x_27, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; +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 = lean_array_push(x_4, x_16); +x_19 = 1; +x_20 = x_3 + x_19; +x_3 = x_20; +x_4 = x_18; +x_11 = x_17; +goto _start; +} +else +{ +uint8_t x_22; +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_4); +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) +{ +return x_15; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_15); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +} +lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__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) { +_start: +{ +lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_9 = l_Lean_Syntax_getSepArgs(x_1); +x_10 = lean_array_get_size(x_9); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = l_Array_empty___closed__1; +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5(x_9, x_11, x_12, x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_9); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) +{ +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_unsigned_to_nat(1u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_10); +return x_11; +} +} +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(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_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Syntax_getOptional_x3f(x_5); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_Array_empty___closed__1; +x_16 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_6, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_11); +lean_dec(x_7); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec(x_14); +lean_inc(x_11); +lean_inc(x_7); +x_18 = l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2(x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_17); +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 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_6, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +lean_dec(x_11); +lean_dec(x_7); +return x_21; +} +else +{ +uint8_t x_22; +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_4); +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_18, 0); +x_24 = lean_ctor_get(x_18, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_18); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +} +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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) { +_start: +{ +lean_object* x_14; +x_14 = l_Lean_Syntax_getOptional_x3f(x_5); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; lean_object* x_16; +x_15 = 0; +x_16 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(x_1, x_2, x_3, x_6, x_4, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec(x_14); +lean_inc(x_17); +x_18 = l_Lean_Syntax_getKind(x_17); +x_19 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__1; +x_20 = lean_name_eq(x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2; +x_22 = lean_name_eq(x_18, x_21); +lean_dec(x_18); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_dec(x_6); +x_23 = l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__5; +x_24 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___rarg(x_17, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_17); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +return x_24; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_24, 0); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_24); +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_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_5 = lean_unsigned_to_nat(0u); -x_6 = l_Lean_Syntax_getArg(x_1, x_5); -x_7 = lean_unsigned_to_nat(1u); -x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = lean_unsigned_to_nat(2u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = lean_unsigned_to_nat(3u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = lean_unsigned_to_nat(4u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = lean_unsigned_to_nat(5u); -x_16 = l_Lean_Syntax_getArg(x_1, x_15); -x_17 = l_Lean_Syntax_getOptional_x3f(x_6); -lean_dec(x_6); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_box(0); -x_19 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__2(x_12, x_16, x_14, x_8, x_10, x_18, x_2, x_3, x_4); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_14); -lean_dec(x_16); -lean_dec(x_12); -return x_19; +uint8_t x_29; lean_object* x_30; +lean_dec(x_17); +x_29 = 1; +x_30 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(x_1, x_2, x_3, x_6, x_4, x_29, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_30; +} } else { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_17); +uint8_t x_31; lean_object* x_32; +lean_dec(x_18); +lean_dec(x_17); +x_31 = 2; +x_32 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(x_1, x_2, x_3, x_6, x_4, x_31, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_32; +} +} +} +} +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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) { +_start: +{ +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; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = lean_unsigned_to_nat(1u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = lean_unsigned_to_nat(2u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +x_15 = lean_unsigned_to_nat(3u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +x_17 = lean_unsigned_to_nat(4u); +x_18 = l_Lean_Syntax_getArg(x_1, x_17); +x_19 = lean_unsigned_to_nat(5u); +x_20 = l_Lean_Syntax_getArg(x_1, x_19); +x_21 = l_Lean_Syntax_getOptional_x3f(x_10); +lean_dec(x_10); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_box(0); +x_23 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__2(x_16, x_20, x_18, x_12, x_14, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_18); +lean_dec(x_20); +lean_dec(x_16); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_21); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_21, 0); +x_26 = l_Lean_Syntax_getArg(x_25, x_11); +if (lean_obj_tag(x_26) == 2) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_25); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_string_utf8_byte_size(x_27); +x_29 = lean_nat_sub(x_28, x_13); +lean_dec(x_28); +x_30 = lean_string_utf8_extract(x_27, x_9, x_29); +lean_dec(x_29); +lean_dec(x_27); +lean_ctor_set(x_21, 0, x_30); +x_31 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__2(x_16, x_20, x_18, x_12, x_14, x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_18); +lean_dec(x_20); +lean_dec(x_16); +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; uint8_t x_38; +lean_free_object(x_21); +lean_dec(x_20); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_12); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_26); +x_33 = l_Lean_Elab_elabModifiers___rarg___closed__2; +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_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +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_throwErrorAt___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___rarg(x_25, x_36, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_25); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +return x_37; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_37, 0); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_37); +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 +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_21, 0); +lean_inc(x_42); +lean_dec(x_21); +x_43 = l_Lean_Syntax_getArg(x_42, x_11); +if (lean_obj_tag(x_43) == 2) +{ +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_dec(x_42); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_string_utf8_byte_size(x_44); +x_46 = lean_nat_sub(x_45, x_13); +lean_dec(x_45); +x_47 = lean_string_utf8_extract(x_44, x_9, x_46); +lean_dec(x_46); +lean_dec(x_44); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__2(x_16, x_20, x_18, x_12, x_14, x_48, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_18); +lean_dec(x_20); +lean_dec(x_16); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_20); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_12); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_43); +x_51 = l_Lean_Elab_elabModifiers___rarg___closed__2; +x_52 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___rarg(x_42, x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_42); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 2, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +return x_59; +} +} +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +lean_object* x_19; uint8_t x_20; lean_object* x_21; +lean_inc(x_2); +x_19 = l_Lean_Name_append(x_1, x_2); +x_20 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); +x_21 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__7(x_20, x_19, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_24, 0, x_4); +lean_ctor_set(x_24, 1, x_3); +lean_ctor_set(x_24, 2, x_23); +lean_ctor_set(x_24, 3, x_2); +lean_ctor_set(x_24, 4, x_7); +lean_ctor_set(x_24, 5, x_8); +lean_ctor_set(x_24, 6, x_9); +lean_ctor_set_uint8(x_24, sizeof(void*)*7, x_5); +lean_ctor_set_uint8(x_24, sizeof(void*)*7 + 1, x_6); +x_25 = lean_array_push(x_10, x_24); +lean_ctor_set(x_21, 0, x_25); +return x_21; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_21, 0); +x_27 = lean_ctor_get(x_21, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_21); +x_28 = lean_alloc_ctor(0, 7, 2); +lean_ctor_set(x_28, 0, x_4); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_28, 2, x_26); +lean_ctor_set(x_28, 3, x_2); +lean_ctor_set(x_28, 4, x_7); +lean_ctor_set(x_28, 5, x_8); +lean_ctor_set(x_28, 6, x_9); +lean_ctor_set_uint8(x_28, sizeof(void*)*7, x_5); +lean_ctor_set_uint8(x_28, sizeof(void*)*7 + 1, x_6); +x_29 = lean_array_push(x_10, x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_31 = !lean_is_exclusive(x_21); +if (x_31 == 0) +{ +return x_21; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_21, 0); +x_33 = lean_ctor_get(x_21, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_21); +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; +} +} +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp___lambda__1___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("', identifiers starting with '_' are reserved to the system"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6(lean_object* x_1, uint8_t x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_t 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: +{ +uint8_t x_19; +x_19 = x_9 == x_10; +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_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; +x_20 = lean_array_uget(x_8, x_9); +x_21 = l_Lean_Syntax_getId(x_20); +x_22 = l_Lean_isInternalSubobjectFieldName(x_21); +x_23 = lean_ctor_get(x_16, 0); +x_24 = lean_ctor_get(x_16, 1); +x_25 = lean_ctor_get(x_16, 2); +x_26 = lean_ctor_get(x_16, 3); +x_27 = lean_ctor_get(x_16, 4); +x_28 = lean_ctor_get(x_16, 5); +x_29 = l_Lean_replaceRef(x_20, x_26); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +x_30 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_30, 0, x_23); +lean_ctor_set(x_30, 1, x_24); +lean_ctor_set(x_30, 2, x_25); +lean_ctor_set(x_30, 3, x_29); +lean_ctor_set(x_30, 4, x_27); +lean_ctor_set(x_30, 5, x_28); +if (x_22 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_box(0); +lean_inc(x_12); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_3); +x_32 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___lambda__1(x_1, x_21, x_3, x_20, x_2, x_4, x_5, x_6, x_7, x_11, x_31, x_12, x_13, x_14, x_15, x_30, x_17, x_18); +lean_dec(x_30); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = 1; +x_36 = x_9 + x_35; +x_9 = x_36; +x_11 = x_33; +x_18 = x_34; +goto _start; +} +else +{ +uint8_t x_38; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_38 = !lean_is_exclusive(x_32); +if (x_38 == 0) +{ +return x_32; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_32, 0); +x_40 = lean_ctor_get(x_32, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_32); +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 +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_dec(x_20); +lean_dec(x_11); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_42 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_42, 0, x_21); +x_43 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__1; +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__3; +x_46 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_46, x_12, x_13, x_14, x_15, x_30, x_17, x_18); +lean_dec(x_30); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +return x_47; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_47, 0); +x_50 = lean_ctor_get(x_47, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_47); +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; +} +} +} +else +{ +lean_object* x_52; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_11); +lean_ctor_set(x_52, 1, x_18); +return x_52; +} +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; +x_14 = lean_unsigned_to_nat(3u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = l_Lean_Syntax_isNone(x_15); +lean_dec(x_15); +x_17 = 0; +x_18 = l_Lean_BinderInfo_beq(x_2, x_17); +if (x_16 == 0) +{ +uint8_t x_61; +x_61 = 1; +x_19 = x_61; +goto block_60; +} +else +{ +uint8_t x_62; +x_62 = 0; +x_19 = x_62; +goto block_60; +} +block_60: +{ +lean_object* x_20; +if (x_18 == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_47 = lean_unsigned_to_nat(4u); +x_48 = l_Lean_Syntax_getArg(x_1, x_47); +x_49 = l_Lean_Elab_expandDeclSig(x_48); +lean_dec(x_48); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_49, 1); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_49, 1, x_52); +x_20 = x_49; +goto block_46; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = lean_ctor_get(x_49, 0); +x_54 = lean_ctor_get(x_49, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_49); +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_54); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_55); +x_20 = x_56; +goto block_46; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_unsigned_to_nat(4u); +x_58 = l_Lean_Syntax_getArg(x_1, x_57); +x_59 = l_Lean_Elab_expandOptDeclSig(x_58); +lean_dec(x_58); +x_20 = x_59; +goto block_46; +} +block_46: +{ +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; uint8_t x_28; lean_object* x_29; +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_unsigned_to_nat(2u); +x_24 = l_Lean_Syntax_getArg(x_1, x_23); +x_25 = l_Lean_Syntax_getArgs(x_24); +lean_dec(x_24); +x_26 = lean_array_get_size(x_25); +x_27 = lean_unsigned_to_nat(0u); +x_28 = lean_nat_dec_lt(x_27, x_26); +if (x_18 == 0) +{ +lean_object* x_37; +x_37 = lean_box(0); +x_29 = x_37; +goto block_36; +} +else +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_unsigned_to_nat(5u); +x_39 = l_Lean_Syntax_getArg(x_1, x_38); +x_40 = l_Lean_Syntax_isNone(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = l_Lean_Syntax_getArg(x_39, x_27); +lean_dec(x_39); +x_42 = lean_unsigned_to_nat(1u); +x_43 = l_Lean_Syntax_getArg(x_41, x_42); +lean_dec(x_41); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_29 = x_44; +goto block_36; +} +else +{ +lean_object* x_45; +lean_dec(x_39); +x_45 = lean_box(0); +x_29 = x_45; +goto block_36; +} +} +block_36: +{ +if (x_28 == 0) +{ +lean_object* x_30; +lean_dec(x_29); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_7); +lean_dec(x_5); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_3); +lean_ctor_set(x_30, 1, x_13); +return x_30; +} +else +{ +uint8_t x_31; +x_31 = lean_nat_dec_le(x_26, x_26); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_29); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_7); +lean_dec(x_5); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_3); +lean_ctor_set(x_32, 1, x_13); +return x_32; +} +else +{ +size_t x_33; size_t x_34; lean_object* x_35; +x_33 = 0; +x_34 = lean_usize_of_nat(x_26); +lean_dec(x_26); +x_35 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6(x_4, x_2, x_5, x_19, x_21, x_22, x_29, x_25, x_33, x_34, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_25); +return x_35; +} +} +} +} +} +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid 'protected' field in a 'private' structure"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = l_Lean_Elab_Modifiers_isProtected(x_5); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_box(0); +x_17 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__1(x_1, x_2, x_3, x_4, x_5, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; +} +else +{ +uint8_t x_18; +x_18 = l_Lean_Elab_Modifiers_isPrivate(x_6); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__1(x_1, x_2, x_3, x_4, x_5, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_dec(x_5); +lean_dec(x_3); +x_21 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__3; +x_22 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid 'private' field in a 'private' structure"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3(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) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_Syntax_getArg(x_1, x_13); +lean_inc(x_10); +lean_inc(x_6); +x_15 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1(x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_inc(x_6); +x_18 = l_Lean_Elab_Command_checkValidFieldModifier(x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = l_Lean_Elab_Modifiers_isPrivate(x_16); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_17, 0); -x_22 = l_Lean_Syntax_getArg(x_21, x_7); -if (lean_obj_tag(x_22) == 2) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -lean_dec(x_21); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_string_utf8_byte_size(x_23); -x_25 = lean_nat_sub(x_24, x_9); -lean_dec(x_24); -x_26 = lean_string_utf8_extract(x_23, x_5, x_25); -lean_dec(x_25); -lean_dec(x_23); -lean_ctor_set(x_17, 0, x_26); -x_27 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__2(x_12, x_16, x_14, x_8, x_10, x_17, x_2, x_3, x_4); +x_21 = lean_box(0); +x_22 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2(x_1, x_5, x_2, x_3, x_16, x_4, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_19); lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_14); +return x_22; +} +else +{ +uint8_t x_23; +x_23 = l_Lean_Elab_Modifiers_isPrivate(x_4); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_box(0); +x_25 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2(x_1, x_5, x_2, x_3, x_16, x_4, x_24, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +lean_dec(x_10); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_dec(x_16); -lean_dec(x_12); +lean_dec(x_2); +x_26 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__3; +x_27 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_26, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +lean_dec(x_10); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ return x_27; } 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; uint8_t x_34; -lean_free_object(x_17); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_27, 0); +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_27); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +else +{ +uint8_t x_32; lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_12); lean_dec(x_10); -lean_dec(x_8); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_22); -x_29 = l_Lean_Elab_elabModifiers___rarg___closed__2; -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_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___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 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___rarg(x_21, x_32, x_2, x_3, x_4); +lean_dec(x_6); +lean_dec(x_2); +x_32 = !lean_is_exclusive(x_18); +if (x_32 == 0) +{ +return x_18; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_18, 0); +x_34 = lean_ctor_get(x_18, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_18); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_15); +if (x_36 == 0) +{ +return x_15; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_15, 0); +x_38 = lean_ctor_get(x_15, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_15); +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; +} +} +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("structExplicitBinder"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; +x_2 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("structImplicitBinder"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; +x_2 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("structInstBinder"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; +x_2 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unexpected kind of structure field"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__7; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__8; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___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) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_inc(x_4); +x_13 = l_Lean_Syntax_getKind(x_4); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__2; +x_15 = lean_name_eq(x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__4; +x_17 = lean_name_eq(x_13, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__6; +x_19 = lean_name_eq(x_13, x_18); +lean_dec(x_13); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_dec(x_4); +lean_dec(x_1); +x_20 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__9; +x_21 = l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___rarg(x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_10); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_inc(x_23); lean_dec(x_21); -x_34 = !lean_is_exclusive(x_33); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +uint8_t x_26; lean_object* x_27; +x_26 = 3; +x_27 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3(x_4, x_1, x_2, x_3, x_26, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_4); +return x_27; +} +} +else +{ +uint8_t x_28; lean_object* x_29; +lean_dec(x_13); +x_28 = 1; +x_29 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3(x_4, x_1, x_2, x_3, x_28, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_4); +return x_29; +} +} +else +{ +uint8_t x_30; lean_object* x_31; +lean_dec(x_13); +x_30 = 0; +x_31 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3(x_4, x_1, x_2, x_3, x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_4); +return x_31; +} +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("structSimpleBinder"); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; +x_2 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(7u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = x_4 == x_5; +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_15 = lean_array_uget(x_3, x_4); +lean_inc(x_15); +x_16 = l_Lean_Syntax_getKind(x_15); +x_17 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__2; +x_18 = lean_name_eq(x_16, x_17); +lean_dec(x_16); +x_19 = lean_ctor_get(x_11, 0); +x_20 = lean_ctor_get(x_11, 1); +x_21 = lean_ctor_get(x_11, 2); +x_22 = lean_ctor_get(x_11, 3); +x_23 = lean_ctor_get(x_11, 4); +x_24 = lean_ctor_get(x_11, 5); +x_25 = l_Lean_replaceRef(x_15, x_22); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +x_26 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_26, 0, x_19); +lean_ctor_set(x_26, 1, x_20); +lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_25); +lean_ctor_set(x_26, 4, x_23); +lean_ctor_set(x_26, 5, x_24); +if (x_18 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_box(0); +lean_inc(x_7); +x_28 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4(x_6, x_2, x_1, x_15, x_27, x_7, x_8, x_9, x_10, x_26, x_12, x_13); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = 1; +x_32 = x_4 + x_31; +x_4 = x_32; +x_6 = x_29; +x_13 = x_30; +goto _start; +} +else +{ +uint8_t x_34; +lean_dec(x_7); +x_34 = !lean_is_exclusive(x_28); if (x_34 == 0) { -return x_33; +return x_28; } 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_28, 0); +x_36 = lean_ctor_get(x_28, 1); lean_inc(x_36); lean_inc(x_35); -lean_dec(x_33); +lean_dec(x_28); x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); @@ -3929,1381 +5129,247 @@ return x_37; } else { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_17, 0); -lean_inc(x_38); -lean_dec(x_17); -x_39 = l_Lean_Syntax_getArg(x_38, x_7); -if (lean_obj_tag(x_39) == 2) -{ -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_dec(x_38); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_string_utf8_byte_size(x_40); -x_42 = lean_nat_sub(x_41, x_9); -lean_dec(x_41); -x_43 = lean_string_utf8_extract(x_40, x_5, x_42); -lean_dec(x_42); -lean_dec(x_40); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_45 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__2(x_12, x_16, x_14, x_8, x_10, x_44, x_2, x_3, x_4); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_14); -lean_dec(x_16); -lean_dec(x_12); -return x_45; -} -else -{ -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_dec(x_16); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_8); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_39); -x_47 = l_Lean_Elab_elabModifiers___rarg___closed__2; -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_49 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___rarg(x_38, x_50, x_2, x_3, x_4); -lean_dec(x_38); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - x_54 = x_51; -} else { - lean_dec_ref(x_51); - x_54 = lean_box(0); -} -if (lean_is_scalar(x_54)) { - x_55 = lean_alloc_ctor(1, 2, 0); -} else { - x_55 = x_54; -} -lean_ctor_set(x_55, 0, x_52); -lean_ctor_set(x_55, 1, x_53); -return x_55; -} -} -} -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; uint8_t x_16; lean_object* x_17; -lean_inc(x_2); -x_15 = l_Lean_Name_append(x_1, x_2); -x_16 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); -x_17 = l_Lean_Elab_applyVisibility___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__6(x_16, x_15, x_12, x_13, x_14); -if (lean_obj_tag(x_17) == 0) -{ -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_20, 0, x_4); -lean_ctor_set(x_20, 1, x_3); -lean_ctor_set(x_20, 2, x_19); -lean_ctor_set(x_20, 3, x_2); -lean_ctor_set(x_20, 4, x_7); -lean_ctor_set(x_20, 5, x_8); -lean_ctor_set(x_20, 6, x_9); -lean_ctor_set_uint8(x_20, sizeof(void*)*7, x_5); -lean_ctor_set_uint8(x_20, sizeof(void*)*7 + 1, x_6); -x_21 = lean_array_push(x_10, x_20); -lean_ctor_set(x_17, 0, x_21); -return x_17; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_17, 0); -x_23 = lean_ctor_get(x_17, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_17); -x_24 = lean_alloc_ctor(0, 7, 2); -lean_ctor_set(x_24, 0, x_4); -lean_ctor_set(x_24, 1, x_3); -lean_ctor_set(x_24, 2, x_22); -lean_ctor_set(x_24, 3, x_2); -lean_ctor_set(x_24, 4, x_7); -lean_ctor_set(x_24, 5, x_8); -lean_ctor_set(x_24, 6, x_9); -lean_ctor_set_uint8(x_24, sizeof(void*)*7, x_5); -lean_ctor_set_uint8(x_24, sizeof(void*)*7 + 1, x_6); -x_25 = lean_array_push(x_10, x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_23); -return x_26; -} -} -else -{ -uint8_t x_27; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_27 = !lean_is_exclusive(x_17); -if (x_27 == 0) -{ -return x_17; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_17, 0); -x_29 = lean_ctor_get(x_17, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_17); -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; -} -} -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp___lambda__1___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("', identifiers starting with '_' are reserved to the system"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7(lean_object* x_1, uint8_t x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; -x_15 = x_9 == x_10; -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_16 = lean_array_uget(x_8, x_9); -x_17 = l_Lean_Syntax_getId(x_16); -x_18 = l_Lean_isInternalSubobjectFieldName(x_17); -x_19 = l_Lean_Elab_Command_getRef(x_12, x_13, x_14); -if (x_18 == 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; -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_replaceRef(x_16, x_20); -lean_dec(x_20); -x_23 = lean_ctor_get(x_12, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_12, 1); -lean_inc(x_24); -x_25 = lean_ctor_get(x_12, 2); -lean_inc(x_25); -x_26 = lean_ctor_get(x_12, 3); -lean_inc(x_26); -x_27 = lean_ctor_get(x_12, 4); -lean_inc(x_27); -x_28 = lean_ctor_get(x_12, 5); -lean_inc(x_28); -x_29 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_29, 0, x_23); -lean_ctor_set(x_29, 1, x_24); -lean_ctor_set(x_29, 2, x_25); -lean_ctor_set(x_29, 3, x_26); -lean_ctor_set(x_29, 4, x_27); -lean_ctor_set(x_29, 5, x_28); -lean_ctor_set(x_29, 6, x_22); -x_30 = lean_box(0); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_38 = lean_unsigned_to_nat(0u); +x_39 = l_Lean_Syntax_getArg(x_15, x_38); +x_40 = l_myMacro____x40_Init_Notation___hyg_5739____closed__9; +x_41 = l_Lean_mkAtomFrom(x_15, x_40); +x_42 = lean_unsigned_to_nat(1u); +x_43 = l_Lean_Syntax_getArg(x_15, x_42); +x_44 = lean_unsigned_to_nat(2u); +x_45 = l_Lean_Syntax_getArg(x_15, x_44); +x_46 = lean_unsigned_to_nat(3u); +x_47 = l_Lean_Syntax_getArg(x_15, x_46); +x_48 = lean_unsigned_to_nat(4u); +x_49 = l_Lean_Syntax_getArg(x_15, x_48); +x_50 = l_myMacro____x40_Init_Notation___hyg_5739____closed__21; +x_51 = l_Lean_mkAtomFrom(x_15, x_50); +lean_dec(x_15); +x_52 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__3; +x_53 = lean_array_push(x_52, x_39); +x_54 = lean_array_push(x_53, x_41); +x_55 = lean_array_push(x_54, x_43); +x_56 = lean_array_push(x_55, x_45); +x_57 = lean_array_push(x_56, x_47); +x_58 = lean_array_push(x_57, x_49); +x_59 = lean_array_push(x_58, x_51); +x_60 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__2; +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +x_62 = lean_box(0); lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_3); -x_31 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__1(x_1, x_17, x_3, x_16, x_2, x_4, x_5, x_6, x_7, x_11, x_30, x_29, x_13, x_21); -if (lean_obj_tag(x_31) == 0) +x_63 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4(x_6, x_2, x_1, x_61, x_62, x_7, x_8, x_9, x_10, x_26, x_12, x_13); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_32; lean_object* x_33; size_t x_34; size_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 = 1; -x_35 = x_9 + x_34; -x_9 = x_35; -x_11 = x_32; -x_14 = x_33; +lean_object* x_64; lean_object* x_65; size_t x_66; size_t x_67; +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_66 = 1; +x_67 = x_4 + x_66; +x_4 = x_67; +x_6 = x_64; +x_13 = x_65; goto _start; } else { -uint8_t x_37; -lean_dec(x_12); +uint8_t x_69; lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_37 = !lean_is_exclusive(x_31); -if (x_37 == 0) +x_69 = !lean_is_exclusive(x_63); +if (x_69 == 0) { -return x_31; +return x_63; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_31, 0); -x_39 = lean_ctor_get(x_31, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_31); -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; uint8_t x_44; -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_41 = lean_ctor_get(x_19, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_19, 1); -lean_inc(x_42); -lean_dec(x_19); -x_43 = l_Lean_replaceRef(x_16, x_41); -lean_dec(x_41); -lean_dec(x_16); -x_44 = !lean_is_exclusive(x_12); -if (x_44 == 0) -{ -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; uint8_t x_52; -x_45 = lean_ctor_get(x_12, 6); -lean_dec(x_45); -lean_ctor_set(x_12, 6, x_43); -x_46 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_46, 0, x_17); -x_47 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__1; -x_48 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_46); -x_49 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__3; -x_50 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_50, x_12, x_13, x_42); -x_52 = !lean_is_exclusive(x_51); -if (x_52 == 0) -{ -return x_51; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_51, 0); -x_54 = lean_ctor_get(x_51, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_51); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; -} -} -else -{ -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; lean_object* x_72; -x_56 = lean_ctor_get(x_12, 0); -x_57 = lean_ctor_get(x_12, 1); -x_58 = lean_ctor_get(x_12, 2); -x_59 = lean_ctor_get(x_12, 3); -x_60 = lean_ctor_get(x_12, 4); -x_61 = lean_ctor_get(x_12, 5); -lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_12); -x_62 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_62, 0, x_56); -lean_ctor_set(x_62, 1, x_57); -lean_ctor_set(x_62, 2, x_58); -lean_ctor_set(x_62, 3, x_59); -lean_ctor_set(x_62, 4, x_60); -lean_ctor_set(x_62, 5, x_61); -lean_ctor_set(x_62, 6, x_43); -x_63 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_63, 0, x_17); -x_64 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__1; -x_65 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_63); -x_66 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__3; -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_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_67, x_62, x_13, x_42); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_63, 0); +x_71 = lean_ctor_get(x_63, 1); +lean_inc(x_71); lean_inc(x_70); -if (lean_is_exclusive(x_68)) { - lean_ctor_release(x_68, 0); - lean_ctor_release(x_68, 1); - x_71 = x_68; -} else { - lean_dec_ref(x_68); - x_71 = lean_box(0); -} -if (lean_is_scalar(x_71)) { - x_72 = lean_alloc_ctor(1, 2, 0); -} else { - x_72 = x_71; -} -lean_ctor_set(x_72, 0, x_69); -lean_ctor_set(x_72, 1, x_70); +lean_dec(x_63); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); return x_72; } } } +} else { lean_object* x_73; -lean_dec(x_12); lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_11); -lean_ctor_set(x_73, 1, x_14); +lean_ctor_set(x_73, 0, x_6); +lean_ctor_set(x_73, 1, x_13); return x_73; } } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8(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_object* x_12, lean_object* x_13) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_isNone(x_11); -lean_dec(x_11); -x_13 = 0; -x_14 = l_Lean_BinderInfo_beq(x_2, x_13); -if (x_12 == 0) -{ -uint8_t x_57; -x_57 = 1; -x_15 = x_57; -goto block_56; -} -else -{ -uint8_t x_58; -x_58 = 0; -x_15 = x_58; -goto block_56; -} -block_56: -{ -lean_object* x_16; +uint8_t x_14; +x_14 = x_4 == x_5; if (x_14 == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_43 = lean_unsigned_to_nat(4u); -x_44 = l_Lean_Syntax_getArg(x_1, x_43); -x_45 = l_Lean_Elab_expandDeclSig(x_44); -lean_dec(x_44); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_45, 1); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_45, 1, x_48); -x_16 = x_45; -goto block_42; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_45, 0); -x_50 = lean_ctor_get(x_45, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_45); -x_51 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_49); -lean_ctor_set(x_52, 1, x_51); -x_16 = x_52; -goto block_42; -} -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_unsigned_to_nat(4u); -x_54 = l_Lean_Syntax_getArg(x_1, x_53); -x_55 = l_Lean_Elab_expandOptDeclSig(x_54); -lean_dec(x_54); -x_16 = x_55; -goto block_42; -} -block_42: -{ -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; -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_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_15 = lean_array_uget(x_3, x_4); +lean_inc(x_15); +x_16 = l_Lean_Syntax_getKind(x_15); +x_17 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__2; +x_18 = lean_name_eq(x_16, x_17); lean_dec(x_16); -x_19 = lean_unsigned_to_nat(2u); -x_20 = l_Lean_Syntax_getArg(x_1, x_19); -x_21 = l_Lean_Syntax_getArgs(x_20); -lean_dec(x_20); -x_22 = lean_array_get_size(x_21); -x_23 = lean_unsigned_to_nat(0u); -x_24 = lean_nat_dec_lt(x_23, x_22); -if (x_14 == 0) +x_19 = lean_ctor_get(x_11, 0); +x_20 = lean_ctor_get(x_11, 1); +x_21 = lean_ctor_get(x_11, 2); +x_22 = lean_ctor_get(x_11, 3); +x_23 = lean_ctor_get(x_11, 4); +x_24 = lean_ctor_get(x_11, 5); +x_25 = l_Lean_replaceRef(x_15, x_22); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +x_26 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_26, 0, x_19); +lean_ctor_set(x_26, 1, x_20); +lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_25); +lean_ctor_set(x_26, 4, x_23); +lean_ctor_set(x_26, 5, x_24); +if (x_18 == 0) { -lean_object* x_33; -x_33 = lean_box(0); -x_25 = x_33; -goto block_32; +lean_object* x_27; lean_object* x_28; +x_27 = lean_box(0); +lean_inc(x_7); +x_28 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4(x_6, x_2, x_1, x_15, x_27, x_7, x_8, x_9, x_10, x_26, x_12, x_13); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = 1; +x_32 = x_4 + x_31; +x_4 = x_32; +x_6 = x_29; +x_13 = x_30; +goto _start; } else { -lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_34 = lean_unsigned_to_nat(5u); -x_35 = l_Lean_Syntax_getArg(x_1, x_34); -x_36 = l_Lean_Syntax_isNone(x_35); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = l_Lean_Syntax_getArg(x_35, x_23); -lean_dec(x_35); -x_38 = lean_unsigned_to_nat(1u); -x_39 = l_Lean_Syntax_getArg(x_37, x_38); -lean_dec(x_37); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_39); -x_25 = x_40; -goto block_32; -} -else -{ -lean_object* x_41; -lean_dec(x_35); -x_41 = lean_box(0); -x_25 = x_41; -goto block_32; -} -} -block_32: -{ -if (x_24 == 0) -{ -lean_object* x_26; -lean_dec(x_25); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_18); -lean_dec(x_17); +uint8_t x_34; lean_dec(x_7); -lean_dec(x_5); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_3); -lean_ctor_set(x_26, 1, x_9); -return x_26; -} -else +x_34 = !lean_is_exclusive(x_28); +if (x_34 == 0) { -uint8_t x_27; -x_27 = lean_nat_dec_le(x_22, x_22); -if (x_27 == 0) -{ -lean_object* x_28; -lean_dec(x_25); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_7); -lean_dec(x_5); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_3); -lean_ctor_set(x_28, 1, x_9); return x_28; } else { -size_t x_29; size_t x_30; lean_object* x_31; -x_29 = 0; -x_30 = lean_usize_of_nat(x_22); -lean_dec(x_22); -x_31 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7(x_4, x_2, x_5, x_15, x_17, x_18, x_25, x_21, x_29, x_30, x_3, x_7, x_8, x_9); -lean_dec(x_21); -return x_31; -} -} -} -} -} -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid 'protected' field in a 'private' structure"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; -x_11 = l_Lean_Elab_Modifiers_isProtected(x_5); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_box(0); -x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__1(x_1, x_2, x_3, x_4, x_5, x_12, x_8, x_9, x_10); -return x_13; -} -else -{ -uint8_t x_14; -x_14 = l_Lean_Elab_Modifiers_isPrivate(x_6); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_box(0); -x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__1(x_1, x_2, x_3, x_4, x_5, x_15, x_8, x_9, x_10); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -lean_dec(x_5); -lean_dec(x_3); -x_17 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__3; -x_18 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_17, x_8, x_9, x_10); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -return x_18; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_18); -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; -} -} -} -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid 'private' field in a 'private' structure"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3(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) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -lean_inc(x_6); -x_11 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1(x_10, x_6, x_7, x_8); -lean_dec(x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -lean_inc(x_6); -x_14 = l_Lean_Elab_Command_checkValidFieldModifier(x_12, x_6, x_7, x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -x_16 = l_Lean_Elab_Modifiers_isPrivate(x_12); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_box(0); -x_18 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2(x_1, x_5, x_2, x_3, x_12, x_4, x_17, x_6, x_7, x_15); -return x_18; -} -else -{ -uint8_t x_19; -x_19 = l_Lean_Elab_Modifiers_isPrivate(x_4); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_box(0); -x_21 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2(x_1, x_5, x_2, x_3, x_12, x_4, x_20, x_6, x_7, x_15); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -lean_dec(x_12); -lean_dec(x_2); -x_22 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__3; -x_23 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_22, x_6, x_7, x_15); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -return x_23; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_23); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -} -} -else -{ -uint8_t x_28; -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_2); -x_28 = !lean_is_exclusive(x_14); -if (x_28 == 0) -{ -return x_14; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_14, 0); -x_30 = lean_ctor_get(x_14, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_14); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} -else -{ -uint8_t x_32; -lean_dec(x_6); -lean_dec(x_2); -x_32 = !lean_is_exclusive(x_11); -if (x_32 == 0) -{ -return x_11; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_11, 0); -x_34 = lean_ctor_get(x_11, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_11); -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; -} -} -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("structExplicitBinder"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; -x_2 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("structImplicitBinder"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; -x_2 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("structInstBinder"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; -x_2 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("unexpected kind of structure field"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__7; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__8; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___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) { -_start: -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -lean_inc(x_4); -x_9 = l_Lean_Syntax_getKind(x_4); -x_10 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__2; -x_11 = lean_name_eq(x_9, x_10); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__4; -x_13 = lean_name_eq(x_9, x_12); -if (x_13 == 0) -{ -lean_object* x_14; uint8_t x_15; -x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__6; -x_15 = lean_name_eq(x_9, x_14); -lean_dec(x_9); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -lean_dec(x_4); -lean_dec(x_1); -x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__9; -x_17 = l_Lean_throwError___at_Lean_Elab_Command_elabEnd___spec__1___rarg(x_16, x_6, x_7, x_8); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -return x_17; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_17); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -else -{ -uint8_t x_22; lean_object* x_23; -x_22 = 3; -x_23 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3(x_4, x_1, x_2, x_3, x_22, x_6, x_7, x_8); -lean_dec(x_4); -return x_23; -} -} -else -{ -uint8_t x_24; lean_object* x_25; -lean_dec(x_9); -x_24 = 1; -x_25 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3(x_4, x_1, x_2, x_3, x_24, x_6, x_7, x_8); -lean_dec(x_4); -return x_25; -} -} -else -{ -uint8_t x_26; lean_object* x_27; -lean_dec(x_9); -x_26 = 0; -x_27 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3(x_4, x_1, x_2, x_3, x_26, x_6, x_7, x_8); -lean_dec(x_4); -return x_27; -} -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("structSimpleBinder"); -return x_1; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__2; -x_2 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(7u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8(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) { -_start: -{ -uint8_t x_10; -x_10 = x_4 == x_5; -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_73; -x_11 = lean_array_uget(x_3, x_4); -lean_inc(x_11); -x_12 = l_Lean_Syntax_getKind(x_11); -x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__2; -x_14 = lean_name_eq(x_12, x_13); -lean_dec(x_12); -x_73 = l_Lean_Elab_Command_getRef(x_7, x_8, x_9); -if (x_14 == 0) -{ -lean_object* x_74; lean_object* x_75; uint8_t x_76; -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_76 = 0; -x_15 = x_76; -x_16 = x_74; -x_17 = x_75; -goto block_72; -} -else -{ -lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_77 = lean_ctor_get(x_73, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_73, 1); -lean_inc(x_78); -lean_dec(x_73); -x_79 = 1; -x_15 = x_79; -x_16 = x_77; -x_17 = x_78; -goto block_72; -} -block_72: -{ -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; -x_18 = l_Lean_replaceRef(x_11, x_16); -lean_dec(x_16); -x_19 = lean_ctor_get(x_7, 0); -x_20 = lean_ctor_get(x_7, 1); -x_21 = lean_ctor_get(x_7, 2); -x_22 = lean_ctor_get(x_7, 3); -x_23 = lean_ctor_get(x_7, 4); -x_24 = lean_ctor_get(x_7, 5); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -x_25 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_25, 0, x_19); -lean_ctor_set(x_25, 1, x_20); -lean_ctor_set(x_25, 2, x_21); -lean_ctor_set(x_25, 3, x_22); -lean_ctor_set(x_25, 4, x_23); -lean_ctor_set(x_25, 5, x_24); -lean_ctor_set(x_25, 6, x_18); -if (x_15 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_box(0); -x_27 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4(x_6, x_2, x_1, x_11, x_26, x_25, x_8, x_17); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; -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 = 1; -x_31 = x_4 + x_30; -x_4 = x_31; -x_6 = x_28; -x_9 = x_29; -goto _start; -} -else -{ -uint8_t x_33; -x_33 = !lean_is_exclusive(x_27); -if (x_33 == 0) -{ -return x_27; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_27, 0); -x_35 = lean_ctor_get(x_27, 1); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_28, 0); +x_36 = lean_ctor_get(x_28, 1); +lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_27); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_dec(x_28); +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_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_37 = lean_unsigned_to_nat(0u); -x_38 = l_Lean_Syntax_getArg(x_11, x_37); -x_39 = l_myMacro____x40_Init_Notation___hyg_5739____closed__9; -x_40 = l_Lean_mkAtomFrom(x_11, x_39); -x_41 = lean_unsigned_to_nat(1u); -x_42 = l_Lean_Syntax_getArg(x_11, x_41); -x_43 = lean_unsigned_to_nat(2u); -x_44 = l_Lean_Syntax_getArg(x_11, x_43); -x_45 = lean_unsigned_to_nat(3u); -x_46 = l_Lean_Syntax_getArg(x_11, x_45); -x_47 = lean_unsigned_to_nat(4u); -x_48 = l_Lean_Syntax_getArg(x_11, x_47); -x_49 = l_myMacro____x40_Init_Notation___hyg_5739____closed__21; -x_50 = l_Lean_mkAtomFrom(x_11, x_49); -lean_dec(x_11); -x_51 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__3; -x_52 = lean_array_push(x_51, x_38); -x_53 = lean_array_push(x_52, x_40); -x_54 = lean_array_push(x_53, x_42); -x_55 = lean_array_push(x_54, x_44); -x_56 = lean_array_push(x_55, x_46); -x_57 = lean_array_push(x_56, x_48); -x_58 = lean_array_push(x_57, x_50); -x_59 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__2; -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -x_61 = lean_box(0); -x_62 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4(x_6, x_2, x_1, x_60, x_61, x_25, x_8, x_17); -if (lean_obj_tag(x_62) == 0) +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_38 = lean_unsigned_to_nat(0u); +x_39 = l_Lean_Syntax_getArg(x_15, x_38); +x_40 = l_myMacro____x40_Init_Notation___hyg_5739____closed__9; +x_41 = l_Lean_mkAtomFrom(x_15, x_40); +x_42 = lean_unsigned_to_nat(1u); +x_43 = l_Lean_Syntax_getArg(x_15, x_42); +x_44 = lean_unsigned_to_nat(2u); +x_45 = l_Lean_Syntax_getArg(x_15, x_44); +x_46 = lean_unsigned_to_nat(3u); +x_47 = l_Lean_Syntax_getArg(x_15, x_46); +x_48 = lean_unsigned_to_nat(4u); +x_49 = l_Lean_Syntax_getArg(x_15, x_48); +x_50 = l_myMacro____x40_Init_Notation___hyg_5739____closed__21; +x_51 = l_Lean_mkAtomFrom(x_15, x_50); +lean_dec(x_15); +x_52 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__3; +x_53 = lean_array_push(x_52, x_39); +x_54 = lean_array_push(x_53, x_41); +x_55 = lean_array_push(x_54, x_43); +x_56 = lean_array_push(x_55, x_45); +x_57 = lean_array_push(x_56, x_47); +x_58 = lean_array_push(x_57, x_49); +x_59 = lean_array_push(x_58, x_51); +x_60 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__2; +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +x_62 = lean_box(0); +lean_inc(x_7); +x_63 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4(x_6, x_2, x_1, x_61, x_62, x_7, x_8, x_9, x_10, x_26, x_12, x_13); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_63; lean_object* x_64; size_t x_65; size_t x_66; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); +lean_object* x_64; lean_object* x_65; size_t x_66; size_t x_67; +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_62); -x_65 = 1; -x_66 = x_4 + x_65; -x_4 = x_66; -x_6 = x_63; -x_9 = x_64; +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = 1; +x_67 = x_4 + x_66; +x_4 = x_67; +x_6 = x_64; +x_13 = x_65; goto _start; } else { -uint8_t x_68; -x_68 = !lean_is_exclusive(x_62); -if (x_68 == 0) +uint8_t x_69; +lean_dec(x_7); +x_69 = !lean_is_exclusive(x_63); +if (x_69 == 0) { -return x_62; +return x_63; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_62, 0); -x_70 = lean_ctor_get(x_62, 1); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_63, 0); +x_71 = lean_ctor_get(x_63, 1); +lean_inc(x_71); lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_62); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} +lean_dec(x_63); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } } else { -lean_object* x_80; -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_6); -lean_ctor_set(x_80, 1, x_9); -return x_80; -} -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__9(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) { -_start: -{ -uint8_t x_10; -x_10 = x_4 == x_5; -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_73; -x_11 = lean_array_uget(x_3, x_4); -lean_inc(x_11); -x_12 = l_Lean_Syntax_getKind(x_11); -x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__2; -x_14 = lean_name_eq(x_12, x_13); -lean_dec(x_12); -x_73 = l_Lean_Elab_Command_getRef(x_7, x_8, x_9); -if (x_14 == 0) -{ -lean_object* x_74; lean_object* x_75; uint8_t x_76; -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_76 = 0; -x_15 = x_76; -x_16 = x_74; -x_17 = x_75; -goto block_72; -} -else -{ -lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_77 = lean_ctor_get(x_73, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_73, 1); -lean_inc(x_78); -lean_dec(x_73); -x_79 = 1; -x_15 = x_79; -x_16 = x_77; -x_17 = x_78; -goto block_72; -} -block_72: -{ -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; -x_18 = l_Lean_replaceRef(x_11, x_16); -lean_dec(x_16); -x_19 = lean_ctor_get(x_7, 0); -x_20 = lean_ctor_get(x_7, 1); -x_21 = lean_ctor_get(x_7, 2); -x_22 = lean_ctor_get(x_7, 3); -x_23 = lean_ctor_get(x_7, 4); -x_24 = lean_ctor_get(x_7, 5); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -x_25 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_25, 0, x_19); -lean_ctor_set(x_25, 1, x_20); -lean_ctor_set(x_25, 2, x_21); -lean_ctor_set(x_25, 3, x_22); -lean_ctor_set(x_25, 4, x_23); -lean_ctor_set(x_25, 5, x_24); -lean_ctor_set(x_25, 6, x_18); -if (x_15 == 0) -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_box(0); -x_27 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4(x_6, x_2, x_1, x_11, x_26, x_25, x_8, x_17); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; -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 = 1; -x_31 = x_4 + x_30; -x_4 = x_31; -x_6 = x_28; -x_9 = x_29; -goto _start; -} -else -{ -uint8_t x_33; -x_33 = !lean_is_exclusive(x_27); -if (x_33 == 0) -{ -return x_27; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_27, 0); -x_35 = lean_ctor_get(x_27, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_27); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_37 = lean_unsigned_to_nat(0u); -x_38 = l_Lean_Syntax_getArg(x_11, x_37); -x_39 = l_myMacro____x40_Init_Notation___hyg_5739____closed__9; -x_40 = l_Lean_mkAtomFrom(x_11, x_39); -x_41 = lean_unsigned_to_nat(1u); -x_42 = l_Lean_Syntax_getArg(x_11, x_41); -x_43 = lean_unsigned_to_nat(2u); -x_44 = l_Lean_Syntax_getArg(x_11, x_43); -x_45 = lean_unsigned_to_nat(3u); -x_46 = l_Lean_Syntax_getArg(x_11, x_45); -x_47 = lean_unsigned_to_nat(4u); -x_48 = l_Lean_Syntax_getArg(x_11, x_47); -x_49 = l_myMacro____x40_Init_Notation___hyg_5739____closed__21; -x_50 = l_Lean_mkAtomFrom(x_11, x_49); -lean_dec(x_11); -x_51 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__3; -x_52 = lean_array_push(x_51, x_38); -x_53 = lean_array_push(x_52, x_40); -x_54 = lean_array_push(x_53, x_42); -x_55 = lean_array_push(x_54, x_44); -x_56 = lean_array_push(x_55, x_46); -x_57 = lean_array_push(x_56, x_48); -x_58 = lean_array_push(x_57, x_50); -x_59 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__2; -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -x_61 = lean_box(0); -x_62 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4(x_6, x_2, x_1, x_60, x_61, x_25, x_8, x_17); -if (lean_obj_tag(x_62) == 0) -{ -lean_object* x_63; lean_object* x_64; size_t x_65; size_t x_66; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = 1; -x_66 = x_4 + x_65; -x_4 = x_66; -x_6 = x_63; -x_9 = x_64; -goto _start; -} -else -{ -uint8_t x_68; -x_68 = !lean_is_exclusive(x_62); -if (x_68 == 0) -{ -return x_62; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_62, 0); -x_70 = lean_ctor_get(x_62, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_62); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -} -} -} -else -{ -lean_object* x_80; -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_6); -lean_ctor_set(x_80, 1, x_9); -return x_80; +lean_object* x_73; +lean_dec(x_7); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_6); +lean_ctor_set(x_73, 1, x_13); +return x_73; } } } @@ -5335,342 +5401,428 @@ x_2 = lean_usize_of_nat(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_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_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_unsigned_to_nat(5u); -x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_9 = l_Lean_Syntax_isNone(x_8); -if (x_9 == 0) +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_unsigned_to_nat(5u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Syntax_isNone(x_12); +if (x_13 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_10 = lean_unsigned_to_nat(2u); -x_11 = l_Lean_Syntax_getArg(x_8, x_10); -lean_dec(x_8); -x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Lean_Syntax_getArg(x_11, x_12); -lean_dec(x_11); -x_14 = l_Lean_Syntax_getArgs(x_13); -lean_dec(x_13); -x_15 = lean_array_get_size(x_14); -x_16 = lean_nat_dec_lt(x_12, x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_14 = lean_unsigned_to_nat(2u); +x_15 = l_Lean_Syntax_getArg(x_12, x_14); +lean_dec(x_12); +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Lean_Syntax_getArg(x_15, x_16); lean_dec(x_15); -lean_dec(x_14); -x_17 = l_Array_empty___closed__1; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_6); -return x_18; +x_18 = l_Lean_Syntax_getArgs(x_17); +lean_dec(x_17); +x_19 = lean_array_get_size(x_18); +x_20 = lean_nat_dec_lt(x_16, x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_4); +x_21 = l_Array_empty___closed__1; +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_10); +return x_22; } else { -uint8_t x_19; -x_19 = lean_nat_dec_le(x_15, x_15); -if (x_19 == 0) +uint8_t x_23; +x_23 = lean_nat_dec_le(x_19, x_19); +if (x_23 == 0) { -lean_object* x_20; lean_object* x_21; -lean_dec(x_15); -lean_dec(x_14); -x_20 = l_Array_empty___closed__1; -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_6); -return x_21; -} -else -{ -size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; -x_22 = 0; -x_23 = lean_usize_of_nat(x_15); -lean_dec(x_15); +lean_object* x_24; lean_object* x_25; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_4); x_24 = l_Array_empty___closed__1; -x_25 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8(x_2, x_3, x_14, x_22, x_23, x_24, x_4, x_5, x_6); -lean_dec(x_14); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_10); return x_25; } +else +{ +size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; +x_26 = 0; +x_27 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_28 = l_Array_empty___closed__1; +x_29 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7(x_2, x_3, x_18, x_26, x_27, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_18); +return x_29; +} } } else { -uint8_t x_26; -lean_dec(x_8); -x_26 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__1; -if (x_26 == 0) +uint8_t x_30; +lean_dec(x_12); +x_30 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__1; +if (x_30 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = l_Array_empty___closed__1; -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_6); -return x_28; +lean_object* x_31; lean_object* x_32; +lean_dec(x_4); +x_31 = l_Array_empty___closed__1; +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_10); +return x_32; } else { -uint8_t x_29; -x_29 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__2; -if (x_29 == 0) +uint8_t x_33; +x_33 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__2; +if (x_33 == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = l_Array_empty___closed__1; -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_6); -return x_31; -} -else -{ -size_t x_32; lean_object* x_33; size_t x_34; lean_object* x_35; -x_32 = 0; -x_33 = l_Array_empty___closed__1; -x_34 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__3; -x_35 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__9(x_2, x_3, x_33, x_32, x_34, x_33, x_4, x_5, x_6); +lean_object* x_34; lean_object* x_35; +lean_dec(x_4); +x_34 = l_Array_empty___closed__1; +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_10); return x_35; } -} -} -} -} -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: +else { -lean_object* x_6; -x_6 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; +size_t x_36; lean_object* x_37; size_t x_38; lean_object* x_39; +x_36 = 0; +x_37 = l_Array_empty___closed__1; +x_38 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__3; +x_39 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8(x_2, x_3, x_37, x_36, x_38, x_37, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_39; } } -lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___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_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; } } -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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) { -_start: -{ -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_9 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_10 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5(x_1, x_8, x_9, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_1); -return x_10; } -} -lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3___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_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__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_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___rarg___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_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___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: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_6); -lean_dec(x_6); -x_11 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_10, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___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* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___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: { lean_object* x_10; -x_10 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4___lambda__1(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); lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_5; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; uint8_t x_16; lean_object* x_17; -x_15 = lean_unbox(x_5); -lean_dec(x_5); -x_16 = lean_unbox(x_6); -lean_dec(x_6); -x_17 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__1(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_1); -return x_17; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; -x_15 = lean_unbox(x_2); -lean_dec(x_2); -x_16 = lean_unbox(x_4); -lean_dec(x_4); -x_17 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_18 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_19 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7(x_1, x_15, x_3, x_16, x_5, x_6, x_7, x_8, x_17, x_18, x_11, x_12, x_13, x_14); -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_1); -return x_19; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_2); -lean_dec(x_2); -x_11 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__1(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -return x_11; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_2); -lean_dec(x_2); -x_12 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -return x_12; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_5); -lean_dec(x_5); -x_10 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3(x_1, x_2, x_3, x_4, x_9, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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* l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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) { _start: { lean_object* x_9; -x_9 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_elabAttr___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, 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); return x_9; } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_11 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_12 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8(x_1, x_2, x_3, x_10, x_11, x_6, x_7, x_8, x_9); +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5(x_1, x_12, x_13, 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_7); +lean_dec(x_6); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_elabDeclAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_6); +lean_dec(x_6); +x_15 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_14, 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_9); +lean_dec(x_8); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_12; +return x_15; } } -lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___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) { _start: { -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_11 = lean_unbox_usize(x_5); +lean_object* x_14; +x_14 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___lambda__2(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_9); +lean_dec(x_8); lean_dec(x_5); -x_12 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__9(x_1, x_2, x_3, x_10, x_11, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_elabModifiers___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___lambda__1___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]; +lean_object* x_18 = _args[17]; +_start: +{ +uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_19 = lean_unbox(x_5); +lean_dec(x_5); +x_20 = lean_unbox(x_6); +lean_dec(x_6); +x_21 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___lambda__1(x_1, x_2, x_3, x_4, x_19, x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, 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_1); +return x_21; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__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]; +lean_object* x_18 = _args[17]; +_start: +{ +uint8_t x_19; uint8_t x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_19 = lean_unbox(x_2); +lean_dec(x_2); +x_20 = lean_unbox(x_4); +lean_dec(x_4); +x_21 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_22 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_23 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6(x_1, x_19, x_3, x_20, x_5, x_6, x_7, x_8, x_21, x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17, 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_8); +lean_dec(x_1); +return x_23; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_2); +lean_dec(x_2); +x_15 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__1(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_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_4); +lean_dec(x_1); +return x_15; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_2); +lean_dec(x_2); +x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2(x_1, x_15, 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_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_4); +lean_dec(x_1); +return x_16; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_5); +lean_dec(x_5); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_12; -} -} -lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(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_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___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); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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, 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_4); +lean_dec(x_4); +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7(x_1, x_2, x_3, x_14, x_15, 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_3); lean_dec(x_2); lean_dec(x_1); -return x_7; +return x_16; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8(x_1, x_2, x_3, x_14, x_15, 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_3); +lean_dec(x_2); +lean_dec(x_1); +return x_16; +} +} +lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___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___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(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); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_11; } } lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_validStructType_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -14947,67 +15099,67 @@ lean_inc(x_9); x_16 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParam(x_8, x_1, x_2, x_9, x_10, 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; lean_object* x_20; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; 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_205 = lean_ctor_get(x_13, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_13, 1); -lean_inc(x_206); -x_207 = lean_ctor_get(x_13, 2); -lean_inc(x_207); -x_208 = lean_ctor_get(x_13, 3); -lean_inc(x_208); -x_209 = lean_ctor_get(x_13, 4); -lean_inc(x_209); -x_210 = lean_ctor_get(x_13, 5); -lean_inc(x_210); -x_211 = l_Lean_replaceRef(x_5, x_208); -lean_dec(x_208); -x_212 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_212, 0, x_205); -lean_ctor_set(x_212, 1, x_206); -lean_ctor_set(x_212, 2, x_207); -lean_ctor_set(x_212, 3, x_211); -lean_ctor_set(x_212, 4, x_209); -lean_ctor_set(x_212, 5, x_210); +x_217 = lean_ctor_get(x_13, 0); +lean_inc(x_217); +x_218 = lean_ctor_get(x_13, 1); +lean_inc(x_218); +x_219 = lean_ctor_get(x_13, 2); +lean_inc(x_219); +x_220 = lean_ctor_get(x_13, 3); +lean_inc(x_220); +x_221 = lean_ctor_get(x_13, 4); +lean_inc(x_221); +x_222 = lean_ctor_get(x_13, 5); +lean_inc(x_222); +x_223 = l_Lean_replaceRef(x_4, x_220); +lean_dec(x_220); +x_224 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_224, 0, x_217); +lean_ctor_set(x_224, 1, x_218); +lean_ctor_set(x_224, 2, x_219); +lean_ctor_set(x_224, 3, x_223); +lean_ctor_set(x_224, 4, x_221); +lean_ctor_set(x_224, 5, x_222); if (x_6 == 0) { -lean_object* x_213; +lean_object* x_225; lean_inc(x_14); -lean_inc(x_212); +lean_inc(x_224); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); lean_inc(x_7); -x_213 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse(x_7, x_9, x_10, x_11, x_12, x_212, x_14, x_18); -if (lean_obj_tag(x_213) == 0) +x_225 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getResultUniverse(x_7, x_9, x_10, x_11, x_12, x_224, x_14, x_18); +if (lean_obj_tag(x_225) == 0) { -lean_object* x_214; lean_object* x_215; lean_object* x_216; -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); +lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_226 = lean_ctor_get(x_225, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_225, 1); +lean_inc(x_227); +lean_dec(x_225); lean_inc(x_9); -x_216 = l_Lean_Elab_Command_checkResultingUniverse(x_214, x_9, x_10, x_11, x_12, x_212, x_14, x_215); -lean_dec(x_212); -if (lean_obj_tag(x_216) == 0) +x_228 = l_Lean_Elab_Command_checkResultingUniverse(x_226, x_9, x_10, x_11, x_12, x_224, x_14, x_227); +lean_dec(x_224); +if (lean_obj_tag(x_228) == 0) { -lean_object* x_217; -x_217 = lean_ctor_get(x_216, 1); -lean_inc(x_217); -lean_dec(x_216); +lean_object* x_229; +x_229 = lean_ctor_get(x_228, 1); +lean_inc(x_229); +lean_dec(x_228); x_19 = x_7; -x_20 = x_217; -goto block_204; +x_20 = x_229; +goto block_216; } else { -uint8_t x_218; +uint8_t x_230; lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -15017,32 +15169,32 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); -x_218 = !lean_is_exclusive(x_216); -if (x_218 == 0) +x_230 = !lean_is_exclusive(x_228); +if (x_230 == 0) { -return x_216; +return x_228; } else { -lean_object* x_219; lean_object* x_220; lean_object* x_221; -x_219 = lean_ctor_get(x_216, 0); -x_220 = lean_ctor_get(x_216, 1); -lean_inc(x_220); -lean_inc(x_219); -lean_dec(x_216); -x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_219); -lean_ctor_set(x_221, 1, x_220); -return x_221; +lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_231 = lean_ctor_get(x_228, 0); +x_232 = lean_ctor_get(x_228, 1); +lean_inc(x_232); +lean_inc(x_231); +lean_dec(x_228); +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_231); +lean_ctor_set(x_233, 1, x_232); +return x_233; } } } else { -uint8_t x_222; -lean_dec(x_212); +uint8_t x_234; +lean_dec(x_224); lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -15052,51 +15204,51 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); -x_222 = !lean_is_exclusive(x_213); -if (x_222 == 0) +x_234 = !lean_is_exclusive(x_225); +if (x_234 == 0) { -return x_213; -} -else -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_223 = lean_ctor_get(x_213, 0); -x_224 = lean_ctor_get(x_213, 1); -lean_inc(x_224); -lean_inc(x_223); -lean_dec(x_213); -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_223); -lean_ctor_set(x_225, 1, x_224); return x_225; } +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_235 = lean_ctor_get(x_225, 0); +x_236 = lean_ctor_get(x_225, 1); +lean_inc(x_236); +lean_inc(x_235); +lean_dec(x_225); +x_237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_237, 0, x_235); +lean_ctor_set(x_237, 1, x_236); +return x_237; +} } } else { -lean_object* x_226; +lean_object* x_238; lean_inc(x_14); lean_inc(x_12); lean_inc(x_11); lean_inc(x_9); -x_226 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse(x_17, x_7, x_9, x_10, x_11, x_12, x_212, x_14, x_18); -if (lean_obj_tag(x_226) == 0) +x_238 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_updateResultingUniverse(x_17, x_7, x_9, x_10, x_11, x_12, x_224, x_14, x_18); +if (lean_obj_tag(x_238) == 0) { -lean_object* x_227; lean_object* x_228; -x_227 = lean_ctor_get(x_226, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_226, 1); -lean_inc(x_228); -lean_dec(x_226); -x_19 = x_227; -x_20 = x_228; -goto block_204; +lean_object* x_239; lean_object* x_240; +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_238); +x_19 = x_239; +x_20 = x_240; +goto block_216; } else { -uint8_t x_229; +uint8_t x_241; lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -15105,70 +15257,70 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); -x_229 = !lean_is_exclusive(x_226); -if (x_229 == 0) +x_241 = !lean_is_exclusive(x_238); +if (x_241 == 0) { -return x_226; +return x_238; } else { -lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_230 = lean_ctor_get(x_226, 0); -x_231 = lean_ctor_get(x_226, 1); -lean_inc(x_231); -lean_inc(x_230); -lean_dec(x_226); -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_230); -lean_ctor_set(x_232, 1, x_231); -return x_232; +lean_object* x_242; lean_object* x_243; lean_object* x_244; +x_242 = lean_ctor_get(x_238, 0); +x_243 = lean_ctor_get(x_238, 1); +lean_inc(x_243); +lean_inc(x_242); +lean_dec(x_238); +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_242); +lean_ctor_set(x_244, 1, x_243); +return x_244; } } } -block_204: +block_216: { -lean_object* x_21; uint8_t x_181; lean_object* x_182; lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; -x_192 = lean_st_ref_get(x_14, x_20); -x_193 = lean_ctor_get(x_192, 0); -lean_inc(x_193); -x_194 = lean_ctor_get(x_193, 3); -lean_inc(x_194); -lean_dec(x_193); -x_195 = lean_ctor_get_uint8(x_194, sizeof(void*)*1); -lean_dec(x_194); -if (x_195 == 0) +lean_object* x_21; uint8_t x_193; lean_object* x_194; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_204 = lean_st_ref_get(x_14, x_20); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_205, 3); +lean_inc(x_206); +lean_dec(x_205); +x_207 = lean_ctor_get_uint8(x_206, sizeof(void*)*1); +lean_dec(x_206); +if (x_207 == 0) { -lean_object* x_196; uint8_t x_197; -x_196 = lean_ctor_get(x_192, 1); -lean_inc(x_196); -lean_dec(x_192); -x_197 = 0; -x_181 = x_197; -x_182 = x_196; -goto block_191; +lean_object* x_208; uint8_t x_209; +x_208 = lean_ctor_get(x_204, 1); +lean_inc(x_208); +lean_dec(x_204); +x_209 = 0; +x_193 = x_209; +x_194 = x_208; +goto block_203; } else { -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_198 = lean_ctor_get(x_192, 1); -lean_inc(x_198); -lean_dec(x_192); -x_199 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2; -x_200 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_199, x_9, x_10, x_11, x_12, x_13, x_14, x_198); -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_unbox(x_201); -lean_dec(x_201); -x_181 = x_203; -x_182 = x_202; -goto block_191; +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; +x_210 = lean_ctor_get(x_204, 1); +lean_inc(x_210); +lean_dec(x_204); +x_211 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2; +x_212 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_211, x_9, x_10, x_11, x_12, x_13, x_14, x_210); +x_213 = lean_ctor_get(x_212, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_212, 1); +lean_inc(x_214); +lean_dec(x_212); +x_215 = lean_unbox(x_213); +lean_dec(x_213); +x_193 = x_215; +x_194 = x_214; +goto block_203; } -block_180: +block_192: { lean_object* x_22; lean_inc(x_14); @@ -15192,11 +15344,11 @@ lean_inc(x_26); x_27 = l_Lean_Elab_sortDeclLevelParams(x_25, x_26, x_23); if (lean_obj_tag(x_27) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_dec(x_19); lean_dec(x_17); lean_dec(x_8); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); @@ -15205,422 +15357,395 @@ x_29 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_29, 0, x_28); x_30 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_30, 0, x_29); -x_31 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_30, x_9, x_10, x_11, x_12, x_13, x_14, x_24); +x_31 = !lean_is_exclusive(x_13); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_13, 3); +x_33 = l_Lean_replaceRef(x_4, x_32); +lean_dec(x_32); +lean_ctor_set(x_13, 3, x_33); +x_34 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_30, x_9, x_10, x_11, x_12, x_13, x_14, x_24); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -return x_31; +return x_34; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_27, 0); -lean_inc(x_32); -lean_dec(x_27); -x_33 = l_Array_append___rarg(x_8, x_1); -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_33); -lean_inc(x_32); -lean_inc(x_3); -x_34 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor(x_3, x_32, x_33, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_24); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -lean_inc(x_11); -lean_inc(x_33); -x_37 = l_Lean_Meta_mkForallFVarsImp(x_33, x_19, x_11, x_12, x_13, x_14, x_36); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); +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_35 = lean_ctor_get(x_13, 0); +x_36 = lean_ctor_get(x_13, 1); +x_37 = lean_ctor_get(x_13, 2); +x_38 = lean_ctor_get(x_13, 3); +x_39 = lean_ctor_get(x_13, 4); +x_40 = lean_ctor_get(x_13, 5); +lean_inc(x_40); lean_inc(x_39); -lean_dec(x_37); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_40 = l_Lean_Meta_instantiateMVarsImp(x_38, x_11, x_12, x_13, x_14, x_39); -if (lean_obj_tag(x_40) == 0) +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_13); +x_41 = l_Lean_replaceRef(x_4, x_38); +lean_dec(x_38); +x_42 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_42, 0, x_35); +lean_ctor_set(x_42, 1, x_36); +lean_ctor_set(x_42, 2, x_37); +lean_ctor_set(x_42, 3, x_41); +lean_ctor_set(x_42, 4, x_39); +lean_ctor_set(x_42, 5, x_40); +x_43 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_30, x_9, x_10, x_11, x_12, x_42, x_14, x_24); +lean_dec(x_14); +lean_dec(x_42); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +return x_43; +} +} +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; uint8_t x_50; lean_object* x_51; lean_object* x_52; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_ctor_get(x_3, 4); -lean_inc(x_43); -x_44 = lean_box(0); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_35); -lean_ctor_set(x_45, 1, x_44); -lean_inc(x_43); -x_46 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_46, 0, x_43); -lean_ctor_set(x_46, 1, x_41); -lean_ctor_set(x_46, 2, x_45); -x_47 = lean_array_get_size(x_33); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_44); -x_49 = lean_ctor_get(x_3, 1); -lean_inc(x_49); -x_50 = lean_ctor_get_uint8(x_49, sizeof(void*)*2 + 3); -lean_inc(x_47); -x_51 = lean_alloc_ctor(6, 3, 1); -lean_ctor_set(x_51, 0, x_32); -lean_ctor_set(x_51, 1, x_47); -lean_ctor_set(x_51, 2, x_48); -lean_ctor_set_uint8(x_51, sizeof(void*)*3, x_50); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_27, 0); +lean_inc(x_44); +lean_dec(x_27); +x_45 = l_Array_append___rarg(x_8, x_1); 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_45); +lean_inc(x_44); +lean_inc(x_3); +x_46 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCtor(x_3, x_44, x_45, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_24); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +lean_inc(x_11); +lean_inc(x_45); +x_49 = l_Lean_Meta_mkForallFVarsImp(x_45, x_19, x_11, x_12, x_13, x_14, x_48); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); lean_inc(x_51); -x_52 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_51, x_9, x_10, x_11, x_12, x_13, x_14, x_42); +lean_dec(x_49); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_52 = l_Lean_Meta_instantiateMVarsImp(x_50, x_11, x_12, x_13, x_14, x_51); if (lean_obj_tag(x_52) == 0) { -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_52, 1); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; +x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); lean_dec(x_52); -lean_inc(x_13); -lean_inc(x_9); -x_54 = l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(x_51, x_9, x_10, x_11, x_12, x_13, x_14, x_53); -lean_dec(x_51); -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_122; uint8_t x_123; uint8_t x_124; lean_object* x_125; -x_55 = lean_ctor_get(x_54, 1); +x_55 = lean_ctor_get(x_3, 4); lean_inc(x_55); -lean_dec(x_54); -x_56 = lean_array_get_size(x_17); -x_122 = lean_unsigned_to_nat(0u); -x_123 = lean_nat_dec_lt(x_122, x_56); -x_124 = lean_ctor_get_uint8(x_3, sizeof(void*)*11); -lean_dec(x_3); -if (x_123 == 0) -{ -lean_inc(x_4); -x_125 = x_4; -goto block_151; -} -else -{ -uint8_t x_152; -x_152 = lean_nat_dec_le(x_56, x_56); -if (x_152 == 0) -{ -lean_inc(x_4); -x_125 = x_4; -goto block_151; -} -else -{ -size_t x_153; size_t x_154; lean_object* x_155; -x_153 = 0; -x_154 = lean_usize_of_nat(x_56); -lean_inc(x_4); -x_155 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10(x_17, x_153, x_154, x_4); -x_125 = x_155; -goto block_151; -} -} -block_121: -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; uint8_t x_63; lean_object* x_64; -x_59 = lean_array_to_list(lean_box(0), x_57); -x_60 = l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__1(x_59); -x_61 = lean_ctor_get(x_49, 1); +x_56 = lean_box(0); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_47); +lean_ctor_set(x_57, 1, x_56); +lean_inc(x_55); +x_58 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_58, 0, x_55); +lean_ctor_set(x_58, 1, x_53); +lean_ctor_set(x_58, 2, x_57); +x_59 = lean_array_get_size(x_45); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_56); +x_61 = lean_ctor_get(x_3, 1); lean_inc(x_61); -lean_dec(x_49); -x_62 = 0; -x_63 = 1; +x_62 = lean_ctor_get_uint8(x_61, sizeof(void*)*2 + 3); +lean_inc(x_59); +x_63 = lean_alloc_ctor(6, 3, 1); +lean_ctor_set(x_63, 0, x_44); +lean_ctor_set(x_63, 1, x_59); +lean_ctor_set(x_63, 2, x_60); +lean_ctor_set_uint8(x_63, sizeof(void*)*3, x_62); lean_inc(x_14); lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); -x_64 = l_Lean_Elab_Term_applyAttributesAt(x_43, x_61, x_62, x_63, x_9, x_10, x_11, x_12, x_13, x_14, x_58); -lean_dec(x_61); +lean_inc(x_63); +x_64 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_63, x_9, x_10, x_11, x_12, x_13, x_14, x_54); if (lean_obj_tag(x_64) == 0) { lean_object* x_65; lean_object* x_66; x_65 = lean_ctor_get(x_64, 1); lean_inc(x_65); lean_dec(x_64); -x_66 = l_List_forM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__3(x_60, x_9, x_10, x_11, x_12, x_13, x_14, x_65); +lean_inc(x_13); +lean_inc(x_9); +x_66 = l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___spec__1(x_63, x_9, x_10, x_11, x_12, x_13, x_14, x_65); +lean_dec(x_63); if (lean_obj_tag(x_66) == 0) { -lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; size_t x_71; lean_object* x_72; +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_134; uint8_t x_135; uint8_t x_136; lean_object* x_137; x_67 = lean_ctor_get(x_66, 1); lean_inc(x_67); lean_dec(x_66); -x_68 = lean_ctor_get(x_11, 1); -lean_inc(x_68); -x_69 = lean_unsigned_to_nat(0u); -x_70 = lean_nat_dec_lt(x_69, x_56); -x_71 = 0; -if (x_70 == 0) +x_68 = lean_array_get_size(x_17); +x_134 = lean_unsigned_to_nat(0u); +x_135 = lean_nat_dec_lt(x_134, x_68); +x_136 = lean_ctor_get_uint8(x_3, sizeof(void*)*11); +lean_dec(x_3); +if (x_135 == 0) { -x_72 = x_4; -goto block_109; +lean_inc(x_5); +x_137 = x_5; +goto block_163; } else { -uint8_t x_110; -x_110 = lean_nat_dec_le(x_56, x_56); -if (x_110 == 0) +uint8_t x_164; +x_164 = lean_nat_dec_le(x_68, x_68); +if (x_164 == 0) { -x_72 = x_4; -goto block_109; +lean_inc(x_5); +x_137 = x_5; +goto block_163; } else { -size_t x_111; lean_object* x_112; -x_111 = lean_usize_of_nat(x_56); -x_112 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__7(x_17, x_71, x_111, x_4); -x_72 = x_112; -goto block_109; +size_t x_165; size_t x_166; lean_object* x_167; +x_165 = 0; +x_166 = lean_usize_of_nat(x_68); +lean_inc(x_5); +x_167 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__10(x_17, x_165, x_166, x_5); +x_137 = x_167; +goto block_163; } } -block_109: +block_133: { -lean_object* x_73; size_t 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; -x_73 = lean_array_get_size(x_72); -x_74 = lean_usize_of_nat(x_73); +lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; uint8_t x_75; lean_object* x_76; +x_71 = lean_array_to_list(lean_box(0), x_69); +x_72 = l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__1(x_71); +x_73 = lean_ctor_get(x_61, 1); +lean_inc(x_73); +lean_dec(x_61); +x_74 = 0; +x_75 = 1; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_9); +x_76 = l_Lean_Elab_Term_applyAttributesAt(x_55, x_73, x_74, x_75, x_9, x_10, x_11, x_12, x_13, x_14, x_70); lean_dec(x_73); -x_75 = x_72; -x_76 = lean_box_usize(x_74); -x_77 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1; -x_78 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___boxed), 10, 3); -lean_closure_set(x_78, 0, x_76); -lean_closure_set(x_78, 1, x_77); -lean_closure_set(x_78, 2, x_75); -x_79 = x_78; +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +lean_dec(x_76); +x_78 = l_List_forM___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__3(x_72, x_9, x_10, x_11, x_12, x_13, x_14, x_77); +if (lean_obj_tag(x_78) == 0) +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; size_t x_83; lean_object* x_84; +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +x_80 = lean_ctor_get(x_11, 1); +lean_inc(x_80); +x_81 = lean_unsigned_to_nat(0u); +x_82 = lean_nat_dec_lt(x_81, x_68); +x_83 = 0; +if (x_82 == 0) +{ +x_84 = x_5; +goto block_121; +} +else +{ +uint8_t x_122; +x_122 = lean_nat_dec_le(x_68, x_68); +if (x_122 == 0) +{ +x_84 = x_5; +goto block_121; +} +else +{ +size_t x_123; lean_object* x_124; +x_123 = lean_usize_of_nat(x_68); +x_124 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__7(x_17, x_83, x_123, x_5); +x_84 = x_124; +goto block_121; +} +} +block_121: +{ +lean_object* x_85; size_t 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; +x_85 = lean_array_get_size(x_84); +x_86 = lean_usize_of_nat(x_85); +lean_dec(x_85); +x_87 = x_84; +x_88 = lean_box_usize(x_86); +x_89 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___boxed__const__1; +x_90 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__4___boxed), 10, 3); +lean_closure_set(x_90, 0, x_88); +lean_closure_set(x_90, 1, x_89); +lean_closure_set(x_90, 2, x_87); +x_91 = x_90; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_80 = lean_apply_7(x_79, x_9, x_10, x_11, x_12, x_13, x_14, x_67); -if (lean_obj_tag(x_80) == 0) +x_92 = lean_apply_7(x_91, x_9, x_10, x_11, x_12, x_13, x_14, x_79); +if (lean_obj_tag(x_92) == 0) { -lean_object* x_81; lean_object* x_82; uint8_t x_83; -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_nat_dec_lt(x_69, x_47); -if (x_83 == 0) +lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_nat_dec_lt(x_81, x_59); +if (x_95 == 0) { -lean_dec(x_47); -lean_dec(x_33); -if (x_70 == 0) +lean_dec(x_59); +lean_dec(x_45); +if (x_82 == 0) { -lean_object* x_84; -lean_dec(x_56); +lean_object* x_96; +lean_dec(x_68); lean_dec(x_17); -x_84 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_68, x_81, x_9, x_10, x_11, x_12, x_13, x_14, x_82); -return x_84; -} -else -{ -uint8_t x_85; -x_85 = lean_nat_dec_le(x_56, x_56); -if (x_85 == 0) -{ -lean_object* x_86; -lean_dec(x_56); -lean_dec(x_17); -x_86 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_68, x_81, x_9, x_10, x_11, x_12, x_13, x_14, x_82); -return x_86; -} -else -{ -size_t x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_usize_of_nat(x_56); -lean_dec(x_56); -x_88 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_17, x_71, x_87, x_68); -lean_dec(x_17); -x_89 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_88, x_81, x_9, x_10, x_11, x_12, x_13, x_14, x_82); -return x_89; -} -} -} -else -{ -uint8_t x_90; -x_90 = lean_nat_dec_le(x_47, x_47); -if (x_90 == 0) -{ -lean_dec(x_47); -lean_dec(x_33); -if (x_70 == 0) -{ -lean_object* x_91; -lean_dec(x_56); -lean_dec(x_17); -x_91 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_68, x_81, x_9, x_10, x_11, x_12, x_13, x_14, x_82); -return x_91; -} -else -{ -uint8_t x_92; -x_92 = lean_nat_dec_le(x_56, x_56); -if (x_92 == 0) -{ -lean_object* x_93; -lean_dec(x_56); -lean_dec(x_17); -x_93 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_68, x_81, x_9, x_10, x_11, x_12, x_13, x_14, x_82); -return x_93; -} -else -{ -size_t x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_usize_of_nat(x_56); -lean_dec(x_56); -x_95 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_17, x_71, x_94, x_68); -lean_dec(x_17); -x_96 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_95, x_81, x_9, x_10, x_11, x_12, x_13, x_14, x_82); +x_96 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_80, x_93, x_9, x_10, x_11, x_12, x_13, x_14, x_94); return x_96; } -} +else +{ +uint8_t x_97; +x_97 = lean_nat_dec_le(x_68, x_68); +if (x_97 == 0) +{ +lean_object* x_98; +lean_dec(x_68); +lean_dec(x_17); +x_98 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_80, x_93, x_9, x_10, x_11, x_12, x_13, x_14, x_94); +return x_98; } else { -size_t x_97; lean_object* x_98; -x_97 = lean_usize_of_nat(x_47); -lean_dec(x_47); -x_98 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__6(x_33, x_71, x_97, x_68); -lean_dec(x_33); -if (x_70 == 0) -{ -lean_object* x_99; -lean_dec(x_56); +size_t x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_usize_of_nat(x_68); +lean_dec(x_68); +x_100 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_17, x_83, x_99, x_80); lean_dec(x_17); -x_99 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_98, x_81, x_9, x_10, x_11, x_12, x_13, x_14, x_82); -return x_99; -} -else -{ -uint8_t x_100; -x_100 = lean_nat_dec_le(x_56, x_56); -if (x_100 == 0) -{ -lean_object* x_101; -lean_dec(x_56); -lean_dec(x_17); -x_101 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_98, x_81, x_9, x_10, x_11, x_12, x_13, x_14, x_82); +x_101 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_100, x_93, x_9, x_10, x_11, x_12, x_13, x_14, x_94); return x_101; } -else -{ -size_t x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_usize_of_nat(x_56); -lean_dec(x_56); -x_103 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_17, x_71, x_102, x_98); -lean_dec(x_17); -x_104 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_103, x_81, x_9, x_10, x_11, x_12, x_13, x_14, x_82); -return x_104; -} -} -} } } else { -uint8_t x_105; +uint8_t x_102; +x_102 = lean_nat_dec_le(x_59, x_59); +if (x_102 == 0) +{ +lean_dec(x_59); +lean_dec(x_45); +if (x_82 == 0) +{ +lean_object* x_103; lean_dec(x_68); -lean_dec(x_56); -lean_dec(x_47); -lean_dec(x_33); 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); -x_105 = !lean_is_exclusive(x_80); -if (x_105 == 0) -{ -return x_80; +x_103 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_80, x_93, x_9, x_10, x_11, x_12, x_13, x_14, x_94); +return x_103; } else { -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_80, 0); -x_107 = lean_ctor_get(x_80, 1); -lean_inc(x_107); -lean_inc(x_106); -lean_dec(x_80); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); +uint8_t x_104; +x_104 = lean_nat_dec_le(x_68, x_68); +if (x_104 == 0) +{ +lean_object* x_105; +lean_dec(x_68); +lean_dec(x_17); +x_105 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_80, x_93, x_9, x_10, x_11, x_12, x_13, x_14, x_94); +return x_105; +} +else +{ +size_t x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_usize_of_nat(x_68); +lean_dec(x_68); +x_107 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_17, x_83, x_106, x_80); +lean_dec(x_17); +x_108 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_107, x_93, x_9, x_10, x_11, x_12, x_13, x_14, x_94); return x_108; } } } -} else { -uint8_t x_113; -lean_dec(x_56); -lean_dec(x_47); -lean_dec(x_33); +size_t x_109; lean_object* x_110; +x_109 = lean_usize_of_nat(x_59); +lean_dec(x_59); +x_110 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__6(x_45, x_83, x_109, x_80); +lean_dec(x_45); +if (x_82 == 0) +{ +lean_object* x_111; +lean_dec(x_68); 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_4); -x_113 = !lean_is_exclusive(x_66); -if (x_113 == 0) -{ -return x_66; +x_111 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_110, x_93, x_9, x_10, x_11, x_12, x_13, x_14, x_94); +return x_111; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_66, 0); -x_115 = lean_ctor_get(x_66, 1); -lean_inc(x_115); -lean_inc(x_114); -lean_dec(x_66); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); +uint8_t x_112; +x_112 = lean_nat_dec_le(x_68, x_68); +if (x_112 == 0) +{ +lean_object* x_113; +lean_dec(x_68); +lean_dec(x_17); +x_113 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_110, x_93, x_9, x_10, x_11, x_12, x_13, x_14, x_94); +return x_113; +} +else +{ +size_t x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_usize_of_nat(x_68); +lean_dec(x_68); +x_115 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__5(x_17, x_83, x_114, x_110); +lean_dec(x_17); +x_116 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults(x_115, x_93, x_9, x_10, x_11, x_12, x_13, x_14, x_94); return x_116; } } } +} +} else { uint8_t x_117; -lean_dec(x_60); -lean_dec(x_56); -lean_dec(x_47); -lean_dec(x_33); +lean_dec(x_80); +lean_dec(x_68); +lean_dec(x_59); +lean_dec(x_45); lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -15628,20 +15753,19 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_4); -x_117 = !lean_is_exclusive(x_64); +x_117 = !lean_is_exclusive(x_92); if (x_117 == 0) { -return x_64; +return x_92; } else { lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_64, 0); -x_119 = lean_ctor_get(x_64, 1); +x_118 = lean_ctor_get(x_92, 0); +x_119 = lean_ctor_get(x_92, 1); lean_inc(x_119); lean_inc(x_118); -lean_dec(x_64); +lean_dec(x_92); x_120 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_120, 0, x_118); lean_ctor_set(x_120, 1, x_119); @@ -15649,83 +15773,153 @@ return x_120; } } } -block_151: +} +else +{ +uint8_t x_125; +lean_dec(x_68); +lean_dec(x_59); +lean_dec(x_45); +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_5); +x_125 = !lean_is_exclusive(x_78); +if (x_125 == 0) +{ +return x_78; +} +else { lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_array_to_list(lean_box(0), x_125); -x_127 = l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__8(x_126); -lean_inc(x_9); -lean_inc(x_43); -x_128 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections(x_43, x_127, x_124, x_9, x_10, x_11, x_12, x_13, x_14, x_55); -if (lean_obj_tag(x_128) == 0) +x_126 = lean_ctor_get(x_78, 0); +x_127 = lean_ctor_get(x_78, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_78); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +return x_128; +} +} +} +else { -lean_object* x_129; lean_object* x_130; -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -lean_dec(x_128); +uint8_t x_129; +lean_dec(x_72); +lean_dec(x_68); +lean_dec(x_59); +lean_dec(x_45); +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_5); +x_129 = !lean_is_exclusive(x_76); +if (x_129 == 0) +{ +return x_76; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_76, 0); +x_131 = lean_ctor_get(x_76, 1); +lean_inc(x_131); +lean_inc(x_130); +lean_dec(x_76); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +return x_132; +} +} +} +block_163: +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_array_to_list(lean_box(0), x_137); +x_139 = l_List_map___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__8(x_138); +lean_inc(x_9); +lean_inc(x_55); +x_140 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_addProjections(x_55, x_139, x_136, x_9, x_10, x_11, x_12, x_13, x_14, x_67); +if (lean_obj_tag(x_140) == 0) +{ +lean_object* x_141; lean_object* x_142; +x_141 = lean_ctor_get(x_140, 1); +lean_inc(x_141); +lean_dec(x_140); lean_inc(x_13); lean_inc(x_9); -x_130 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions(x_43, x_9, x_10, x_11, x_12, x_13, x_14, x_129); -if (lean_obj_tag(x_130) == 0) +x_142 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkAuxConstructions(x_55, x_9, x_10, x_11, x_12, x_13, x_14, x_141); +if (lean_obj_tag(x_142) == 0) { -if (x_123 == 0) +if (x_135 == 0) { -lean_object* x_131; -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -lean_inc(x_4); -x_57 = x_4; -x_58 = x_131; -goto block_121; +lean_object* x_143; +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +lean_dec(x_142); +lean_inc(x_5); +x_69 = x_5; +x_70 = x_143; +goto block_133; } else { -lean_object* x_132; uint8_t x_133; -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = lean_nat_dec_le(x_56, x_56); -if (x_133 == 0) +lean_object* x_144; uint8_t x_145; +x_144 = lean_ctor_get(x_142, 1); +lean_inc(x_144); +lean_dec(x_142); +x_145 = lean_nat_dec_le(x_68, x_68); +if (x_145 == 0) { -lean_inc(x_4); -x_57 = x_4; -x_58 = x_132; -goto block_121; +lean_inc(x_5); +x_69 = x_5; +x_70 = x_144; +goto block_133; } else { -size_t x_134; size_t x_135; lean_object* x_136; -x_134 = 0; -x_135 = lean_usize_of_nat(x_56); +size_t x_146; size_t x_147; lean_object* x_148; +x_146 = 0; +x_147 = lean_usize_of_nat(x_68); 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_4); -x_136 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__9(x_17, x_134, x_135, x_4, x_9, x_10, x_11, x_12, x_13, x_14, x_132); -if (lean_obj_tag(x_136) == 0) +lean_inc(x_5); +x_148 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___spec__9(x_17, x_146, x_147, x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_144); +if (lean_obj_tag(x_148) == 0) { -lean_object* x_137; lean_object* x_138; -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); -lean_inc(x_138); -lean_dec(x_136); -x_57 = x_137; -x_58 = x_138; -goto block_121; +lean_object* x_149; lean_object* x_150; +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +x_150 = lean_ctor_get(x_148, 1); +lean_inc(x_150); +lean_dec(x_148); +x_69 = x_149; +x_70 = x_150; +goto block_133; } else { -uint8_t x_139; -lean_dec(x_56); -lean_dec(x_49); -lean_dec(x_47); -lean_dec(x_43); -lean_dec(x_33); +uint8_t x_151; +lean_dec(x_68); +lean_dec(x_61); +lean_dec(x_59); +lean_dec(x_55); +lean_dec(x_45); lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -15733,146 +15927,73 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_4); -x_139 = !lean_is_exclusive(x_136); -if (x_139 == 0) +lean_dec(x_5); +x_151 = !lean_is_exclusive(x_148); +if (x_151 == 0) { -return x_136; +return x_148; } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; -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_136); -x_142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_142, 0, x_140); -lean_ctor_set(x_142, 1, x_141); +lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_152 = lean_ctor_get(x_148, 0); +x_153 = lean_ctor_get(x_148, 1); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_148); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_152); +lean_ctor_set(x_154, 1, x_153); +return x_154; +} +} +} +} +} +else +{ +uint8_t x_155; +lean_dec(x_68); +lean_dec(x_61); +lean_dec(x_59); +lean_dec(x_55); +lean_dec(x_45); +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_5); +x_155 = !lean_is_exclusive(x_142); +if (x_155 == 0) +{ return x_142; } -} -} -} -} else { -uint8_t x_143; -lean_dec(x_56); -lean_dec(x_49); -lean_dec(x_47); -lean_dec(x_43); -lean_dec(x_33); -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_4); -x_143 = !lean_is_exclusive(x_130); -if (x_143 == 0) -{ -return x_130; -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_ctor_get(x_130, 0); -x_145 = lean_ctor_get(x_130, 1); -lean_inc(x_145); -lean_inc(x_144); -lean_dec(x_130); -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_144); -lean_ctor_set(x_146, 1, x_145); -return x_146; -} -} -} -else -{ -uint8_t x_147; -lean_dec(x_56); -lean_dec(x_49); -lean_dec(x_47); -lean_dec(x_43); -lean_dec(x_33); -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_4); -x_147 = !lean_is_exclusive(x_128); -if (x_147 == 0) -{ -return x_128; -} -else -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_148 = lean_ctor_get(x_128, 0); -x_149 = lean_ctor_get(x_128, 1); -lean_inc(x_149); -lean_inc(x_148); -lean_dec(x_128); -x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_148); -lean_ctor_set(x_150, 1, x_149); -return x_150; -} -} -} -} -else -{ -uint8_t x_156; -lean_dec(x_49); -lean_dec(x_47); -lean_dec(x_43); -lean_dec(x_33); -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_4); -lean_dec(x_3); -x_156 = !lean_is_exclusive(x_54); -if (x_156 == 0) -{ -return x_54; -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_157 = lean_ctor_get(x_54, 0); -x_158 = lean_ctor_get(x_54, 1); -lean_inc(x_158); +lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_156 = lean_ctor_get(x_142, 0); +x_157 = lean_ctor_get(x_142, 1); lean_inc(x_157); -lean_dec(x_54); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -return x_159; +lean_inc(x_156); +lean_dec(x_142); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_156); +lean_ctor_set(x_158, 1, x_157); +return x_158; } } } else { -uint8_t x_160; -lean_dec(x_51); -lean_dec(x_49); -lean_dec(x_47); -lean_dec(x_43); -lean_dec(x_33); +uint8_t x_159; +lean_dec(x_68); +lean_dec(x_61); +lean_dec(x_59); +lean_dec(x_55); +lean_dec(x_45); lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -15880,69 +16001,35 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_4); -lean_dec(x_3); -x_160 = !lean_is_exclusive(x_52); -if (x_160 == 0) +lean_dec(x_5); +x_159 = !lean_is_exclusive(x_140); +if (x_159 == 0) { -return x_52; +return x_140; } else { -lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_161 = lean_ctor_get(x_52, 0); -x_162 = lean_ctor_get(x_52, 1); -lean_inc(x_162); +lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_160 = lean_ctor_get(x_140, 0); +x_161 = lean_ctor_get(x_140, 1); lean_inc(x_161); -lean_dec(x_52); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -return x_163; +lean_inc(x_160); +lean_dec(x_140); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_160); +lean_ctor_set(x_162, 1, x_161); +return x_162; } } } -else -{ -uint8_t x_164; -lean_dec(x_35); -lean_dec(x_33); -lean_dec(x_32); -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_4); -lean_dec(x_3); -x_164 = !lean_is_exclusive(x_40); -if (x_164 == 0) -{ -return x_40; -} -else -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_165 = lean_ctor_get(x_40, 0); -x_166 = lean_ctor_get(x_40, 1); -lean_inc(x_166); -lean_inc(x_165); -lean_dec(x_40); -x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_165); -lean_ctor_set(x_167, 1, x_166); -return x_167; -} -} } else { uint8_t x_168; -lean_dec(x_35); -lean_dec(x_33); -lean_dec(x_32); +lean_dec(x_61); +lean_dec(x_59); +lean_dec(x_55); +lean_dec(x_45); lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -15950,21 +16037,21 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); -x_168 = !lean_is_exclusive(x_37); +x_168 = !lean_is_exclusive(x_66); if (x_168 == 0) { -return x_37; +return x_66; } else { lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_37, 0); -x_170 = lean_ctor_get(x_37, 1); +x_169 = lean_ctor_get(x_66, 0); +x_170 = lean_ctor_get(x_66, 1); lean_inc(x_170); lean_inc(x_169); -lean_dec(x_37); +lean_dec(x_66); x_171 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_171, 0, x_169); lean_ctor_set(x_171, 1, x_170); @@ -15975,8 +16062,115 @@ return x_171; else { uint8_t x_172; -lean_dec(x_33); -lean_dec(x_32); +lean_dec(x_63); +lean_dec(x_61); +lean_dec(x_59); +lean_dec(x_55); +lean_dec(x_45); +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_5); +lean_dec(x_3); +x_172 = !lean_is_exclusive(x_64); +if (x_172 == 0) +{ +return x_64; +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_173 = lean_ctor_get(x_64, 0); +x_174 = lean_ctor_get(x_64, 1); +lean_inc(x_174); +lean_inc(x_173); +lean_dec(x_64); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +return x_175; +} +} +} +else +{ +uint8_t x_176; +lean_dec(x_47); +lean_dec(x_45); +lean_dec(x_44); +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_5); +lean_dec(x_3); +x_176 = !lean_is_exclusive(x_52); +if (x_176 == 0) +{ +return x_52; +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_52, 0); +x_178 = lean_ctor_get(x_52, 1); +lean_inc(x_178); +lean_inc(x_177); +lean_dec(x_52); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 1, x_178); +return x_179; +} +} +} +else +{ +uint8_t x_180; +lean_dec(x_47); +lean_dec(x_45); +lean_dec(x_44); +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_5); +lean_dec(x_3); +x_180 = !lean_is_exclusive(x_49); +if (x_180 == 0) +{ +return x_49; +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_181 = lean_ctor_get(x_49, 0); +x_182 = lean_ctor_get(x_49, 1); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_49); +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +return x_183; +} +} +} +else +{ +uint8_t x_184; +lean_dec(x_45); +lean_dec(x_44); lean_dec(x_19); lean_dec(x_17); lean_dec(x_14); @@ -15985,32 +16179,32 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); -x_172 = !lean_is_exclusive(x_34); -if (x_172 == 0) +x_184 = !lean_is_exclusive(x_46); +if (x_184 == 0) { -return x_34; +return x_46; } else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; -x_173 = lean_ctor_get(x_34, 0); -x_174 = lean_ctor_get(x_34, 1); -lean_inc(x_174); -lean_inc(x_173); -lean_dec(x_34); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_173); -lean_ctor_set(x_175, 1, x_174); -return x_175; +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_ctor_get(x_46, 0); +x_186 = lean_ctor_get(x_46, 1); +lean_inc(x_186); +lean_inc(x_185); +lean_dec(x_46); +x_187 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_187, 0, x_185); +lean_ctor_set(x_187, 1, x_186); +return x_187; } } } } else { -uint8_t x_176; +uint8_t x_188; lean_dec(x_19); lean_dec(x_17); lean_dec(x_14); @@ -16020,63 +16214,63 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); -x_176 = !lean_is_exclusive(x_22); -if (x_176 == 0) +x_188 = !lean_is_exclusive(x_22); +if (x_188 == 0) { return x_22; } else { -lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_177 = lean_ctor_get(x_22, 0); -x_178 = lean_ctor_get(x_22, 1); -lean_inc(x_178); -lean_inc(x_177); -lean_dec(x_22); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_177); -lean_ctor_set(x_179, 1, x_178); -return x_179; -} -} -} -block_191: -{ -if (x_181 == 0) -{ -x_21 = x_182; -goto block_180; -} -else -{ -lean_object* x_183; 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_inc(x_19); -x_183 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_183, 0, x_19); -x_184 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__4; -x_185 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_183); -x_186 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_187 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -x_188 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2; -x_189 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_188, x_187, x_9, x_10, x_11, x_12, x_13, x_14, x_182); -x_190 = lean_ctor_get(x_189, 1); +lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_189 = lean_ctor_get(x_22, 0); +x_190 = lean_ctor_get(x_22, 1); lean_inc(x_190); -lean_dec(x_189); -x_21 = x_190; -goto block_180; +lean_inc(x_189); +lean_dec(x_22); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_189); +lean_ctor_set(x_191, 1, x_190); +return x_191; +} +} +} +block_203: +{ +if (x_193 == 0) +{ +x_21 = x_194; +goto block_192; +} +else +{ +lean_object* x_195; lean_object* x_196; 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_inc(x_19); +x_195 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_195, 0, x_19); +x_196 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__4; +x_197 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_195); +x_198 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_199 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_199, 0, x_197); +lean_ctor_set(x_199, 1, x_198); +x_200 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1___closed__2; +x_201 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_200, x_199, x_9, x_10, x_11, x_12, x_13, x_14, x_194); +x_202 = lean_ctor_get(x_201, 1); +lean_inc(x_202); +lean_dec(x_201); +x_21 = x_202; +goto block_192; } } } } else { -uint8_t x_233; +uint8_t x_245; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -16085,25 +16279,25 @@ lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_4); +lean_dec(x_5); lean_dec(x_3); -x_233 = !lean_is_exclusive(x_16); -if (x_233 == 0) +x_245 = !lean_is_exclusive(x_16); +if (x_245 == 0) { return x_16; } else { -lean_object* x_234; lean_object* x_235; lean_object* x_236; -x_234 = lean_ctor_get(x_16, 0); -x_235 = lean_ctor_get(x_16, 1); -lean_inc(x_235); -lean_inc(x_234); +lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_246 = lean_ctor_get(x_16, 0); +x_247 = lean_ctor_get(x_16, 1); +lean_inc(x_247); +lean_inc(x_246); lean_dec(x_16); -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_234); -lean_ctor_set(x_236, 1, x_235); -return x_236; +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_246); +lean_ctor_set(x_248, 1, x_247); +return x_248; } } } @@ -16303,8 +16497,8 @@ lean_inc(x_1); x_13 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__3), 12, 4); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_2); -lean_closure_set(x_13, 2, x_12); -lean_closure_set(x_13, 3, x_11); +lean_closure_set(x_13, 2, x_11); +lean_closure_set(x_13, 3, x_12); x_14 = !lean_is_exclusive(x_8); if (x_14 == 0) { @@ -16587,7 +16781,7 @@ uint8_t x_16; lean_object* x_17; x_16 = lean_unbox(x_6); lean_dec(x_6); x_17 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__1(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); return x_17; } @@ -16624,81 +16818,1342 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabStructure_match__1___ra return x_2; } } -lean_object* l_Lean_Elab_Command_elabStructure___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_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* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_20; lean_object* x_21; -x_20 = lean_alloc_ctor(0, 11, 1); -lean_ctor_set(x_20, 0, x_1); -lean_ctor_set(x_20, 1, x_2); -lean_ctor_set(x_20, 2, x_3); -lean_ctor_set(x_20, 3, x_4); -lean_ctor_set(x_20, 4, x_6); -lean_ctor_set(x_20, 5, x_7); -lean_ctor_set(x_20, 6, x_12); -lean_ctor_set(x_20, 7, x_8); -lean_ctor_set(x_20, 8, x_9); -lean_ctor_set(x_20, 9, x_10); -lean_ctor_set(x_20, 10, x_11); -lean_ctor_set_uint8(x_20, sizeof(void*)*11, x_5); -x_21 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView(x_20, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -return x_21; +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; uint8_t x_11; +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_array_get_size(x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_7, x_8); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_dec_eq(x_7, x_10); +lean_dec(x_7); +if (x_11 == 0) +{ +if (x_9 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__3; +x_13 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_12, x_3, x_4, x_5); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +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_5); +return x_15; } } -lean_object* l_Lean_Elab_Command_elabStructure___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, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +else +{ +if (x_9 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = l_Lean_Elab_instInhabitedAttribute; +x_17 = lean_array_get(x_16, x_6, x_8); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec(x_17); +x_19 = l_Lean_initFn____x40_Lean_Class___hyg_626____closed__2; +x_20 = lean_name_eq(x_18, x_19); +lean_dec(x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__3; +x_22 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_21, x_3, x_4, x_5); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_3); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_5); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_3); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_5); +return x_26; +} +} +} +} +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = l_Lean_Elab_Term_resetMessageLog(x_13, x_14, x_15, x_16, x_17, x_18, x_19); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -lean_inc(x_15); +uint8_t x_6; +x_6 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 2); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_box(0); +x_8 = l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1(x_1, x_7, x_3, x_4, x_5); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__3; +x_10 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_9, x_3, x_4, x_5); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); lean_inc(x_13); -x_22 = l_Lean_Elab_Term_addAutoBoundImplicits(x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_21); -if (lean_obj_tag(x_22) == 0) +lean_inc(x_12); +lean_dec(x_10); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +} +} +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +uint8_t x_5; +x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_box(0); +x_7 = l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2(x_1, x_6, x_2, x_3, x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = l_Lean_Elab_Command_checkValidInductiveModifier___rarg___closed__3; +x_9 = l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(x_8, x_2, x_3, x_4); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_9); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +return x_13; +} +} +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = lean_private_to_user_name(x_1); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_4); +lean_dec(x_2); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_10); +return x_13; +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_11, 0); +lean_inc(x_14); +lean_dec(x_11); +x_15 = l_Lean_Environment_contains(x_2, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_14); +lean_dec(x_4); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_10); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_18, 0, x_14); +x_19 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__1___closed__2; +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_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; +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_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_23; +} +} +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5___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) { +_start: +{ +lean_object* x_11; uint8_t x_12; +lean_inc(x_1); +lean_inc(x_2); +x_11 = l_Lean_mkPrivateName(x_2, x_1); +lean_inc(x_2); +x_12 = l_Lean_Environment_contains(x_2, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_14; +} +else +{ +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; +lean_dec(x_2); +x_15 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_15, 0, x_1); +x_16 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__2___closed__2; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; +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_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +return x_20; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___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_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +lean_inc(x_12); +x_13 = l_Lean_Environment_contains(x_12, x_1); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5___lambda__2(x_1, x_12, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_15; +} +else +{ +lean_object* x_16; +lean_dec(x_12); +lean_inc(x_1); +x_16 = lean_private_to_user_name(x_1); +if (lean_obj_tag(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; uint8_t x_23; +x_17 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_17, 0, x_1); +x_18 = l_Lean_throwUnknownConstant___rarg___closed__3; +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_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_22); +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; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_dec(x_1); +x_27 = lean_ctor_get(x_16, 0); +lean_inc(x_27); +lean_dec(x_16); +x_28 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_28, 0, x_27); +x_29 = l_Lean_Elab_checkNotAlreadyDeclared___rarg___lambda__3___closed__2; +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_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; +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_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_32, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +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; +} +} +} +} +} +lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_elabStructure___spec__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, lean_object* x_9) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_10; +lean_inc(x_2); +x_10 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_10, 0); +lean_dec(x_12); +lean_ctor_set(x_10, 0, x_2); +return x_10; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_dec(x_10); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_13); +return x_14; +} +} +else +{ +uint8_t x_15; +lean_dec(x_2); +x_15 = !lean_is_exclusive(x_10); +if (x_15 == 0) +{ +return x_10; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_10, 0); +x_17 = lean_ctor_get(x_10, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_10); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +case 1: +{ +lean_object* x_19; +lean_inc(x_3); +lean_inc(x_2); +x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_st_ref_get(x_8, x_20); +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); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_protectedExt; +lean_inc(x_2); +x_26 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_25, x_24, x_2); +x_27 = l_Lean_setEnv___at_Lean_Elab_Term_declareTacticSyntax___spec__3(x_26, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +lean_dec(x_3); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_27, 0); +lean_dec(x_29); +lean_ctor_set(x_27, 0, x_2); +return x_27; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_2); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +else +{ +uint8_t x_32; +lean_dec(x_3); +lean_dec(x_2); +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) +{ +return x_19; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +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; +} +} +} +default: +{ +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_st_ref_get(x_8, x_9); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_37, 0); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Lean_mkPrivateName(x_39, x_2); +lean_inc(x_40); +x_41 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5(x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_38); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_41, 0); +lean_dec(x_43); +lean_ctor_set(x_41, 0, x_40); +return x_41; +} +else +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); +lean_dec(x_41); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_40); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +else +{ +uint8_t x_46; +lean_dec(x_40); +x_46 = !lean_is_exclusive(x_41); +if (x_46 == 0) +{ +return x_41; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_41, 0); +x_48 = lean_ctor_get(x_41, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_41); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +} +} +} +lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__3___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; uint8_t x_13; lean_object* x_14; +lean_inc(x_2); +x_12 = l_Lean_Name_append(x_1, x_2); +x_13 = lean_ctor_get_uint8(x_3, sizeof(void*)*2); +lean_inc(x_5); +x_14 = l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_elabStructure___spec__4(x_13, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +x_15 = lean_box(x_13); +if (lean_obj_tag(x_15) == 1) +{ +if (lean_obj_tag(x_1) == 1) +{ +uint8_t x_16; +lean_dec(x_5); +x_16 = !lean_is_exclusive(x_14); +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; +x_17 = lean_ctor_get(x_14, 0); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +lean_dec(x_1); +x_19 = lean_box(0); +x_20 = lean_name_mk_string(x_19, x_18); +x_21 = l_Lean_Name_append(x_20, x_2); +lean_dec(x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_17); +lean_ctor_set(x_22, 1, x_21); +lean_ctor_set(x_14, 0, x_22); +return x_14; +} +else +{ +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; +x_23 = lean_ctor_get(x_14, 0); +x_24 = lean_ctor_get(x_14, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_14); +x_25 = lean_ctor_get(x_1, 1); +lean_inc(x_25); +lean_dec(x_1); +x_26 = lean_box(0); +x_27 = lean_name_mk_string(x_26, x_25); +x_28 = l_Lean_Name_append(x_27, x_2); +lean_dec(x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_23); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_24); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_2); +lean_dec(x_1); +x_31 = lean_ctor_get(x_14, 1); +lean_inc(x_31); +lean_dec(x_14); +x_32 = l_Lean_Elab_mkDeclName___rarg___lambda__1___closed__3; +x_33 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_32, x_5, x_6, x_7, x_8, x_9, x_10, x_31); +return x_33; +} +} +else +{ +uint8_t x_34; +lean_dec(x_15); +lean_dec(x_5); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_14); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_14, 0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_2); +lean_ctor_set(x_14, 0, x_36); +return x_14; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = lean_ctor_get(x_14, 0); +x_38 = lean_ctor_get(x_14, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_14); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_2); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +return x_40; +} +} +} +else +{ +uint8_t x_41; +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_41 = !lean_is_exclusive(x_14); +if (x_41 == 0) +{ +return x_14; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_14, 0); +x_43 = lean_ctor_get(x_14, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_14); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +} +lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +lean_inc(x_3); +x_11 = l_Lean_extractMacroScopes(x_3); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +x_13 = l_Lean_Name_isAtomic(x_12); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = l_Lean_Elab_isFreshInstanceName(x_12); +lean_dec(x_12); +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; uint8_t x_21; +lean_dec(x_1); +x_15 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_15, 0, x_3); +x_16 = l_Lean_Elab_mkDeclName___rarg___closed__2; +x_17 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = l_Lean_throwUnknownConstant___rarg___closed__3; +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_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +return x_20; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_box(0); +x_26 = l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__3___lambda__1(x_1, x_3, x_2, x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_12); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__3___lambda__1(x_1, x_3, x_2, x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_28; +} +} +} +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_elabStructure___spec__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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_9, 0, x_1); +x_10 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__2; +x_11 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___rarg___closed__3; +x_13 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +x_14 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___spec__7(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_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = x_2 == x_3; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_array_uget(x_1, x_2); +x_14 = l_Lean_Syntax_getId(x_13); +x_15 = l_List_elem___at_Lean_NameHashSet_insert___spec__2(x_14, x_4); +if (x_15 == 0) +{ +lean_object* x_16; size_t x_17; size_t x_18; +lean_dec(x_13); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_4); +x_17 = 1; +x_18 = x_2 + x_17; +x_2 = x_18; +x_4 = x_16; +goto _start; +} +else +{ +uint8_t x_20; +lean_dec(x_4); +x_20 = !lean_is_exclusive(x_9); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_21 = lean_ctor_get(x_9, 3); +x_22 = l_Lean_replaceRef(x_13, x_21); +lean_dec(x_21); +lean_dec(x_13); +lean_ctor_set(x_9, 3, x_22); +x_23 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_elabStructure___spec__6(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_9); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +return x_23; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_23); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +else +{ +lean_object* x_28; lean_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_28 = lean_ctor_get(x_9, 0); +x_29 = lean_ctor_get(x_9, 1); +x_30 = lean_ctor_get(x_9, 2); +x_31 = lean_ctor_get(x_9, 3); +x_32 = lean_ctor_get(x_9, 4); +x_33 = lean_ctor_get(x_9, 5); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_9); +x_34 = l_Lean_replaceRef(x_13, x_31); +lean_dec(x_31); +lean_dec(x_13); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_28); +lean_ctor_set(x_35, 1, x_29); +lean_ctor_set(x_35, 2, x_30); +lean_ctor_set(x_35, 3, x_34); +lean_ctor_set(x_35, 4, x_32); +lean_ctor_set(x_35, 5, x_33); +x_36 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_elabStructure___spec__6(x_14, x_5, x_6, x_7, x_8, x_35, x_10, x_11); +lean_dec(x_35); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_39 = x_36; +} else { + lean_dec_ref(x_36); + x_39 = lean_box(0); +} +if (lean_is_scalar(x_39)) { + x_40 = lean_alloc_ctor(1, 2, 0); +} else { + x_40 = x_39; +} +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_38); +return x_40; +} +} +} +else +{ +lean_object* x_41; +lean_dec(x_9); +lean_dec(x_5); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_4); +lean_ctor_set(x_41, 1, x_11); +return x_41; +} +} +} +lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_10, 3); +x_15 = l_Lean_replaceRef(x_1, x_14); +lean_dec(x_14); +lean_ctor_set(x_10, 3, x_15); +x_16 = l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__3(x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_10); +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; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_16, 0); +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_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_5); +lean_ctor_set(x_16, 0, x_21); +return x_16; +} +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; +x_22 = lean_ctor_get(x_16, 0); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_16); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +lean_ctor_set(x_26, 2, x_5); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_23); +return x_27; +} +} +else +{ +uint8_t x_28; +lean_dec(x_5); +x_28 = !lean_is_exclusive(x_16); +if (x_28 == 0) +{ +return x_16; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_16, 0); +x_30 = lean_ctor_get(x_16, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_16); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +else +{ +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_32 = lean_ctor_get(x_10, 0); +x_33 = lean_ctor_get(x_10, 1); +x_34 = lean_ctor_get(x_10, 2); +x_35 = lean_ctor_get(x_10, 3); +x_36 = lean_ctor_get(x_10, 4); +x_37 = lean_ctor_get(x_10, 5); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_10); +x_38 = l_Lean_replaceRef(x_1, x_35); +lean_dec(x_35); +x_39 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_39, 0, x_32); +lean_ctor_set(x_39, 1, x_33); +lean_ctor_set(x_39, 2, x_34); +lean_ctor_set(x_39, 3, x_38); +lean_ctor_set(x_39, 4, x_36); +lean_ctor_set(x_39, 5, x_37); +x_40 = l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__3(x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_39, x_11, x_12); +lean_dec(x_39); +if (lean_obj_tag(x_40) == 0) +{ +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; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_43 = x_40; +} else { + lean_dec_ref(x_40); + x_43 = lean_box(0); +} +x_44 = lean_ctor_get(x_41, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); +lean_dec(x_41); +x_46 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +lean_ctor_set(x_46, 2, x_5); +if (lean_is_scalar(x_43)) { + x_47 = lean_alloc_ctor(0, 2, 0); +} else { + x_47 = x_43; +} +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_42); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_5); +x_48 = lean_ctor_get(x_40, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_40, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_50 = x_40; +} else { + lean_dec_ref(x_40); + x_50 = lean_box(0); +} +if (lean_is_scalar(x_50)) { + x_51 = lean_alloc_ctor(1, 2, 0); +} else { + x_51 = x_50; +} +lean_ctor_set(x_51, 0, x_48); +lean_ctor_set(x_51, 1, x_49); +return x_51; +} +} +} +} +lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = l_Lean_Elab_expandDeclIdCore(x_3); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Syntax_isNone(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_16 = lean_unsigned_to_nat(1u); +x_17 = l_Lean_Syntax_getArg(x_14, x_16); +lean_dec(x_14); +x_18 = l_Lean_Syntax_getArgs(x_17); +lean_dec(x_17); +x_19 = lean_array_get_size(x_18); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_nat_dec_lt(x_20, x_19); +if (x_21 == 0) +{ +lean_object* x_39; +lean_dec(x_19); +lean_dec(x_18); +x_39 = l_Array_empty___closed__1; +x_22 = x_39; +goto block_38; +} +else +{ +uint8_t x_40; +x_40 = lean_nat_dec_le(x_19, x_19); +if (x_40 == 0) +{ +lean_object* x_41; +lean_dec(x_19); +lean_dec(x_18); +x_41 = l_Array_empty___closed__1; +x_22 = x_41; +goto block_38; +} +else +{ +size_t x_42; size_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_42 = 0; +x_43 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_44 = l_Array_getEvenElems___rarg___closed__1; +x_45 = l_Array_foldlMUnsafe_fold___at_Lean_Syntax_getSepArgs___spec__1(x_18, x_42, x_43, x_44); +lean_dec(x_18); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_22 = x_46; +goto block_38; +} +} +block_38: +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_array_get_size(x_22); +x_24 = lean_nat_dec_lt(x_20, x_23); +if (x_24 == 0) +{ +lean_object* x_25; +lean_dec(x_23); +lean_dec(x_22); +x_25 = l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__2___lambda__1(x_3, x_1, x_4, x_13, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_25; +} +else +{ +uint8_t x_26; +x_26 = lean_nat_dec_le(x_23, x_23); +if (x_26 == 0) +{ +lean_object* x_27; +lean_dec(x_23); +lean_dec(x_22); +x_27 = l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__2___lambda__1(x_3, x_1, x_4, x_13, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_27; +} +else +{ +size_t x_28; size_t x_29; lean_object* x_30; +x_28 = 0; +x_29 = lean_usize_of_nat(x_23); +lean_dec(x_23); +lean_inc(x_9); +lean_inc(x_5); +x_30 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___spec__7(x_22, x_28, x_29, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_22); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +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 = l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__2___lambda__1(x_3, x_1, x_4, x_13, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +return x_33; +} +else +{ +uint8_t x_34; +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_30); +if (x_34 == 0) +{ +return x_30; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_30, 0); +x_36 = lean_ctor_get(x_30, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_30); +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_47; +lean_dec(x_14); +x_47 = l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__2___lambda__1(x_3, x_1, x_4, x_13, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_47; +} +} +} +lean_object* l_Lean_Elab_Command_elabStructure___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +lean_object* x_19; +lean_inc(x_14); +lean_inc(x_12); +x_19 = l_Lean_Elab_Term_addAutoBoundImplicits(x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +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; lean_object* x_26; uint8_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_Elab_Term_getLevelNames___rarg(x_13, x_14, x_15, x_16, x_17, 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); -x_25 = lean_box(x_5); -lean_inc(x_4); -x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabStructure___lambda__1___boxed), 19, 11); -lean_closure_set(x_26, 0, x_1); -lean_closure_set(x_26, 1, x_2); -lean_closure_set(x_26, 2, x_3); -lean_closure_set(x_26, 3, x_4); -lean_closure_set(x_26, 4, x_25); -lean_closure_set(x_26, 5, x_6); -lean_closure_set(x_26, 6, x_23); -lean_closure_set(x_26, 7, x_7); -lean_closure_set(x_26, 8, x_8); -lean_closure_set(x_26, 9, x_9); -lean_closure_set(x_26, 10, x_10); +x_25 = lean_alloc_ctor(0, 11, 1); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_2); +lean_ctor_set(x_25, 2, x_3); +lean_ctor_set(x_25, 3, x_23); +lean_ctor_set(x_25, 4, x_5); +lean_ctor_set(x_25, 5, x_6); +lean_ctor_set(x_25, 6, x_20); +lean_ctor_set(x_25, 7, x_7); +lean_ctor_set(x_25, 8, x_8); +lean_ctor_set(x_25, 9, x_9); +lean_ctor_set(x_25, 10, x_10); +lean_ctor_set_uint8(x_25, sizeof(void*)*11, x_4); +x_26 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView), 8, 1); +lean_closure_set(x_26, 0, x_25); x_27 = 0; -x_28 = lean_box(x_27); -x_29 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBinders___rarg___boxed), 10, 3); -lean_closure_set(x_29, 0, x_11); -lean_closure_set(x_29, 1, x_26); -lean_closure_set(x_29, 2, x_28); -x_30 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withLevelNames___rarg), 9, 2); -lean_closure_set(x_30, 0, x_4); -lean_closure_set(x_30, 1, x_29); -x_31 = l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg(x_30, x_27, x_13, x_14, x_15, x_16, x_17, x_18, x_24); -return x_31; +x_28 = l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg(x_26, x_27, x_12, x_13, x_14, x_15, x_16, x_17, x_24); +return x_28; } else { -uint8_t x_32; -lean_dec(x_18); +uint8_t x_29; 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_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_29 = !lean_is_exclusive(x_19); +if (x_29 == 0) +{ +return x_19; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_19, 0); +x_31 = lean_ctor_get(x_19, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_19); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +lean_object* l_Lean_Elab_Command_elabStructure___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, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +lean_object* x_19; +lean_inc(x_12); +x_19 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(x_1, x_2, x_3, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_19) == 0) +{ +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; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(x_5); +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabStructure___lambda__1___boxed), 18, 10); +lean_closure_set(x_23, 0, x_1); +lean_closure_set(x_23, 1, x_2); +lean_closure_set(x_23, 2, x_4); +lean_closure_set(x_23, 3, x_22); +lean_closure_set(x_23, 4, x_3); +lean_closure_set(x_23, 5, x_6); +lean_closure_set(x_23, 6, x_7); +lean_closure_set(x_23, 7, x_8); +lean_closure_set(x_23, 8, x_11); +lean_closure_set(x_23, 9, x_20); +x_24 = 1; +x_25 = lean_box(x_24); +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBinders___rarg___boxed), 10, 3); +lean_closure_set(x_26, 0, x_9); +lean_closure_set(x_26, 1, x_23); +lean_closure_set(x_26, 2, x_25); +x_27 = lean_box(x_24); +x_28 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg___boxed), 9, 2); +lean_closure_set(x_28, 0, x_26); +lean_closure_set(x_28, 1, x_27); +x_29 = l_Lean_Elab_Term_withLevelNames___rarg(x_10, x_28, x_12, x_13, x_14, x_15, x_16, x_17, x_21); +return x_29; +} +else +{ +uint8_t x_30; +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); lean_dec(x_10); lean_dec(x_9); @@ -16709,205 +18164,230 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_32 = !lean_is_exclusive(x_22); -if (x_32 == 0) -{ -return x_22; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_22, 0); -x_34 = lean_ctor_get(x_22, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_22); -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* l_Lean_Elab_Command_elabStructure___lambda__3(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) { -_start: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = l_Lean_Elab_Command_getLevelNames___rarg(x_9, x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -lean_inc(x_8); -x_14 = l_Lean_Elab_Command_expandDeclId(x_1, x_2, x_8, x_9, x_13); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 2); -lean_inc(x_18); -lean_dec(x_15); -lean_inc(x_8); -lean_inc(x_3); -x_19 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor(x_3, x_2, x_17, x_8, x_9, x_16); -if (lean_obj_tag(x_19) == 0) -{ -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); -x_22 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields(x_3, x_2, x_17, x_8, x_9, x_21); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -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_inc(x_17); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_17); -x_26 = lean_st_ref_get(x_9, x_24); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_getVarDecls(x_27); -lean_dec(x_27); -x_30 = lean_box(x_4); -x_31 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabStructure___lambda__2___boxed), 19, 11); -lean_closure_set(x_31, 0, x_3); -lean_closure_set(x_31, 1, x_2); -lean_closure_set(x_31, 2, x_12); -lean_closure_set(x_31, 3, x_18); -lean_closure_set(x_31, 4, x_30); -lean_closure_set(x_31, 5, x_17); -lean_closure_set(x_31, 6, x_5); -lean_closure_set(x_31, 7, x_7); -lean_closure_set(x_31, 8, x_20); -lean_closure_set(x_31, 9, x_23); -lean_closure_set(x_31, 10, x_6); -x_32 = 1; -x_33 = lean_box(x_32); -x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBinders___rarg___boxed), 10, 3); -lean_closure_set(x_34, 0, x_29); -lean_closure_set(x_34, 1, x_31); -lean_closure_set(x_34, 2, x_33); -x_35 = lean_box(x_32); -x_36 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg___boxed), 9, 2); -lean_closure_set(x_36, 0, x_34); -lean_closure_set(x_36, 1, x_35); -x_37 = l_Lean_Elab_Command_liftTermElabM___rarg(x_25, x_36, x_8, x_9, x_28); -return x_37; -} -else -{ -uint8_t x_38; -lean_dec(x_20); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_12); -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_38 = !lean_is_exclusive(x_22); -if (x_38 == 0) -{ -return x_22; -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_22, 0); -x_40 = lean_ctor_get(x_22, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_22); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; -} -} -} -else -{ -uint8_t x_42; -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_12); -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_42 = !lean_is_exclusive(x_19); -if (x_42 == 0) +x_30 = !lean_is_exclusive(x_19); +if (x_30 == 0) { return x_19; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_19, 0); -x_44 = lean_ctor_get(x_19, 1); -lean_inc(x_44); -lean_inc(x_43); +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_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; +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_object* l_Lean_Elab_Command_elabStructure___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_14, 4); +lean_inc(x_17); +lean_inc(x_14); +lean_inc(x_10); +lean_inc(x_9); +x_18 = l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__2(x_17, x_9, x_1, x_2, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +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_ctor_get(x_19, 1); +lean_inc(x_21); +x_22 = lean_ctor_get(x_19, 2); +lean_inc(x_22); +lean_dec(x_19); +lean_inc(x_21); +lean_inc(x_2); +lean_inc(x_3); +x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___boxed), 10, 3); +lean_closure_set(x_23, 0, x_3); +lean_closure_set(x_23, 1, x_2); +lean_closure_set(x_23, 2, x_21); +x_24 = lean_box(x_4); +lean_inc(x_21); +x_25 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabStructure___lambda__2___boxed), 18, 10); +lean_closure_set(x_25, 0, x_3); +lean_closure_set(x_25, 1, x_2); +lean_closure_set(x_25, 2, x_21); +lean_closure_set(x_25, 3, x_9); +lean_closure_set(x_25, 4, x_24); +lean_closure_set(x_25, 5, x_5); +lean_closure_set(x_25, 6, x_6); +lean_closure_set(x_25, 7, x_7); +lean_closure_set(x_25, 8, x_8); +lean_closure_set(x_25, 9, x_22); +x_26 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); +lean_closure_set(x_26, 0, x_23); +lean_closure_set(x_26, 1, x_25); +x_27 = l_Lean_Elab_Term_withDeclName___rarg(x_21, x_26, x_10, x_11, x_12, x_13, x_14, x_15, x_20); +return x_27; +} else { -uint8_t x_46; +uint8_t x_28; +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_3); lean_dec(x_2); -x_46 = !lean_is_exclusive(x_14); -if (x_46 == 0) +x_28 = !lean_is_exclusive(x_18); +if (x_28 == 0) { -return x_14; +return x_18; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_14, 0); -x_48 = lean_ctor_get(x_14, 1); -lean_inc(x_48); -lean_inc(x_47); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_18, 0); +x_30 = lean_ctor_get(x_18, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_18); +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; +} +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabStructure___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_getLevelNames___boxed), 1, 0); +return x_1; +} +} +lean_object* l_Lean_Elab_Command_elabStructure___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = l_Lean_Elab_Term_resetMessageLog(x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +lean_inc(x_11); +lean_inc(x_9); +x_18 = l_Lean_Elab_Term_addAutoBoundImplicits(x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_box(x_4); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabStructure___lambda__3___boxed), 16, 8); +lean_closure_set(x_22, 0, x_1); +lean_closure_set(x_22, 1, x_2); +lean_closure_set(x_22, 2, x_3); +lean_closure_set(x_22, 3, x_21); +lean_closure_set(x_22, 4, x_19); +lean_closure_set(x_22, 5, x_5); +lean_closure_set(x_22, 6, x_6); +lean_closure_set(x_22, 7, x_7); +x_23 = l_Lean_Elab_Command_elabStructure___lambda__4___closed__1; +x_24 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_instMonadLogTermElabM___spec__2___rarg), 9, 2); +lean_closure_set(x_24, 0, x_23); +lean_closure_set(x_24, 1, x_22); +x_25 = 0; +x_26 = l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg(x_24, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_20); +return x_26; +} +else +{ +uint8_t x_27; lean_dec(x_14); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_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_3); +lean_dec(x_2); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_18); +if (x_27 == 0) +{ +return x_18; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_18, 0); +x_29 = lean_ctor_get(x_18, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_18); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } } +lean_object* l_Lean_Elab_Command_elabStructure___lambda__5(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) { +_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; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_11 = lean_box(0); +x_12 = lean_st_ref_get(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); +lean_dec(x_12); +x_15 = l___private_Lean_Elab_Command_0__Lean_Elab_Command_getVarDecls(x_13); +lean_dec(x_13); +x_16 = lean_box(x_4); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabStructure___lambda__4___boxed), 15, 7); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_2); +lean_closure_set(x_17, 2, x_3); +lean_closure_set(x_17, 3, x_16); +lean_closure_set(x_17, 4, x_5); +lean_closure_set(x_17, 5, x_7); +lean_closure_set(x_17, 6, x_6); +x_18 = 1; +x_19 = lean_box(x_18); +x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabBinders___rarg___boxed), 10, 3); +lean_closure_set(x_20, 0, x_15); +lean_closure_set(x_20, 1, x_17); +lean_closure_set(x_20, 2, x_19); +x_21 = lean_box(x_18); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg___boxed), 9, 2); +lean_closure_set(x_22, 0, x_20); +lean_closure_set(x_22, 1, x_21); +x_23 = l_Lean_Elab_Command_liftTermElabM___rarg(x_11, x_22, x_8, x_9, x_14); +return x_23; +} +} static lean_object* _init_l_Lean_Elab_Command_elabStructure___closed__1() { _start: { @@ -16943,7 +18423,7 @@ _start: { lean_object* x_6; lean_inc(x_3); -x_6 = l_Lean_Elab_Command_checkValidInductiveModifier(x_1, x_3, x_4, x_5); +x_6 = l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1(x_1, x_3, x_4, x_5); if (lean_obj_tag(x_6) == 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; 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; uint8_t x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; @@ -17013,8 +18493,7 @@ x_26 = l_Lean_Syntax_getArg(x_22, x_8); lean_dec(x_22); x_27 = l_Lean_Syntax_getArg(x_26, x_13); lean_dec(x_26); -x_28 = l_Lean_Elab_Command_elabStructure___lambda__3(x_14, x_24, x_2, x_12, x_25, x_17, x_27, x_3, x_4, x_7); -lean_dec(x_14); +x_28 = l_Lean_Elab_Command_elabStructure___lambda__5(x_14, x_24, x_2, x_12, x_25, x_17, x_27, x_3, x_4, x_7); return x_28; } else @@ -17029,9 +18508,8 @@ x_31 = l_Lean_Elab_Command_getMainModule___rarg(x_4, x_30); x_32 = lean_ctor_get(x_31, 1); lean_inc(x_32); lean_dec(x_31); -x_33 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__43; -x_34 = l_Lean_Elab_Command_elabStructure___lambda__3(x_14, x_24, x_2, x_12, x_25, x_17, x_33, x_3, x_4, x_32); -lean_dec(x_14); +x_33 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__39; +x_34 = l_Lean_Elab_Command_elabStructure___lambda__5(x_14, x_24, x_2, x_12, x_25, x_17, x_33, x_3, x_4, x_32); return x_34; } } @@ -17064,6 +18542,181 @@ return x_46; } } } +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1___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_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2___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_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___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_Lean_Elab_Command_checkValidInductiveModifier___at_Lean_Elab_Command_elabStructure___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_5; +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___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, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5___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); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_11; +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5___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: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5___lambda__2(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); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_11; +} +} +lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_elabStructure___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_elabStructure___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: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_elabStructure___spec__4(x_10, 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); +return x_11; +} +} +lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__3___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_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__3___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_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +return x_12; +} +} +lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___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, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_elabStructure___spec__3(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); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_11; +} +} +lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_elabStructure___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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_elabStructure___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___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_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabStructure___spec__7(x_1, x_12, x_13, 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_7); +lean_dec(x_6); +lean_dec(x_1); +return x_14; +} +} +lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__2___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_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__2___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_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_1); +return x_13; +} +} +lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___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, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_elabStructure___spec__2(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_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +return x_12; +} +} lean_object* l_Lean_Elab_Command_elabStructure___lambda__1___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; @@ -17083,14 +18736,14 @@ 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: { -uint8_t x_20; lean_object* x_21; -x_20 = lean_unbox(x_5); -lean_dec(x_5); -x_21 = l_Lean_Elab_Command_elabStructure___lambda__1(x_1, x_2, x_3, x_4, x_20, 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_21; +uint8_t x_19; lean_object* x_20; +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = l_Lean_Elab_Command_elabStructure___lambda__1(x_1, x_2, x_3, x_19, 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_dec(x_11); +return x_20; } } lean_object* l_Lean_Elab_Command_elabStructure___lambda__2___boxed(lean_object** _args) { @@ -17112,26 +18765,45 @@ 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: { -uint8_t x_20; lean_object* x_21; -x_20 = lean_unbox(x_5); +uint8_t x_19; lean_object* x_20; +x_19 = lean_unbox(x_5); lean_dec(x_5); -x_21 = l_Lean_Elab_Command_elabStructure___lambda__2(x_1, x_2, x_3, x_4, x_20, 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); -lean_dec(x_12); -return x_21; +x_20 = l_Lean_Elab_Command_elabStructure___lambda__2(x_1, x_2, x_3, x_4, x_19, 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); +return x_20; } } -lean_object* l_Lean_Elab_Command_elabStructure___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* l_Lean_Elab_Command_elabStructure___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; lean_object* x_18; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Elab_Command_elabStructure___lambda__3(x_1, x_2, x_3, 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_16); +lean_dec(x_1); +return x_18; +} +} +lean_object* l_Lean_Elab_Command_elabStructure___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; lean_object* x_17; +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = l_Lean_Elab_Command_elabStructure___lambda__4(x_1, x_2, x_3, x_16, 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_8); +return x_17; +} +} +lean_object* l_Lean_Elab_Command_elabStructure___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: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_4); lean_dec(x_4); -x_12 = l_Lean_Elab_Command_elabStructure___lambda__3(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l_Lean_Elab_Command_elabStructure___lambda__5(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); -lean_dec(x_1); return x_12; } } @@ -17144,7 +18816,7 @@ lean_dec(x_4); return x_6; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_3577_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_3621_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -17235,48 +18907,48 @@ l_Lean_Elab_Command_checkValidFieldModifier___closed__2 = _init_l_Lean_Elab_Comm lean_mark_persistent(l_Lean_Elab_Command_checkValidFieldModifier___closed__2); l_Lean_Elab_Command_checkValidFieldModifier___closed__3 = _init_l_Lean_Elab_Command_checkValidFieldModifier___closed__3(); lean_mark_persistent(l_Lean_Elab_Command_checkValidFieldModifier___closed__3); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__1); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__2(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__2); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__3 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__3(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__6___closed__3); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__1); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__2(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__2); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__3 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__3(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__2___closed__3); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__1); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__2(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__2); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__3 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__3(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__3___closed__3); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__1); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__2(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__2); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__3 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__3(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__3); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__4 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__4(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__4); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__5 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__5(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__5); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__6 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__6(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__6); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__7 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__7(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__7); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__8 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__8(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__8); +l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__9 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__9(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___lambda__4___closed__9); l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__1(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__1); l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__2(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__2); l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__3 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__3(); lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__7___closed__3); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__1(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__1); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__2(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__2); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__3 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__3(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__2___closed__3); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__1(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__1); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__2(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__2); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__3 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__3(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__3___closed__3); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__1(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__1); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__2(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__2); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__3 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__3(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__3); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__4 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__4(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__4); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__5 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__5(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__5); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__6 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__6(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__6); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__7 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__7(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__7); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__8 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__8(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__8); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__9 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__9(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___lambda__4___closed__9); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__1 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__1(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__1); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__2 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__2(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__2); -l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__3 = _init_l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__3(); -lean_mark_persistent(l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__8___closed__3); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__1 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__1(); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__2 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__2(); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__3 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___closed__3(); @@ -17364,13 +19036,15 @@ l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed_ lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__2); l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__3 = _init_l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__3(); lean_mark_persistent(l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___closed__3); +l_Lean_Elab_Command_elabStructure___lambda__4___closed__1 = _init_l_Lean_Elab_Command_elabStructure___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabStructure___lambda__4___closed__1); l_Lean_Elab_Command_elabStructure___closed__1 = _init_l_Lean_Elab_Command_elabStructure___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabStructure___closed__1); l_Lean_Elab_Command_elabStructure___closed__2 = _init_l_Lean_Elab_Command_elabStructure___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_elabStructure___closed__2); l_Lean_Elab_Command_elabStructure___closed__3 = _init_l_Lean_Elab_Command_elabStructure___closed__3(); lean_mark_persistent(l_Lean_Elab_Command_elabStructure___closed__3); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_3577_(lean_io_mk_world()); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_3621_(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/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index d9266d5e3a..d1b5da4e37 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -30,7 +30,6 @@ lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__6; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__9; lean_object* l_Lean_Elab_Command_expandMixfix___closed__5; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_8964____closed__1; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__9; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__3___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___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -44,7 +43,7 @@ extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___cl lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__8; lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_checkLeftRec___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* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); extern lean_object* l_String_instInhabitedString; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__3; @@ -117,6 +116,7 @@ lean_object* l_Lean_Elab_Command_expandMixfix___closed__6; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__43; extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__3; extern lean_object* l_Lean_Elab_Command_commandElabAttribute; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix_match__1(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules(lean_object*); @@ -146,6 +146,7 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__15; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMacro___boxed__const__1; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; lean_object* l_Lean_Elab_Command_expandElab___closed__45; @@ -156,7 +157,6 @@ extern lean_object* l_Lean_formatDataValue___closed__1; extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30; extern lean_object* l___regBuiltin_Lean_Elab_Term_elabQuotedName___closed__2; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__6; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__35; @@ -343,7 +343,7 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux_match__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_8964_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10946_(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__2___rarg(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__15; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__8; @@ -444,7 +444,6 @@ extern lean_object* l_Lean_Parser_mkParserOfConstantUnsafe_match__1___rarg___clo lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___spec__1___boxed(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l_Nat_pred(lean_object*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__12; lean_object* l_Lean_Elab_Command_expandElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); @@ -618,6 +617,7 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQ lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_isParserAlias(lean_object*, lean_object*); extern lean_object* l_Lean_Format_paren___closed__4; +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10946____closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_markAsTrailingParser___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -672,7 +672,7 @@ lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescrAux___sp lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___boxed(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__18; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___closed__2; @@ -10065,7 +10065,7 @@ x_63 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_63, 0, x_31); lean_ctor_set(x_63, 1, x_62); x_64 = lean_array_push(x_41, x_63); -x_65 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_65 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); @@ -10232,7 +10232,7 @@ lean_ctor_set(x_159, 1, x_158); x_160 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_161 = lean_array_push(x_160, x_159); x_162 = lean_array_push(x_161, x_26); -x_163 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_163 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_164 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_164, 0, x_163); lean_ctor_set(x_164, 1, x_162); @@ -12093,7 +12093,7 @@ x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_52); lean_ctor_set(x_90, 1, x_89); x_91 = lean_array_push(x_67, x_90); -x_92 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_92 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); @@ -12125,7 +12125,7 @@ lean_ctor_set(x_110, 1, x_108); x_111 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_112 = lean_array_push(x_111, x_110); x_113 = lean_array_push(x_112, x_69); -x_114 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_114 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_115 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_115, 0, x_114); lean_ctor_set(x_115, 1, x_113); @@ -12232,7 +12232,7 @@ x_176 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_176, 0, x_138); lean_ctor_set(x_176, 1, x_175); x_177 = lean_array_push(x_153, x_176); -x_178 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_178 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_179 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_179, 0, x_178); lean_ctor_set(x_179, 1, x_177); @@ -12264,7 +12264,7 @@ lean_ctor_set(x_196, 1, x_194); x_197 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_198 = lean_array_push(x_197, x_196); x_199 = lean_array_push(x_198, x_155); -x_200 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_200 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_201 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_201, 0, x_200); lean_ctor_set(x_201, 1, x_199); @@ -12829,7 +12829,7 @@ lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); x_50 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_51 = lean_array_push(x_50, x_49); -x_52 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_52 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); @@ -12864,7 +12864,7 @@ x_72 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__ x_73 = lean_array_push(x_72, x_71); x_74 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_75 = lean_array_push(x_73, x_74); -x_76 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_76 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_76); lean_ctor_set(x_77, 1, x_75); @@ -13921,7 +13921,7 @@ x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_26); lean_ctor_set(x_71, 1, x_70); x_72 = lean_array_push(x_41, x_71); -x_73 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_73 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); @@ -14016,7 +14016,7 @@ lean_ctor_set(x_126, 1, x_124); x_127 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_128 = lean_array_push(x_127, x_126); x_129 = lean_array_push(x_128, x_43); -x_130 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_130 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_131 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_131, 0, x_130); lean_ctor_set(x_131, 1, x_129); @@ -14134,7 +14134,7 @@ x_195 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_195, 0, x_150); lean_ctor_set(x_195, 1, x_194); x_196 = lean_array_push(x_165, x_195); -x_197 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_197 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_198 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_198, 0, x_197); lean_ctor_set(x_198, 1, x_196); @@ -14229,7 +14229,7 @@ lean_ctor_set(x_250, 1, x_248); x_251 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_252 = lean_array_push(x_251, x_250); x_253 = lean_array_push(x_252, x_167); -x_254 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_254 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_255 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_255, 0, x_254); lean_ctor_set(x_255, 1, x_253); @@ -15932,7 +15932,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; x_8 = l_Lean_Syntax_getArgs(x_1); x_9 = lean_array_get_size(x_8); lean_dec(x_8); -x_10 = lean_unsigned_to_nat(5u); +x_10 = lean_unsigned_to_nat(6u); x_11 = lean_nat_dec_eq(x_9, x_10); lean_dec(x_9); if (x_11 == 0) @@ -15948,152 +15948,268 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_157; lean_object* x_323; uint8_t x_324; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_289; lean_object* x_614; uint8_t x_615; x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_323 = l_Lean_Elab_Command_expandMixfix___closed__28; +x_614 = l_Lean_Elab_Command_expandMixfix___closed__28; lean_inc(x_15); -x_324 = l_Lean_Syntax_isOfKind(x_15, x_323); -if (x_324 == 0) +x_615 = l_Lean_Syntax_isOfKind(x_15, x_614); +if (x_615 == 0) { -lean_object* x_325; -x_325 = lean_box(0); -x_157 = x_325; -goto block_322; +lean_object* x_616; +x_616 = lean_box(0); +x_289 = x_616; +goto block_613; } else { -lean_object* x_326; lean_object* x_327; lean_object* x_328; uint8_t x_329; -x_326 = l_Lean_Syntax_getArgs(x_15); -x_327 = lean_array_get_size(x_326); -lean_dec(x_326); -x_328 = lean_unsigned_to_nat(1u); -x_329 = lean_nat_dec_eq(x_327, x_328); -lean_dec(x_327); -if (x_329 == 0) +lean_object* x_617; lean_object* x_618; lean_object* x_619; uint8_t x_620; +x_617 = l_Lean_Syntax_getArgs(x_15); +x_618 = lean_array_get_size(x_617); +lean_dec(x_617); +x_619 = lean_unsigned_to_nat(1u); +x_620 = lean_nat_dec_eq(x_618, x_619); +lean_dec(x_618); +if (x_620 == 0) { -lean_object* x_330; -x_330 = lean_box(0); -x_157 = x_330; -goto block_322; +lean_object* x_621; +x_621 = lean_box(0); +x_289 = x_621; +goto block_613; } else { -lean_object* x_331; lean_object* x_332; uint8_t x_333; +lean_object* x_622; lean_object* x_623; uint8_t x_624; lean_dec(x_15); lean_dec(x_2); -x_331 = l_Lean_Syntax_getArg(x_1, x_328); -x_332 = l_Lean_nullKind___closed__2; -lean_inc(x_331); -x_333 = l_Lean_Syntax_isOfKind(x_331, x_332); -if (x_333 == 0) +x_622 = l_Lean_Syntax_getArg(x_1, x_619); +x_623 = l_Lean_nullKind___closed__2; +lean_inc(x_622); +x_624 = l_Lean_Syntax_isOfKind(x_622, x_623); +if (x_624 == 0) { -lean_object* x_334; lean_object* x_335; -lean_dec(x_331); +lean_object* x_625; lean_object* x_626; +lean_dec(x_622); lean_dec(x_1); -x_334 = lean_box(1); -x_335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_335, 0, x_334); -lean_ctor_set(x_335, 1, x_3); -return x_335; +x_625 = lean_box(1); +x_626 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_626, 0, x_625); +lean_ctor_set(x_626, 1, x_3); +return x_626; } else { -lean_object* x_336; lean_object* x_337; uint8_t x_338; -x_336 = l_Lean_Syntax_getArgs(x_331); -x_337 = lean_array_get_size(x_336); -lean_dec(x_336); -x_338 = lean_nat_dec_eq(x_337, x_328); -lean_dec(x_337); -if (x_338 == 0) +lean_object* x_627; lean_object* x_628; uint8_t x_629; +x_627 = l_Lean_Syntax_getArgs(x_622); +x_628 = lean_array_get_size(x_627); +lean_dec(x_627); +x_629 = lean_nat_dec_eq(x_628, x_619); +lean_dec(x_628); +if (x_629 == 0) { -lean_object* x_339; lean_object* x_340; -lean_dec(x_331); +lean_object* x_630; lean_object* x_631; +lean_dec(x_622); lean_dec(x_1); -x_339 = lean_box(1); -x_340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_340, 0, x_339); -lean_ctor_set(x_340, 1, x_3); -return x_340; +x_630 = lean_box(1); +x_631 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_631, 0, x_630); +lean_ctor_set(x_631, 1, x_3); +return x_631; } else { -lean_object* x_341; lean_object* x_342; uint8_t x_343; -x_341 = l_Lean_Syntax_getArg(x_331, x_14); -lean_dec(x_331); -x_342 = l_Lean_Elab_Command_expandMixfix___closed__8; -lean_inc(x_341); -x_343 = l_Lean_Syntax_isOfKind(x_341, x_342); -if (x_343 == 0) +lean_object* x_632; lean_object* x_633; uint8_t x_634; +x_632 = l_Lean_Syntax_getArg(x_622, x_14); +lean_dec(x_622); +x_633 = l_Lean_Elab_Command_expandMixfix___closed__8; +lean_inc(x_632); +x_634 = l_Lean_Syntax_isOfKind(x_632, x_633); +if (x_634 == 0) { -lean_object* x_344; lean_object* x_345; -lean_dec(x_341); +lean_object* x_635; lean_object* x_636; +lean_dec(x_632); lean_dec(x_1); -x_344 = lean_box(1); -x_345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_345, 0, x_344); -lean_ctor_set(x_345, 1, x_3); -return x_345; +x_635 = lean_box(1); +x_636 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_636, 0, x_635); +lean_ctor_set(x_636, 1, x_3); +return x_636; } else { -lean_object* x_346; lean_object* x_347; lean_object* x_348; uint8_t x_349; -x_346 = l_Lean_Syntax_getArgs(x_341); -x_347 = lean_array_get_size(x_346); -lean_dec(x_346); -x_348 = lean_unsigned_to_nat(2u); -x_349 = lean_nat_dec_eq(x_347, x_348); -lean_dec(x_347); -if (x_349 == 0) +lean_object* x_637; lean_object* x_638; lean_object* x_639; uint8_t x_640; +x_637 = l_Lean_Syntax_getArgs(x_632); +x_638 = lean_array_get_size(x_637); +lean_dec(x_637); +x_639 = lean_unsigned_to_nat(2u); +x_640 = lean_nat_dec_eq(x_638, x_639); +lean_dec(x_638); +if (x_640 == 0) { -lean_object* x_350; lean_object* x_351; -lean_dec(x_341); +lean_object* x_641; lean_object* x_642; +lean_dec(x_632); lean_dec(x_1); -x_350 = lean_box(1); -x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_350); -lean_ctor_set(x_351, 1, x_3); -return x_351; +x_641 = lean_box(1); +x_642 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_642, 0, x_641); +lean_ctor_set(x_642, 1, x_3); +return x_642; } else { -lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; -x_352 = l_Lean_Syntax_getArg(x_341, x_328); -lean_dec(x_341); -x_353 = l_Lean_Syntax_getArg(x_1, x_348); -x_354 = lean_unsigned_to_nat(4u); -x_355 = l_Lean_Syntax_getArg(x_1, x_354); +lean_object* x_643; lean_object* x_644; lean_object* x_645; uint8_t x_680; +x_643 = l_Lean_Syntax_getArg(x_632, x_619); +lean_dec(x_632); +x_644 = l_Lean_Syntax_getArg(x_1, x_639); +lean_inc(x_644); +x_680 = l_Lean_Syntax_isOfKind(x_644, x_623); +if (x_680 == 0) +{ +lean_object* x_681; +x_681 = lean_box(0); +x_645 = x_681; +goto block_679; +} +else +{ +lean_object* x_682; lean_object* x_683; uint8_t x_684; +x_682 = l_Lean_Syntax_getArgs(x_644); +x_683 = lean_array_get_size(x_682); +lean_dec(x_682); +x_684 = lean_nat_dec_eq(x_683, x_14); +lean_dec(x_683); +if (x_684 == 0) +{ +lean_object* x_685; +x_685 = lean_box(0); +x_645 = x_685; +goto block_679; +} +else +{ +lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; +lean_dec(x_644); +x_686 = lean_unsigned_to_nat(3u); +x_687 = l_Lean_Syntax_getArg(x_1, x_686); +x_688 = lean_unsigned_to_nat(5u); +x_689 = l_Lean_Syntax_getArg(x_1, x_688); lean_dec(x_1); -x_356 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_357 = lean_array_push(x_356, x_352); -x_358 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_358, 0, x_342); -lean_ctor_set(x_358, 1, x_357); -x_359 = l_Array_empty___closed__1; -x_360 = lean_array_push(x_359, x_358); -x_361 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_361, 0, x_332); -lean_ctor_set(x_361, 1, x_360); -x_362 = l_Lean_Elab_Command_expandMixfix___closed__32; -x_363 = lean_array_push(x_362, x_361); -x_364 = lean_array_push(x_363, x_353); -x_365 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_366 = lean_array_push(x_364, x_365); -x_367 = lean_array_push(x_366, x_355); -x_368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_368, 0, x_4); -lean_ctor_set(x_368, 1, x_367); -x_369 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_369, 0, x_368); -lean_ctor_set(x_369, 1, x_3); -return x_369; +x_690 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_691 = lean_array_push(x_690, x_643); +x_692 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_692, 0, x_633); +lean_ctor_set(x_692, 1, x_691); +x_693 = l_Array_empty___closed__1; +x_694 = lean_array_push(x_693, x_692); +x_695 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_695, 0, x_623); +lean_ctor_set(x_695, 1, x_694); +x_696 = l_Lean_Elab_Command_expandMixfix___closed__32; +x_697 = lean_array_push(x_696, x_695); +x_698 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; +x_699 = lean_array_push(x_697, x_698); +x_700 = lean_array_push(x_699, x_687); +x_701 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_702 = lean_array_push(x_700, x_701); +x_703 = lean_array_push(x_702, x_689); +x_704 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_704, 0, x_4); +lean_ctor_set(x_704, 1, x_703); +x_705 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_705, 0, x_704); +lean_ctor_set(x_705, 1, x_3); +return x_705; +} +} +block_679: +{ +uint8_t x_646; +lean_dec(x_645); +lean_inc(x_644); +x_646 = l_Lean_Syntax_isOfKind(x_644, x_623); +if (x_646 == 0) +{ +lean_object* x_647; lean_object* x_648; +lean_dec(x_644); +lean_dec(x_643); +lean_dec(x_1); +x_647 = lean_box(1); +x_648 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_648, 0, x_647); +lean_ctor_set(x_648, 1, x_3); +return x_648; +} +else +{ +lean_object* x_649; lean_object* x_650; lean_object* x_651; uint8_t x_652; +x_649 = l_Lean_Syntax_getArgs(x_644); +x_650 = lean_array_get_size(x_649); +lean_dec(x_649); +x_651 = lean_unsigned_to_nat(3u); +x_652 = lean_nat_dec_eq(x_650, x_651); +lean_dec(x_650); +if (x_652 == 0) +{ +lean_object* x_653; lean_object* x_654; +lean_dec(x_644); +lean_dec(x_643); +lean_dec(x_1); +x_653 = lean_box(1); +x_654 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_654, 0, x_653); +lean_ctor_set(x_654, 1, x_3); +return x_654; +} +else +{ +lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; +x_655 = l_Lean_Syntax_getArg(x_644, x_619); +lean_dec(x_644); +x_656 = l_Lean_Syntax_getArg(x_1, x_651); +x_657 = lean_unsigned_to_nat(5u); +x_658 = l_Lean_Syntax_getArg(x_1, x_657); +lean_dec(x_1); +x_659 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_660 = lean_array_push(x_659, x_643); +x_661 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_661, 0, x_633); +lean_ctor_set(x_661, 1, x_660); +x_662 = l_Array_empty___closed__1; +x_663 = lean_array_push(x_662, x_661); +x_664 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_664, 0, x_623); +lean_ctor_set(x_664, 1, x_663); +x_665 = l_Lean_Elab_Command_expandMixfix___closed__32; +x_666 = lean_array_push(x_665, x_664); +x_667 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; +x_668 = lean_array_push(x_667, x_655); +x_669 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; +x_670 = lean_array_push(x_668, x_669); +x_671 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_671, 0, x_623); +lean_ctor_set(x_671, 1, x_670); +x_672 = lean_array_push(x_666, x_671); +x_673 = lean_array_push(x_672, x_656); +x_674 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_675 = lean_array_push(x_673, x_674); +x_676 = lean_array_push(x_675, x_658); +x_677 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_677, 0, x_4); +lean_ctor_set(x_677, 1, x_676); +x_678 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_678, 0, x_677); +lean_ctor_set(x_678, 1, x_3); +return x_678; } } } } } } -block_156: +} +} +} +block_288: { lean_object* x_17; uint8_t x_18; lean_dec(x_16); @@ -16221,238 +16337,91 @@ return x_49; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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; lean_object* x_72; 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; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_109; x_50 = l_Lean_Syntax_getArg(x_39, x_25); lean_dec(x_39); x_51 = l_Lean_Syntax_getArg(x_1, x_46); -x_52 = lean_unsigned_to_nat(4u); -x_53 = l_Lean_Syntax_getArg(x_1, x_52); -lean_dec(x_1); -x_54 = lean_ctor_get(x_2, 2); -lean_inc(x_54); -x_55 = lean_ctor_get(x_2, 1); -lean_inc(x_55); -lean_dec(x_2); -x_56 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_57 = lean_array_push(x_56, x_50); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_40); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_empty___closed__1; -x_60 = lean_array_push(x_59, x_58); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_30); -lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_Elab_Command_expandMixfix___closed__12; -x_63 = lean_array_push(x_62, x_61); -x_64 = l_Lean_Elab_Command_expandMixfix___closed__18; -x_65 = l_Lean_addMacroScope(x_55, x_64, x_54); -x_66 = lean_box(0); -x_67 = l_Lean_instInhabitedSourceInfo___closed__1; -x_68 = l_Lean_Elab_Command_expandMixfix___closed__17; -x_69 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set(x_69, 2, x_65); -lean_ctor_set(x_69, 3, x_66); -x_70 = lean_array_push(x_59, x_69); -x_71 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -lean_inc(x_70); -x_72 = lean_array_push(x_70, x_71); -x_73 = l_Lean_Elab_Command_expandMixfix___closed__14; -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -x_75 = lean_array_push(x_59, x_74); -x_76 = lean_array_push(x_75, x_51); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_30); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_array_push(x_63, x_77); -x_79 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_80 = lean_array_push(x_78, x_79); -x_81 = lean_array_push(x_59, x_53); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_30); -lean_ctor_set(x_82, 1, x_70); -x_83 = lean_array_push(x_81, x_82); -x_84 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_83); -x_86 = lean_array_push(x_80, x_85); -x_87 = l_Lean_Elab_Command_expandMixfix___closed__10; -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_86); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_3); -return x_89; -} -} -} -} -} -} +lean_inc(x_51); +x_109 = l_Lean_Syntax_isOfKind(x_51, x_30); +if (x_109 == 0) +{ +lean_object* x_110; +x_110 = lean_box(0); +x_52 = x_110; +goto block_108; } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; -x_90 = l_Lean_Syntax_getArgs(x_15); -lean_dec(x_15); -x_91 = lean_array_get_size(x_90); -lean_dec(x_90); -x_92 = lean_unsigned_to_nat(1u); -x_93 = lean_nat_dec_eq(x_91, x_92); -lean_dec(x_91); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; -lean_dec(x_2); -lean_dec(x_1); -x_94 = lean_box(1); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_3); -return x_95; -} -else -{ -lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_96 = l_Lean_Syntax_getArg(x_1, x_92); -x_97 = l_Lean_nullKind___closed__2; -lean_inc(x_96); -x_98 = l_Lean_Syntax_isOfKind(x_96, x_97); -if (x_98 == 0) -{ -lean_object* x_99; lean_object* x_100; -lean_dec(x_96); -lean_dec(x_2); -lean_dec(x_1); -x_99 = lean_box(1); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_3); -return x_100; -} -else -{ -lean_object* x_101; lean_object* x_102; uint8_t x_103; -x_101 = l_Lean_Syntax_getArgs(x_96); -x_102 = lean_array_get_size(x_101); -lean_dec(x_101); -x_103 = lean_nat_dec_eq(x_102, x_92); -lean_dec(x_102); -if (x_103 == 0) -{ -lean_object* x_104; lean_object* x_105; -lean_dec(x_96); -lean_dec(x_2); -lean_dec(x_1); -x_104 = lean_box(1); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_3); -return x_105; -} -else -{ -lean_object* x_106; lean_object* x_107; uint8_t x_108; -x_106 = l_Lean_Syntax_getArg(x_96, x_14); -lean_dec(x_96); -x_107 = l_Lean_Elab_Command_expandMixfix___closed__8; -lean_inc(x_106); -x_108 = l_Lean_Syntax_isOfKind(x_106, x_107); -if (x_108 == 0) -{ -lean_object* x_109; lean_object* x_110; -lean_dec(x_106); -lean_dec(x_2); -lean_dec(x_1); -x_109 = lean_box(1); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_3); -return x_110; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; -x_111 = l_Lean_Syntax_getArgs(x_106); +lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_111 = l_Lean_Syntax_getArgs(x_51); x_112 = lean_array_get_size(x_111); lean_dec(x_111); -x_113 = lean_unsigned_to_nat(2u); -x_114 = lean_nat_dec_eq(x_112, x_113); +x_113 = lean_nat_dec_eq(x_112, x_14); lean_dec(x_112); -if (x_114 == 0) +if (x_113 == 0) { -lean_object* x_115; lean_object* x_116; -lean_dec(x_106); -lean_dec(x_2); -lean_dec(x_1); -x_115 = lean_box(1); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_3); -return x_116; +lean_object* x_114; +x_114 = lean_box(0); +x_52 = x_114; +goto block_108; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_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; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_117 = l_Lean_Syntax_getArg(x_106, x_92); -lean_dec(x_106); -x_118 = l_Lean_Syntax_getArg(x_1, x_113); -x_119 = lean_unsigned_to_nat(4u); -x_120 = l_Lean_Syntax_getArg(x_1, x_119); +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; 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; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +lean_dec(x_51); +x_115 = lean_unsigned_to_nat(3u); +x_116 = l_Lean_Syntax_getArg(x_1, x_115); +x_117 = lean_unsigned_to_nat(5u); +x_118 = l_Lean_Syntax_getArg(x_1, x_117); lean_dec(x_1); -x_121 = lean_ctor_get(x_2, 2); -lean_inc(x_121); -x_122 = lean_ctor_get(x_2, 1); -lean_inc(x_122); +x_119 = lean_ctor_get(x_2, 2); +lean_inc(x_119); +x_120 = lean_ctor_get(x_2, 1); +lean_inc(x_120); lean_dec(x_2); -x_123 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_124 = lean_array_push(x_123, x_117); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_107); -lean_ctor_set(x_125, 1, x_124); -x_126 = l_Array_empty___closed__1; -x_127 = lean_array_push(x_126, x_125); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_97); -lean_ctor_set(x_128, 1, x_127); -x_129 = l_Lean_Elab_Command_expandMixfix___closed__12; -lean_inc(x_128); -x_130 = lean_array_push(x_129, x_128); -x_131 = lean_array_push(x_126, x_118); -x_132 = l_Lean_Elab_Command_expandMixfix___closed__18; -x_133 = l_Lean_addMacroScope(x_122, x_132, x_121); -x_134 = lean_box(0); -x_135 = l_Lean_instInhabitedSourceInfo___closed__1; -x_136 = l_Lean_Elab_Command_expandMixfix___closed__17; -x_137 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); -lean_ctor_set(x_137, 2, x_133); -lean_ctor_set(x_137, 3, x_134); -x_138 = lean_array_push(x_126, x_137); -lean_inc(x_138); -x_139 = lean_array_push(x_138, x_128); -x_140 = l_Lean_Elab_Command_expandMixfix___closed__14; -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_139); -x_142 = lean_array_push(x_131, x_141); +x_121 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_122 = lean_array_push(x_121, x_50); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_40); +lean_ctor_set(x_123, 1, x_122); +x_124 = l_Array_empty___closed__1; +x_125 = lean_array_push(x_124, x_123); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_30); +lean_ctor_set(x_126, 1, x_125); +x_127 = l_Lean_Elab_Command_expandMixfix___closed__12; +x_128 = lean_array_push(x_127, x_126); +x_129 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; +x_130 = lean_array_push(x_128, x_129); +x_131 = l_Lean_Elab_Command_expandMixfix___closed__18; +x_132 = l_Lean_addMacroScope(x_120, x_131, x_119); +x_133 = lean_box(0); +x_134 = l_Lean_instInhabitedSourceInfo___closed__1; +x_135 = l_Lean_Elab_Command_expandMixfix___closed__17; +x_136 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +lean_ctor_set(x_136, 2, x_132); +lean_ctor_set(x_136, 3, x_133); +x_137 = lean_array_push(x_124, x_136); +lean_inc(x_137); +x_138 = lean_array_push(x_137, x_129); +x_139 = l_Lean_Elab_Command_expandMixfix___closed__14; +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_138); +x_141 = lean_array_push(x_124, x_140); +x_142 = lean_array_push(x_141, x_116); x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_97); +lean_ctor_set(x_143, 0, x_30); lean_ctor_set(x_143, 1, x_142); x_144 = lean_array_push(x_130, x_143); x_145 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; x_146 = lean_array_push(x_144, x_145); -x_147 = lean_array_push(x_126, x_120); +x_147 = lean_array_push(x_124, x_118); x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_97); -lean_ctor_set(x_148, 1, x_138); +lean_ctor_set(x_148, 0, x_30); +lean_ctor_set(x_148, 1, x_137); x_149 = lean_array_push(x_147, x_148); x_150 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_151 = lean_alloc_ctor(1, 2, 0); @@ -16469,99 +16438,228 @@ lean_ctor_set(x_155, 1, x_3); return x_155; } } -} -} -} -} -} -block_322: +block_108: { -lean_object* x_158; uint8_t x_159; +uint8_t x_53; +lean_dec(x_52); +lean_inc(x_51); +x_53 = l_Lean_Syntax_isOfKind(x_51, x_30); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_2); +lean_dec(x_1); +x_54 = lean_box(1); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_3); +return x_55; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_56 = l_Lean_Syntax_getArgs(x_51); +x_57 = lean_array_get_size(x_56); +lean_dec(x_56); +x_58 = lean_unsigned_to_nat(3u); +x_59 = lean_nat_dec_eq(x_57, x_58); +lean_dec(x_57); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_51); +lean_dec(x_50); +lean_dec(x_2); +lean_dec(x_1); +x_60 = lean_box(1); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_3); +return x_61; +} +else +{ +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; lean_object* x_72; 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; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; 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; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_62 = l_Lean_Syntax_getArg(x_51, x_25); +lean_dec(x_51); +x_63 = l_Lean_Syntax_getArg(x_1, x_58); +x_64 = lean_unsigned_to_nat(5u); +x_65 = l_Lean_Syntax_getArg(x_1, x_64); +lean_dec(x_1); +x_66 = lean_ctor_get(x_2, 2); +lean_inc(x_66); +x_67 = lean_ctor_get(x_2, 1); +lean_inc(x_67); +lean_dec(x_2); +x_68 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_69 = lean_array_push(x_68, x_50); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_40); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_Array_empty___closed__1; +x_72 = lean_array_push(x_71, x_70); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_30); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_Elab_Command_expandMixfix___closed__12; +x_75 = lean_array_push(x_74, x_73); +x_76 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; +x_77 = lean_array_push(x_76, x_62); +x_78 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; +x_79 = lean_array_push(x_77, x_78); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_30); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_array_push(x_75, x_80); +x_82 = l_Lean_Elab_Command_expandMixfix___closed__18; +x_83 = l_Lean_addMacroScope(x_67, x_82, x_66); +x_84 = lean_box(0); +x_85 = l_Lean_instInhabitedSourceInfo___closed__1; +x_86 = l_Lean_Elab_Command_expandMixfix___closed__17; +x_87 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +lean_ctor_set(x_87, 2, x_83); +lean_ctor_set(x_87, 3, x_84); +x_88 = lean_array_push(x_71, x_87); +x_89 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; +lean_inc(x_88); +x_90 = lean_array_push(x_88, x_89); +x_91 = l_Lean_Elab_Command_expandMixfix___closed__14; +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +x_93 = lean_array_push(x_71, x_92); +x_94 = lean_array_push(x_93, x_63); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_30); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_array_push(x_81, x_95); +x_97 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_98 = lean_array_push(x_96, x_97); +x_99 = lean_array_push(x_71, x_65); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_30); +lean_ctor_set(x_100, 1, x_88); +x_101 = lean_array_push(x_99, x_100); +x_102 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_101); +x_104 = lean_array_push(x_98, x_103); +x_105 = l_Lean_Elab_Command_expandMixfix___closed__10; +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_3); +return x_107; +} +} +} +} +} +} +} +} +} +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; +x_156 = l_Lean_Syntax_getArgs(x_15); +lean_dec(x_15); +x_157 = lean_array_get_size(x_156); +lean_dec(x_156); +x_158 = lean_unsigned_to_nat(1u); +x_159 = lean_nat_dec_eq(x_157, x_158); lean_dec(x_157); -x_158 = l_Lean_Elab_Command_expandMixfix___closed__20; -lean_inc(x_15); -x_159 = l_Lean_Syntax_isOfKind(x_15, x_158); if (x_159 == 0) { -lean_object* x_160; uint8_t x_161; -x_160 = l_Lean_Elab_Command_expandMixfix___closed__22; -lean_inc(x_15); -x_161 = l_Lean_Syntax_isOfKind(x_15, x_160); -if (x_161 == 0) -{ -lean_object* x_162; -x_162 = lean_box(0); -x_16 = x_162; -goto block_156; -} -else -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; -x_163 = l_Lean_Syntax_getArgs(x_15); -x_164 = lean_array_get_size(x_163); -lean_dec(x_163); -x_165 = lean_unsigned_to_nat(1u); -x_166 = lean_nat_dec_eq(x_164, x_165); -lean_dec(x_164); -if (x_166 == 0) -{ -lean_object* x_167; -x_167 = lean_box(0); -x_16 = x_167; -goto block_156; -} -else -{ -lean_object* x_168; lean_object* x_169; uint8_t x_170; -lean_dec(x_15); -x_168 = l_Lean_Syntax_getArg(x_1, x_165); -x_169 = l_Lean_nullKind___closed__2; -lean_inc(x_168); -x_170 = l_Lean_Syntax_isOfKind(x_168, x_169); -if (x_170 == 0) -{ -lean_object* x_171; lean_object* x_172; -lean_dec(x_168); +lean_object* x_160; lean_object* x_161; lean_dec(x_2); lean_dec(x_1); -x_171 = lean_box(1); -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_3); -return x_172; +x_160 = lean_box(1); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_3); +return x_161; } else { -lean_object* x_173; lean_object* x_174; uint8_t x_175; -x_173 = l_Lean_Syntax_getArgs(x_168); -x_174 = lean_array_get_size(x_173); -lean_dec(x_173); -x_175 = lean_nat_dec_eq(x_174, x_165); -lean_dec(x_174); -if (x_175 == 0) +lean_object* x_162; lean_object* x_163; uint8_t x_164; +x_162 = l_Lean_Syntax_getArg(x_1, x_158); +x_163 = l_Lean_nullKind___closed__2; +lean_inc(x_162); +x_164 = l_Lean_Syntax_isOfKind(x_162, x_163); +if (x_164 == 0) { -lean_object* x_176; lean_object* x_177; -lean_dec(x_168); +lean_object* x_165; lean_object* x_166; +lean_dec(x_162); lean_dec(x_2); lean_dec(x_1); -x_176 = lean_box(1); -x_177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_3); -return x_177; +x_165 = lean_box(1); +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_3); +return x_166; } else { -lean_object* x_178; lean_object* x_179; uint8_t x_180; -x_178 = l_Lean_Syntax_getArg(x_168, x_14); +lean_object* x_167; lean_object* x_168; uint8_t x_169; +x_167 = l_Lean_Syntax_getArgs(x_162); +x_168 = lean_array_get_size(x_167); +lean_dec(x_167); +x_169 = lean_nat_dec_eq(x_168, x_158); lean_dec(x_168); -x_179 = l_Lean_Elab_Command_expandMixfix___closed__8; -lean_inc(x_178); -x_180 = l_Lean_Syntax_isOfKind(x_178, x_179); +if (x_169 == 0) +{ +lean_object* x_170; lean_object* x_171; +lean_dec(x_162); +lean_dec(x_2); +lean_dec(x_1); +x_170 = lean_box(1); +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_3); +return x_171; +} +else +{ +lean_object* x_172; lean_object* x_173; uint8_t x_174; +x_172 = l_Lean_Syntax_getArg(x_162, x_14); +lean_dec(x_162); +x_173 = l_Lean_Elab_Command_expandMixfix___closed__8; +lean_inc(x_172); +x_174 = l_Lean_Syntax_isOfKind(x_172, x_173); +if (x_174 == 0) +{ +lean_object* x_175; lean_object* x_176; +lean_dec(x_172); +lean_dec(x_2); +lean_dec(x_1); +x_175 = lean_box(1); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_3); +return x_176; +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; +x_177 = l_Lean_Syntax_getArgs(x_172); +x_178 = lean_array_get_size(x_177); +lean_dec(x_177); +x_179 = lean_unsigned_to_nat(2u); +x_180 = lean_nat_dec_eq(x_178, x_179); +lean_dec(x_178); if (x_180 == 0) { lean_object* x_181; lean_object* x_182; -lean_dec(x_178); +lean_dec(x_172); lean_dec(x_2); lean_dec(x_1); x_181 = lean_box(1); @@ -16572,17 +16670,119 @@ return x_182; } else { -lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; -x_183 = l_Lean_Syntax_getArgs(x_178); -x_184 = lean_array_get_size(x_183); -lean_dec(x_183); -x_185 = lean_unsigned_to_nat(2u); -x_186 = lean_nat_dec_eq(x_184, x_185); +lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_241; +x_183 = l_Lean_Syntax_getArg(x_172, x_158); +lean_dec(x_172); +x_184 = l_Lean_Syntax_getArg(x_1, x_179); +lean_inc(x_184); +x_241 = l_Lean_Syntax_isOfKind(x_184, x_163); +if (x_241 == 0) +{ +lean_object* x_242; +x_242 = lean_box(0); +x_185 = x_242; +goto block_240; +} +else +{ +lean_object* x_243; lean_object* x_244; uint8_t x_245; +x_243 = l_Lean_Syntax_getArgs(x_184); +x_244 = lean_array_get_size(x_243); +lean_dec(x_243); +x_245 = lean_nat_dec_eq(x_244, x_14); +lean_dec(x_244); +if (x_245 == 0) +{ +lean_object* x_246; +x_246 = lean_box(0); +x_185 = x_246; +goto block_240; +} +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; 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; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; 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_dec(x_184); +x_247 = lean_unsigned_to_nat(3u); +x_248 = l_Lean_Syntax_getArg(x_1, x_247); +x_249 = lean_unsigned_to_nat(5u); +x_250 = l_Lean_Syntax_getArg(x_1, x_249); +lean_dec(x_1); +x_251 = lean_ctor_get(x_2, 2); +lean_inc(x_251); +x_252 = lean_ctor_get(x_2, 1); +lean_inc(x_252); +lean_dec(x_2); +x_253 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_254 = lean_array_push(x_253, x_183); +x_255 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_255, 0, x_173); +lean_ctor_set(x_255, 1, x_254); +x_256 = l_Array_empty___closed__1; +x_257 = lean_array_push(x_256, x_255); +x_258 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_258, 0, x_163); +lean_ctor_set(x_258, 1, x_257); +x_259 = l_Lean_Elab_Command_expandMixfix___closed__12; +lean_inc(x_258); +x_260 = lean_array_push(x_259, x_258); +x_261 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; +x_262 = lean_array_push(x_260, x_261); +x_263 = lean_array_push(x_256, x_248); +x_264 = l_Lean_Elab_Command_expandMixfix___closed__18; +x_265 = l_Lean_addMacroScope(x_252, x_264, x_251); +x_266 = lean_box(0); +x_267 = l_Lean_instInhabitedSourceInfo___closed__1; +x_268 = l_Lean_Elab_Command_expandMixfix___closed__17; +x_269 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_269, 0, x_267); +lean_ctor_set(x_269, 1, x_268); +lean_ctor_set(x_269, 2, x_265); +lean_ctor_set(x_269, 3, x_266); +x_270 = lean_array_push(x_256, x_269); +lean_inc(x_270); +x_271 = lean_array_push(x_270, x_258); +x_272 = l_Lean_Elab_Command_expandMixfix___closed__14; +x_273 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_273, 0, x_272); +lean_ctor_set(x_273, 1, x_271); +x_274 = lean_array_push(x_263, x_273); +x_275 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_275, 0, x_163); +lean_ctor_set(x_275, 1, x_274); +x_276 = lean_array_push(x_262, x_275); +x_277 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_278 = lean_array_push(x_276, x_277); +x_279 = lean_array_push(x_256, x_250); +x_280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_280, 0, x_163); +lean_ctor_set(x_280, 1, x_270); +x_281 = lean_array_push(x_279, x_280); +x_282 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_281); +x_284 = lean_array_push(x_278, x_283); +x_285 = l_Lean_Elab_Command_expandMixfix___closed__10; +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_284); +x_287 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_3); +return x_287; +} +} +block_240: +{ +uint8_t x_186; +lean_dec(x_185); +lean_inc(x_184); +x_186 = l_Lean_Syntax_isOfKind(x_184, x_163); if (x_186 == 0) { lean_object* x_187; lean_object* x_188; -lean_dec(x_178); +lean_dec(x_184); +lean_dec(x_183); lean_dec(x_2); lean_dec(x_1); x_187 = lean_box(1); @@ -16593,106 +16793,104 @@ return x_188; } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; 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; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; 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; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; -x_189 = l_Lean_Syntax_getArg(x_178, x_165); -lean_dec(x_178); -x_190 = l_Lean_Syntax_getArg(x_1, x_185); -x_191 = lean_unsigned_to_nat(4u); -x_192 = l_Lean_Syntax_getArg(x_1, x_191); +lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; +x_189 = l_Lean_Syntax_getArgs(x_184); +x_190 = lean_array_get_size(x_189); +lean_dec(x_189); +x_191 = lean_unsigned_to_nat(3u); +x_192 = lean_nat_dec_eq(x_190, x_191); +lean_dec(x_190); +if (x_192 == 0) +{ +lean_object* x_193; lean_object* x_194; +lean_dec(x_184); +lean_dec(x_183); +lean_dec(x_2); +lean_dec(x_1); +x_193 = lean_box(1); +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_3); +return x_194; +} +else +{ +lean_object* x_195; lean_object* x_196; 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; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; 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; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; +x_195 = l_Lean_Syntax_getArg(x_184, x_158); +lean_dec(x_184); +x_196 = l_Lean_Syntax_getArg(x_1, x_191); +x_197 = lean_unsigned_to_nat(5u); +x_198 = l_Lean_Syntax_getArg(x_1, x_197); lean_dec(x_1); -x_193 = l_Lean_Syntax_toNat(x_189); -x_194 = lean_nat_add(x_193, x_165); -lean_dec(x_193); -x_195 = l_Nat_repr(x_194); -x_196 = l_Lean_numLitKind; -x_197 = l_Lean_instInhabitedSourceInfo___closed__1; -x_198 = l_Lean_Syntax_mkLit(x_196, x_195, x_197); x_199 = lean_ctor_get(x_2, 2); lean_inc(x_199); x_200 = lean_ctor_get(x_2, 1); lean_inc(x_200); lean_dec(x_2); x_201 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_202 = lean_array_push(x_201, x_189); +x_202 = lean_array_push(x_201, x_183); x_203 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_203, 0, x_179); +lean_ctor_set(x_203, 0, x_173); lean_ctor_set(x_203, 1, x_202); x_204 = l_Array_empty___closed__1; x_205 = lean_array_push(x_204, x_203); x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_169); +lean_ctor_set(x_206, 0, x_163); lean_ctor_set(x_206, 1, x_205); x_207 = l_Lean_Elab_Command_expandMixfix___closed__12; +lean_inc(x_206); x_208 = lean_array_push(x_207, x_206); -x_209 = l_Lean_Elab_Command_expandMixfix___closed__26; -lean_inc(x_199); -lean_inc(x_200); -x_210 = l_Lean_addMacroScope(x_200, x_209, x_199); -x_211 = lean_box(0); -x_212 = l_Lean_Elab_Command_expandMixfix___closed__25; -x_213 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_213, 0, x_197); +x_209 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; +x_210 = lean_array_push(x_209, x_195); +x_211 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; +x_212 = lean_array_push(x_210, x_211); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_163); lean_ctor_set(x_213, 1, x_212); -lean_ctor_set(x_213, 2, x_210); -lean_ctor_set(x_213, 3, x_211); -x_214 = lean_array_push(x_204, x_213); -x_215 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -lean_inc(x_214); -x_216 = lean_array_push(x_214, x_215); -x_217 = l_Lean_Elab_Command_expandMixfix___closed__14; -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_216); -x_219 = lean_array_push(x_204, x_218); -x_220 = lean_array_push(x_219, x_190); -x_221 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__4; -x_222 = l_Lean_addMacroScope(x_200, x_221, x_199); -x_223 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__3; -x_224 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_224, 0, x_197); -lean_ctor_set(x_224, 1, x_223); -lean_ctor_set(x_224, 2, x_222); -lean_ctor_set(x_224, 3, x_211); -lean_inc(x_224); -x_225 = lean_array_push(x_204, x_224); -x_226 = lean_array_push(x_201, x_198); +x_214 = lean_array_push(x_208, x_213); +x_215 = lean_array_push(x_204, x_196); +x_216 = l_Lean_Elab_Command_expandMixfix___closed__18; +x_217 = l_Lean_addMacroScope(x_200, x_216, x_199); +x_218 = lean_box(0); +x_219 = l_Lean_instInhabitedSourceInfo___closed__1; +x_220 = l_Lean_Elab_Command_expandMixfix___closed__17; +x_221 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_221, 0, x_219); +lean_ctor_set(x_221, 1, x_220); +lean_ctor_set(x_221, 2, x_217); +lean_ctor_set(x_221, 3, x_218); +x_222 = lean_array_push(x_204, x_221); +lean_inc(x_222); +x_223 = lean_array_push(x_222, x_206); +x_224 = l_Lean_Elab_Command_expandMixfix___closed__14; +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_224); +lean_ctor_set(x_225, 1, x_223); +x_226 = lean_array_push(x_215, x_225); x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_179); +lean_ctor_set(x_227, 0, x_163); lean_ctor_set(x_227, 1, x_226); -x_228 = lean_array_push(x_204, x_227); -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_169); -lean_ctor_set(x_229, 1, x_228); -x_230 = lean_array_push(x_225, x_229); -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_217); -lean_ctor_set(x_231, 1, x_230); -x_232 = lean_array_push(x_220, x_231); -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_169); -lean_ctor_set(x_233, 1, x_232); -x_234 = lean_array_push(x_208, x_233); -x_235 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_236 = lean_array_push(x_234, x_235); -x_237 = lean_array_push(x_204, x_192); -x_238 = lean_array_push(x_214, x_224); -x_239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_239, 0, x_169); -lean_ctor_set(x_239, 1, x_238); -x_240 = lean_array_push(x_237, x_239); -x_241 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_241); -lean_ctor_set(x_242, 1, x_240); -x_243 = lean_array_push(x_236, x_242); -x_244 = l_Lean_Elab_Command_expandMixfix___closed__10; -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_243); -x_246 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_246, 0, x_245); -lean_ctor_set(x_246, 1, x_3); -return x_246; +x_228 = lean_array_push(x_214, x_227); +x_229 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_230 = lean_array_push(x_228, x_229); +x_231 = lean_array_push(x_204, x_198); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_163); +lean_ctor_set(x_232, 1, x_222); +x_233 = lean_array_push(x_231, x_232); +x_234 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_235, 0, x_234); +lean_ctor_set(x_235, 1, x_233); +x_236 = lean_array_push(x_230, x_235); +x_237 = l_Lean_Elab_Command_expandMixfix___closed__10; +x_238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_238, 0, x_237); +lean_ctor_set(x_238, 1, x_236); +x_239 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_3); +return x_239; } } } @@ -16700,192 +16898,782 @@ return x_246; } } } +} +} +} +block_613: +{ +lean_object* x_290; uint8_t x_291; +lean_dec(x_289); +x_290 = l_Lean_Elab_Command_expandMixfix___closed__20; +lean_inc(x_15); +x_291 = l_Lean_Syntax_isOfKind(x_15, x_290); +if (x_291 == 0) +{ +lean_object* x_292; uint8_t x_293; +x_292 = l_Lean_Elab_Command_expandMixfix___closed__22; +lean_inc(x_15); +x_293 = l_Lean_Syntax_isOfKind(x_15, x_292); +if (x_293 == 0) +{ +lean_object* x_294; +x_294 = lean_box(0); +x_16 = x_294; +goto block_288; +} else { -lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; -x_247 = l_Lean_Syntax_getArgs(x_15); -x_248 = lean_array_get_size(x_247); -lean_dec(x_247); -x_249 = lean_unsigned_to_nat(1u); -x_250 = lean_nat_dec_eq(x_248, x_249); -lean_dec(x_248); -if (x_250 == 0) +lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; +x_295 = l_Lean_Syntax_getArgs(x_15); +x_296 = lean_array_get_size(x_295); +lean_dec(x_295); +x_297 = lean_unsigned_to_nat(1u); +x_298 = lean_nat_dec_eq(x_296, x_297); +lean_dec(x_296); +if (x_298 == 0) { -lean_object* x_251; -x_251 = lean_box(0); -x_16 = x_251; -goto block_156; +lean_object* x_299; +x_299 = lean_box(0); +x_16 = x_299; +goto block_288; } else { -lean_object* x_252; lean_object* x_253; uint8_t x_254; +lean_object* x_300; lean_object* x_301; uint8_t x_302; lean_dec(x_15); -x_252 = l_Lean_Syntax_getArg(x_1, x_249); -x_253 = l_Lean_nullKind___closed__2; -lean_inc(x_252); -x_254 = l_Lean_Syntax_isOfKind(x_252, x_253); -if (x_254 == 0) +x_300 = l_Lean_Syntax_getArg(x_1, x_297); +x_301 = l_Lean_nullKind___closed__2; +lean_inc(x_300); +x_302 = l_Lean_Syntax_isOfKind(x_300, x_301); +if (x_302 == 0) { -lean_object* x_255; lean_object* x_256; -lean_dec(x_252); +lean_object* x_303; lean_object* x_304; +lean_dec(x_300); lean_dec(x_2); lean_dec(x_1); -x_255 = lean_box(1); -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_255); -lean_ctor_set(x_256, 1, x_3); -return x_256; +x_303 = lean_box(1); +x_304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_3); +return x_304; } else { -lean_object* x_257; lean_object* x_258; uint8_t x_259; -x_257 = l_Lean_Syntax_getArgs(x_252); -x_258 = lean_array_get_size(x_257); -lean_dec(x_257); -x_259 = lean_nat_dec_eq(x_258, x_249); -lean_dec(x_258); -if (x_259 == 0) +lean_object* x_305; lean_object* x_306; uint8_t x_307; +x_305 = l_Lean_Syntax_getArgs(x_300); +x_306 = lean_array_get_size(x_305); +lean_dec(x_305); +x_307 = lean_nat_dec_eq(x_306, x_297); +lean_dec(x_306); +if (x_307 == 0) { -lean_object* x_260; lean_object* x_261; -lean_dec(x_252); +lean_object* x_308; lean_object* x_309; +lean_dec(x_300); lean_dec(x_2); lean_dec(x_1); -x_260 = lean_box(1); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_260); -lean_ctor_set(x_261, 1, x_3); -return x_261; +x_308 = lean_box(1); +x_309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_309, 0, x_308); +lean_ctor_set(x_309, 1, x_3); +return x_309; } else { -lean_object* x_262; lean_object* x_263; uint8_t x_264; -x_262 = l_Lean_Syntax_getArg(x_252, x_14); -lean_dec(x_252); -x_263 = l_Lean_Elab_Command_expandMixfix___closed__8; -lean_inc(x_262); -x_264 = l_Lean_Syntax_isOfKind(x_262, x_263); -if (x_264 == 0) +lean_object* x_310; lean_object* x_311; uint8_t x_312; +x_310 = l_Lean_Syntax_getArg(x_300, x_14); +lean_dec(x_300); +x_311 = l_Lean_Elab_Command_expandMixfix___closed__8; +lean_inc(x_310); +x_312 = l_Lean_Syntax_isOfKind(x_310, x_311); +if (x_312 == 0) { -lean_object* x_265; lean_object* x_266; -lean_dec(x_262); +lean_object* x_313; lean_object* x_314; +lean_dec(x_310); lean_dec(x_2); lean_dec(x_1); -x_265 = lean_box(1); -x_266 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_266, 0, x_265); -lean_ctor_set(x_266, 1, x_3); -return x_266; -} -else -{ -lean_object* x_267; lean_object* x_268; lean_object* x_269; uint8_t x_270; -x_267 = l_Lean_Syntax_getArgs(x_262); -x_268 = lean_array_get_size(x_267); -lean_dec(x_267); -x_269 = lean_unsigned_to_nat(2u); -x_270 = lean_nat_dec_eq(x_268, x_269); -lean_dec(x_268); -if (x_270 == 0) -{ -lean_object* x_271; lean_object* x_272; -lean_dec(x_262); -lean_dec(x_2); -lean_dec(x_1); -x_271 = lean_box(1); -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_271); -lean_ctor_set(x_272, 1, x_3); -return x_272; -} -else -{ -lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; 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_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; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; -x_273 = l_Lean_Syntax_getArg(x_262, x_249); -lean_dec(x_262); -x_274 = l_Lean_Syntax_getArg(x_1, x_269); -x_275 = lean_unsigned_to_nat(4u); -x_276 = l_Lean_Syntax_getArg(x_1, x_275); -lean_dec(x_1); -x_277 = lean_ctor_get(x_2, 2); -lean_inc(x_277); -x_278 = lean_ctor_get(x_2, 1); -lean_inc(x_278); -lean_dec(x_2); -x_279 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_280 = lean_array_push(x_279, x_273); -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_263); -lean_ctor_set(x_281, 1, x_280); -x_282 = l_Array_empty___closed__1; -x_283 = lean_array_push(x_282, x_281); -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_253); -lean_ctor_set(x_284, 1, x_283); -x_285 = l_Lean_Elab_Command_expandMixfix___closed__12; -lean_inc(x_284); -x_286 = lean_array_push(x_285, x_284); -x_287 = l_Lean_Elab_Command_expandMixfix___closed__26; -lean_inc(x_277); -lean_inc(x_278); -x_288 = l_Lean_addMacroScope(x_278, x_287, x_277); -x_289 = lean_box(0); -x_290 = l_Lean_instInhabitedSourceInfo___closed__1; -x_291 = l_Lean_Elab_Command_expandMixfix___closed__25; -x_292 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_292, 0, x_290); -lean_ctor_set(x_292, 1, x_291); -lean_ctor_set(x_292, 2, x_288); -lean_ctor_set(x_292, 3, x_289); -x_293 = lean_array_push(x_282, x_292); -x_294 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; -lean_inc(x_293); -x_295 = lean_array_push(x_293, x_294); -x_296 = l_Lean_Elab_Command_expandMixfix___closed__14; -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_296); -lean_ctor_set(x_297, 1, x_295); -x_298 = lean_array_push(x_282, x_297); -x_299 = lean_array_push(x_298, x_274); -x_300 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__4; -x_301 = l_Lean_addMacroScope(x_278, x_300, x_277); -x_302 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__3; -x_303 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_303, 0, x_290); -lean_ctor_set(x_303, 1, x_302); -lean_ctor_set(x_303, 2, x_301); -lean_ctor_set(x_303, 3, x_289); -lean_inc(x_303); -x_304 = lean_array_push(x_282, x_303); -x_305 = lean_array_push(x_304, x_284); -x_306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_306, 0, x_296); -lean_ctor_set(x_306, 1, x_305); -x_307 = lean_array_push(x_299, x_306); -x_308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_308, 0, x_253); -lean_ctor_set(x_308, 1, x_307); -x_309 = lean_array_push(x_286, x_308); -x_310 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_311 = lean_array_push(x_309, x_310); -x_312 = lean_array_push(x_282, x_276); -x_313 = lean_array_push(x_293, x_303); +x_313 = lean_box(1); x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_253); -lean_ctor_set(x_314, 1, x_313); -x_315 = lean_array_push(x_312, x_314); -x_316 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_315); -x_318 = lean_array_push(x_311, x_317); -x_319 = l_Lean_Elab_Command_expandMixfix___closed__10; +lean_ctor_set(x_314, 0, x_313); +lean_ctor_set(x_314, 1, x_3); +return x_314; +} +else +{ +lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; +x_315 = l_Lean_Syntax_getArgs(x_310); +x_316 = lean_array_get_size(x_315); +lean_dec(x_315); +x_317 = lean_unsigned_to_nat(2u); +x_318 = lean_nat_dec_eq(x_316, x_317); +lean_dec(x_316); +if (x_318 == 0) +{ +lean_object* x_319; lean_object* x_320; +lean_dec(x_310); +lean_dec(x_2); +lean_dec(x_1); +x_319 = lean_box(1); x_320 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_320, 0, x_319); -lean_ctor_set(x_320, 1, x_318); -x_321 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_321, 0, x_320); -lean_ctor_set(x_321, 1, x_3); -return x_321; +lean_ctor_set(x_320, 1, x_3); +return x_320; +} +else +{ +lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_398; +x_321 = l_Lean_Syntax_getArg(x_310, x_297); +lean_dec(x_310); +x_322 = l_Lean_Syntax_getArg(x_1, x_317); +lean_inc(x_322); +x_398 = l_Lean_Syntax_isOfKind(x_322, x_301); +if (x_398 == 0) +{ +lean_object* x_399; +x_399 = lean_box(0); +x_323 = x_399; +goto block_397; +} +else +{ +lean_object* x_400; lean_object* x_401; uint8_t x_402; +x_400 = l_Lean_Syntax_getArgs(x_322); +x_401 = lean_array_get_size(x_400); +lean_dec(x_400); +x_402 = lean_nat_dec_eq(x_401, x_14); +lean_dec(x_401); +if (x_402 == 0) +{ +lean_object* x_403; +x_403 = lean_box(0); +x_323 = x_403; +goto block_397; +} +else +{ +lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; +lean_dec(x_322); +x_404 = lean_unsigned_to_nat(3u); +x_405 = l_Lean_Syntax_getArg(x_1, x_404); +x_406 = lean_unsigned_to_nat(5u); +x_407 = l_Lean_Syntax_getArg(x_1, x_406); +lean_dec(x_1); +x_408 = l_Lean_Syntax_toNat(x_321); +x_409 = lean_nat_add(x_408, x_297); +lean_dec(x_408); +x_410 = l_Nat_repr(x_409); +x_411 = l_Lean_numLitKind; +x_412 = l_Lean_instInhabitedSourceInfo___closed__1; +x_413 = l_Lean_Syntax_mkLit(x_411, x_410, x_412); +x_414 = lean_ctor_get(x_2, 2); +lean_inc(x_414); +x_415 = lean_ctor_get(x_2, 1); +lean_inc(x_415); +lean_dec(x_2); +x_416 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_417 = lean_array_push(x_416, x_321); +x_418 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_418, 0, x_311); +lean_ctor_set(x_418, 1, x_417); +x_419 = l_Array_empty___closed__1; +x_420 = lean_array_push(x_419, x_418); +x_421 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_421, 0, x_301); +lean_ctor_set(x_421, 1, x_420); +x_422 = l_Lean_Elab_Command_expandMixfix___closed__12; +x_423 = lean_array_push(x_422, x_421); +x_424 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; +x_425 = lean_array_push(x_423, x_424); +x_426 = l_Lean_Elab_Command_expandMixfix___closed__26; +lean_inc(x_414); +lean_inc(x_415); +x_427 = l_Lean_addMacroScope(x_415, x_426, x_414); +x_428 = lean_box(0); +x_429 = l_Lean_Elab_Command_expandMixfix___closed__25; +x_430 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_430, 0, x_412); +lean_ctor_set(x_430, 1, x_429); +lean_ctor_set(x_430, 2, x_427); +lean_ctor_set(x_430, 3, x_428); +x_431 = lean_array_push(x_419, x_430); +lean_inc(x_431); +x_432 = lean_array_push(x_431, x_424); +x_433 = l_Lean_Elab_Command_expandMixfix___closed__14; +x_434 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_434, 0, x_433); +lean_ctor_set(x_434, 1, x_432); +x_435 = lean_array_push(x_419, x_434); +x_436 = lean_array_push(x_435, x_405); +x_437 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__4; +x_438 = l_Lean_addMacroScope(x_415, x_437, x_414); +x_439 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__3; +x_440 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_440, 0, x_412); +lean_ctor_set(x_440, 1, x_439); +lean_ctor_set(x_440, 2, x_438); +lean_ctor_set(x_440, 3, x_428); +lean_inc(x_440); +x_441 = lean_array_push(x_419, x_440); +x_442 = lean_array_push(x_416, x_413); +x_443 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_443, 0, x_311); +lean_ctor_set(x_443, 1, x_442); +x_444 = lean_array_push(x_419, x_443); +x_445 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_445, 0, x_301); +lean_ctor_set(x_445, 1, x_444); +x_446 = lean_array_push(x_441, x_445); +x_447 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_447, 0, x_433); +lean_ctor_set(x_447, 1, x_446); +x_448 = lean_array_push(x_436, x_447); +x_449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_449, 0, x_301); +lean_ctor_set(x_449, 1, x_448); +x_450 = lean_array_push(x_425, x_449); +x_451 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_452 = lean_array_push(x_450, x_451); +x_453 = lean_array_push(x_419, x_407); +x_454 = lean_array_push(x_431, x_440); +x_455 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_455, 0, x_301); +lean_ctor_set(x_455, 1, x_454); +x_456 = lean_array_push(x_453, x_455); +x_457 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_458 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_458, 0, x_457); +lean_ctor_set(x_458, 1, x_456); +x_459 = lean_array_push(x_452, x_458); +x_460 = l_Lean_Elab_Command_expandMixfix___closed__10; +x_461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_461, 0, x_460); +lean_ctor_set(x_461, 1, x_459); +x_462 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_462, 0, x_461); +lean_ctor_set(x_462, 1, x_3); +return x_462; +} +} +block_397: +{ +uint8_t x_324; +lean_dec(x_323); +lean_inc(x_322); +x_324 = l_Lean_Syntax_isOfKind(x_322, x_301); +if (x_324 == 0) +{ +lean_object* x_325; lean_object* x_326; +lean_dec(x_322); +lean_dec(x_321); +lean_dec(x_2); +lean_dec(x_1); +x_325 = lean_box(1); +x_326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_326, 0, x_325); +lean_ctor_set(x_326, 1, x_3); +return x_326; +} +else +{ +lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; +x_327 = l_Lean_Syntax_getArgs(x_322); +x_328 = lean_array_get_size(x_327); +lean_dec(x_327); +x_329 = lean_unsigned_to_nat(3u); +x_330 = lean_nat_dec_eq(x_328, x_329); +lean_dec(x_328); +if (x_330 == 0) +{ +lean_object* x_331; lean_object* x_332; +lean_dec(x_322); +lean_dec(x_321); +lean_dec(x_2); +lean_dec(x_1); +x_331 = lean_box(1); +x_332 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_332, 0, x_331); +lean_ctor_set(x_332, 1, x_3); +return x_332; +} +else +{ +lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; +x_333 = l_Lean_Syntax_getArg(x_322, x_297); +lean_dec(x_322); +x_334 = l_Lean_Syntax_getArg(x_1, x_329); +x_335 = lean_unsigned_to_nat(5u); +x_336 = l_Lean_Syntax_getArg(x_1, x_335); +lean_dec(x_1); +x_337 = l_Lean_Syntax_toNat(x_321); +x_338 = lean_nat_add(x_337, x_297); +lean_dec(x_337); +x_339 = l_Nat_repr(x_338); +x_340 = l_Lean_numLitKind; +x_341 = l_Lean_instInhabitedSourceInfo___closed__1; +x_342 = l_Lean_Syntax_mkLit(x_340, x_339, x_341); +x_343 = lean_ctor_get(x_2, 2); +lean_inc(x_343); +x_344 = lean_ctor_get(x_2, 1); +lean_inc(x_344); +lean_dec(x_2); +x_345 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_346 = lean_array_push(x_345, x_321); +x_347 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_347, 0, x_311); +lean_ctor_set(x_347, 1, x_346); +x_348 = l_Array_empty___closed__1; +x_349 = lean_array_push(x_348, x_347); +x_350 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_350, 0, x_301); +lean_ctor_set(x_350, 1, x_349); +x_351 = l_Lean_Elab_Command_expandMixfix___closed__12; +x_352 = lean_array_push(x_351, x_350); +x_353 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; +x_354 = lean_array_push(x_353, x_333); +x_355 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; +x_356 = lean_array_push(x_354, x_355); +x_357 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_357, 0, x_301); +lean_ctor_set(x_357, 1, x_356); +x_358 = lean_array_push(x_352, x_357); +x_359 = l_Lean_Elab_Command_expandMixfix___closed__26; +lean_inc(x_343); +lean_inc(x_344); +x_360 = l_Lean_addMacroScope(x_344, x_359, x_343); +x_361 = lean_box(0); +x_362 = l_Lean_Elab_Command_expandMixfix___closed__25; +x_363 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_363, 0, x_341); +lean_ctor_set(x_363, 1, x_362); +lean_ctor_set(x_363, 2, x_360); +lean_ctor_set(x_363, 3, x_361); +x_364 = lean_array_push(x_348, x_363); +x_365 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; +lean_inc(x_364); +x_366 = lean_array_push(x_364, x_365); +x_367 = l_Lean_Elab_Command_expandMixfix___closed__14; +x_368 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set(x_368, 1, x_366); +x_369 = lean_array_push(x_348, x_368); +x_370 = lean_array_push(x_369, x_334); +x_371 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__4; +x_372 = l_Lean_addMacroScope(x_344, x_371, x_343); +x_373 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__3; +x_374 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_374, 0, x_341); +lean_ctor_set(x_374, 1, x_373); +lean_ctor_set(x_374, 2, x_372); +lean_ctor_set(x_374, 3, x_361); +lean_inc(x_374); +x_375 = lean_array_push(x_348, x_374); +x_376 = lean_array_push(x_345, x_342); +x_377 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_377, 0, x_311); +lean_ctor_set(x_377, 1, x_376); +x_378 = lean_array_push(x_348, x_377); +x_379 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_379, 0, x_301); +lean_ctor_set(x_379, 1, x_378); +x_380 = lean_array_push(x_375, x_379); +x_381 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_381, 0, x_367); +lean_ctor_set(x_381, 1, x_380); +x_382 = lean_array_push(x_370, x_381); +x_383 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_383, 0, x_301); +lean_ctor_set(x_383, 1, x_382); +x_384 = lean_array_push(x_358, x_383); +x_385 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_386 = lean_array_push(x_384, x_385); +x_387 = lean_array_push(x_348, x_336); +x_388 = lean_array_push(x_364, x_374); +x_389 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_389, 0, x_301); +lean_ctor_set(x_389, 1, x_388); +x_390 = lean_array_push(x_387, x_389); +x_391 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_392 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_392, 0, x_391); +lean_ctor_set(x_392, 1, x_390); +x_393 = lean_array_push(x_386, x_392); +x_394 = l_Lean_Elab_Command_expandMixfix___closed__10; +x_395 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_395, 0, x_394); +lean_ctor_set(x_395, 1, x_393); +x_396 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_396, 0, x_395); +lean_ctor_set(x_396, 1, x_3); +return x_396; +} +} +} +} +} +} +} +} +} +} +else +{ +lean_object* x_463; lean_object* x_464; lean_object* x_465; uint8_t x_466; +x_463 = l_Lean_Syntax_getArgs(x_15); +x_464 = lean_array_get_size(x_463); +lean_dec(x_463); +x_465 = lean_unsigned_to_nat(1u); +x_466 = lean_nat_dec_eq(x_464, x_465); +lean_dec(x_464); +if (x_466 == 0) +{ +lean_object* x_467; +x_467 = lean_box(0); +x_16 = x_467; +goto block_288; +} +else +{ +lean_object* x_468; lean_object* x_469; uint8_t x_470; +lean_dec(x_15); +x_468 = l_Lean_Syntax_getArg(x_1, x_465); +x_469 = l_Lean_nullKind___closed__2; +lean_inc(x_468); +x_470 = l_Lean_Syntax_isOfKind(x_468, x_469); +if (x_470 == 0) +{ +lean_object* x_471; lean_object* x_472; +lean_dec(x_468); +lean_dec(x_2); +lean_dec(x_1); +x_471 = lean_box(1); +x_472 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_472, 0, x_471); +lean_ctor_set(x_472, 1, x_3); +return x_472; +} +else +{ +lean_object* x_473; lean_object* x_474; uint8_t x_475; +x_473 = l_Lean_Syntax_getArgs(x_468); +x_474 = lean_array_get_size(x_473); +lean_dec(x_473); +x_475 = lean_nat_dec_eq(x_474, x_465); +lean_dec(x_474); +if (x_475 == 0) +{ +lean_object* x_476; lean_object* x_477; +lean_dec(x_468); +lean_dec(x_2); +lean_dec(x_1); +x_476 = lean_box(1); +x_477 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_477, 0, x_476); +lean_ctor_set(x_477, 1, x_3); +return x_477; +} +else +{ +lean_object* x_478; lean_object* x_479; uint8_t x_480; +x_478 = l_Lean_Syntax_getArg(x_468, x_14); +lean_dec(x_468); +x_479 = l_Lean_Elab_Command_expandMixfix___closed__8; +lean_inc(x_478); +x_480 = l_Lean_Syntax_isOfKind(x_478, x_479); +if (x_480 == 0) +{ +lean_object* x_481; lean_object* x_482; +lean_dec(x_478); +lean_dec(x_2); +lean_dec(x_1); +x_481 = lean_box(1); +x_482 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_482, 0, x_481); +lean_ctor_set(x_482, 1, x_3); +return x_482; +} +else +{ +lean_object* x_483; lean_object* x_484; lean_object* x_485; uint8_t x_486; +x_483 = l_Lean_Syntax_getArgs(x_478); +x_484 = lean_array_get_size(x_483); +lean_dec(x_483); +x_485 = lean_unsigned_to_nat(2u); +x_486 = lean_nat_dec_eq(x_484, x_485); +lean_dec(x_484); +if (x_486 == 0) +{ +lean_object* x_487; lean_object* x_488; +lean_dec(x_478); +lean_dec(x_2); +lean_dec(x_1); +x_487 = lean_box(1); +x_488 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_488, 0, x_487); +lean_ctor_set(x_488, 1, x_3); +return x_488; +} +else +{ +lean_object* x_489; lean_object* x_490; lean_object* x_491; uint8_t x_557; +x_489 = l_Lean_Syntax_getArg(x_478, x_465); +lean_dec(x_478); +x_490 = l_Lean_Syntax_getArg(x_1, x_485); +lean_inc(x_490); +x_557 = l_Lean_Syntax_isOfKind(x_490, x_469); +if (x_557 == 0) +{ +lean_object* x_558; +x_558 = lean_box(0); +x_491 = x_558; +goto block_556; +} +else +{ +lean_object* x_559; lean_object* x_560; uint8_t x_561; +x_559 = l_Lean_Syntax_getArgs(x_490); +x_560 = lean_array_get_size(x_559); +lean_dec(x_559); +x_561 = lean_nat_dec_eq(x_560, x_14); +lean_dec(x_560); +if (x_561 == 0) +{ +lean_object* x_562; +x_562 = lean_box(0); +x_491 = x_562; +goto block_556; +} +else +{ +lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; +lean_dec(x_490); +x_563 = lean_unsigned_to_nat(3u); +x_564 = l_Lean_Syntax_getArg(x_1, x_563); +x_565 = lean_unsigned_to_nat(5u); +x_566 = l_Lean_Syntax_getArg(x_1, x_565); +lean_dec(x_1); +x_567 = lean_ctor_get(x_2, 2); +lean_inc(x_567); +x_568 = lean_ctor_get(x_2, 1); +lean_inc(x_568); +lean_dec(x_2); +x_569 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_570 = lean_array_push(x_569, x_489); +x_571 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_571, 0, x_479); +lean_ctor_set(x_571, 1, x_570); +x_572 = l_Array_empty___closed__1; +x_573 = lean_array_push(x_572, x_571); +x_574 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_574, 0, x_469); +lean_ctor_set(x_574, 1, x_573); +x_575 = l_Lean_Elab_Command_expandMixfix___closed__12; +lean_inc(x_574); +x_576 = lean_array_push(x_575, x_574); +x_577 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; +x_578 = lean_array_push(x_576, x_577); +x_579 = l_Lean_Elab_Command_expandMixfix___closed__26; +lean_inc(x_567); +lean_inc(x_568); +x_580 = l_Lean_addMacroScope(x_568, x_579, x_567); +x_581 = lean_box(0); +x_582 = l_Lean_instInhabitedSourceInfo___closed__1; +x_583 = l_Lean_Elab_Command_expandMixfix___closed__25; +x_584 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_584, 0, x_582); +lean_ctor_set(x_584, 1, x_583); +lean_ctor_set(x_584, 2, x_580); +lean_ctor_set(x_584, 3, x_581); +x_585 = lean_array_push(x_572, x_584); +lean_inc(x_585); +x_586 = lean_array_push(x_585, x_577); +x_587 = l_Lean_Elab_Command_expandMixfix___closed__14; +x_588 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_588, 0, x_587); +lean_ctor_set(x_588, 1, x_586); +x_589 = lean_array_push(x_572, x_588); +x_590 = lean_array_push(x_589, x_564); +x_591 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__4; +x_592 = l_Lean_addMacroScope(x_568, x_591, x_567); +x_593 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__3; +x_594 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_594, 0, x_582); +lean_ctor_set(x_594, 1, x_593); +lean_ctor_set(x_594, 2, x_592); +lean_ctor_set(x_594, 3, x_581); +lean_inc(x_594); +x_595 = lean_array_push(x_572, x_594); +x_596 = lean_array_push(x_595, x_574); +x_597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_597, 0, x_587); +lean_ctor_set(x_597, 1, x_596); +x_598 = lean_array_push(x_590, x_597); +x_599 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_599, 0, x_469); +lean_ctor_set(x_599, 1, x_598); +x_600 = lean_array_push(x_578, x_599); +x_601 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_602 = lean_array_push(x_600, x_601); +x_603 = lean_array_push(x_572, x_566); +x_604 = lean_array_push(x_585, x_594); +x_605 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_605, 0, x_469); +lean_ctor_set(x_605, 1, x_604); +x_606 = lean_array_push(x_603, x_605); +x_607 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_608 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_608, 0, x_607); +lean_ctor_set(x_608, 1, x_606); +x_609 = lean_array_push(x_602, x_608); +x_610 = l_Lean_Elab_Command_expandMixfix___closed__10; +x_611 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_611, 0, x_610); +lean_ctor_set(x_611, 1, x_609); +x_612 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_612, 0, x_611); +lean_ctor_set(x_612, 1, x_3); +return x_612; +} +} +block_556: +{ +uint8_t x_492; +lean_dec(x_491); +lean_inc(x_490); +x_492 = l_Lean_Syntax_isOfKind(x_490, x_469); +if (x_492 == 0) +{ +lean_object* x_493; lean_object* x_494; +lean_dec(x_490); +lean_dec(x_489); +lean_dec(x_2); +lean_dec(x_1); +x_493 = lean_box(1); +x_494 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_494, 0, x_493); +lean_ctor_set(x_494, 1, x_3); +return x_494; +} +else +{ +lean_object* x_495; lean_object* x_496; lean_object* x_497; uint8_t x_498; +x_495 = l_Lean_Syntax_getArgs(x_490); +x_496 = lean_array_get_size(x_495); +lean_dec(x_495); +x_497 = lean_unsigned_to_nat(3u); +x_498 = lean_nat_dec_eq(x_496, x_497); +lean_dec(x_496); +if (x_498 == 0) +{ +lean_object* x_499; lean_object* x_500; +lean_dec(x_490); +lean_dec(x_489); +lean_dec(x_2); +lean_dec(x_1); +x_499 = lean_box(1); +x_500 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_500, 0, x_499); +lean_ctor_set(x_500, 1, x_3); +return x_500; +} +else +{ +lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; +x_501 = l_Lean_Syntax_getArg(x_490, x_465); +lean_dec(x_490); +x_502 = l_Lean_Syntax_getArg(x_1, x_497); +x_503 = lean_unsigned_to_nat(5u); +x_504 = l_Lean_Syntax_getArg(x_1, x_503); +lean_dec(x_1); +x_505 = lean_ctor_get(x_2, 2); +lean_inc(x_505); +x_506 = lean_ctor_get(x_2, 1); +lean_inc(x_506); +lean_dec(x_2); +x_507 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_508 = lean_array_push(x_507, x_489); +x_509 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_509, 0, x_479); +lean_ctor_set(x_509, 1, x_508); +x_510 = l_Array_empty___closed__1; +x_511 = lean_array_push(x_510, x_509); +x_512 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_512, 0, x_469); +lean_ctor_set(x_512, 1, x_511); +x_513 = l_Lean_Elab_Command_expandMixfix___closed__12; +lean_inc(x_512); +x_514 = lean_array_push(x_513, x_512); +x_515 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; +x_516 = lean_array_push(x_515, x_501); +x_517 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; +x_518 = lean_array_push(x_516, x_517); +x_519 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_519, 0, x_469); +lean_ctor_set(x_519, 1, x_518); +x_520 = lean_array_push(x_514, x_519); +x_521 = l_Lean_Elab_Command_expandMixfix___closed__26; +lean_inc(x_505); +lean_inc(x_506); +x_522 = l_Lean_addMacroScope(x_506, x_521, x_505); +x_523 = lean_box(0); +x_524 = l_Lean_instInhabitedSourceInfo___closed__1; +x_525 = l_Lean_Elab_Command_expandMixfix___closed__25; +x_526 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_526, 0, x_524); +lean_ctor_set(x_526, 1, x_525); +lean_ctor_set(x_526, 2, x_522); +lean_ctor_set(x_526, 3, x_523); +x_527 = lean_array_push(x_510, x_526); +x_528 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; +lean_inc(x_527); +x_529 = lean_array_push(x_527, x_528); +x_530 = l_Lean_Elab_Command_expandMixfix___closed__14; +x_531 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_531, 0, x_530); +lean_ctor_set(x_531, 1, x_529); +x_532 = lean_array_push(x_510, x_531); +x_533 = lean_array_push(x_532, x_502); +x_534 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__4; +x_535 = l_Lean_addMacroScope(x_506, x_534, x_505); +x_536 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__3; +x_537 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_537, 0, x_524); +lean_ctor_set(x_537, 1, x_536); +lean_ctor_set(x_537, 2, x_535); +lean_ctor_set(x_537, 3, x_523); +lean_inc(x_537); +x_538 = lean_array_push(x_510, x_537); +x_539 = lean_array_push(x_538, x_512); +x_540 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_540, 0, x_530); +lean_ctor_set(x_540, 1, x_539); +x_541 = lean_array_push(x_533, x_540); +x_542 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_542, 0, x_469); +lean_ctor_set(x_542, 1, x_541); +x_543 = lean_array_push(x_520, x_542); +x_544 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_545 = lean_array_push(x_543, x_544); +x_546 = lean_array_push(x_510, x_504); +x_547 = lean_array_push(x_527, x_537); +x_548 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_548, 0, x_469); +lean_ctor_set(x_548, 1, x_547); +x_549 = lean_array_push(x_546, x_548); +x_550 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; +x_551 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_551, 0, x_550); +lean_ctor_set(x_551, 1, x_549); +x_552 = lean_array_push(x_545, x_551); +x_553 = l_Lean_Elab_Command_expandMixfix___closed__10; +x_554 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_554, 0, x_553); +lean_ctor_set(x_554, 1, x_552); +x_555 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_555, 0, x_554); +lean_ctor_set(x_555, 1, x_3); +return x_555; +} +} +} } } } @@ -17666,548 +18454,578 @@ x_2 = lean_box_usize(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(lean_object* x_1, lean_object* x_2, 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_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 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_8 = l___kind_term____x40_Init_Notation___hyg_3____closed__16; -lean_inc(x_6); -x_9 = l_Lean_Elab_Command_mkFreshKind(x_8, x_6, x_7); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 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_9 = l___kind_term____x40_Init_Notation___hyg_3____closed__16; +lean_inc(x_7); +x_10 = l_Lean_Elab_Command_mkFreshKind(x_9, x_7, x_8); +x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_array_get_size(x_4); -x_13 = lean_usize_of_nat(x_12); -x_14 = 0; -lean_inc(x_4); -x_15 = x_4; -x_16 = lean_box_usize(x_13); -x_17 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; -lean_inc(x_15); -x_18 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed), 5, 3); -lean_closure_set(x_18, 0, x_16); -lean_closure_set(x_18, 1, x_17); -lean_closure_set(x_18, 2, x_15); -x_19 = x_18; -lean_inc(x_6); -x_20 = lean_apply_2(x_19, x_6, x_11); -if (lean_obj_tag(x_20) == 0) +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_array_get_size(x_5); +x_14 = lean_usize_of_nat(x_13); +x_15 = 0; +lean_inc(x_5); +x_16 = x_5; +x_17 = lean_box_usize(x_14); +x_18 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; +lean_inc(x_16); +x_19 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed), 5, 3); +lean_closure_set(x_19, 0, x_17); +lean_closure_set(x_19, 1, x_18); +lean_closure_set(x_19, 2, x_16); +x_20 = x_19; +lean_inc(x_7); +x_21 = lean_apply_2(x_20, x_7, x_12); +if (lean_obj_tag(x_21) == 0) { -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_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Lean_mkIdentFrom(x_1, x_8); -x_24 = lean_unsigned_to_nat(0u); -x_25 = lean_nat_dec_lt(x_24, x_12); -x_26 = lean_box_usize(x_13); -x_27 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; -x_28 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed), 5, 3); -lean_closure_set(x_28, 0, x_26); -lean_closure_set(x_28, 1, x_27); -lean_closure_set(x_28, 2, x_15); -x_29 = x_28; -x_30 = lean_apply_2(x_29, x_6, x_22); -if (x_25 == 0) +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_mkIdentFrom(x_1, x_9); +x_25 = lean_unsigned_to_nat(0u); +x_26 = lean_nat_dec_lt(x_25, x_13); +x_27 = lean_box_usize(x_14); +x_28 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; +x_29 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed), 5, 3); +lean_closure_set(x_29, 0, x_27); +lean_closure_set(x_29, 1, x_28); +lean_closure_set(x_29, 2, x_16); +x_30 = x_29; +x_31 = lean_apply_2(x_30, x_7, x_23); +if (x_26 == 0) { -lean_object* x_279; -lean_dec(x_12); -lean_dec(x_4); -x_279 = l_Array_empty___closed__1; -x_31 = x_279; -goto block_278; +lean_object* x_308; +lean_dec(x_13); +lean_dec(x_5); +x_308 = l_Array_empty___closed__1; +x_32 = x_308; +goto block_307; } else { -uint8_t x_280; -x_280 = lean_nat_dec_le(x_12, x_12); -lean_dec(x_12); -if (x_280 == 0) +uint8_t x_309; +x_309 = lean_nat_dec_le(x_13, x_13); +lean_dec(x_13); +if (x_309 == 0) { -lean_object* x_281; -lean_dec(x_4); -x_281 = l_Array_empty___closed__1; -x_31 = x_281; -goto block_278; +lean_object* x_310; +lean_dec(x_5); +x_310 = l_Array_empty___closed__1; +x_32 = x_310; +goto block_307; } else { -lean_object* x_282; lean_object* x_283; -x_282 = l_Array_empty___closed__1; -x_283 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4(x_4, x_14, x_13, x_282); -lean_dec(x_4); -x_31 = x_283; -goto block_278; +lean_object* x_311; lean_object* x_312; +x_311 = l_Array_empty___closed__1; +x_312 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4(x_5, x_15, x_14, x_311); +lean_dec(x_5); +x_32 = x_312; +goto block_307; } } -block_278: +block_307: { -if (lean_obj_tag(x_30) == 0) +if (lean_obj_tag(x_31) == 0) { -uint8_t x_32; -x_32 = !lean_is_exclusive(x_30); -if (x_32 == 0) +uint8_t x_33; +x_33 = !lean_is_exclusive(x_31); +if (x_33 == 0) { -lean_object* x_33; lean_object* x_34; size_t 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_33 = lean_ctor_get(x_30, 0); -x_34 = lean_array_get_size(x_31); -x_35 = lean_usize_of_nat(x_34); -lean_dec(x_34); -x_36 = x_31; -x_37 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(x_35, x_14, x_36); -x_38 = x_37; -x_39 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(x_38, x_5); -lean_dec(x_38); -lean_inc(x_10); -x_40 = l_Lean_Name_append(x_2, x_10); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_33); +lean_object* x_34; lean_object* x_35; size_t 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; +x_34 = lean_ctor_get(x_31, 0); +x_35 = lean_array_get_size(x_32); +x_36 = lean_usize_of_nat(x_35); +lean_dec(x_35); +x_37 = x_32; +x_38 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(x_36, x_15, x_37); +x_39 = x_38; +x_40 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(x_39, x_6); +lean_dec(x_39); +lean_inc(x_11); +x_41 = l_Lean_Name_append(x_2, x_11); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_34); if (lean_obj_tag(x_3) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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; lean_object* x_72; 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; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_42 = l_Lean_mkIdentFrom(x_1, x_10); -x_43 = l_Array_empty___closed__1; -x_44 = lean_array_push(x_43, x_42); -x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__2; -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; -x_48 = lean_array_push(x_47, x_46); -x_49 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; -x_50 = lean_array_push(x_48, x_49); -x_51 = l_Lean_nullKind___closed__2; -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -x_53 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__3; -x_54 = lean_array_push(x_53, x_52); -x_55 = l_Array_appendCore___rarg(x_43, x_21); -lean_dec(x_21); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_51); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_array_push(x_54, x_56); -x_58 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; -x_59 = lean_array_push(x_57, x_58); -x_60 = lean_array_push(x_59, x_23); -x_61 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -x_63 = lean_array_push(x_43, x_62); -x_64 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__6; -x_65 = lean_array_push(x_64, x_41); -x_66 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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; lean_object* x_72; 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; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; 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; +x_43 = l_Lean_mkIdentFrom(x_1, x_11); +x_44 = l_Array_empty___closed__1; +x_45 = lean_array_push(x_44, x_43); +x_46 = l_myMacro____x40_Init_Notation___hyg_7791____closed__8; +x_47 = lean_array_push(x_45, x_46); +x_48 = l_Nat_repr(x_4); +x_49 = l_Lean_numLitKind; +x_50 = l_Lean_instInhabitedSourceInfo___closed__1; +x_51 = l_Lean_Syntax_mkLit(x_49, x_48, x_50); +x_52 = lean_array_push(x_47, x_51); +x_53 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__6; +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; +x_56 = lean_array_push(x_55, x_54); +x_57 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; +x_58 = lean_array_push(x_56, x_57); +x_59 = l_Lean_nullKind___closed__2; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__3; +x_62 = lean_array_push(x_61, x_60); +x_63 = l_Array_appendCore___rarg(x_44, x_22); +lean_dec(x_22); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_59); +lean_ctor_set(x_64, 1, x_63); +x_65 = lean_array_push(x_62, x_64); +x_66 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; x_67 = lean_array_push(x_65, x_66); -x_68 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__1; -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -x_70 = lean_array_push(x_43, x_69); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_51); -lean_ctor_set(x_71, 1, x_70); -x_72 = lean_array_push(x_43, x_71); -x_73 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_74 = lean_array_push(x_72, x_73); -x_75 = lean_array_push(x_64, x_39); -x_76 = lean_array_push(x_75, x_66); +x_68 = lean_array_push(x_67, x_24); +x_69 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +x_71 = lean_array_push(x_44, x_70); +x_72 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__6; +x_73 = lean_array_push(x_72, x_42); +x_74 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_75 = lean_array_push(x_73, x_74); +x_76 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__1; x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_68); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_array_push(x_74, x_77); -x_79 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -x_81 = lean_array_push(x_43, x_80); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_51); -lean_ctor_set(x_82, 1, x_81); -x_83 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_84 = lean_array_push(x_83, x_82); -x_85 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_84); -x_87 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__4; -x_88 = lean_array_push(x_87, x_86); -x_89 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__2; +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_array_push(x_44, x_77); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_59); +lean_ctor_set(x_79, 1, x_78); +x_80 = lean_array_push(x_44, x_79); +x_81 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_82 = lean_array_push(x_80, x_81); +x_83 = lean_array_push(x_72, x_40); +x_84 = lean_array_push(x_83, x_74); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_76); +lean_ctor_set(x_85, 1, x_84); +x_86 = lean_array_push(x_82, x_85); +x_87 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_86); +x_89 = lean_array_push(x_44, x_88); x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set(x_90, 1, x_88); -x_91 = lean_array_push(x_63, x_90); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_51); -lean_ctor_set(x_92, 1, x_91); -lean_ctor_set(x_30, 0, x_92); -return x_30; +lean_ctor_set(x_90, 0, x_59); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_92 = lean_array_push(x_91, x_90); +x_93 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +x_95 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__4; +x_96 = lean_array_push(x_95, x_94); +x_97 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__2; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_96); +x_99 = lean_array_push(x_71, x_98); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_59); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_31, 0, x_100); +return x_31; } else { -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; lean_object* x_104; 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_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; 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; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_93 = lean_ctor_get(x_3, 0); -lean_inc(x_93); +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_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_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; 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; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; 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; +x_101 = lean_ctor_get(x_3, 0); +lean_inc(x_101); lean_dec(x_3); -x_94 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_95 = lean_array_push(x_94, x_93); -x_96 = l_Lean_Elab_Command_expandMixfix___closed__8; -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -x_98 = l_Array_empty___closed__1; -x_99 = lean_array_push(x_98, x_97); -x_100 = l_Lean_nullKind___closed__2; -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__2; +x_102 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; x_103 = lean_array_push(x_102, x_101); -x_104 = l_Lean_mkIdentFrom(x_1, x_10); -x_105 = lean_array_push(x_98, x_104); -x_106 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__2; -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_105); -x_108 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; -x_109 = lean_array_push(x_108, x_107); -x_110 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; -x_111 = lean_array_push(x_109, x_110); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_100); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_array_push(x_103, x_112); -x_114 = l_Array_appendCore___rarg(x_98, x_21); -lean_dec(x_21); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_100); -lean_ctor_set(x_115, 1, x_114); -x_116 = lean_array_push(x_113, x_115); -x_117 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; -x_118 = lean_array_push(x_116, x_117); -x_119 = lean_array_push(x_118, x_23); -x_120 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = lean_array_push(x_98, x_121); -x_123 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__6; -x_124 = lean_array_push(x_123, x_41); -x_125 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_104 = l_Lean_Elab_Command_expandMixfix___closed__8; +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_103); +x_106 = l_Array_empty___closed__1; +x_107 = lean_array_push(x_106, x_105); +x_108 = l_Lean_nullKind___closed__2; +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_107); +x_110 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__2; +x_111 = lean_array_push(x_110, x_109); +x_112 = l_Lean_mkIdentFrom(x_1, x_11); +x_113 = lean_array_push(x_106, x_112); +x_114 = l_myMacro____x40_Init_Notation___hyg_7791____closed__8; +x_115 = lean_array_push(x_113, x_114); +x_116 = l_Nat_repr(x_4); +x_117 = l_Lean_numLitKind; +x_118 = l_Lean_instInhabitedSourceInfo___closed__1; +x_119 = l_Lean_Syntax_mkLit(x_117, x_116, x_118); +x_120 = lean_array_push(x_115, x_119); +x_121 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__6; +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_120); +x_123 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; +x_124 = lean_array_push(x_123, x_122); +x_125 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; x_126 = lean_array_push(x_124, x_125); -x_127 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__1; -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -x_129 = lean_array_push(x_98, x_128); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_108); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_array_push(x_111, x_127); +x_129 = l_Array_appendCore___rarg(x_106, x_22); +lean_dec(x_22); x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_100); +lean_ctor_set(x_130, 0, x_108); lean_ctor_set(x_130, 1, x_129); -x_131 = lean_array_push(x_98, x_130); -x_132 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_131 = lean_array_push(x_128, x_130); +x_132 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; x_133 = lean_array_push(x_131, x_132); -x_134 = lean_array_push(x_123, x_39); -x_135 = lean_array_push(x_134, x_125); +x_134 = lean_array_push(x_133, x_24); +x_135 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_127); -lean_ctor_set(x_136, 1, x_135); -x_137 = lean_array_push(x_133, x_136); -x_138 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_137); -x_140 = lean_array_push(x_98, x_139); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_100); -lean_ctor_set(x_141, 1, x_140); -x_142 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_143 = lean_array_push(x_142, x_141); -x_144 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +x_137 = lean_array_push(x_106, x_136); +x_138 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__6; +x_139 = lean_array_push(x_138, x_42); +x_140 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_141 = lean_array_push(x_139, x_140); +x_142 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__1; +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_141); +x_144 = lean_array_push(x_106, x_143); x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_143); -x_146 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__7; -x_147 = lean_array_push(x_146, x_145); -x_148 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__2; -x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_147); -x_150 = lean_array_push(x_122, x_149); +lean_ctor_set(x_145, 0, x_108); +lean_ctor_set(x_145, 1, x_144); +x_146 = lean_array_push(x_106, x_145); +x_147 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_148 = lean_array_push(x_146, x_147); +x_149 = lean_array_push(x_138, x_40); +x_150 = lean_array_push(x_149, x_140); x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_100); +lean_ctor_set(x_151, 0, x_142); lean_ctor_set(x_151, 1, x_150); -lean_ctor_set(x_30, 0, x_151); -return x_30; +x_152 = lean_array_push(x_148, x_151); +x_153 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_152); +x_155 = lean_array_push(x_106, x_154); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_108); +lean_ctor_set(x_156, 1, x_155); +x_157 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_158 = lean_array_push(x_157, x_156); +x_159 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_158); +x_161 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__7; +x_162 = lean_array_push(x_161, x_160); +x_163 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__2; +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_163); +lean_ctor_set(x_164, 1, x_162); +x_165 = lean_array_push(x_137, x_164); +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_108); +lean_ctor_set(x_166, 1, x_165); +lean_ctor_set(x_31, 0, x_166); +return x_31; } } else { -lean_object* x_152; lean_object* x_153; lean_object* x_154; size_t x_155; 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_152 = lean_ctor_get(x_30, 0); -x_153 = lean_ctor_get(x_30, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_30); -x_154 = lean_array_get_size(x_31); -x_155 = lean_usize_of_nat(x_154); -lean_dec(x_154); -x_156 = x_31; -x_157 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(x_155, x_14, x_156); -x_158 = x_157; -x_159 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(x_158, x_5); -lean_dec(x_158); -lean_inc(x_10); -x_160 = l_Lean_Name_append(x_2, x_10); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_152); +lean_object* x_167; lean_object* x_168; lean_object* x_169; size_t 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_31, 0); +x_168 = lean_ctor_get(x_31, 1); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_31); +x_169 = lean_array_get_size(x_32); +x_170 = lean_usize_of_nat(x_169); +lean_dec(x_169); +x_171 = x_32; +x_172 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(x_170, x_15, x_171); +x_173 = x_172; +x_174 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(x_173, x_6); +lean_dec(x_173); +lean_inc(x_11); +x_175 = l_Lean_Name_append(x_2, x_11); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_167); if (lean_obj_tag(x_3) == 0) { -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; 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; 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; 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_object* x_194; lean_object* x_195; lean_object* x_196; 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; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_162 = l_Lean_mkIdentFrom(x_1, x_10); -x_163 = l_Array_empty___closed__1; -x_164 = lean_array_push(x_163, x_162); -x_165 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__2; -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_164); -x_167 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; -x_168 = lean_array_push(x_167, x_166); -x_169 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; -x_170 = lean_array_push(x_168, x_169); -x_171 = l_Lean_nullKind___closed__2; -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_171); -lean_ctor_set(x_172, 1, x_170); -x_173 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__3; -x_174 = lean_array_push(x_173, x_172); -x_175 = l_Array_appendCore___rarg(x_163, x_21); -lean_dec(x_21); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_171); -lean_ctor_set(x_176, 1, x_175); -x_177 = lean_array_push(x_174, x_176); -x_178 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; -x_179 = lean_array_push(x_177, x_178); -x_180 = lean_array_push(x_179, x_23); -x_181 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_181); -lean_ctor_set(x_182, 1, x_180); -x_183 = lean_array_push(x_163, x_182); -x_184 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__6; -x_185 = lean_array_push(x_184, x_161); -x_186 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_187 = lean_array_push(x_185, x_186); -x_188 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__1; -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_187); -x_190 = lean_array_push(x_163, x_189); -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_171); -lean_ctor_set(x_191, 1, x_190); -x_192 = lean_array_push(x_163, x_191); -x_193 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_194 = lean_array_push(x_192, x_193); -x_195 = lean_array_push(x_184, x_159); -x_196 = lean_array_push(x_195, x_186); -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_188); -lean_ctor_set(x_197, 1, x_196); -x_198 = lean_array_push(x_194, x_197); -x_199 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -x_201 = lean_array_push(x_163, x_200); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_171); -lean_ctor_set(x_202, 1, x_201); -x_203 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_204 = lean_array_push(x_203, x_202); -x_205 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set(x_206, 1, x_204); -x_207 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__4; -x_208 = lean_array_push(x_207, x_206); -x_209 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__2; -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_208); -x_211 = lean_array_push(x_183, x_210); -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_171); -lean_ctor_set(x_212, 1, x_211); -x_213 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_153); -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; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; 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; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; 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; 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; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; -x_214 = lean_ctor_get(x_3, 0); -lean_inc(x_214); -lean_dec(x_3); -x_215 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; -x_216 = lean_array_push(x_215, x_214); -x_217 = l_Lean_Elab_Command_expandMixfix___closed__8; -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_216); -x_219 = l_Array_empty___closed__1; -x_220 = lean_array_push(x_219, x_218); -x_221 = l_Lean_nullKind___closed__2; +lean_object* x_177; 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; 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_object* x_194; lean_object* x_195; lean_object* x_196; 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; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; 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; lean_object* x_235; +x_177 = l_Lean_mkIdentFrom(x_1, x_11); +x_178 = l_Array_empty___closed__1; +x_179 = lean_array_push(x_178, x_177); +x_180 = l_myMacro____x40_Init_Notation___hyg_7791____closed__8; +x_181 = lean_array_push(x_179, x_180); +x_182 = l_Nat_repr(x_4); +x_183 = l_Lean_numLitKind; +x_184 = l_Lean_instInhabitedSourceInfo___closed__1; +x_185 = l_Lean_Syntax_mkLit(x_183, x_182, x_184); +x_186 = lean_array_push(x_181, x_185); +x_187 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__6; +x_188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_186); +x_189 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; +x_190 = lean_array_push(x_189, x_188); +x_191 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; +x_192 = lean_array_push(x_190, x_191); +x_193 = l_Lean_nullKind___closed__2; +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_192); +x_195 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__3; +x_196 = lean_array_push(x_195, x_194); +x_197 = l_Array_appendCore___rarg(x_178, x_22); +lean_dec(x_22); +x_198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_198, 0, x_193); +lean_ctor_set(x_198, 1, x_197); +x_199 = lean_array_push(x_196, x_198); +x_200 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; +x_201 = lean_array_push(x_199, x_200); +x_202 = lean_array_push(x_201, x_24); +x_203 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_202); +x_205 = lean_array_push(x_178, x_204); +x_206 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__6; +x_207 = lean_array_push(x_206, x_176); +x_208 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_209 = lean_array_push(x_207, x_208); +x_210 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__1; +x_211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_209); +x_212 = lean_array_push(x_178, x_211); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_193); +lean_ctor_set(x_213, 1, x_212); +x_214 = lean_array_push(x_178, x_213); +x_215 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_216 = lean_array_push(x_214, x_215); +x_217 = lean_array_push(x_206, x_174); +x_218 = lean_array_push(x_217, x_208); +x_219 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_219, 0, x_210); +lean_ctor_set(x_219, 1, x_218); +x_220 = lean_array_push(x_216, x_219); +x_221 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; x_222 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_222, 0, x_221); lean_ctor_set(x_222, 1, x_220); -x_223 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__2; -x_224 = lean_array_push(x_223, x_222); -x_225 = l_Lean_mkIdentFrom(x_1, x_10); -x_226 = lean_array_push(x_219, x_225); -x_227 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__2; +x_223 = lean_array_push(x_178, x_222); +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_193); +lean_ctor_set(x_224, 1, x_223); +x_225 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_226 = lean_array_push(x_225, x_224); +x_227 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; x_228 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_228, 0, x_227); lean_ctor_set(x_228, 1, x_226); -x_229 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; +x_229 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__4; x_230 = lean_array_push(x_229, x_228); -x_231 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; -x_232 = lean_array_push(x_230, x_231); -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_221); -lean_ctor_set(x_233, 1, x_232); -x_234 = lean_array_push(x_224, x_233); -x_235 = l_Array_appendCore___rarg(x_219, x_21); -lean_dec(x_21); -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_221); -lean_ctor_set(x_236, 1, x_235); -x_237 = lean_array_push(x_234, x_236); -x_238 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; -x_239 = lean_array_push(x_237, x_238); -x_240 = lean_array_push(x_239, x_23); -x_241 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_241); -lean_ctor_set(x_242, 1, x_240); -x_243 = lean_array_push(x_219, x_242); -x_244 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__6; -x_245 = lean_array_push(x_244, x_161); -x_246 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; -x_247 = lean_array_push(x_245, x_246); -x_248 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__1; -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_247); -x_250 = lean_array_push(x_219, x_249); -x_251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_251, 0, x_221); -lean_ctor_set(x_251, 1, x_250); -x_252 = lean_array_push(x_219, x_251); -x_253 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -x_254 = lean_array_push(x_252, x_253); -x_255 = lean_array_push(x_244, x_159); -x_256 = lean_array_push(x_255, x_246); -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_248); -lean_ctor_set(x_257, 1, x_256); -x_258 = lean_array_push(x_254, x_257); -x_259 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_260 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_260, 0, x_259); -lean_ctor_set(x_260, 1, x_258); -x_261 = lean_array_push(x_219, x_260); -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_221); -lean_ctor_set(x_262, 1, x_261); -x_263 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_264 = lean_array_push(x_263, x_262); -x_265 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; -x_266 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_266, 0, x_265); -lean_ctor_set(x_266, 1, x_264); -x_267 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__7; -x_268 = lean_array_push(x_267, x_266); -x_269 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__2; -x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -x_271 = lean_array_push(x_243, x_270); -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_221); -lean_ctor_set(x_272, 1, x_271); -x_273 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_153); -return x_273; -} -} +x_231 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__2; +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_231); +lean_ctor_set(x_232, 1, x_230); +x_233 = lean_array_push(x_205, x_232); +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_193); +lean_ctor_set(x_234, 1, x_233); +x_235 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_235, 0, x_234); +lean_ctor_set(x_235, 1, x_168); +return x_235; } else { -uint8_t x_274; -lean_dec(x_31); -lean_dec(x_23); -lean_dec(x_21); -lean_dec(x_10); -lean_dec(x_5); +lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; 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; 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; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; 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_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; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; +x_236 = lean_ctor_get(x_3, 0); +lean_inc(x_236); lean_dec(x_3); -x_274 = !lean_is_exclusive(x_30); -if (x_274 == 0) -{ -return x_30; +x_237 = l_myMacro____x40_Init_Notation___hyg_8168____closed__11; +x_238 = lean_array_push(x_237, x_236); +x_239 = l_Lean_Elab_Command_expandMixfix___closed__8; +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_239); +lean_ctor_set(x_240, 1, x_238); +x_241 = l_Array_empty___closed__1; +x_242 = lean_array_push(x_241, x_240); +x_243 = l_Lean_nullKind___closed__2; +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_242); +x_245 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__2; +x_246 = lean_array_push(x_245, x_244); +x_247 = l_Lean_mkIdentFrom(x_1, x_11); +x_248 = lean_array_push(x_241, x_247); +x_249 = l_myMacro____x40_Init_Notation___hyg_7791____closed__8; +x_250 = lean_array_push(x_248, x_249); +x_251 = l_Nat_repr(x_4); +x_252 = l_Lean_numLitKind; +x_253 = l_Lean_instInhabitedSourceInfo___closed__1; +x_254 = l_Lean_Syntax_mkLit(x_252, x_251, x_253); +x_255 = lean_array_push(x_250, x_254); +x_256 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__6; +x_257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_257, 0, x_256); +lean_ctor_set(x_257, 1, x_255); +x_258 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__9; +x_259 = lean_array_push(x_258, x_257); +x_260 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3331____closed__10; +x_261 = lean_array_push(x_259, x_260); +x_262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_262, 0, x_243); +lean_ctor_set(x_262, 1, x_261); +x_263 = lean_array_push(x_246, x_262); +x_264 = l_Array_appendCore___rarg(x_241, x_22); +lean_dec(x_22); +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_243); +lean_ctor_set(x_265, 1, x_264); +x_266 = lean_array_push(x_263, x_265); +x_267 = l_myMacro____x40_Init_Notation___hyg_8168____closed__10; +x_268 = lean_array_push(x_266, x_267); +x_269 = lean_array_push(x_268, x_24); +x_270 = l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; +x_271 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_271, 0, x_270); +lean_ctor_set(x_271, 1, x_269); +x_272 = lean_array_push(x_241, x_271); +x_273 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__6; +x_274 = lean_array_push(x_273, x_176); +x_275 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; +x_276 = lean_array_push(x_274, x_275); +x_277 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__1; +x_278 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_278, 0, x_277); +lean_ctor_set(x_278, 1, x_276); +x_279 = lean_array_push(x_241, x_278); +x_280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_280, 0, x_243); +lean_ctor_set(x_280, 1, x_279); +x_281 = lean_array_push(x_241, x_280); +x_282 = l_myMacro____x40_Init_Notation___hyg_5739____closed__19; +x_283 = lean_array_push(x_281, x_282); +x_284 = lean_array_push(x_273, x_174); +x_285 = lean_array_push(x_284, x_275); +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_277); +lean_ctor_set(x_286, 1, x_285); +x_287 = lean_array_push(x_283, x_286); +x_288 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_289, 0, x_288); +lean_ctor_set(x_289, 1, x_287); +x_290 = lean_array_push(x_241, x_289); +x_291 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_291, 0, x_243); +lean_ctor_set(x_291, 1, x_290); +x_292 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_293 = lean_array_push(x_292, x_291); +x_294 = l_Lean_Elab_Term_expandFunBinders_loop___closed__8; +x_295 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_295, 0, x_294); +lean_ctor_set(x_295, 1, x_293); +x_296 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__7; +x_297 = lean_array_push(x_296, x_295); +x_298 = l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__2; +x_299 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_297); +x_300 = lean_array_push(x_272, x_299); +x_301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_301, 0, x_243); +lean_ctor_set(x_301, 1, x_300); +x_302 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_302, 0, x_301); +lean_ctor_set(x_302, 1, x_168); +return x_302; +} +} } else { -lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_275 = lean_ctor_get(x_30, 0); -x_276 = lean_ctor_get(x_30, 1); -lean_inc(x_276); -lean_inc(x_275); -lean_dec(x_30); -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_275); -lean_ctor_set(x_277, 1, x_276); -return x_277; +uint8_t x_303; +lean_dec(x_32); +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_303 = !lean_is_exclusive(x_31); +if (x_303 == 0) +{ +return x_31; +} +else +{ +lean_object* x_304; lean_object* x_305; lean_object* x_306; +x_304 = lean_ctor_get(x_31, 0); +x_305 = lean_ctor_get(x_31, 1); +lean_inc(x_305); +lean_inc(x_304); +lean_dec(x_31); +x_306 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_306, 0, x_304); +lean_ctor_set(x_306, 1, x_305); +return x_306; } } } } else { -uint8_t x_284; -lean_dec(x_15); -lean_dec(x_12); -lean_dec(x_10); +uint8_t x_313; +lean_dec(x_16); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_284 = !lean_is_exclusive(x_20); -if (x_284 == 0) +x_313 = !lean_is_exclusive(x_21); +if (x_313 == 0) { -return x_20; +return x_21; } else { -lean_object* x_285; lean_object* x_286; lean_object* x_287; -x_285 = lean_ctor_get(x_20, 0); -x_286 = lean_ctor_get(x_20, 1); -lean_inc(x_286); -lean_inc(x_285); -lean_dec(x_20); -x_287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_287, 0, x_285); -lean_ctor_set(x_287, 1, x_286); -return x_287; +lean_object* x_314; lean_object* x_315; lean_object* x_316; +x_314 = lean_ctor_get(x_21, 0); +x_315 = lean_ctor_get(x_21, 1); +lean_inc(x_315); +lean_inc(x_314); +lean_dec(x_21); +x_316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_316, 0, x_314); +lean_ctor_set(x_316, 1, x_315); +return x_316; } } } @@ -18263,14 +19081,14 @@ lean_dec(x_1); return x_7; } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___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_8; -x_8 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_9; +x_9 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_9; } } lean_object* l_Lean_Elab_Command_expandNotation___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -18304,7 +19122,7 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; x_12 = l_Lean_Syntax_getArgs(x_1); x_13 = lean_array_get_size(x_12); lean_dec(x_12); -x_14 = lean_unsigned_to_nat(5u); +x_14 = lean_unsigned_to_nat(6u); x_15 = lean_nat_dec_eq(x_13, x_14); lean_dec(x_13); if (x_15 == 0) @@ -18359,415 +19177,972 @@ return x_27; } 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; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_104; x_28 = lean_unsigned_to_nat(2u); x_29 = l_Lean_Syntax_getArg(x_1, x_28); -x_30 = lean_unsigned_to_nat(4u); -x_31 = l_Lean_Syntax_getArg(x_1, x_30); -x_32 = l_Lean_Syntax_getArgs(x_29); +lean_inc(x_29); +x_104 = l_Lean_Syntax_isOfKind(x_29, x_19); +if (x_104 == 0) +{ +lean_object* x_105; +x_105 = lean_box(0); +x_30 = x_105; +goto block_103; +} +else +{ +lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_106 = l_Lean_Syntax_getArgs(x_29); +x_107 = lean_array_get_size(x_106); +lean_dec(x_106); +x_108 = lean_nat_dec_eq(x_107, x_25); +lean_dec(x_107); +if (x_108 == 0) +{ +lean_object* x_109; +x_109 = lean_box(0); +x_30 = x_109; +goto block_103; +} +else +{ +lean_object* x_110; lean_object* x_111; 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; 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; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_dec(x_29); -x_33 = lean_box(0); -x_34 = lean_st_ref_get(x_3, x_7); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_Elab_Command_getRef(x_2, x_3, x_36); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_40); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_2, 2); -lean_inc(x_44); -x_45 = lean_st_ref_get(x_3, x_43); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_ctor_get(x_46, 4); -lean_inc(x_48); -lean_dec(x_46); -x_49 = lean_st_ref_get(x_3, x_47); -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_52 = lean_ctor_get(x_50, 3); -lean_inc(x_52); -lean_dec(x_50); -lean_inc(x_37); -x_53 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_53, 0, x_37); -x_54 = x_53; -x_55 = lean_environment_main_module(x_37); -x_56 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_42); -lean_ctor_set(x_56, 3, x_44); -lean_ctor_set(x_56, 4, x_48); -lean_ctor_set(x_56, 5, x_39); -x_57 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_8, x_33, x_32, x_31, x_56, x_52); -lean_dec(x_8); -lean_dec(x_1); -if (lean_obj_tag(x_57) == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -lean_dec(x_2); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_st_ref_take(x_3, x_51); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = !lean_is_exclusive(x_61); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_64 = lean_ctor_get(x_61, 3); -lean_dec(x_64); -lean_ctor_set(x_61, 3, x_59); -x_65 = lean_st_ref_set(x_3, x_61, x_62); -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_58); -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_58); -lean_ctor_set(x_69, 1, x_68); -return x_69; -} -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_70 = lean_ctor_get(x_61, 0); -x_71 = lean_ctor_get(x_61, 1); -x_72 = lean_ctor_get(x_61, 2); -x_73 = lean_ctor_get(x_61, 4); -x_74 = lean_ctor_get(x_61, 5); -x_75 = lean_ctor_get(x_61, 6); -lean_inc(x_75); -lean_inc(x_74); -lean_inc(x_73); -lean_inc(x_72); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_61); -x_76 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_76, 0, x_70); -lean_ctor_set(x_76, 1, x_71); -lean_ctor_set(x_76, 2, x_72); -lean_ctor_set(x_76, 3, x_59); -lean_ctor_set(x_76, 4, x_73); -lean_ctor_set(x_76, 5, x_74); -lean_ctor_set(x_76, 6, x_75); -x_77 = lean_st_ref_set(x_3, x_76, x_62); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_79 = x_77; -} else { - lean_dec_ref(x_77); - x_79 = lean_box(0); -} -if (lean_is_scalar(x_79)) { - x_80 = lean_alloc_ctor(0, 2, 0); -} else { - x_80 = x_79; -} -lean_ctor_set(x_80, 0, x_58); -lean_ctor_set(x_80, 1, x_78); -return x_80; -} -} -else -{ -lean_object* x_81; -x_81 = lean_ctor_get(x_57, 0); -lean_inc(x_81); -lean_dec(x_57); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_84, 0, x_83); -x_85 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_85, 0, x_84); -x_86 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7___rarg(x_82, x_85, x_2, x_3, x_51); -lean_dec(x_82); -return x_86; -} -else -{ -lean_object* x_87; -lean_dec(x_2); -x_87 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_51); -return x_87; -} -} -} -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -lean_dec(x_23); -x_88 = lean_unsigned_to_nat(0u); -x_89 = l_Lean_Syntax_getArg(x_18, x_88); -lean_dec(x_18); -x_90 = l_Lean_Elab_Command_expandMixfix___closed__8; -lean_inc(x_89); -x_91 = l_Lean_Syntax_isOfKind(x_89, x_90); -if (x_91 == 0) -{ -lean_object* x_92; -lean_dec(x_89); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_92 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_7); -return x_92; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_93 = l_Lean_Syntax_getArgs(x_89); -x_94 = lean_array_get_size(x_93); -lean_dec(x_93); -x_95 = lean_unsigned_to_nat(2u); -x_96 = lean_nat_dec_eq(x_94, x_95); -lean_dec(x_94); -if (x_96 == 0) -{ -lean_object* x_97; -lean_dec(x_89); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_97 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_7); -return x_97; -} -else -{ -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_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_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; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_98 = l_Lean_Syntax_getArg(x_89, x_17); -lean_dec(x_89); -x_99 = l_Lean_Syntax_getArg(x_1, x_95); -x_100 = lean_unsigned_to_nat(4u); -x_101 = l_Lean_Syntax_getArg(x_1, x_100); -x_102 = l_Lean_Syntax_getArgs(x_99); -lean_dec(x_99); -x_103 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_103, 0, x_98); -x_104 = lean_st_ref_get(x_3, x_7); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_104, 1); -lean_inc(x_106); -lean_dec(x_104); -x_107 = lean_ctor_get(x_105, 0); -lean_inc(x_107); -lean_dec(x_105); -x_108 = l_Lean_Elab_Command_getRef(x_2, x_3, x_106); -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_108, 1); -lean_inc(x_110); -lean_dec(x_108); -x_111 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_110); -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); -lean_inc(x_113); +x_110 = lean_unsigned_to_nat(3u); +x_111 = l_Lean_Syntax_getArg(x_1, x_110); +x_112 = lean_unsigned_to_nat(5u); +x_113 = l_Lean_Syntax_getArg(x_1, x_112); +x_114 = l_Lean_Syntax_getArgs(x_111); lean_dec(x_111); -x_114 = lean_ctor_get(x_2, 2); -lean_inc(x_114); -x_115 = lean_st_ref_get(x_3, x_113); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); +x_115 = lean_box(0); +x_116 = lean_st_ref_get(x_3, x_7); +x_117 = lean_ctor_get(x_116, 0); lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_ctor_get(x_116, 4); +x_118 = lean_ctor_get(x_116, 1); lean_inc(x_118); lean_dec(x_116); -x_119 = lean_st_ref_get(x_3, x_117); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); +x_119 = lean_ctor_get(x_117, 0); +lean_inc(x_119); +lean_dec(x_117); +x_120 = l_Lean_Elab_Command_getRef(x_2, x_3, x_118); +x_121 = lean_ctor_get(x_120, 0); lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_ctor_get(x_120, 3); +x_122 = lean_ctor_get(x_120, 1); lean_inc(x_122); lean_dec(x_120); -lean_inc(x_107); -x_123 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_123, 0, x_107); -x_124 = x_123; -x_125 = lean_environment_main_module(x_107); -x_126 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_126, 0, x_124); -lean_ctor_set(x_126, 1, x_125); -lean_ctor_set(x_126, 2, x_112); -lean_ctor_set(x_126, 3, x_114); -lean_ctor_set(x_126, 4, x_118); -lean_ctor_set(x_126, 5, x_109); -x_127 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_8, x_103, x_102, x_101, x_126, x_122); -lean_dec(x_8); -lean_dec(x_1); -if (lean_obj_tag(x_127) == 0) -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; -lean_dec(x_2); +x_123 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_122); +x_124 = lean_ctor_get(x_123, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_123, 1); +lean_inc(x_125); +lean_dec(x_123); +x_126 = lean_ctor_get(x_2, 2); +lean_inc(x_126); +x_127 = lean_st_ref_get(x_3, x_125); x_128 = lean_ctor_get(x_127, 0); lean_inc(x_128); x_129 = lean_ctor_get(x_127, 1); lean_inc(x_129); lean_dec(x_127); -x_130 = lean_st_ref_take(x_3, x_121); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); +x_130 = lean_ctor_get(x_128, 4); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_st_ref_get(x_3, x_129); +x_132 = lean_ctor_get(x_131, 0); lean_inc(x_132); -lean_dec(x_130); -x_133 = !lean_is_exclusive(x_131); -if (x_133 == 0) -{ -lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_134 = lean_ctor_get(x_131, 3); -lean_dec(x_134); -lean_ctor_set(x_131, 3, x_129); -x_135 = lean_st_ref_set(x_3, x_131, x_132); -x_136 = !lean_is_exclusive(x_135); -if (x_136 == 0) -{ -lean_object* x_137; -x_137 = lean_ctor_get(x_135, 0); -lean_dec(x_137); -lean_ctor_set(x_135, 0, x_128); -return x_135; -} -else -{ -lean_object* x_138; lean_object* x_139; -x_138 = lean_ctor_get(x_135, 1); -lean_inc(x_138); -lean_dec(x_135); -x_139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_139, 0, x_128); -lean_ctor_set(x_139, 1, x_138); -return x_139; -} -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_140 = lean_ctor_get(x_131, 0); -x_141 = lean_ctor_get(x_131, 1); -x_142 = lean_ctor_get(x_131, 2); -x_143 = lean_ctor_get(x_131, 4); -x_144 = lean_ctor_get(x_131, 5); -x_145 = lean_ctor_get(x_131, 6); -lean_inc(x_145); -lean_inc(x_144); -lean_inc(x_143); -lean_inc(x_142); -lean_inc(x_141); -lean_inc(x_140); +x_133 = lean_ctor_get(x_131, 1); +lean_inc(x_133); lean_dec(x_131); -x_146 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_146, 0, x_140); -lean_ctor_set(x_146, 1, x_141); -lean_ctor_set(x_146, 2, x_142); -lean_ctor_set(x_146, 3, x_129); -lean_ctor_set(x_146, 4, x_143); -lean_ctor_set(x_146, 5, x_144); -lean_ctor_set(x_146, 6, x_145); -x_147 = lean_st_ref_set(x_3, x_146, x_132); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -if (lean_is_exclusive(x_147)) { - lean_ctor_release(x_147, 0); - lean_ctor_release(x_147, 1); - x_149 = x_147; -} else { - lean_dec_ref(x_147); - x_149 = lean_box(0); -} -if (lean_is_scalar(x_149)) { - x_150 = lean_alloc_ctor(0, 2, 0); -} else { - x_150 = x_149; -} -lean_ctor_set(x_150, 0, x_128); -lean_ctor_set(x_150, 1, x_148); -return x_150; -} -} -else +x_134 = lean_ctor_get(x_132, 3); +lean_inc(x_134); +lean_dec(x_132); +lean_inc(x_119); +x_135 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_135, 0, x_119); +x_136 = x_135; +x_137 = lean_environment_main_module(x_119); +x_138 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +lean_ctor_set(x_138, 2, x_124); +lean_ctor_set(x_138, 3, x_126); +lean_ctor_set(x_138, 4, x_130); +lean_ctor_set(x_138, 5, x_121); +x_139 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_8, x_115, x_25, x_114, x_113, x_138, x_134); +lean_dec(x_8); +lean_dec(x_1); +if (lean_obj_tag(x_139) == 0) { -lean_object* x_151; -x_151 = lean_ctor_get(x_127, 0); -lean_inc(x_151); -lean_dec(x_127); -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; -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_154 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_154, 0, x_153); -x_155 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_155, 0, x_154); -x_156 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7___rarg(x_152, x_155, x_2, x_3, x_121); -lean_dec(x_152); -return x_156; -} -else -{ -lean_object* x_157; +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; lean_dec(x_2); -x_157 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_121); -return x_157; +x_140 = lean_ctor_get(x_139, 0); +lean_inc(x_140); +x_141 = lean_ctor_get(x_139, 1); +lean_inc(x_141); +lean_dec(x_139); +x_142 = lean_st_ref_take(x_3, x_133); +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); +x_145 = !lean_is_exclusive(x_143); +if (x_145 == 0) +{ +lean_object* x_146; lean_object* x_147; uint8_t x_148; +x_146 = lean_ctor_get(x_143, 3); +lean_dec(x_146); +lean_ctor_set(x_143, 3, x_141); +x_147 = lean_st_ref_set(x_3, x_143, x_144); +x_148 = !lean_is_exclusive(x_147); +if (x_148 == 0) +{ +lean_object* x_149; +x_149 = lean_ctor_get(x_147, 0); +lean_dec(x_149); +lean_ctor_set(x_147, 0, x_140); +return x_147; +} +else +{ +lean_object* x_150; lean_object* x_151; +x_150 = lean_ctor_get(x_147, 1); +lean_inc(x_150); +lean_dec(x_147); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_140); +lean_ctor_set(x_151, 1, x_150); +return x_151; +} +} +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; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_152 = lean_ctor_get(x_143, 0); +x_153 = lean_ctor_get(x_143, 1); +x_154 = lean_ctor_get(x_143, 2); +x_155 = lean_ctor_get(x_143, 4); +x_156 = lean_ctor_get(x_143, 5); +x_157 = lean_ctor_get(x_143, 6); +lean_inc(x_157); +lean_inc(x_156); +lean_inc(x_155); +lean_inc(x_154); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_143); +x_158 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_158, 0, x_152); +lean_ctor_set(x_158, 1, x_153); +lean_ctor_set(x_158, 2, x_154); +lean_ctor_set(x_158, 3, x_141); +lean_ctor_set(x_158, 4, x_155); +lean_ctor_set(x_158, 5, x_156); +lean_ctor_set(x_158, 6, x_157); +x_159 = lean_st_ref_set(x_3, x_158, x_144); +x_160 = lean_ctor_get(x_159, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_161 = x_159; +} else { + lean_dec_ref(x_159); + x_161 = lean_box(0); +} +if (lean_is_scalar(x_161)) { + x_162 = lean_alloc_ctor(0, 2, 0); +} else { + x_162 = x_161; +} +lean_ctor_set(x_162, 0, x_140); +lean_ctor_set(x_162, 1, x_160); +return x_162; +} +} +else +{ +lean_object* x_163; +x_163 = lean_ctor_get(x_139, 0); +lean_inc(x_163); +lean_dec(x_139); +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; +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_alloc_ctor(2, 1, 0); +lean_ctor_set(x_166, 0, x_165); +x_167 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_167, 0, x_166); +x_168 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7___rarg(x_164, x_167, x_2, x_3, x_133); +lean_dec(x_164); +return x_168; +} +else +{ +lean_object* x_169; +lean_dec(x_2); +x_169 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_133); +return x_169; +} +} +} +} +block_103: +{ +uint8_t x_31; +lean_dec(x_30); +lean_inc(x_29); +x_31 = l_Lean_Syntax_isOfKind(x_29, x_19); +if (x_31 == 0) +{ +lean_object* x_32; +lean_dec(x_29); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_32 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_7); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = l_Lean_Syntax_getArgs(x_29); +x_34 = lean_array_get_size(x_33); +lean_dec(x_33); +x_35 = lean_unsigned_to_nat(3u); +x_36 = lean_nat_dec_eq(x_34, x_35); +lean_dec(x_34); +if (x_36 == 0) +{ +lean_object* x_37; +lean_dec(x_29); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_37 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_7); +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_100; lean_object* x_101; +x_38 = l_Lean_Syntax_getArg(x_29, x_17); +lean_dec(x_29); +x_39 = l_Lean_Syntax_getArg(x_1, x_35); +x_40 = lean_unsigned_to_nat(5u); +x_41 = l_Lean_Syntax_getArg(x_1, x_40); +x_42 = l_Lean_Syntax_getArgs(x_39); +lean_dec(x_39); +x_43 = lean_box(0); +x_100 = l_Lean_numLitKind; +x_101 = l_Lean_Syntax_isNatLitAux(x_100, x_38); +lean_dec(x_38); +if (lean_obj_tag(x_101) == 0) +{ +x_44 = x_25; +goto block_99; +} +else +{ +lean_object* x_102; +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +lean_dec(x_101); +x_44 = x_102; +goto block_99; +} +block_99: +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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; +x_45 = lean_st_ref_get(x_3, x_7); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_ctor_get(x_46, 0); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l_Lean_Elab_Command_getRef(x_2, x_3, x_47); +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_52 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = lean_ctor_get(x_2, 2); +lean_inc(x_55); +x_56 = lean_st_ref_get(x_3, x_54); +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_ctor_get(x_57, 4); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_st_ref_get(x_3, x_58); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = lean_ctor_get(x_61, 3); +lean_inc(x_63); +lean_dec(x_61); +lean_inc(x_48); +x_64 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_64, 0, x_48); +x_65 = x_64; +x_66 = lean_environment_main_module(x_48); +x_67 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set(x_67, 2, x_53); +lean_ctor_set(x_67, 3, x_55); +lean_ctor_set(x_67, 4, x_59); +lean_ctor_set(x_67, 5, x_50); +x_68 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_8, x_43, x_44, x_42, x_41, x_67, x_63); +lean_dec(x_8); +lean_dec(x_1); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +lean_dec(x_2); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_71 = lean_st_ref_take(x_3, x_62); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = !lean_is_exclusive(x_72); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_75 = lean_ctor_get(x_72, 3); +lean_dec(x_75); +lean_ctor_set(x_72, 3, x_70); +x_76 = lean_st_ref_set(x_3, x_72, x_73); +x_77 = !lean_is_exclusive(x_76); +if (x_77 == 0) +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_76, 0); +lean_dec(x_78); +lean_ctor_set(x_76, 0, x_69); +return x_76; +} +else +{ +lean_object* x_79; lean_object* x_80; +x_79 = lean_ctor_get(x_76, 1); +lean_inc(x_79); +lean_dec(x_76); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_69); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_81 = lean_ctor_get(x_72, 0); +x_82 = lean_ctor_get(x_72, 1); +x_83 = lean_ctor_get(x_72, 2); +x_84 = lean_ctor_get(x_72, 4); +x_85 = lean_ctor_get(x_72, 5); +x_86 = lean_ctor_get(x_72, 6); +lean_inc(x_86); +lean_inc(x_85); +lean_inc(x_84); +lean_inc(x_83); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_72); +x_87 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_87, 0, x_81); +lean_ctor_set(x_87, 1, x_82); +lean_ctor_set(x_87, 2, x_83); +lean_ctor_set(x_87, 3, x_70); +lean_ctor_set(x_87, 4, x_84); +lean_ctor_set(x_87, 5, x_85); +lean_ctor_set(x_87, 6, x_86); +x_88 = lean_st_ref_set(x_3, x_87, x_73); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_90 = x_88; +} else { + lean_dec_ref(x_88); + x_90 = lean_box(0); +} +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(0, 2, 0); +} else { + x_91 = x_90; +} +lean_ctor_set(x_91, 0, x_69); +lean_ctor_set(x_91, 1, x_89); +return x_91; +} +} +else +{ +lean_object* x_92; +x_92 = lean_ctor_get(x_68, 0); +lean_inc(x_92); +lean_dec(x_68); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_95, 0, x_94); +x_96 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_96, 0, x_95); +x_97 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7___rarg(x_93, x_96, x_2, x_3, x_62); +lean_dec(x_93); +return x_97; +} +else +{ +lean_object* x_98; +lean_dec(x_2); +x_98 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_62); +return x_98; +} +} +} +} +} +} +} +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; +lean_dec(x_23); +x_170 = lean_unsigned_to_nat(0u); +x_171 = l_Lean_Syntax_getArg(x_18, x_170); +lean_dec(x_18); +x_172 = l_Lean_Elab_Command_expandMixfix___closed__8; +lean_inc(x_171); +x_173 = l_Lean_Syntax_isOfKind(x_171, x_172); +if (x_173 == 0) +{ +lean_object* x_174; +lean_dec(x_171); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_174 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_7); +return x_174; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +x_175 = l_Lean_Syntax_getArgs(x_171); +x_176 = lean_array_get_size(x_175); +lean_dec(x_175); +x_177 = lean_unsigned_to_nat(2u); +x_178 = lean_nat_dec_eq(x_176, x_177); +lean_dec(x_176); +if (x_178 == 0) +{ +lean_object* x_179; +lean_dec(x_171); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_179 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_7); +return x_179; +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_256; +x_180 = l_Lean_Syntax_getArg(x_171, x_17); +lean_dec(x_171); +x_181 = l_Lean_Syntax_getArg(x_1, x_177); +lean_inc(x_181); +x_256 = l_Lean_Syntax_isOfKind(x_181, x_19); +if (x_256 == 0) +{ +lean_object* x_257; +x_257 = lean_box(0); +x_182 = x_257; +goto block_255; +} +else +{ +lean_object* x_258; lean_object* x_259; uint8_t x_260; +x_258 = l_Lean_Syntax_getArgs(x_181); +x_259 = lean_array_get_size(x_258); +lean_dec(x_258); +x_260 = lean_nat_dec_eq(x_259, x_170); +lean_dec(x_259); +if (x_260 == 0) +{ +lean_object* x_261; +x_261 = lean_box(0); +x_182 = x_261; +goto block_255; +} +else +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; 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_object* x_289; lean_object* x_290; lean_object* x_291; +lean_dec(x_181); +x_262 = lean_unsigned_to_nat(3u); +x_263 = l_Lean_Syntax_getArg(x_1, x_262); +x_264 = lean_unsigned_to_nat(5u); +x_265 = l_Lean_Syntax_getArg(x_1, x_264); +x_266 = l_Lean_Syntax_getArgs(x_263); +lean_dec(x_263); +x_267 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_267, 0, x_180); +x_268 = lean_st_ref_get(x_3, x_7); +x_269 = lean_ctor_get(x_268, 0); +lean_inc(x_269); +x_270 = lean_ctor_get(x_268, 1); +lean_inc(x_270); +lean_dec(x_268); +x_271 = lean_ctor_get(x_269, 0); +lean_inc(x_271); +lean_dec(x_269); +x_272 = l_Lean_Elab_Command_getRef(x_2, x_3, x_270); +x_273 = lean_ctor_get(x_272, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_272, 1); +lean_inc(x_274); +lean_dec(x_272); +x_275 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_274); +x_276 = lean_ctor_get(x_275, 0); +lean_inc(x_276); +x_277 = lean_ctor_get(x_275, 1); +lean_inc(x_277); +lean_dec(x_275); +x_278 = lean_ctor_get(x_2, 2); +lean_inc(x_278); +x_279 = lean_st_ref_get(x_3, x_277); +x_280 = lean_ctor_get(x_279, 0); +lean_inc(x_280); +x_281 = lean_ctor_get(x_279, 1); +lean_inc(x_281); +lean_dec(x_279); +x_282 = lean_ctor_get(x_280, 4); +lean_inc(x_282); +lean_dec(x_280); +x_283 = lean_st_ref_get(x_3, x_281); +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_286 = lean_ctor_get(x_284, 3); +lean_inc(x_286); +lean_dec(x_284); +lean_inc(x_271); +x_287 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_287, 0, x_271); +x_288 = x_287; +x_289 = lean_environment_main_module(x_271); +x_290 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_290, 0, x_288); +lean_ctor_set(x_290, 1, x_289); +lean_ctor_set(x_290, 2, x_276); +lean_ctor_set(x_290, 3, x_278); +lean_ctor_set(x_290, 4, x_282); +lean_ctor_set(x_290, 5, x_273); +x_291 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_8, x_267, x_170, x_266, x_265, x_290, x_286); +lean_dec(x_8); +lean_dec(x_1); +if (lean_obj_tag(x_291) == 0) +{ +lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; +lean_dec(x_2); +x_292 = lean_ctor_get(x_291, 0); +lean_inc(x_292); +x_293 = lean_ctor_get(x_291, 1); +lean_inc(x_293); +lean_dec(x_291); +x_294 = lean_st_ref_take(x_3, x_285); +x_295 = lean_ctor_get(x_294, 0); +lean_inc(x_295); +x_296 = lean_ctor_get(x_294, 1); +lean_inc(x_296); +lean_dec(x_294); +x_297 = !lean_is_exclusive(x_295); +if (x_297 == 0) +{ +lean_object* x_298; lean_object* x_299; uint8_t x_300; +x_298 = lean_ctor_get(x_295, 3); +lean_dec(x_298); +lean_ctor_set(x_295, 3, x_293); +x_299 = lean_st_ref_set(x_3, x_295, x_296); +x_300 = !lean_is_exclusive(x_299); +if (x_300 == 0) +{ +lean_object* x_301; +x_301 = lean_ctor_get(x_299, 0); +lean_dec(x_301); +lean_ctor_set(x_299, 0, x_292); +return x_299; +} +else +{ +lean_object* x_302; lean_object* x_303; +x_302 = lean_ctor_get(x_299, 1); +lean_inc(x_302); +lean_dec(x_299); +x_303 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_303, 0, x_292); +lean_ctor_set(x_303, 1, x_302); +return x_303; +} +} +else +{ +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +x_304 = lean_ctor_get(x_295, 0); +x_305 = lean_ctor_get(x_295, 1); +x_306 = lean_ctor_get(x_295, 2); +x_307 = lean_ctor_get(x_295, 4); +x_308 = lean_ctor_get(x_295, 5); +x_309 = lean_ctor_get(x_295, 6); +lean_inc(x_309); +lean_inc(x_308); +lean_inc(x_307); +lean_inc(x_306); +lean_inc(x_305); +lean_inc(x_304); +lean_dec(x_295); +x_310 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_310, 0, x_304); +lean_ctor_set(x_310, 1, x_305); +lean_ctor_set(x_310, 2, x_306); +lean_ctor_set(x_310, 3, x_293); +lean_ctor_set(x_310, 4, x_307); +lean_ctor_set(x_310, 5, x_308); +lean_ctor_set(x_310, 6, x_309); +x_311 = lean_st_ref_set(x_3, x_310, x_296); +x_312 = lean_ctor_get(x_311, 1); +lean_inc(x_312); +if (lean_is_exclusive(x_311)) { + lean_ctor_release(x_311, 0); + lean_ctor_release(x_311, 1); + x_313 = x_311; +} else { + lean_dec_ref(x_311); + x_313 = lean_box(0); +} +if (lean_is_scalar(x_313)) { + x_314 = lean_alloc_ctor(0, 2, 0); +} else { + x_314 = x_313; +} +lean_ctor_set(x_314, 0, x_292); +lean_ctor_set(x_314, 1, x_312); +return x_314; +} +} +else +{ +lean_object* x_315; +x_315 = lean_ctor_get(x_291, 0); +lean_inc(x_315); +lean_dec(x_291); +if (lean_obj_tag(x_315) == 0) +{ +lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; +x_316 = lean_ctor_get(x_315, 0); +lean_inc(x_316); +x_317 = lean_ctor_get(x_315, 1); +lean_inc(x_317); +lean_dec(x_315); +x_318 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_318, 0, x_317); +x_319 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_319, 0, x_318); +x_320 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7___rarg(x_316, x_319, x_2, x_3, x_285); +lean_dec(x_316); +return x_320; +} +else +{ +lean_object* x_321; +lean_dec(x_2); +x_321 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_285); +return x_321; +} +} +} +} +block_255: +{ +uint8_t x_183; +lean_dec(x_182); +lean_inc(x_181); +x_183 = l_Lean_Syntax_isOfKind(x_181, x_19); +if (x_183 == 0) +{ +lean_object* x_184; +lean_dec(x_181); +lean_dec(x_180); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_184 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_7); +return x_184; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_185 = l_Lean_Syntax_getArgs(x_181); +x_186 = lean_array_get_size(x_185); +lean_dec(x_185); +x_187 = lean_unsigned_to_nat(3u); +x_188 = lean_nat_dec_eq(x_186, x_187); +lean_dec(x_186); +if (x_188 == 0) +{ +lean_object* x_189; +lean_dec(x_181); +lean_dec(x_180); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_189 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_7); +return x_189; +} +else +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_252; lean_object* x_253; +x_190 = l_Lean_Syntax_getArg(x_181, x_17); +lean_dec(x_181); +x_191 = l_Lean_Syntax_getArg(x_1, x_187); +x_192 = lean_unsigned_to_nat(5u); +x_193 = l_Lean_Syntax_getArg(x_1, x_192); +x_194 = l_Lean_Syntax_getArgs(x_191); +lean_dec(x_191); +x_195 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_195, 0, x_180); +x_252 = l_Lean_numLitKind; +x_253 = l_Lean_Syntax_isNatLitAux(x_252, x_190); +lean_dec(x_190); +if (lean_obj_tag(x_253) == 0) +{ +x_196 = x_170; +goto block_251; +} +else +{ +lean_object* x_254; +x_254 = lean_ctor_get(x_253, 0); +lean_inc(x_254); +lean_dec(x_253); +x_196 = x_254; +goto block_251; +} +block_251: +{ +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; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; +x_197 = lean_st_ref_get(x_3, x_7); +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_197, 1); +lean_inc(x_199); +lean_dec(x_197); +x_200 = lean_ctor_get(x_198, 0); +lean_inc(x_200); +lean_dec(x_198); +x_201 = l_Lean_Elab_Command_getRef(x_2, x_3, x_199); +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_201, 1); +lean_inc(x_203); +lean_dec(x_201); +x_204 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_203); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +x_206 = lean_ctor_get(x_204, 1); +lean_inc(x_206); +lean_dec(x_204); +x_207 = lean_ctor_get(x_2, 2); +lean_inc(x_207); +x_208 = lean_st_ref_get(x_3, x_206); +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_211 = lean_ctor_get(x_209, 4); +lean_inc(x_211); +lean_dec(x_209); +x_212 = lean_st_ref_get(x_3, x_210); +x_213 = lean_ctor_get(x_212, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_212, 1); +lean_inc(x_214); +lean_dec(x_212); +x_215 = lean_ctor_get(x_213, 3); +lean_inc(x_215); +lean_dec(x_213); +lean_inc(x_200); +x_216 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_216, 0, x_200); +x_217 = x_216; +x_218 = lean_environment_main_module(x_200); +x_219 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_219, 0, x_217); +lean_ctor_set(x_219, 1, x_218); +lean_ctor_set(x_219, 2, x_205); +lean_ctor_set(x_219, 3, x_207); +lean_ctor_set(x_219, 4, x_211); +lean_ctor_set(x_219, 5, x_202); +x_220 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_8, x_195, x_196, x_194, x_193, x_219, x_215); +lean_dec(x_8); +lean_dec(x_1); +if (lean_obj_tag(x_220) == 0) +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; +lean_dec(x_2); +x_221 = lean_ctor_get(x_220, 0); +lean_inc(x_221); +x_222 = lean_ctor_get(x_220, 1); +lean_inc(x_222); +lean_dec(x_220); +x_223 = lean_st_ref_take(x_3, x_214); +x_224 = lean_ctor_get(x_223, 0); +lean_inc(x_224); +x_225 = lean_ctor_get(x_223, 1); +lean_inc(x_225); +lean_dec(x_223); +x_226 = !lean_is_exclusive(x_224); +if (x_226 == 0) +{ +lean_object* x_227; lean_object* x_228; uint8_t x_229; +x_227 = lean_ctor_get(x_224, 3); +lean_dec(x_227); +lean_ctor_set(x_224, 3, x_222); +x_228 = lean_st_ref_set(x_3, x_224, x_225); +x_229 = !lean_is_exclusive(x_228); +if (x_229 == 0) +{ +lean_object* x_230; +x_230 = lean_ctor_get(x_228, 0); +lean_dec(x_230); +lean_ctor_set(x_228, 0, x_221); +return x_228; +} +else +{ +lean_object* x_231; lean_object* x_232; +x_231 = lean_ctor_get(x_228, 1); +lean_inc(x_231); +lean_dec(x_228); +x_232 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_232, 0, x_221); +lean_ctor_set(x_232, 1, x_231); +return x_232; +} +} +else +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_233 = lean_ctor_get(x_224, 0); +x_234 = lean_ctor_get(x_224, 1); +x_235 = lean_ctor_get(x_224, 2); +x_236 = lean_ctor_get(x_224, 4); +x_237 = lean_ctor_get(x_224, 5); +x_238 = lean_ctor_get(x_224, 6); +lean_inc(x_238); +lean_inc(x_237); +lean_inc(x_236); +lean_inc(x_235); +lean_inc(x_234); +lean_inc(x_233); +lean_dec(x_224); +x_239 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_239, 0, x_233); +lean_ctor_set(x_239, 1, x_234); +lean_ctor_set(x_239, 2, x_235); +lean_ctor_set(x_239, 3, x_222); +lean_ctor_set(x_239, 4, x_236); +lean_ctor_set(x_239, 5, x_237); +lean_ctor_set(x_239, 6, x_238); +x_240 = lean_st_ref_set(x_3, x_239, x_225); +x_241 = lean_ctor_get(x_240, 1); +lean_inc(x_241); +if (lean_is_exclusive(x_240)) { + lean_ctor_release(x_240, 0); + lean_ctor_release(x_240, 1); + x_242 = x_240; +} else { + lean_dec_ref(x_240); + x_242 = lean_box(0); +} +if (lean_is_scalar(x_242)) { + x_243 = lean_alloc_ctor(0, 2, 0); +} else { + x_243 = x_242; +} +lean_ctor_set(x_243, 0, x_221); +lean_ctor_set(x_243, 1, x_241); +return x_243; +} +} +else +{ +lean_object* x_244; +x_244 = lean_ctor_get(x_220, 0); +lean_inc(x_244); +lean_dec(x_220); +if (lean_obj_tag(x_244) == 0) +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; +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_247 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_247, 0, x_246); +x_248 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_248, 0, x_247); +x_249 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7___rarg(x_245, x_248, x_2, x_3, x_214); +lean_dec(x_245); +return x_249; +} +else +{ +lean_object* x_250; +lean_dec(x_2); +x_250 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_214); +return x_250; +} +} +} +} } } } @@ -20163,7 +21538,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_8964____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10946____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -20173,11 +21548,11 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_8964_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10946_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_8964____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10946____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -21123,7 +22498,7 @@ x_153 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_153, 0, x_76); lean_ctor_set(x_153, 1, x_152); x_154 = lean_array_push(x_123, x_153); -x_155 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_155 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_156 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_156, 0, x_155); lean_ctor_set(x_156, 1, x_154); @@ -21215,7 +22590,7 @@ lean_ctor_set(x_210, 1, x_208); x_211 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_212 = lean_array_push(x_211, x_210); x_213 = lean_array_push(x_212, x_125); -x_214 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_214 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_215 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_215, 0, x_214); lean_ctor_set(x_215, 1, x_213); @@ -21377,7 +22752,7 @@ x_306 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_306, 0, x_228); lean_ctor_set(x_306, 1, x_305); x_307 = lean_array_push(x_276, x_306); -x_308 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_308 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_309 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_309, 0, x_308); lean_ctor_set(x_309, 1, x_307); @@ -21469,7 +22844,7 @@ lean_ctor_set(x_363, 1, x_361); x_364 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_365 = lean_array_push(x_364, x_363); x_366 = lean_array_push(x_365, x_278); -x_367 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_367 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_368 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_368, 0, x_367); lean_ctor_set(x_368, 1, x_366); @@ -21631,7 +23006,7 @@ x_459 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_459, 0, x_381); lean_ctor_set(x_459, 1, x_458); x_460 = lean_array_push(x_429, x_459); -x_461 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_461 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_462 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_462, 0, x_461); lean_ctor_set(x_462, 1, x_460); @@ -21725,7 +23100,7 @@ lean_ctor_set(x_518, 1, x_516); x_519 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_520 = lean_array_push(x_519, x_518); x_521 = lean_array_push(x_520, x_431); -x_522 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_522 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_523 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_523, 0, x_522); lean_ctor_set(x_523, 1, x_521); @@ -21916,7 +23291,7 @@ x_624 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_624, 0, x_546); lean_ctor_set(x_624, 1, x_623); x_625 = lean_array_push(x_594, x_624); -x_626 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_626 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_627 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_627, 0, x_626); lean_ctor_set(x_627, 1, x_625); @@ -22056,7 +23431,7 @@ lean_ctor_set(x_706, 1, x_705); x_707 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_708 = lean_array_push(x_707, x_706); x_709 = lean_array_push(x_708, x_596); -x_710 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_710 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_711 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_711, 0, x_710); lean_ctor_set(x_711, 1, x_709); @@ -22273,7 +23648,7 @@ x_822 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_822, 0, x_745); lean_ctor_set(x_822, 1, x_821); x_823 = lean_array_push(x_792, x_822); -x_824 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_824 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_825 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_825, 0, x_824); lean_ctor_set(x_825, 1, x_823); @@ -22365,7 +23740,7 @@ lean_ctor_set(x_879, 1, x_877); x_880 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_881 = lean_array_push(x_880, x_879); x_882 = lean_array_push(x_881, x_794); -x_883 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_883 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_884 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_884, 0, x_883); lean_ctor_set(x_884, 1, x_882); @@ -22529,7 +23904,7 @@ x_976 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_976, 0, x_898); lean_ctor_set(x_976, 1, x_975); x_977 = lean_array_push(x_946, x_976); -x_978 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_978 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_979 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_979, 0, x_978); lean_ctor_set(x_979, 1, x_977); @@ -22621,7 +23996,7 @@ lean_ctor_set(x_1033, 1, x_1031); x_1034 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_1035 = lean_array_push(x_1034, x_1033); x_1036 = lean_array_push(x_1035, x_948); -x_1037 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_1037 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_1038 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1038, 0, x_1037); lean_ctor_set(x_1038, 1, x_1036); @@ -22785,7 +24160,7 @@ x_1130 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1130, 0, x_1052); lean_ctor_set(x_1130, 1, x_1129); x_1131 = lean_array_push(x_1100, x_1130); -x_1132 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_1132 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_1133 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1133, 0, x_1132); lean_ctor_set(x_1133, 1, x_1131); @@ -22879,7 +24254,7 @@ lean_ctor_set(x_1189, 1, x_1187); x_1190 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_1191 = lean_array_push(x_1190, x_1189); x_1192 = lean_array_push(x_1191, x_1102); -x_1193 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_1193 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_1194 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1194, 0, x_1193); lean_ctor_set(x_1194, 1, x_1192); @@ -23071,7 +24446,7 @@ x_1296 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1296, 0, x_1218); lean_ctor_set(x_1296, 1, x_1295); x_1297 = lean_array_push(x_1266, x_1296); -x_1298 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_1298 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_1299 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1299, 0, x_1298); lean_ctor_set(x_1299, 1, x_1297); @@ -23211,7 +24586,7 @@ lean_ctor_set(x_1378, 1, x_1377); x_1379 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_1380 = lean_array_push(x_1379, x_1378); x_1381 = lean_array_push(x_1380, x_1268); -x_1382 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_1382 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_1383 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1383, 0, x_1382); lean_ctor_set(x_1383, 1, x_1381); @@ -24240,9 +25615,9 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro___closed__2); res = l___regBuiltin_Lean_Elab_Command_elabMacro(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_8964____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_8964____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_8964____closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_8964_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10946____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10946____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10946____closed__1); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10946_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Command_withExpectedType___closed__1 = _init_l_Lean_Elab_Command_withExpectedType___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index d59d40b8b8..cc878a28d2 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -94,6 +94,7 @@ lean_object* l_Lean_Elab_Tactic_evalTacticSeq1Indented___boxed(lean_object*, lea extern lean_object* l_Lean_Parser_Tactic_matchAlt___closed__2; extern lean_object* l_Array_empty___closed__1; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_findTag_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10; extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__4; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__2; @@ -448,7 +449,6 @@ lean_object* l_Lean_Elab_Tactic_focus___rarg___lambda__1___boxed(lean_object*, l lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals_match__2(lean_object*); 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_object* l_Lean_Elab_Tactic_evalIntros_match__1(lean_object*); -extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10; lean_object* l_Lean_Elab_Tactic_TacticM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_case___closed__2; lean_object* l_Lean_Elab_Tactic_evalChoiceAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -10703,7 +10703,7 @@ x_34 = l_Lean_nullKind___closed__2; x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); -x_36 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10; +x_36 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10; x_37 = lean_array_push(x_36, x_35); x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_11); @@ -10893,7 +10893,7 @@ x_96 = lean_array_push(x_95, x_94); x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_71); lean_ctor_set(x_97, 1, x_96); -x_98 = l_myMacro____x40_Init_NotationExtra___hyg_3617____closed__10; +x_98 = l_myMacro____x40_Init_NotationExtra___hyg_2849____closed__10; lean_inc(x_97); x_99 = lean_array_push(x_98, x_97); x_100 = lean_alloc_ctor(1, 2, 0); diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 52c567eed9..6f4a120363 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -122,7 +122,6 @@ lean_object* l_Lean_Elab_Term_throwErrorIfErrors___closed__1; lean_object* l_Lean_Elab_Term_isValidAutoBoundImplicitName_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_liftAttrM(lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7516____closed__1; lean_object* l_Lean_Elab_Term_throwErrorIfErrors___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getDeclName_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__2; @@ -143,11 +142,13 @@ lean_object* l_Lean_Meta_getMVarsAtDeclImp(lean_object*, lean_object*, lean_obje lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__8; lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__1; +lean_object* l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_isMonadApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabTypeOf(lean_object*); lean_object* l_Lean_Elab_Term_elabQuotedName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__3___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* l_Lean_Elab_Term_State_letRecsToLift___default; +extern lean_object* l_Lean_Meta_evalNat_visit___closed__11; lean_object* l_Lean_MacroScopesView_format(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits___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*, lean_object*); @@ -267,6 +268,7 @@ lean_object* l_Lean_Elab_Term_elabSyntheticHole_match__2(lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__6___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__5(lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; lean_object* l_Lean_Meta_mkFreshTypeMVar___at_Lean_Elab_Term_elabNumLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName___closed__6; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__1; @@ -381,6 +383,7 @@ lean_object* l_List_foldlM___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___sp lean_object* l_Lean_Elab_Term_resolveLocalName_loop(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Elab_Term_addAutoBoundImplicits___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_evalNat_visit___closed__9; lean_object* l_Lean_Elab_Term_instInhabitedTermElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_toString(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabByTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -394,6 +397,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f_ lean_object* l_Lean_Elab_Term_getMessageLog(lean_object*); lean_object* l_Std_AssocList_find_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___spec__6(lean_object*, lean_object*); extern lean_object* l_Lean_initFn____x40_Lean_Data_Options___hyg_476____closed__3; +lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___at___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNumLit___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_take(lean_object*, lean_object*); @@ -440,6 +444,7 @@ lean_object* l_Lean_Elab_Term_withMacroExpansion___rarg(lean_object*, lean_objec lean_object* l_Lean_Elab_Term_elabByTactic___closed__2; lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__3; lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__14; +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7578____closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_useImplicitLambda_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__2; extern lean_object* l_Lean_instQuoteProd___rarg___closed__1; @@ -513,7 +518,6 @@ lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___closed__5; size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_withNestedTraces___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__4; lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Elab_Term_elabEnsureExpectedType_match__1(lean_object*); @@ -713,6 +717,7 @@ lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabCharLit___closed__1; extern lean_object* l_Lean_Syntax_mkApp___closed__1; lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__4; +extern lean_object* l_Lean_Meta_evalNat_visit___closed__6; lean_object* l_Lean_Elab_Term_elabEnsureExpectedType_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux_match__2(lean_object*); lean_object* l_Lean_Elab_Term_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -857,6 +862,7 @@ lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_obj lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos(lean_object*); lean_object* l_Lean_Elab_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_exceptionToSorry___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_shouldAddAsStar___closed__1; lean_object* l_Lean_Elab_Term_getMessageLog___boxed(lean_object*); lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__1; lean_object* l_Lean_Elab_Term_isLocalIdent_x3f_match__1(lean_object*); @@ -914,7 +920,6 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_addAutoBoundImplicits_ extern lean_object* l_Lean_Meta_Context_config___default___closed__1; lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_evalNat_visit___closed__2; lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2; @@ -979,7 +984,7 @@ lean_object* l_IO_println___at_Lean_instEval___spec__1(lean_object*, lean_object lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwErrorIfErrors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7516_(lean_object*); +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7578_(lean_object*); lean_object* l_Lean_Elab_Term_elabByTactic_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1019,6 +1024,7 @@ lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___rarg___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore_match__2___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_evalNat_visit___closed__7; uint8_t l_Std_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___at_Lean_Elab_Term_ensureType___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___spec__5___boxed(lean_object*, lean_object*); @@ -1099,6 +1105,7 @@ lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__1___boxed(l lean_object* l_Lean_getAttributeImpl(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppOptM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_throwLetTypeMismatchMessage___rarg___closed__8; +lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_saveAllState___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__8; @@ -29834,7 +29841,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_4 = l___regBuiltin_Lean_Elab_Term_elabSort___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -33228,6 +33235,25 @@ x_10 = l_Lean_Meta_isExprDefEqImp(x_1, x_2, x_5, x_6, x_7, x_8, x_9); return x_10; } } +lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___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, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_Elab_throwIllFormedSyntax___rarg___closed__3; +x_9 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +static lean_object* _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_evalNat_visit___closed__3; +x_2 = l___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_shouldAddAsStar___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} lean_object* l_Lean_Elab_Term_elabNumLit___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: { @@ -33249,82 +33275,236 @@ lean_dec(x_11); x_14 = l_Lean_Meta_decLevel___at_Lean_Elab_Term_elabNumLit___spec__2(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_13); 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_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = lean_box(0); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_15); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Meta_evalNat_visit___closed__2; -lean_inc(x_18); -x_20 = l_Lean_mkConst(x_19, x_18); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_nat_dec_eq(x_2, x_17); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_dec_eq(x_2, x_19); +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; +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_15); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Meta_evalNat_visit___closed__6; +lean_inc(x_22); +x_24 = l_Lean_mkConst(x_23, x_22); lean_inc(x_1); -x_21 = l_Lean_mkApp(x_20, x_1); -x_22 = l_Lean_Elab_Term_mkInstMVar(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_16); -if (lean_obj_tag(x_22) == 0) +x_25 = l_Lean_mkApp(x_24, x_1); +x_26 = l_Lean_Elab_Term_mkInstMVar(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_26) == 0) { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +uint8_t x_27; +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = lean_ctor_get(x_22, 0); -x_25 = l_Lean_Meta_evalNat_visit___closed__3; -x_26 = l_Lean_mkConst(x_25, x_18); -x_27 = l_Lean_mkApp3(x_26, x_1, x_24, x_2); -lean_ctor_set(x_22, 0, x_27); -return x_22; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_26, 0); +x_29 = l_Lean_Meta_evalNat_visit___closed__7; +x_30 = l_Lean_mkConst(x_29, x_22); +x_31 = l_Lean_mkNatLit(x_2); +x_32 = l_Lean_mkApp3(x_30, x_1, x_28, x_31); +lean_ctor_set(x_26, 0, x_32); +return x_26; } 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; -x_28 = lean_ctor_get(x_22, 0); -x_29 = lean_ctor_get(x_22, 1); -lean_inc(x_29); -lean_inc(x_28); +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; +x_33 = lean_ctor_get(x_26, 0); +x_34 = lean_ctor_get(x_26, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_26); +x_35 = l_Lean_Meta_evalNat_visit___closed__7; +x_36 = l_Lean_mkConst(x_35, x_22); +x_37 = l_Lean_mkNatLit(x_2); +x_38 = l_Lean_mkApp3(x_36, x_1, x_33, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_34); +return x_39; +} +} +else +{ +uint8_t x_40; lean_dec(x_22); -x_30 = l_Lean_Meta_evalNat_visit___closed__3; -x_31 = l_Lean_mkConst(x_30, x_18); -x_32 = l_Lean_mkApp3(x_31, x_1, x_28, x_2); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_29); -return x_33; -} -} -else -{ -uint8_t x_34; -lean_dec(x_18); lean_dec(x_2); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_22); -if (x_34 == 0) +x_40 = !lean_is_exclusive(x_26); +if (x_40 == 0) { -return x_22; +return x_26; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -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_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; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_26, 0); +x_42 = lean_ctor_get(x_26, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_26); +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_38; +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_dec(x_2); +x_44 = lean_box(0); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_15); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_Lean_Meta_evalNat_visit___closed__9; +lean_inc(x_45); +x_47 = l_Lean_mkConst(x_46, x_45); +lean_inc(x_1); +x_48 = l_Lean_mkApp(x_47, x_1); +x_49 = l_Lean_Elab_Term_mkInstMVar(x_48, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_49) == 0) +{ +uint8_t x_50; +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_ctor_get(x_49, 0); +x_52 = l_Lean_Meta_evalNat_visit___closed__11; +x_53 = l_Lean_mkConst(x_52, x_45); +x_54 = l_Lean_mkAppB(x_53, x_1, x_51); +lean_ctor_set(x_49, 0, x_54); +return x_49; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_55 = lean_ctor_get(x_49, 0); +x_56 = lean_ctor_get(x_49, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_49); +x_57 = l_Lean_Meta_evalNat_visit___closed__11; +x_58 = l_Lean_mkConst(x_57, x_45); +x_59 = l_Lean_mkAppB(x_58, x_1, x_55); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_56); +return x_60; +} +} +else +{ +uint8_t x_61; +lean_dec(x_45); +lean_dec(x_1); +x_61 = !lean_is_exclusive(x_49); +if (x_61 == 0) +{ +return x_49; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_49, 0); +x_63 = lean_ctor_get(x_49, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_49); +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 +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_2); +x_65 = lean_box(0); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_15); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_Meta_evalNat_visit___closed__3; +lean_inc(x_66); +x_68 = l_Lean_mkConst(x_67, x_66); +lean_inc(x_1); +x_69 = l_Lean_mkApp(x_68, x_1); +x_70 = l_Lean_Elab_Term_mkInstMVar(x_69, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_70) == 0) +{ +uint8_t x_71; +x_71 = !lean_is_exclusive(x_70); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_70, 0); +x_73 = l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1; +x_74 = l_Lean_mkConst(x_73, x_66); +x_75 = l_Lean_mkAppB(x_74, x_1, x_72); +lean_ctor_set(x_70, 0, x_75); +return x_70; +} +else +{ +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_76 = lean_ctor_get(x_70, 0); +x_77 = lean_ctor_get(x_70, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_70); +x_78 = l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1; +x_79 = l_Lean_mkConst(x_78, x_66); +x_80 = l_Lean_mkAppB(x_79, x_1, x_76); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_77); +return x_81; +} +} +else +{ +uint8_t x_82; +lean_dec(x_66); +lean_dec(x_1); +x_82 = !lean_is_exclusive(x_70); +if (x_82 == 0) +{ +return x_70; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_70, 0); +x_84 = lean_ctor_get(x_70, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_70); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; +} +} +} +} +else +{ +uint8_t x_86; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -33333,29 +33513,29 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_14); -if (x_38 == 0) +x_86 = !lean_is_exclusive(x_14); +if (x_86 == 0) { return x_14; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_14, 0); -x_40 = lean_ctor_get(x_14, 1); -lean_inc(x_40); -lean_inc(x_39); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_14, 0); +x_88 = lean_ctor_get(x_14, 1); +lean_inc(x_88); +lean_inc(x_87); lean_dec(x_14); -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; +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } else { -uint8_t x_42; +uint8_t x_90; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -33364,23 +33544,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_11); -if (x_42 == 0) +x_90 = !lean_is_exclusive(x_11); +if (x_90 == 0) { return x_11; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_11, 0); -x_44 = lean_ctor_get(x_11, 1); -lean_inc(x_44); -lean_inc(x_43); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_11, 0); +x_92 = lean_ctor_get(x_11, 1); +lean_inc(x_92); +lean_inc(x_91); lean_dec(x_11); -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; +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } } @@ -33475,7 +33655,7 @@ if (lean_obj_tag(x_11) == 0) { lean_object* x_12; uint8_t x_13; lean_dec(x_2); -x_12 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__4(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); @@ -33502,13 +33682,12 @@ return x_16; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_17; lean_object* x_18; x_17 = lean_ctor_get(x_11, 0); lean_inc(x_17); lean_dec(x_11); -x_18 = l_Lean_mkNatLit(x_17); -x_19 = l_Lean_Elab_Term_elabNumLit___lambda__2(x_2, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_19; +x_18 = l_Lean_Elab_Term_elabNumLit___lambda__2(x_2, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_18; } } } @@ -33551,6 +33730,19 @@ lean_dec(x_3); return x_10; } } +lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___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) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabNumLit___spec__4(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); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} lean_object* l_Lean_Elab_Term_elabNumLit___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: { @@ -37331,7 +37523,7 @@ x_8 = l_Lean_Elab_Term_instMetaEvalTermElabM___rarg(x_1, x_2, x_3, x_4, x_7, x_6 return x_8; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7516____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7578____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -37341,7 +37533,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7516_(lean_object* x_1) { +lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7578_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -37353,7 +37545,7 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7516____closed__1; +x_5 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7578____closed__1; x_6 = l_Lean_registerTraceClass(x_5, x_4); if (lean_obj_tag(x_6) == 0) { @@ -37909,6 +38101,8 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabStrLit___closed__1); res = l___regBuiltin_Lean_Elab_Term_elabStrLit(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1 = _init_l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_elabNumLit___lambda__1___closed__1); l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabNumLit___closed__1); res = l___regBuiltin_Lean_Elab_Term_elabNumLit(lean_io_mk_world()); @@ -37967,9 +38161,9 @@ l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__2 = _init_l_Lean_Elab_Te lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__2); l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__3 = _init_l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7516____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7516____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7516____closed__1); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7516_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7578____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7578____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7578____closed__1); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_7578_(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/Expr.c b/stage0/stdlib/Lean/Expr.c index 0ec0196bf8..4bf4b64959 100644 --- a/stage0/stdlib/Lean/Expr.c +++ b/stage0/stdlib/Lean/Expr.c @@ -25,6 +25,7 @@ lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_o lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkDecIsFalse___closed__2; lean_object* l_Lean_Expr_bvarIdx_x21___closed__3; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Expr_Data_hash___boxed(lean_object*); lean_object* l_Lean_Expr_isApp_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -546,7 +547,6 @@ lean_object* l_Lean_Expr_isLambda_match__1___rarg(lean_object*, lean_object*, le uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); lean_object* l_Lean_BinderInfo_isAuxDecl_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_updateMData_x21___closed__3; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; lean_object* l_Lean_Expr_constName_x21_match__1(lean_object*); lean_object* l_Lean_mkApp5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_mkDataCore___closed__1; @@ -3325,7 +3325,7 @@ return x_4; case 3: { lean_object* x_5; -x_5 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; +x_5 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; return x_5; } case 4: diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index 31f70a8f78..6c06f585b7 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -103,6 +103,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstru lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1___closed__7; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor_match__1(lean_object*); +extern lean_object* l_Lean_Meta_evalNat_visit___closed__12; extern lean_object* l_Array_empty___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f_match__3(lean_object*); @@ -121,6 +122,7 @@ extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_507____close uint8_t l_Lean_Meta_Match_Unify_occurs(lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; +extern lean_object* l_Lean_Meta_evalNat_visit___closed__16; lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___closed__3; uint8_t lean_name_eq(lean_object*, lean_object*); @@ -460,7 +462,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkMin lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__8___closed__1; lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Meta_getFVarLocalDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1(lean_object*); -extern lean_object* l_Lean_Meta_evalNat_visit___closed__8; extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -711,7 +712,6 @@ lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__2___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processVariable_match__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1; lean_object* l_Lean_Meta_cases___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___closed__1; extern lean_object* l_Lean_Meta_mkArrow___rarg___closed__2; @@ -16609,7 +16609,7 @@ x_30 = lean_box(0); x_31 = l_Lean_mkNatLit(x_29); lean_ctor_set(x_12, 0, x_31); lean_ctor_set(x_10, 1, x_30); -x_32 = l_Lean_Meta_evalNat_visit___closed__8; +x_32 = l_Lean_Meta_evalNat_visit___closed__16; x_33 = lean_alloc_ctor(2, 4, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_30); @@ -16657,7 +16657,7 @@ lean_ctor_set(x_12, 0, x_43); x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_12); lean_ctor_set(x_44, 1, x_42); -x_45 = l_Lean_Meta_evalNat_visit___closed__8; +x_45 = l_Lean_Meta_evalNat_visit___closed__16; x_46 = lean_alloc_ctor(2, 4, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_42); @@ -16721,7 +16721,7 @@ if (lean_is_scalar(x_51)) { } lean_ctor_set(x_59, 0, x_12); lean_ctor_set(x_59, 1, x_57); -x_60 = l_Lean_Meta_evalNat_visit___closed__8; +x_60 = l_Lean_Meta_evalNat_visit___closed__16; x_61 = lean_alloc_ctor(2, 4, 0); lean_ctor_set(x_61, 0, x_60); lean_ctor_set(x_61, 1, x_57); @@ -16889,7 +16889,7 @@ if (lean_is_scalar(x_79)) { } lean_ctor_set(x_88, 0, x_87); lean_ctor_set(x_88, 1, x_85); -x_89 = l_Lean_Meta_evalNat_visit___closed__8; +x_89 = l_Lean_Meta_evalNat_visit___closed__16; x_90 = lean_alloc_ctor(2, 4, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_85); @@ -17131,7 +17131,7 @@ if (lean_is_scalar(x_119)) { } lean_ctor_set(x_128, 0, x_127); lean_ctor_set(x_128, 1, x_125); -x_129 = l_Lean_Meta_evalNat_visit___closed__8; +x_129 = l_Lean_Meta_evalNat_visit___closed__16; x_130 = lean_alloc_ctor(2, 4, 0); lean_ctor_set(x_130, 0, x_129); lean_ctor_set(x_130, 1, x_125); @@ -21945,16 +21945,6 @@ return x_25; } } } -static lean_object* _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___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) { _start: { @@ -21962,7 +21952,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__1___boxed), 9, 2); lean_closure_set(x_9, 0, x_3); lean_closure_set(x_9, 1, x_1); -x_10 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1; +x_10 = l_Lean_Meta_evalNat_visit___closed__12; x_11 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___spec__1___rarg(x_2, x_10, x_9, x_4, x_5, x_6, x_7, x_8); return x_11; } @@ -24007,8 +23997,6 @@ l_Lean_Meta_Match_mkMatcher___lambda__3___closed__1 = _init_l_Lean_Meta_Match_mk lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__3___closed__1); l_Lean_Meta_Match_mkMatcher___lambda__3___closed__2 = _init_l_Lean_Meta_Match_mkMatcher___lambda__3___closed__2(); lean_mark_persistent(l_Lean_Meta_Match_mkMatcher___lambda__3___closed__2); -l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__2___closed__1); l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3___closed__1 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3___closed__1); l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3___closed__2 = _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Offset.c b/stage0/stdlib/Lean/Meta/Offset.c index cd43027061..6847e5ef22 100644 --- a/stage0/stdlib/Lean/Meta/Offset.c +++ b/stage0/stdlib/Lean/Meta/Offset.c @@ -21,24 +21,29 @@ lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(lean_object* lean_object* l_Lean_Meta_isDefEqOffset_match__4(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_evalNat_visit___closed__11; +lean_object* l_Lean_Meta_evalNat_visit___closed__12; lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__3(lean_object*); lean_object* l_Lean_Meta_isExprDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_evalNat_visit_match__1(lean_object*); lean_object* l_Lean_Meta_instantiateMVars___at___private_Lean_Meta_Offset_0__Lean_Meta_withInstantiatedMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isNatZero(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Meta_evalNat_visit___closed__16; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__4(lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__5___rarg(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_evalNat_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_withInstantiatedMVars___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqOffset_match__5(lean_object*); +lean_object* l_Lean_Meta_evalNat_visit___closed__10; lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); lean_object* l_Lean_Meta_evalNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqOffset_match__3___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Meta_evalNat_visit___closed__9; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqOffset_match__2(lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__5(lean_object*); @@ -52,9 +57,11 @@ extern lean_object* l_Lean_Expr_isCharLit___closed__3; lean_object* l_Lean_Meta_isDefEqOffset_match__1(lean_object*); extern lean_object* l_Lean_Literal_type___closed__2; lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_evalNat_visit___closed__13; extern lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__7; lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__2___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__1(lean_object*); +lean_object* l_Lean_Meta_evalNat_visit___closed__14; lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset_match__2(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__6; lean_object* l_Lean_Meta_evalNat_visit___closed__6; @@ -71,6 +78,7 @@ uint8_t l_Bool_toLBool(uint8_t); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__2(lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_Meta_evalNat_visit___closed__3; +lean_object* l_Lean_Meta_evalNat_visit___closed__15; lean_object* l_Lean_Meta_isDefEqOffset_match__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_evalNat_visit___closed__2; lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffset(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -791,27 +799,27 @@ return x_2; static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("OfNat"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Literal_type___closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_370____closed__6; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Meta_evalNat_visit___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_evalNat_visit___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("Zero"); +return x_1; } } static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_evalNat_visit___closed__2; -x_2 = l_Lean_Expr_isCharLit___closed__3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_evalNat_visit___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -820,8 +828,8 @@ static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Literal_type___closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_370____closed__6; +x_1 = l_Lean_Meta_evalNat_visit___closed__3; +x_2 = l_Lean_Meta_evalNat_match__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -829,6 +837,80 @@ return x_3; static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__5() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("OfNat"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_evalNat_visit___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_evalNat_visit___closed__6; +x_2 = l_Lean_Expr_isCharLit___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("One"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_evalNat_visit___closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("one"); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Meta_evalNat_visit___closed__9; +x_2 = l_Lean_Meta_evalNat_visit___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__13() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Literal_type___closed__2; x_2 = l_myMacro____x40_Init_Notation___hyg_538____closed__6; @@ -836,7 +918,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__6() { +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -846,7 +928,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__7() { +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__15() { _start: { lean_object* x_1; @@ -854,12 +936,12 @@ x_1 = lean_mk_string("succ"); return x_1; } } -static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__8() { +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Literal_type___closed__2; -x_2 = l_Lean_Meta_evalNat_visit___closed__7; +x_2 = l_Lean_Meta_evalNat_visit___closed__15; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1014,1651 +1096,1733 @@ return x_34; } case 4: { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_54; lean_object* x_215; lean_object* x_370; uint8_t x_371; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_384; uint8_t x_385; x_35 = lean_ctor_get(x_7, 0); lean_inc(x_35); lean_dec(x_7); x_36 = lean_unsigned_to_nat(0u); x_37 = l_Lean_Expr_getAppNumArgsAux(x_1, x_36); -x_370 = l_Lean_Meta_evalNat_visit___closed__8; -x_371 = lean_name_eq(x_35, x_370); -if (x_371 == 0) +x_384 = l_Lean_Meta_evalNat_visit___closed__16; +x_385 = lean_name_eq(x_35, x_384); +if (x_385 == 0) { -lean_object* x_372; -x_372 = lean_box(0); -x_215 = x_372; -goto block_369; +lean_object* x_386; +x_386 = lean_box(0); +x_38 = x_386; +goto block_383; } else { -lean_object* x_373; uint8_t x_374; -x_373 = lean_unsigned_to_nat(1u); -x_374 = lean_nat_dec_eq(x_37, x_373); -if (x_374 == 0) +lean_object* x_387; uint8_t x_388; +x_387 = lean_unsigned_to_nat(1u); +x_388 = lean_nat_dec_eq(x_37, x_387); +if (x_388 == 0) { -lean_object* x_375; -x_375 = lean_box(0); -x_215 = x_375; -goto block_369; +lean_object* x_389; +x_389 = lean_box(0); +x_38 = x_389; +goto block_383; } else { -lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_dec(x_35); -x_376 = lean_nat_sub(x_37, x_36); +x_390 = lean_nat_sub(x_37, x_36); lean_dec(x_37); -x_377 = lean_nat_sub(x_376, x_373); -lean_dec(x_376); -x_378 = l_Lean_Expr_getRevArg_x21(x_1, x_377); -lean_dec(x_1); -x_379 = l_Lean_Meta_evalNat(x_378, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_379) == 0) -{ -lean_object* x_380; -x_380 = lean_ctor_get(x_379, 0); -lean_inc(x_380); -if (lean_obj_tag(x_380) == 0) -{ -uint8_t x_381; -x_381 = !lean_is_exclusive(x_379); -if (x_381 == 0) -{ -lean_object* x_382; lean_object* x_383; -x_382 = lean_ctor_get(x_379, 0); -lean_dec(x_382); -x_383 = lean_box(0); -lean_ctor_set(x_379, 0, x_383); -return x_379; -} -else -{ -lean_object* x_384; lean_object* x_385; lean_object* x_386; -x_384 = lean_ctor_get(x_379, 1); -lean_inc(x_384); -lean_dec(x_379); -x_385 = lean_box(0); -x_386 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_386, 0, x_385); -lean_ctor_set(x_386, 1, x_384); -return x_386; -} -} -else -{ -uint8_t x_387; -x_387 = !lean_is_exclusive(x_379); -if (x_387 == 0) -{ -lean_object* x_388; uint8_t x_389; -x_388 = lean_ctor_get(x_379, 0); -lean_dec(x_388); -x_389 = !lean_is_exclusive(x_380); -if (x_389 == 0) -{ -lean_object* x_390; lean_object* x_391; -x_390 = lean_ctor_get(x_380, 0); -x_391 = lean_nat_add(x_390, x_373); +x_391 = lean_nat_sub(x_390, x_387); lean_dec(x_390); -lean_ctor_set(x_380, 0, x_391); -return x_379; -} -else +x_392 = l_Lean_Expr_getRevArg_x21(x_1, x_391); +lean_dec(x_1); +x_393 = l_Lean_Meta_evalNat(x_392, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_393) == 0) { -lean_object* x_392; lean_object* x_393; lean_object* x_394; -x_392 = lean_ctor_get(x_380, 0); -lean_inc(x_392); -lean_dec(x_380); -x_393 = lean_nat_add(x_392, x_373); -lean_dec(x_392); -x_394 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_394, 0, x_393); -lean_ctor_set(x_379, 0, x_394); -return x_379; -} -} -else +lean_object* x_394; +x_394 = lean_ctor_get(x_393, 0); +lean_inc(x_394); +if (lean_obj_tag(x_394) == 0) { -lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; -x_395 = lean_ctor_get(x_379, 1); -lean_inc(x_395); -lean_dec(x_379); -x_396 = lean_ctor_get(x_380, 0); -lean_inc(x_396); -if (lean_is_exclusive(x_380)) { - lean_ctor_release(x_380, 0); - x_397 = x_380; -} else { - lean_dec_ref(x_380); - x_397 = lean_box(0); -} -x_398 = lean_nat_add(x_396, x_373); +uint8_t x_395; +x_395 = !lean_is_exclusive(x_393); +if (x_395 == 0) +{ +lean_object* x_396; lean_object* x_397; +x_396 = lean_ctor_get(x_393, 0); lean_dec(x_396); -if (lean_is_scalar(x_397)) { - x_399 = lean_alloc_ctor(1, 1, 0); -} else { - x_399 = x_397; +x_397 = lean_box(0); +lean_ctor_set(x_393, 0, x_397); +return x_393; } -lean_ctor_set(x_399, 0, x_398); +else +{ +lean_object* x_398; lean_object* x_399; lean_object* x_400; +x_398 = lean_ctor_get(x_393, 1); +lean_inc(x_398); +lean_dec(x_393); +x_399 = lean_box(0); x_400 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_400, 0, x_399); -lean_ctor_set(x_400, 1, x_395); +lean_ctor_set(x_400, 1, x_398); return x_400; } } -} else { uint8_t x_401; -x_401 = !lean_is_exclusive(x_379); +x_401 = !lean_is_exclusive(x_393); if (x_401 == 0) { -return x_379; +lean_object* x_402; uint8_t x_403; +x_402 = lean_ctor_get(x_393, 0); +lean_dec(x_402); +x_403 = !lean_is_exclusive(x_394); +if (x_403 == 0) +{ +lean_object* x_404; lean_object* x_405; +x_404 = lean_ctor_get(x_394, 0); +x_405 = lean_nat_add(x_404, x_387); +lean_dec(x_404); +lean_ctor_set(x_394, 0, x_405); +return x_393; } else { -lean_object* x_402; lean_object* x_403; lean_object* x_404; -x_402 = lean_ctor_get(x_379, 0); -x_403 = lean_ctor_get(x_379, 1); -lean_inc(x_403); -lean_inc(x_402); -lean_dec(x_379); -x_404 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_404, 0, x_402); -lean_ctor_set(x_404, 1, x_403); -return x_404; +lean_object* x_406; lean_object* x_407; lean_object* x_408; +x_406 = lean_ctor_get(x_394, 0); +lean_inc(x_406); +lean_dec(x_394); +x_407 = lean_nat_add(x_406, x_387); +lean_dec(x_406); +x_408 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_408, 0, x_407); +lean_ctor_set(x_393, 0, x_408); +return x_393; } } -} -} -block_53: +else { -lean_object* x_39; uint8_t x_40; +lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; +x_409 = lean_ctor_get(x_393, 1); +lean_inc(x_409); +lean_dec(x_393); +x_410 = lean_ctor_get(x_394, 0); +lean_inc(x_410); +if (lean_is_exclusive(x_394)) { + lean_ctor_release(x_394, 0); + x_411 = x_394; +} else { + lean_dec_ref(x_394); + x_411 = lean_box(0); +} +x_412 = lean_nat_add(x_410, x_387); +lean_dec(x_410); +if (lean_is_scalar(x_411)) { + x_413 = lean_alloc_ctor(1, 1, 0); +} else { + x_413 = x_411; +} +lean_ctor_set(x_413, 0, x_412); +x_414 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_414, 0, x_413); +lean_ctor_set(x_414, 1, x_409); +return x_414; +} +} +} +else +{ +uint8_t x_415; +x_415 = !lean_is_exclusive(x_393); +if (x_415 == 0) +{ +return x_393; +} +else +{ +lean_object* x_416; lean_object* x_417; lean_object* x_418; +x_416 = lean_ctor_get(x_393, 0); +x_417 = lean_ctor_get(x_393, 1); +lean_inc(x_417); +lean_inc(x_416); +lean_dec(x_393); +x_418 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_418, 0, x_416); +lean_ctor_set(x_418, 1, x_417); +return x_418; +} +} +} +} +block_383: +{ +lean_object* x_39; uint8_t x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_53; lean_object* x_76; lean_dec(x_38); -x_39 = l_Lean_Meta_evalNat_visit___closed__3; +x_39 = l_Lean_Meta_evalNat_visit___closed__1; x_40 = lean_name_eq(x_35, x_39); -lean_dec(x_35); +x_41 = lean_unsigned_to_nat(2u); +x_42 = lean_nat_dec_eq(x_37, x_41); if (x_40 == 0) { -lean_object* x_41; lean_object* x_42; -lean_dec(x_37); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_41 = lean_box(0); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_6); -return x_42; +lean_object* x_234; uint8_t x_235; +x_234 = l_Lean_Meta_evalNat_visit___closed__13; +x_235 = lean_name_eq(x_35, x_234); +if (x_235 == 0) +{ +lean_object* x_236; uint8_t x_237; +x_236 = l_Lean_Meta_evalNat_visit___closed__14; +x_237 = lean_name_eq(x_35, x_236); +if (x_237 == 0) +{ +lean_object* x_238; +x_238 = lean_box(0); +x_76 = x_238; +goto block_233; } else { -lean_object* x_43; uint8_t x_44; -x_43 = lean_unsigned_to_nat(3u); -x_44 = lean_nat_dec_eq(x_37, x_43); -if (x_44 == 0) +if (x_42 == 0) { -lean_object* x_45; lean_object* x_46; -lean_dec(x_37); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_45 = lean_box(0); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_6); -return x_46; +lean_object* x_239; +x_239 = lean_box(0); +x_76 = x_239; +goto block_233; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_47 = lean_unsigned_to_nat(2u); -x_48 = lean_nat_sub(x_37, x_47); -lean_dec(x_37); -x_49 = lean_unsigned_to_nat(1u); -x_50 = lean_nat_sub(x_48, x_49); -lean_dec(x_48); -x_51 = l_Lean_Expr_getRevArg_x21(x_1, x_50); -lean_dec(x_1); -x_52 = l_Lean_Meta_evalNat(x_51, x_2, x_3, x_4, x_5, x_6); -return x_52; -} -} -} -block_214: -{ -lean_object* x_55; uint8_t x_56; lean_object* x_57; uint8_t x_58; -lean_dec(x_54); -x_55 = l_myMacro____x40_Init_Notation___hyg_370____closed__7; -x_56 = lean_name_eq(x_35, x_55); -x_57 = lean_unsigned_to_nat(4u); -x_58 = lean_nat_dec_eq(x_37, x_57); -if (x_56 == 0) -{ -lean_object* x_59; uint8_t x_60; -x_59 = l_myMacro____x40_Init_Notation___hyg_538____closed__7; -x_60 = lean_name_eq(x_35, x_59); -if (x_60 == 0) -{ -lean_object* x_61; uint8_t x_62; -x_61 = l_myMacro____x40_Init_Notation___hyg_706____closed__7; -x_62 = lean_name_eq(x_35, x_61); -if (x_62 == 0) -{ -lean_object* x_63; -x_63 = lean_box(0); -x_38 = x_63; -goto block_53; -} -else -{ -if (x_58 == 0) -{ -lean_object* x_64; -x_64 = lean_box(0); -x_38 = x_64; -goto block_53; -} -else -{ -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_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_dec(x_35); -x_65 = lean_unsigned_to_nat(2u); -x_66 = lean_nat_sub(x_37, x_65); -x_67 = lean_unsigned_to_nat(1u); -x_68 = lean_nat_sub(x_66, x_67); -lean_dec(x_66); -x_69 = l_Lean_Expr_getRevArg_x21(x_1, x_68); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_70 = l_Lean_Meta_evalNat(x_69, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -if (lean_obj_tag(x_71) == 0) -{ -uint8_t x_72; -lean_dec(x_37); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_72 = !lean_is_exclusive(x_70); -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_70, 0); -lean_dec(x_73); -x_74 = lean_box(0); -lean_ctor_set(x_70, 0, x_74); -return x_70; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_70, 1); -lean_inc(x_75); -lean_dec(x_70); -x_76 = lean_box(0); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -return x_77; -} -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_78 = lean_ctor_get(x_70, 1); -lean_inc(x_78); -lean_dec(x_70); -x_79 = lean_ctor_get(x_71, 0); -lean_inc(x_79); -lean_dec(x_71); -x_80 = lean_unsigned_to_nat(3u); -x_81 = lean_nat_sub(x_37, x_80); -lean_dec(x_37); -x_82 = lean_nat_sub(x_81, x_67); -lean_dec(x_81); -x_83 = l_Lean_Expr_getRevArg_x21(x_1, x_82); -lean_dec(x_1); -x_84 = l_Lean_Meta_evalNat(x_83, x_2, x_3, x_4, x_5, x_78); -if (lean_obj_tag(x_84) == 0) -{ -lean_object* x_85; -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -if (lean_obj_tag(x_85) == 0) -{ -uint8_t x_86; -lean_dec(x_79); -x_86 = !lean_is_exclusive(x_84); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_84, 0); -lean_dec(x_87); -x_88 = lean_box(0); -lean_ctor_set(x_84, 0, x_88); -return x_84; -} -else -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_84, 1); -lean_inc(x_89); -lean_dec(x_84); -x_90 = lean_box(0); -x_91 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -return x_91; -} -} -else -{ -uint8_t x_92; -x_92 = !lean_is_exclusive(x_84); -if (x_92 == 0) -{ -lean_object* x_93; uint8_t x_94; -x_93 = lean_ctor_get(x_84, 0); -lean_dec(x_93); -x_94 = !lean_is_exclusive(x_85); -if (x_94 == 0) -{ -lean_object* x_95; lean_object* x_96; -x_95 = lean_ctor_get(x_85, 0); -x_96 = lean_nat_mul(x_79, x_95); -lean_dec(x_95); -lean_dec(x_79); -lean_ctor_set(x_85, 0, x_96); -return x_84; -} -else -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_85, 0); -lean_inc(x_97); -lean_dec(x_85); -x_98 = lean_nat_mul(x_79, x_97); -lean_dec(x_97); -lean_dec(x_79); -x_99 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_84, 0, x_99); -return x_84; -} -} -else -{ -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_100 = lean_ctor_get(x_84, 1); -lean_inc(x_100); -lean_dec(x_84); -x_101 = lean_ctor_get(x_85, 0); -lean_inc(x_101); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - x_102 = x_85; -} else { - lean_dec_ref(x_85); - x_102 = lean_box(0); -} -x_103 = lean_nat_mul(x_79, x_101); -lean_dec(x_101); -lean_dec(x_79); -if (lean_is_scalar(x_102)) { - x_104 = lean_alloc_ctor(1, 1, 0); -} else { - x_104 = x_102; -} -lean_ctor_set(x_104, 0, x_103); -x_105 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_100); -return x_105; -} -} -} -else -{ -uint8_t x_106; -lean_dec(x_79); -x_106 = !lean_is_exclusive(x_84); -if (x_106 == 0) -{ -return x_84; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_84, 0); -x_108 = lean_ctor_get(x_84, 1); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_84); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -return x_109; -} -} -} -} -else -{ -uint8_t x_110; -lean_dec(x_37); -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_70); -if (x_110 == 0) -{ -return x_70; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_70, 0); -x_112 = lean_ctor_get(x_70, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_70); -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 -{ -if (x_58 == 0) -{ -lean_object* x_114; -x_114 = lean_box(0); -x_38 = x_114; -goto block_53; -} -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_dec(x_35); -x_115 = lean_unsigned_to_nat(2u); -x_116 = lean_nat_sub(x_37, x_115); -x_117 = lean_unsigned_to_nat(1u); -x_118 = lean_nat_sub(x_116, x_117); -lean_dec(x_116); -x_119 = l_Lean_Expr_getRevArg_x21(x_1, x_118); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_120 = l_Lean_Meta_evalNat(x_119, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -if (lean_obj_tag(x_121) == 0) -{ -uint8_t x_122; -lean_dec(x_37); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_122 = !lean_is_exclusive(x_120); -if (x_122 == 0) -{ -lean_object* x_123; lean_object* x_124; -x_123 = lean_ctor_get(x_120, 0); -lean_dec(x_123); -x_124 = lean_box(0); -lean_ctor_set(x_120, 0, x_124); -return x_120; -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_120, 1); -lean_inc(x_125); -lean_dec(x_120); -x_126 = lean_box(0); -x_127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_127, 0, x_126); -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_object* x_132; lean_object* x_133; lean_object* x_134; -x_128 = lean_ctor_get(x_120, 1); -lean_inc(x_128); -lean_dec(x_120); -x_129 = lean_ctor_get(x_121, 0); -lean_inc(x_129); -lean_dec(x_121); -x_130 = lean_unsigned_to_nat(3u); -x_131 = lean_nat_sub(x_37, x_130); -lean_dec(x_37); -x_132 = lean_nat_sub(x_131, x_117); -lean_dec(x_131); -x_133 = l_Lean_Expr_getRevArg_x21(x_1, x_132); -lean_dec(x_1); -x_134 = l_Lean_Meta_evalNat(x_133, x_2, x_3, x_4, x_5, x_128); -if (lean_obj_tag(x_134) == 0) -{ -lean_object* x_135; -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -if (lean_obj_tag(x_135) == 0) -{ -uint8_t x_136; -lean_dec(x_129); -x_136 = !lean_is_exclusive(x_134); -if (x_136 == 0) -{ -lean_object* x_137; lean_object* x_138; -x_137 = lean_ctor_get(x_134, 0); -lean_dec(x_137); -x_138 = lean_box(0); -lean_ctor_set(x_134, 0, x_138); -return x_134; -} -else -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_134, 1); -lean_inc(x_139); -lean_dec(x_134); -x_140 = lean_box(0); -x_141 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_139); -return x_141; -} -} -else -{ -uint8_t x_142; -x_142 = !lean_is_exclusive(x_134); -if (x_142 == 0) -{ -lean_object* x_143; uint8_t x_144; -x_143 = lean_ctor_get(x_134, 0); -lean_dec(x_143); -x_144 = !lean_is_exclusive(x_135); -if (x_144 == 0) -{ -lean_object* x_145; lean_object* x_146; -x_145 = lean_ctor_get(x_135, 0); -x_146 = lean_nat_sub(x_129, x_145); -lean_dec(x_145); -lean_dec(x_129); -lean_ctor_set(x_135, 0, x_146); -return x_134; -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_147 = lean_ctor_get(x_135, 0); -lean_inc(x_147); -lean_dec(x_135); -x_148 = lean_nat_sub(x_129, x_147); -lean_dec(x_147); -lean_dec(x_129); -x_149 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_134, 0, x_149); -return x_134; -} -} -else -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_150 = lean_ctor_get(x_134, 1); -lean_inc(x_150); -lean_dec(x_134); -x_151 = lean_ctor_get(x_135, 0); -lean_inc(x_151); -if (lean_is_exclusive(x_135)) { - lean_ctor_release(x_135, 0); - x_152 = x_135; -} else { - lean_dec_ref(x_135); - x_152 = lean_box(0); -} -x_153 = lean_nat_sub(x_129, x_151); -lean_dec(x_151); -lean_dec(x_129); -if (lean_is_scalar(x_152)) { - x_154 = lean_alloc_ctor(1, 1, 0); -} else { - x_154 = x_152; -} -lean_ctor_set(x_154, 0, x_153); -x_155 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_150); -return x_155; -} -} -} -else -{ -uint8_t x_156; -lean_dec(x_129); -x_156 = !lean_is_exclusive(x_134); -if (x_156 == 0) -{ -return x_134; -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_157 = lean_ctor_get(x_134, 0); -x_158 = lean_ctor_get(x_134, 1); -lean_inc(x_158); -lean_inc(x_157); -lean_dec(x_134); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -return x_159; -} -} -} -} -else -{ -uint8_t x_160; -lean_dec(x_37); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_160 = !lean_is_exclusive(x_120); -if (x_160 == 0) -{ -return x_120; -} -else -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_161 = lean_ctor_get(x_120, 0); -x_162 = lean_ctor_get(x_120, 1); -lean_inc(x_162); -lean_inc(x_161); -lean_dec(x_120); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -return x_163; -} -} -} -} -} -else -{ -if (x_58 == 0) -{ -lean_object* x_164; -x_164 = lean_box(0); -x_38 = x_164; -goto block_53; -} -else -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -lean_dec(x_35); -x_165 = lean_unsigned_to_nat(2u); -x_166 = lean_nat_sub(x_37, x_165); -x_167 = lean_unsigned_to_nat(1u); -x_168 = lean_nat_sub(x_166, x_167); -lean_dec(x_166); -x_169 = l_Lean_Expr_getRevArg_x21(x_1, x_168); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_170 = l_Lean_Meta_evalNat(x_169, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_170) == 0) -{ -lean_object* x_171; -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -if (lean_obj_tag(x_171) == 0) -{ -uint8_t x_172; -lean_dec(x_37); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_172 = !lean_is_exclusive(x_170); -if (x_172 == 0) -{ -lean_object* x_173; lean_object* x_174; -x_173 = lean_ctor_get(x_170, 0); -lean_dec(x_173); -x_174 = lean_box(0); -lean_ctor_set(x_170, 0, x_174); -return x_170; -} -else -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_175 = lean_ctor_get(x_170, 1); -lean_inc(x_175); -lean_dec(x_170); -x_176 = lean_box(0); -x_177 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_177, 0, x_176); -lean_ctor_set(x_177, 1, x_175); -return x_177; -} -} -else -{ -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; -x_178 = lean_ctor_get(x_170, 1); -lean_inc(x_178); -lean_dec(x_170); -x_179 = lean_ctor_get(x_171, 0); -lean_inc(x_179); -lean_dec(x_171); -x_180 = lean_unsigned_to_nat(3u); -x_181 = lean_nat_sub(x_37, x_180); -lean_dec(x_37); -x_182 = lean_nat_sub(x_181, x_167); -lean_dec(x_181); -x_183 = l_Lean_Expr_getRevArg_x21(x_1, x_182); -lean_dec(x_1); -x_184 = l_Lean_Meta_evalNat(x_183, x_2, x_3, x_4, x_5, x_178); -if (lean_obj_tag(x_184) == 0) -{ -lean_object* x_185; -x_185 = lean_ctor_get(x_184, 0); -lean_inc(x_185); -if (lean_obj_tag(x_185) == 0) -{ -uint8_t x_186; -lean_dec(x_179); -x_186 = !lean_is_exclusive(x_184); -if (x_186 == 0) -{ -lean_object* x_187; lean_object* x_188; -x_187 = lean_ctor_get(x_184, 0); -lean_dec(x_187); -x_188 = lean_box(0); -lean_ctor_set(x_184, 0, x_188); -return x_184; -} -else -{ -lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_189 = lean_ctor_get(x_184, 1); -lean_inc(x_189); -lean_dec(x_184); -x_190 = lean_box(0); -x_191 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_191, 0, x_190); -lean_ctor_set(x_191, 1, x_189); -return x_191; -} -} -else -{ -uint8_t x_192; -x_192 = !lean_is_exclusive(x_184); -if (x_192 == 0) -{ -lean_object* x_193; uint8_t x_194; -x_193 = lean_ctor_get(x_184, 0); -lean_dec(x_193); -x_194 = !lean_is_exclusive(x_185); -if (x_194 == 0) -{ -lean_object* x_195; lean_object* x_196; -x_195 = lean_ctor_get(x_185, 0); -x_196 = lean_nat_add(x_179, x_195); -lean_dec(x_195); -lean_dec(x_179); -lean_ctor_set(x_185, 0, x_196); -return x_184; -} -else -{ -lean_object* x_197; lean_object* x_198; lean_object* x_199; -x_197 = lean_ctor_get(x_185, 0); -lean_inc(x_197); -lean_dec(x_185); -x_198 = lean_nat_add(x_179, x_197); -lean_dec(x_197); -lean_dec(x_179); -x_199 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_184, 0, x_199); -return x_184; -} -} -else -{ -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_200 = lean_ctor_get(x_184, 1); -lean_inc(x_200); -lean_dec(x_184); -x_201 = lean_ctor_get(x_185, 0); -lean_inc(x_201); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - x_202 = x_185; -} else { - lean_dec_ref(x_185); - x_202 = lean_box(0); -} -x_203 = lean_nat_add(x_179, x_201); -lean_dec(x_201); -lean_dec(x_179); -if (lean_is_scalar(x_202)) { - x_204 = lean_alloc_ctor(1, 1, 0); -} else { - x_204 = x_202; -} -lean_ctor_set(x_204, 0, x_203); -x_205 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_205, 0, x_204); -lean_ctor_set(x_205, 1, x_200); -return x_205; -} -} -} -else -{ -uint8_t x_206; -lean_dec(x_179); -x_206 = !lean_is_exclusive(x_184); -if (x_206 == 0) -{ -return x_184; -} -else -{ -lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_207 = lean_ctor_get(x_184, 0); -x_208 = lean_ctor_get(x_184, 1); -lean_inc(x_208); -lean_inc(x_207); -lean_dec(x_184); -x_209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_209, 0, x_207); -lean_ctor_set(x_209, 1, x_208); -return x_209; -} -} -} -} -else -{ -uint8_t x_210; -lean_dec(x_37); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_210 = !lean_is_exclusive(x_170); -if (x_210 == 0) -{ -return x_170; -} -else -{ -lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_211 = lean_ctor_get(x_170, 0); -x_212 = lean_ctor_get(x_170, 1); -lean_inc(x_212); -lean_inc(x_211); -lean_dec(x_170); -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_211); -lean_ctor_set(x_213, 1, x_212); -return x_213; -} -} -} -} -} -block_369: -{ -lean_object* x_216; uint8_t x_217; lean_object* x_218; uint8_t x_219; -lean_dec(x_215); -x_216 = l_Lean_Meta_evalNat_visit___closed__4; -x_217 = lean_name_eq(x_35, x_216); -x_218 = lean_unsigned_to_nat(2u); -x_219 = lean_nat_dec_eq(x_37, x_218); -if (x_217 == 0) -{ -lean_object* x_220; uint8_t x_221; -x_220 = l_Lean_Meta_evalNat_visit___closed__5; -x_221 = lean_name_eq(x_35, x_220); -if (x_221 == 0) -{ -lean_object* x_222; uint8_t x_223; -x_222 = l_Lean_Meta_evalNat_visit___closed__6; -x_223 = lean_name_eq(x_35, x_222); -if (x_223 == 0) -{ -lean_object* x_224; -x_224 = lean_box(0); -x_54 = x_224; -goto block_214; -} -else -{ -if (x_219 == 0) -{ -lean_object* x_225; -x_225 = lean_box(0); -x_54 = x_225; -goto block_214; -} -else -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; -lean_dec(x_35); -x_226 = lean_nat_sub(x_37, x_36); -x_227 = lean_unsigned_to_nat(1u); -x_228 = lean_nat_sub(x_226, x_227); -lean_dec(x_226); -x_229 = l_Lean_Expr_getRevArg_x21(x_1, x_228); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_230 = l_Lean_Meta_evalNat(x_229, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_230) == 0) -{ -lean_object* x_231; -x_231 = lean_ctor_get(x_230, 0); -lean_inc(x_231); -if (lean_obj_tag(x_231) == 0) -{ -uint8_t x_232; -lean_dec(x_37); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_232 = !lean_is_exclusive(x_230); -if (x_232 == 0) -{ -lean_object* x_233; lean_object* x_234; -x_233 = lean_ctor_get(x_230, 0); -lean_dec(x_233); -x_234 = lean_box(0); -lean_ctor_set(x_230, 0, x_234); -return x_230; -} -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; -x_235 = lean_ctor_get(x_230, 1); -lean_inc(x_235); -lean_dec(x_230); -x_236 = lean_box(0); -x_237 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_237, 0, x_236); -lean_ctor_set(x_237, 1, x_235); -return x_237; -} -} -else -{ -lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_238 = lean_ctor_get(x_230, 1); -lean_inc(x_238); -lean_dec(x_230); -x_239 = lean_ctor_get(x_231, 0); -lean_inc(x_239); -lean_dec(x_231); -x_240 = lean_nat_sub(x_37, x_227); -lean_dec(x_37); -x_241 = lean_nat_sub(x_240, x_227); +x_240 = lean_nat_sub(x_37, x_36); +x_241 = lean_unsigned_to_nat(1u); +x_242 = lean_nat_sub(x_240, x_241); lean_dec(x_240); -x_242 = l_Lean_Expr_getRevArg_x21(x_1, x_241); -lean_dec(x_1); -x_243 = l_Lean_Meta_evalNat(x_242, x_2, x_3, x_4, x_5, x_238); -if (lean_obj_tag(x_243) == 0) -{ -lean_object* x_244; -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); +x_243 = l_Lean_Expr_getRevArg_x21(x_1, x_242); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_244 = l_Lean_Meta_evalNat(x_243, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_244) == 0) { -uint8_t x_245; -lean_dec(x_239); -x_245 = !lean_is_exclusive(x_243); -if (x_245 == 0) +lean_object* x_245; +x_245 = lean_ctor_get(x_244, 0); +lean_inc(x_245); +if (lean_obj_tag(x_245) == 0) { -lean_object* x_246; lean_object* x_247; -x_246 = lean_ctor_get(x_243, 0); -lean_dec(x_246); -x_247 = lean_box(0); -lean_ctor_set(x_243, 0, x_247); -return x_243; +uint8_t x_246; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_246 = !lean_is_exclusive(x_244); +if (x_246 == 0) +{ +lean_object* x_247; lean_object* x_248; +x_247 = lean_ctor_get(x_244, 0); +lean_dec(x_247); +x_248 = lean_box(0); +lean_ctor_set(x_244, 0, x_248); +return x_244; } else { -lean_object* x_248; lean_object* x_249; lean_object* x_250; -x_248 = lean_ctor_get(x_243, 1); -lean_inc(x_248); -lean_dec(x_243); -x_249 = lean_box(0); -x_250 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_250, 0, x_249); -lean_ctor_set(x_250, 1, x_248); -return x_250; -} -} -else -{ -uint8_t x_251; -x_251 = !lean_is_exclusive(x_243); -if (x_251 == 0) -{ -lean_object* x_252; uint8_t x_253; -x_252 = lean_ctor_get(x_243, 0); -lean_dec(x_252); -x_253 = !lean_is_exclusive(x_244); -if (x_253 == 0) -{ -lean_object* x_254; lean_object* x_255; -x_254 = lean_ctor_get(x_244, 0); -x_255 = lean_nat_mul(x_239, x_254); -lean_dec(x_254); -lean_dec(x_239); -lean_ctor_set(x_244, 0, x_255); -return x_243; -} -else -{ -lean_object* x_256; lean_object* x_257; lean_object* x_258; -x_256 = lean_ctor_get(x_244, 0); -lean_inc(x_256); +lean_object* x_249; lean_object* x_250; lean_object* x_251; +x_249 = lean_ctor_get(x_244, 1); +lean_inc(x_249); lean_dec(x_244); -x_257 = lean_nat_mul(x_239, x_256); -lean_dec(x_256); -lean_dec(x_239); -x_258 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_243, 0, x_258); -return x_243; +x_250 = lean_box(0); +x_251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_249); +return x_251; } } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_259 = lean_ctor_get(x_243, 1); -lean_inc(x_259); -lean_dec(x_243); -x_260 = lean_ctor_get(x_244, 0); -lean_inc(x_260); -if (lean_is_exclusive(x_244)) { - lean_ctor_release(x_244, 0); - x_261 = x_244; -} else { - lean_dec_ref(x_244); - x_261 = lean_box(0); -} -x_262 = lean_nat_mul(x_239, x_260); +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; +x_252 = lean_ctor_get(x_244, 1); +lean_inc(x_252); +lean_dec(x_244); +x_253 = lean_ctor_get(x_245, 0); +lean_inc(x_253); +lean_dec(x_245); +x_254 = lean_nat_sub(x_37, x_241); +lean_dec(x_37); +x_255 = lean_nat_sub(x_254, x_241); +lean_dec(x_254); +x_256 = l_Lean_Expr_getRevArg_x21(x_1, x_255); +lean_dec(x_1); +x_257 = l_Lean_Meta_evalNat(x_256, x_2, x_3, x_4, x_5, x_252); +if (lean_obj_tag(x_257) == 0) +{ +lean_object* x_258; +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +if (lean_obj_tag(x_258) == 0) +{ +uint8_t x_259; +lean_dec(x_253); +x_259 = !lean_is_exclusive(x_257); +if (x_259 == 0) +{ +lean_object* x_260; lean_object* x_261; +x_260 = lean_ctor_get(x_257, 0); lean_dec(x_260); -lean_dec(x_239); -if (lean_is_scalar(x_261)) { - x_263 = lean_alloc_ctor(1, 1, 0); -} else { - x_263 = x_261; +x_261 = lean_box(0); +lean_ctor_set(x_257, 0, x_261); +return x_257; } -lean_ctor_set(x_263, 0, x_262); +else +{ +lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_262 = lean_ctor_get(x_257, 1); +lean_inc(x_262); +lean_dec(x_257); +x_263 = lean_box(0); x_264 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_259); +lean_ctor_set(x_264, 1, x_262); return x_264; } } -} else { uint8_t x_265; -lean_dec(x_239); -x_265 = !lean_is_exclusive(x_243); +x_265 = !lean_is_exclusive(x_257); if (x_265 == 0) { -return x_243; -} -else +lean_object* x_266; uint8_t x_267; +x_266 = lean_ctor_get(x_257, 0); +lean_dec(x_266); +x_267 = !lean_is_exclusive(x_258); +if (x_267 == 0) { -lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_266 = lean_ctor_get(x_243, 0); -x_267 = lean_ctor_get(x_243, 1); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_243); -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_266); -lean_ctor_set(x_268, 1, x_267); -return x_268; -} -} -} -} -else -{ -uint8_t x_269; -lean_dec(x_37); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_269 = !lean_is_exclusive(x_230); -if (x_269 == 0) -{ -return x_230; +lean_object* x_268; lean_object* x_269; +x_268 = lean_ctor_get(x_258, 0); +x_269 = lean_nat_mul(x_253, x_268); +lean_dec(x_268); +lean_dec(x_253); +lean_ctor_set(x_258, 0, x_269); +return x_257; } else { lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_270 = lean_ctor_get(x_230, 0); -x_271 = lean_ctor_get(x_230, 1); -lean_inc(x_271); +x_270 = lean_ctor_get(x_258, 0); lean_inc(x_270); -lean_dec(x_230); -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_270); -lean_ctor_set(x_272, 1, x_271); -return x_272; -} -} -} +lean_dec(x_258); +x_271 = lean_nat_mul(x_253, x_270); +lean_dec(x_270); +lean_dec(x_253); +x_272 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_272, 0, x_271); +lean_ctor_set(x_257, 0, x_272); +return x_257; } } else { -if (x_219 == 0) -{ -lean_object* x_273; -x_273 = lean_box(0); -x_54 = x_273; -goto block_214; +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; +x_273 = lean_ctor_get(x_257, 1); +lean_inc(x_273); +lean_dec(x_257); +x_274 = lean_ctor_get(x_258, 0); +lean_inc(x_274); +if (lean_is_exclusive(x_258)) { + lean_ctor_release(x_258, 0); + x_275 = x_258; +} else { + lean_dec_ref(x_258); + x_275 = lean_box(0); } -else -{ -lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -lean_dec(x_35); -x_274 = lean_nat_sub(x_37, x_36); -x_275 = lean_unsigned_to_nat(1u); -x_276 = lean_nat_sub(x_274, x_275); +x_276 = lean_nat_mul(x_253, x_274); lean_dec(x_274); -x_277 = l_Lean_Expr_getRevArg_x21(x_1, x_276); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_278 = l_Lean_Meta_evalNat(x_277, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_278) == 0) +lean_dec(x_253); +if (lean_is_scalar(x_275)) { + x_277 = lean_alloc_ctor(1, 1, 0); +} else { + x_277 = x_275; +} +lean_ctor_set(x_277, 0, x_276); +x_278 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_278, 0, x_277); +lean_ctor_set(x_278, 1, x_273); +return x_278; +} +} +} +else { -lean_object* x_279; -x_279 = lean_ctor_get(x_278, 0); -lean_inc(x_279); -if (lean_obj_tag(x_279) == 0) +uint8_t x_279; +lean_dec(x_253); +x_279 = !lean_is_exclusive(x_257); +if (x_279 == 0) { -uint8_t x_280; +return x_257; +} +else +{ +lean_object* x_280; lean_object* x_281; lean_object* x_282; +x_280 = lean_ctor_get(x_257, 0); +x_281 = lean_ctor_get(x_257, 1); +lean_inc(x_281); +lean_inc(x_280); +lean_dec(x_257); +x_282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_282, 0, x_280); +lean_ctor_set(x_282, 1, x_281); +return x_282; +} +} +} +} +else +{ +uint8_t x_283; lean_dec(x_37); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_280 = !lean_is_exclusive(x_278); -if (x_280 == 0) +x_283 = !lean_is_exclusive(x_244); +if (x_283 == 0) { -lean_object* x_281; lean_object* x_282; -x_281 = lean_ctor_get(x_278, 0); -lean_dec(x_281); -x_282 = lean_box(0); -lean_ctor_set(x_278, 0, x_282); -return x_278; +return x_244; } else { -lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_283 = lean_ctor_get(x_278, 1); -lean_inc(x_283); -lean_dec(x_278); -x_284 = lean_box(0); -x_285 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_285, 0, x_284); -lean_ctor_set(x_285, 1, x_283); -return x_285; +lean_object* x_284; lean_object* x_285; lean_object* x_286; +x_284 = lean_ctor_get(x_244, 0); +x_285 = lean_ctor_get(x_244, 1); +lean_inc(x_285); +lean_inc(x_284); +lean_dec(x_244); +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_284); +lean_ctor_set(x_286, 1, x_285); +return x_286; +} +} +} } } 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; -x_286 = lean_ctor_get(x_278, 1); -lean_inc(x_286); -lean_dec(x_278); -x_287 = lean_ctor_get(x_279, 0); -lean_inc(x_287); -lean_dec(x_279); -x_288 = lean_nat_sub(x_37, x_275); -lean_dec(x_37); -x_289 = lean_nat_sub(x_288, x_275); +if (x_42 == 0) +{ +lean_object* x_287; +x_287 = lean_box(0); +x_76 = x_287; +goto block_233; +} +else +{ +lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; +lean_dec(x_35); +x_288 = lean_nat_sub(x_37, x_36); +x_289 = lean_unsigned_to_nat(1u); +x_290 = lean_nat_sub(x_288, x_289); lean_dec(x_288); -x_290 = l_Lean_Expr_getRevArg_x21(x_1, x_289); -lean_dec(x_1); -x_291 = l_Lean_Meta_evalNat(x_290, x_2, x_3, x_4, x_5, x_286); -if (lean_obj_tag(x_291) == 0) -{ -lean_object* x_292; -x_292 = lean_ctor_get(x_291, 0); -lean_inc(x_292); +x_291 = l_Lean_Expr_getRevArg_x21(x_1, x_290); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_292 = l_Lean_Meta_evalNat(x_291, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_292) == 0) { -uint8_t x_293; -lean_dec(x_287); -x_293 = !lean_is_exclusive(x_291); -if (x_293 == 0) +lean_object* x_293; +x_293 = lean_ctor_get(x_292, 0); +lean_inc(x_293); +if (lean_obj_tag(x_293) == 0) { -lean_object* x_294; lean_object* x_295; -x_294 = lean_ctor_get(x_291, 0); -lean_dec(x_294); -x_295 = lean_box(0); -lean_ctor_set(x_291, 0, x_295); -return x_291; +uint8_t x_294; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_294 = !lean_is_exclusive(x_292); +if (x_294 == 0) +{ +lean_object* x_295; lean_object* x_296; +x_295 = lean_ctor_get(x_292, 0); +lean_dec(x_295); +x_296 = lean_box(0); +lean_ctor_set(x_292, 0, x_296); +return x_292; } else { -lean_object* x_296; lean_object* x_297; lean_object* x_298; -x_296 = lean_ctor_get(x_291, 1); -lean_inc(x_296); -lean_dec(x_291); -x_297 = lean_box(0); -x_298 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_298, 0, x_297); -lean_ctor_set(x_298, 1, x_296); -return x_298; -} -} -else -{ -uint8_t x_299; -x_299 = !lean_is_exclusive(x_291); -if (x_299 == 0) -{ -lean_object* x_300; uint8_t x_301; -x_300 = lean_ctor_get(x_291, 0); -lean_dec(x_300); -x_301 = !lean_is_exclusive(x_292); -if (x_301 == 0) -{ -lean_object* x_302; lean_object* x_303; -x_302 = lean_ctor_get(x_292, 0); -x_303 = lean_nat_sub(x_287, x_302); -lean_dec(x_302); -lean_dec(x_287); -lean_ctor_set(x_292, 0, x_303); -return x_291; -} -else -{ -lean_object* x_304; lean_object* x_305; lean_object* x_306; -x_304 = lean_ctor_get(x_292, 0); -lean_inc(x_304); +lean_object* x_297; lean_object* x_298; lean_object* x_299; +x_297 = lean_ctor_get(x_292, 1); +lean_inc(x_297); lean_dec(x_292); -x_305 = lean_nat_sub(x_287, x_304); -lean_dec(x_304); -lean_dec(x_287); -x_306 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_306, 0, x_305); -lean_ctor_set(x_291, 0, x_306); -return x_291; +x_298 = lean_box(0); +x_299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_297); +return x_299; } } else { -lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; -x_307 = lean_ctor_get(x_291, 1); -lean_inc(x_307); -lean_dec(x_291); -x_308 = lean_ctor_get(x_292, 0); -lean_inc(x_308); -if (lean_is_exclusive(x_292)) { - lean_ctor_release(x_292, 0); - x_309 = x_292; -} else { - lean_dec_ref(x_292); - x_309 = lean_box(0); -} -x_310 = lean_nat_sub(x_287, x_308); +lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; +x_300 = lean_ctor_get(x_292, 1); +lean_inc(x_300); +lean_dec(x_292); +x_301 = lean_ctor_get(x_293, 0); +lean_inc(x_301); +lean_dec(x_293); +x_302 = lean_nat_sub(x_37, x_289); +lean_dec(x_37); +x_303 = lean_nat_sub(x_302, x_289); +lean_dec(x_302); +x_304 = l_Lean_Expr_getRevArg_x21(x_1, x_303); +lean_dec(x_1); +x_305 = l_Lean_Meta_evalNat(x_304, x_2, x_3, x_4, x_5, x_300); +if (lean_obj_tag(x_305) == 0) +{ +lean_object* x_306; +x_306 = lean_ctor_get(x_305, 0); +lean_inc(x_306); +if (lean_obj_tag(x_306) == 0) +{ +uint8_t x_307; +lean_dec(x_301); +x_307 = !lean_is_exclusive(x_305); +if (x_307 == 0) +{ +lean_object* x_308; lean_object* x_309; +x_308 = lean_ctor_get(x_305, 0); lean_dec(x_308); -lean_dec(x_287); -if (lean_is_scalar(x_309)) { - x_311 = lean_alloc_ctor(1, 1, 0); -} else { - x_311 = x_309; +x_309 = lean_box(0); +lean_ctor_set(x_305, 0, x_309); +return x_305; } -lean_ctor_set(x_311, 0, x_310); +else +{ +lean_object* x_310; lean_object* x_311; lean_object* x_312; +x_310 = lean_ctor_get(x_305, 1); +lean_inc(x_310); +lean_dec(x_305); +x_311 = lean_box(0); x_312 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_312, 0, x_311); -lean_ctor_set(x_312, 1, x_307); +lean_ctor_set(x_312, 1, x_310); return x_312; } } -} else { uint8_t x_313; -lean_dec(x_287); -x_313 = !lean_is_exclusive(x_291); +x_313 = !lean_is_exclusive(x_305); if (x_313 == 0) { -return x_291; -} -else +lean_object* x_314; uint8_t x_315; +x_314 = lean_ctor_get(x_305, 0); +lean_dec(x_314); +x_315 = !lean_is_exclusive(x_306); +if (x_315 == 0) { -lean_object* x_314; lean_object* x_315; lean_object* x_316; -x_314 = lean_ctor_get(x_291, 0); -x_315 = lean_ctor_get(x_291, 1); -lean_inc(x_315); -lean_inc(x_314); -lean_dec(x_291); -x_316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_316, 0, x_314); -lean_ctor_set(x_316, 1, x_315); -return x_316; -} -} -} -} -else -{ -uint8_t x_317; -lean_dec(x_37); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_317 = !lean_is_exclusive(x_278); -if (x_317 == 0) -{ -return x_278; +lean_object* x_316; lean_object* x_317; +x_316 = lean_ctor_get(x_306, 0); +x_317 = lean_nat_sub(x_301, x_316); +lean_dec(x_316); +lean_dec(x_301); +lean_ctor_set(x_306, 0, x_317); +return x_305; } else { lean_object* x_318; lean_object* x_319; lean_object* x_320; -x_318 = lean_ctor_get(x_278, 0); -x_319 = lean_ctor_get(x_278, 1); -lean_inc(x_319); +x_318 = lean_ctor_get(x_306, 0); lean_inc(x_318); -lean_dec(x_278); -x_320 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_320, 0, x_318); -lean_ctor_set(x_320, 1, x_319); -return x_320; -} -} -} +lean_dec(x_306); +x_319 = lean_nat_sub(x_301, x_318); +lean_dec(x_318); +lean_dec(x_301); +x_320 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_320, 0, x_319); +lean_ctor_set(x_305, 0, x_320); +return x_305; } } else { -if (x_219 == 0) -{ -lean_object* x_321; -x_321 = lean_box(0); -x_54 = x_321; -goto block_214; +lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; +x_321 = lean_ctor_get(x_305, 1); +lean_inc(x_321); +lean_dec(x_305); +x_322 = lean_ctor_get(x_306, 0); +lean_inc(x_322); +if (lean_is_exclusive(x_306)) { + lean_ctor_release(x_306, 0); + x_323 = x_306; +} else { + lean_dec_ref(x_306); + x_323 = lean_box(0); } -else -{ -lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; -lean_dec(x_35); -x_322 = lean_nat_sub(x_37, x_36); -x_323 = lean_unsigned_to_nat(1u); -x_324 = lean_nat_sub(x_322, x_323); +x_324 = lean_nat_sub(x_301, x_322); lean_dec(x_322); -x_325 = l_Lean_Expr_getRevArg_x21(x_1, x_324); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_326 = l_Lean_Meta_evalNat(x_325, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_326) == 0) +lean_dec(x_301); +if (lean_is_scalar(x_323)) { + x_325 = lean_alloc_ctor(1, 1, 0); +} else { + x_325 = x_323; +} +lean_ctor_set(x_325, 0, x_324); +x_326 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_326, 0, x_325); +lean_ctor_set(x_326, 1, x_321); +return x_326; +} +} +} +else { -lean_object* x_327; -x_327 = lean_ctor_get(x_326, 0); -lean_inc(x_327); -if (lean_obj_tag(x_327) == 0) +uint8_t x_327; +lean_dec(x_301); +x_327 = !lean_is_exclusive(x_305); +if (x_327 == 0) { -uint8_t x_328; +return x_305; +} +else +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; +x_328 = lean_ctor_get(x_305, 0); +x_329 = lean_ctor_get(x_305, 1); +lean_inc(x_329); +lean_inc(x_328); +lean_dec(x_305); +x_330 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_330, 0, x_328); +lean_ctor_set(x_330, 1, x_329); +return x_330; +} +} +} +} +else +{ +uint8_t x_331; lean_dec(x_37); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_328 = !lean_is_exclusive(x_326); -if (x_328 == 0) +x_331 = !lean_is_exclusive(x_292); +if (x_331 == 0) { -lean_object* x_329; lean_object* x_330; -x_329 = lean_ctor_get(x_326, 0); -lean_dec(x_329); -x_330 = lean_box(0); -lean_ctor_set(x_326, 0, x_330); -return x_326; +return x_292; } else { -lean_object* x_331; lean_object* x_332; lean_object* x_333; -x_331 = lean_ctor_get(x_326, 1); -lean_inc(x_331); -lean_dec(x_326); -x_332 = lean_box(0); -x_333 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_333, 0, x_332); -lean_ctor_set(x_333, 1, x_331); -return x_333; +lean_object* x_332; lean_object* x_333; lean_object* x_334; +x_332 = lean_ctor_get(x_292, 0); +x_333 = lean_ctor_get(x_292, 1); +lean_inc(x_333); +lean_inc(x_332); +lean_dec(x_292); +x_334 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_334, 0, x_332); +lean_ctor_set(x_334, 1, x_333); +return x_334; +} +} +} } } else { -lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; -x_334 = lean_ctor_get(x_326, 1); -lean_inc(x_334); -lean_dec(x_326); -x_335 = lean_ctor_get(x_327, 0); -lean_inc(x_335); -lean_dec(x_327); -x_336 = lean_nat_sub(x_37, x_323); -lean_dec(x_37); -x_337 = lean_nat_sub(x_336, x_323); +if (x_42 == 0) +{ +lean_object* x_335; +x_335 = lean_box(0); +x_76 = x_335; +goto block_233; +} +else +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; +lean_dec(x_35); +x_336 = lean_nat_sub(x_37, x_36); +x_337 = lean_unsigned_to_nat(1u); +x_338 = lean_nat_sub(x_336, x_337); lean_dec(x_336); -x_338 = l_Lean_Expr_getRevArg_x21(x_1, x_337); -lean_dec(x_1); -x_339 = l_Lean_Meta_evalNat(x_338, x_2, x_3, x_4, x_5, x_334); -if (lean_obj_tag(x_339) == 0) -{ -lean_object* x_340; -x_340 = lean_ctor_get(x_339, 0); -lean_inc(x_340); +x_339 = l_Lean_Expr_getRevArg_x21(x_1, x_338); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_340 = l_Lean_Meta_evalNat(x_339, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_340) == 0) { -uint8_t x_341; -lean_dec(x_335); -x_341 = !lean_is_exclusive(x_339); -if (x_341 == 0) +lean_object* x_341; +x_341 = lean_ctor_get(x_340, 0); +lean_inc(x_341); +if (lean_obj_tag(x_341) == 0) { -lean_object* x_342; lean_object* x_343; -x_342 = lean_ctor_get(x_339, 0); -lean_dec(x_342); -x_343 = lean_box(0); -lean_ctor_set(x_339, 0, x_343); -return x_339; +uint8_t x_342; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_342 = !lean_is_exclusive(x_340); +if (x_342 == 0) +{ +lean_object* x_343; lean_object* x_344; +x_343 = lean_ctor_get(x_340, 0); +lean_dec(x_343); +x_344 = lean_box(0); +lean_ctor_set(x_340, 0, x_344); +return x_340; } else { -lean_object* x_344; lean_object* x_345; lean_object* x_346; -x_344 = lean_ctor_get(x_339, 1); -lean_inc(x_344); -lean_dec(x_339); -x_345 = lean_box(0); -x_346 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_346, 0, x_345); -lean_ctor_set(x_346, 1, x_344); -return x_346; -} -} -else -{ -uint8_t x_347; -x_347 = !lean_is_exclusive(x_339); -if (x_347 == 0) -{ -lean_object* x_348; uint8_t x_349; -x_348 = lean_ctor_get(x_339, 0); -lean_dec(x_348); -x_349 = !lean_is_exclusive(x_340); -if (x_349 == 0) -{ -lean_object* x_350; lean_object* x_351; -x_350 = lean_ctor_get(x_340, 0); -x_351 = lean_nat_add(x_335, x_350); -lean_dec(x_350); -lean_dec(x_335); -lean_ctor_set(x_340, 0, x_351); -return x_339; -} -else -{ -lean_object* x_352; lean_object* x_353; lean_object* x_354; -x_352 = lean_ctor_get(x_340, 0); -lean_inc(x_352); +lean_object* x_345; lean_object* x_346; lean_object* x_347; +x_345 = lean_ctor_get(x_340, 1); +lean_inc(x_345); lean_dec(x_340); -x_353 = lean_nat_add(x_335, x_352); -lean_dec(x_352); -lean_dec(x_335); -x_354 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_354, 0, x_353); -lean_ctor_set(x_339, 0, x_354); -return x_339; +x_346 = lean_box(0); +x_347 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_347, 0, x_346); +lean_ctor_set(x_347, 1, x_345); +return x_347; } } else { -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; -x_355 = lean_ctor_get(x_339, 1); -lean_inc(x_355); -lean_dec(x_339); -x_356 = lean_ctor_get(x_340, 0); -lean_inc(x_356); -if (lean_is_exclusive(x_340)) { - lean_ctor_release(x_340, 0); - x_357 = x_340; -} else { - lean_dec_ref(x_340); - x_357 = lean_box(0); -} -x_358 = lean_nat_add(x_335, x_356); +lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; +x_348 = lean_ctor_get(x_340, 1); +lean_inc(x_348); +lean_dec(x_340); +x_349 = lean_ctor_get(x_341, 0); +lean_inc(x_349); +lean_dec(x_341); +x_350 = lean_nat_sub(x_37, x_337); +lean_dec(x_37); +x_351 = lean_nat_sub(x_350, x_337); +lean_dec(x_350); +x_352 = l_Lean_Expr_getRevArg_x21(x_1, x_351); +lean_dec(x_1); +x_353 = l_Lean_Meta_evalNat(x_352, x_2, x_3, x_4, x_5, x_348); +if (lean_obj_tag(x_353) == 0) +{ +lean_object* x_354; +x_354 = lean_ctor_get(x_353, 0); +lean_inc(x_354); +if (lean_obj_tag(x_354) == 0) +{ +uint8_t x_355; +lean_dec(x_349); +x_355 = !lean_is_exclusive(x_353); +if (x_355 == 0) +{ +lean_object* x_356; lean_object* x_357; +x_356 = lean_ctor_get(x_353, 0); lean_dec(x_356); -lean_dec(x_335); -if (lean_is_scalar(x_357)) { - x_359 = lean_alloc_ctor(1, 1, 0); -} else { - x_359 = x_357; +x_357 = lean_box(0); +lean_ctor_set(x_353, 0, x_357); +return x_353; } -lean_ctor_set(x_359, 0, x_358); +else +{ +lean_object* x_358; lean_object* x_359; lean_object* x_360; +x_358 = lean_ctor_get(x_353, 1); +lean_inc(x_358); +lean_dec(x_353); +x_359 = lean_box(0); x_360 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_360, 0, x_359); -lean_ctor_set(x_360, 1, x_355); +lean_ctor_set(x_360, 1, x_358); return x_360; } } -} else { uint8_t x_361; -lean_dec(x_335); -x_361 = !lean_is_exclusive(x_339); +x_361 = !lean_is_exclusive(x_353); if (x_361 == 0) { -return x_339; +lean_object* x_362; uint8_t x_363; +x_362 = lean_ctor_get(x_353, 0); +lean_dec(x_362); +x_363 = !lean_is_exclusive(x_354); +if (x_363 == 0) +{ +lean_object* x_364; lean_object* x_365; +x_364 = lean_ctor_get(x_354, 0); +x_365 = lean_nat_add(x_349, x_364); +lean_dec(x_364); +lean_dec(x_349); +lean_ctor_set(x_354, 0, x_365); +return x_353; } else { -lean_object* x_362; lean_object* x_363; lean_object* x_364; -x_362 = lean_ctor_get(x_339, 0); -x_363 = lean_ctor_get(x_339, 1); -lean_inc(x_363); -lean_inc(x_362); -lean_dec(x_339); -x_364 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_364, 0, x_362); -lean_ctor_set(x_364, 1, x_363); -return x_364; +lean_object* x_366; lean_object* x_367; lean_object* x_368; +x_366 = lean_ctor_get(x_354, 0); +lean_inc(x_366); +lean_dec(x_354); +x_367 = lean_nat_add(x_349, x_366); +lean_dec(x_366); +lean_dec(x_349); +x_368 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set(x_353, 0, x_368); +return x_353; +} +} +else +{ +lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; +x_369 = lean_ctor_get(x_353, 1); +lean_inc(x_369); +lean_dec(x_353); +x_370 = lean_ctor_get(x_354, 0); +lean_inc(x_370); +if (lean_is_exclusive(x_354)) { + lean_ctor_release(x_354, 0); + x_371 = x_354; +} else { + lean_dec_ref(x_354); + x_371 = lean_box(0); +} +x_372 = lean_nat_add(x_349, x_370); +lean_dec(x_370); +lean_dec(x_349); +if (lean_is_scalar(x_371)) { + x_373 = lean_alloc_ctor(1, 1, 0); +} else { + x_373 = x_371; +} +lean_ctor_set(x_373, 0, x_372); +x_374 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_374, 0, x_373); +lean_ctor_set(x_374, 1, x_369); +return x_374; +} +} +} +else +{ +uint8_t x_375; +lean_dec(x_349); +x_375 = !lean_is_exclusive(x_353); +if (x_375 == 0) +{ +return x_353; +} +else +{ +lean_object* x_376; lean_object* x_377; lean_object* x_378; +x_376 = lean_ctor_get(x_353, 0); +x_377 = lean_ctor_get(x_353, 1); +lean_inc(x_377); +lean_inc(x_376); +lean_dec(x_353); +x_378 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_378, 0, x_376); +lean_ctor_set(x_378, 1, x_377); +return x_378; } } } } else { -uint8_t x_365; +uint8_t x_379; lean_dec(x_37); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_365 = !lean_is_exclusive(x_326); -if (x_365 == 0) +x_379 = !lean_is_exclusive(x_340); +if (x_379 == 0) { -return x_326; +return x_340; } else { -lean_object* x_366; lean_object* x_367; lean_object* x_368; -x_366 = lean_ctor_get(x_326, 0); -x_367 = lean_ctor_get(x_326, 1); -lean_inc(x_367); -lean_inc(x_366); -lean_dec(x_326); -x_368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_368, 0, x_366); -lean_ctor_set(x_368, 1, x_367); -return x_368; +lean_object* x_380; lean_object* x_381; lean_object* x_382; +x_380 = lean_ctor_get(x_340, 0); +x_381 = lean_ctor_get(x_340, 1); +lean_inc(x_381); +lean_inc(x_380); +lean_dec(x_340); +x_382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_382, 0, x_380); +lean_ctor_set(x_382, 1, x_381); +return x_382; +} +} +} +} +block_52: +{ +lean_object* x_44; uint8_t x_45; +lean_dec(x_43); +x_44 = l_Lean_Meta_evalNat_visit___closed__4; +x_45 = lean_name_eq(x_35, x_44); +lean_dec(x_35); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_box(0); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_6); +return x_47; +} +else +{ +if (x_42 == 0) +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_box(0); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_6); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = l_Lean_Syntax_decodeNatLitVal___closed__1; +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_6); +return x_51; +} +} +} +block_75: +{ +lean_object* x_54; uint8_t x_55; +lean_dec(x_53); +x_54 = l_Lean_Meta_evalNat_visit___closed__7; +x_55 = lean_name_eq(x_35, x_54); +if (x_55 == 0) +{ +lean_object* x_56; uint8_t x_57; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_56 = l_Lean_Meta_evalNat_visit___closed__11; +x_57 = lean_name_eq(x_35, x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_box(0); +x_43 = x_58; +goto block_52; +} +else +{ +if (x_42 == 0) +{ +lean_object* x_59; +x_59 = lean_box(0); +x_43 = x_59; +goto block_52; +} +else +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_35); +x_60 = l_Lean_Meta_evalNat_visit___closed__12; +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_6); +return x_61; +} +} +} +else +{ +lean_object* x_62; uint8_t x_63; +x_62 = lean_unsigned_to_nat(3u); +x_63 = lean_nat_dec_eq(x_37, x_62); +if (x_63 == 0) +{ +lean_object* x_64; uint8_t x_65; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_64 = l_Lean_Meta_evalNat_visit___closed__11; +x_65 = lean_name_eq(x_35, x_64); +if (x_65 == 0) +{ +lean_object* x_66; +x_66 = lean_box(0); +x_43 = x_66; +goto block_52; +} +else +{ +if (x_42 == 0) +{ +lean_object* x_67; +x_67 = lean_box(0); +x_43 = x_67; +goto block_52; +} +else +{ +lean_object* x_68; lean_object* x_69; +lean_dec(x_35); +x_68 = l_Lean_Meta_evalNat_visit___closed__12; +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_6); +return x_69; +} +} +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_dec(x_35); +x_70 = lean_nat_sub(x_37, x_41); +lean_dec(x_37); +x_71 = lean_unsigned_to_nat(1u); +x_72 = lean_nat_sub(x_70, x_71); +lean_dec(x_70); +x_73 = l_Lean_Expr_getRevArg_x21(x_1, x_72); +lean_dec(x_1); +x_74 = l_Lean_Meta_evalNat(x_73, x_2, x_3, x_4, x_5, x_6); +return x_74; +} +} +} +block_233: +{ +lean_object* x_77; uint8_t x_78; lean_object* x_79; uint8_t x_80; +lean_dec(x_76); +x_77 = l_myMacro____x40_Init_Notation___hyg_370____closed__7; +x_78 = lean_name_eq(x_35, x_77); +x_79 = lean_unsigned_to_nat(4u); +x_80 = lean_nat_dec_eq(x_37, x_79); +if (x_78 == 0) +{ +lean_object* x_81; uint8_t x_82; +x_81 = l_myMacro____x40_Init_Notation___hyg_538____closed__7; +x_82 = lean_name_eq(x_35, x_81); +if (x_82 == 0) +{ +lean_object* x_83; uint8_t x_84; +x_83 = l_myMacro____x40_Init_Notation___hyg_706____closed__7; +x_84 = lean_name_eq(x_35, x_83); +if (x_84 == 0) +{ +lean_object* x_85; +x_85 = lean_box(0); +x_53 = x_85; +goto block_75; +} +else +{ +if (x_80 == 0) +{ +lean_object* x_86; +x_86 = lean_box(0); +x_53 = x_86; +goto block_75; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_dec(x_35); +x_87 = lean_nat_sub(x_37, x_41); +x_88 = lean_unsigned_to_nat(1u); +x_89 = lean_nat_sub(x_87, x_88); +lean_dec(x_87); +x_90 = l_Lean_Expr_getRevArg_x21(x_1, x_89); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_91 = l_Lean_Meta_evalNat(x_90, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +if (lean_obj_tag(x_92) == 0) +{ +uint8_t x_93; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_93 = !lean_is_exclusive(x_91); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_91, 0); +lean_dec(x_94); +x_95 = lean_box(0); +lean_ctor_set(x_91, 0, x_95); +return x_91; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_91, 1); +lean_inc(x_96); +lean_dec(x_91); +x_97 = lean_box(0); +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_96); +return x_98; +} +} +else +{ +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; +x_99 = lean_ctor_get(x_91, 1); +lean_inc(x_99); +lean_dec(x_91); +x_100 = lean_ctor_get(x_92, 0); +lean_inc(x_100); +lean_dec(x_92); +x_101 = lean_unsigned_to_nat(3u); +x_102 = lean_nat_sub(x_37, x_101); +lean_dec(x_37); +x_103 = lean_nat_sub(x_102, x_88); +lean_dec(x_102); +x_104 = l_Lean_Expr_getRevArg_x21(x_1, x_103); +lean_dec(x_1); +x_105 = l_Lean_Meta_evalNat(x_104, x_2, x_3, x_4, x_5, x_99); +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) +{ +uint8_t x_107; +lean_dec(x_100); +x_107 = !lean_is_exclusive(x_105); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; +x_108 = lean_ctor_get(x_105, 0); +lean_dec(x_108); +x_109 = lean_box(0); +lean_ctor_set(x_105, 0, x_109); +return x_105; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_105, 1); +lean_inc(x_110); +lean_dec(x_105); +x_111 = lean_box(0); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_110); +return x_112; +} +} +else +{ +uint8_t x_113; +x_113 = !lean_is_exclusive(x_105); +if (x_113 == 0) +{ +lean_object* x_114; uint8_t x_115; +x_114 = lean_ctor_get(x_105, 0); +lean_dec(x_114); +x_115 = !lean_is_exclusive(x_106); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; +x_116 = lean_ctor_get(x_106, 0); +x_117 = lean_nat_mul(x_100, x_116); +lean_dec(x_116); +lean_dec(x_100); +lean_ctor_set(x_106, 0, x_117); +return x_105; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_106, 0); +lean_inc(x_118); +lean_dec(x_106); +x_119 = lean_nat_mul(x_100, x_118); +lean_dec(x_118); +lean_dec(x_100); +x_120 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_105, 0, x_120); +return x_105; +} +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_121 = lean_ctor_get(x_105, 1); +lean_inc(x_121); +lean_dec(x_105); +x_122 = lean_ctor_get(x_106, 0); +lean_inc(x_122); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + x_123 = x_106; +} else { + lean_dec_ref(x_106); + x_123 = lean_box(0); +} +x_124 = lean_nat_mul(x_100, x_122); +lean_dec(x_122); +lean_dec(x_100); +if (lean_is_scalar(x_123)) { + x_125 = lean_alloc_ctor(1, 1, 0); +} else { + x_125 = x_123; +} +lean_ctor_set(x_125, 0, x_124); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_121); +return x_126; +} +} +} +else +{ +uint8_t x_127; +lean_dec(x_100); +x_127 = !lean_is_exclusive(x_105); +if (x_127 == 0) +{ +return x_105; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_128 = lean_ctor_get(x_105, 0); +x_129 = lean_ctor_get(x_105, 1); +lean_inc(x_129); +lean_inc(x_128); +lean_dec(x_105); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_128); +lean_ctor_set(x_130, 1, x_129); +return x_130; +} +} +} +} +else +{ +uint8_t x_131; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_131 = !lean_is_exclusive(x_91); +if (x_131 == 0) +{ +return x_91; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_91, 0); +x_133 = lean_ctor_get(x_91, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_91); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; +} +} +} +} +} +else +{ +if (x_80 == 0) +{ +lean_object* x_135; +x_135 = lean_box(0); +x_53 = x_135; +goto block_75; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +lean_dec(x_35); +x_136 = lean_nat_sub(x_37, x_41); +x_137 = lean_unsigned_to_nat(1u); +x_138 = lean_nat_sub(x_136, x_137); +lean_dec(x_136); +x_139 = l_Lean_Expr_getRevArg_x21(x_1, x_138); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_140 = l_Lean_Meta_evalNat(x_139, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_140) == 0) +{ +lean_object* x_141; +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +if (lean_obj_tag(x_141) == 0) +{ +uint8_t x_142; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_142 = !lean_is_exclusive(x_140); +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; +x_143 = lean_ctor_get(x_140, 0); +lean_dec(x_143); +x_144 = lean_box(0); +lean_ctor_set(x_140, 0, x_144); +return x_140; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_145 = lean_ctor_get(x_140, 1); +lean_inc(x_145); +lean_dec(x_140); +x_146 = lean_box(0); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_145); +return x_147; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_148 = lean_ctor_get(x_140, 1); +lean_inc(x_148); +lean_dec(x_140); +x_149 = lean_ctor_get(x_141, 0); +lean_inc(x_149); +lean_dec(x_141); +x_150 = lean_unsigned_to_nat(3u); +x_151 = lean_nat_sub(x_37, x_150); +lean_dec(x_37); +x_152 = lean_nat_sub(x_151, x_137); +lean_dec(x_151); +x_153 = l_Lean_Expr_getRevArg_x21(x_1, x_152); +lean_dec(x_1); +x_154 = l_Lean_Meta_evalNat(x_153, x_2, x_3, x_4, x_5, x_148); +if (lean_obj_tag(x_154) == 0) +{ +lean_object* x_155; +x_155 = lean_ctor_get(x_154, 0); +lean_inc(x_155); +if (lean_obj_tag(x_155) == 0) +{ +uint8_t x_156; +lean_dec(x_149); +x_156 = !lean_is_exclusive(x_154); +if (x_156 == 0) +{ +lean_object* x_157; lean_object* x_158; +x_157 = lean_ctor_get(x_154, 0); +lean_dec(x_157); +x_158 = lean_box(0); +lean_ctor_set(x_154, 0, x_158); +return x_154; +} +else +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_159 = lean_ctor_get(x_154, 1); +lean_inc(x_159); +lean_dec(x_154); +x_160 = lean_box(0); +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_159); +return x_161; +} +} +else +{ +uint8_t x_162; +x_162 = !lean_is_exclusive(x_154); +if (x_162 == 0) +{ +lean_object* x_163; uint8_t x_164; +x_163 = lean_ctor_get(x_154, 0); +lean_dec(x_163); +x_164 = !lean_is_exclusive(x_155); +if (x_164 == 0) +{ +lean_object* x_165; lean_object* x_166; +x_165 = lean_ctor_get(x_155, 0); +x_166 = lean_nat_sub(x_149, x_165); +lean_dec(x_165); +lean_dec(x_149); +lean_ctor_set(x_155, 0, x_166); +return x_154; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_167 = lean_ctor_get(x_155, 0); +lean_inc(x_167); +lean_dec(x_155); +x_168 = lean_nat_sub(x_149, x_167); +lean_dec(x_167); +lean_dec(x_149); +x_169 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_154, 0, x_169); +return x_154; +} +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_170 = lean_ctor_get(x_154, 1); +lean_inc(x_170); +lean_dec(x_154); +x_171 = lean_ctor_get(x_155, 0); +lean_inc(x_171); +if (lean_is_exclusive(x_155)) { + lean_ctor_release(x_155, 0); + x_172 = x_155; +} else { + lean_dec_ref(x_155); + x_172 = lean_box(0); +} +x_173 = lean_nat_sub(x_149, x_171); +lean_dec(x_171); +lean_dec(x_149); +if (lean_is_scalar(x_172)) { + x_174 = lean_alloc_ctor(1, 1, 0); +} else { + x_174 = x_172; +} +lean_ctor_set(x_174, 0, x_173); +x_175 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_170); +return x_175; +} +} +} +else +{ +uint8_t x_176; +lean_dec(x_149); +x_176 = !lean_is_exclusive(x_154); +if (x_176 == 0) +{ +return x_154; +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; +x_177 = lean_ctor_get(x_154, 0); +x_178 = lean_ctor_get(x_154, 1); +lean_inc(x_178); +lean_inc(x_177); +lean_dec(x_154); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_177); +lean_ctor_set(x_179, 1, x_178); +return x_179; +} +} +} +} +else +{ +uint8_t x_180; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_180 = !lean_is_exclusive(x_140); +if (x_180 == 0) +{ +return x_140; +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_181 = lean_ctor_get(x_140, 0); +x_182 = lean_ctor_get(x_140, 1); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_140); +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set(x_183, 1, x_182); +return x_183; +} +} +} +} +} +else +{ +if (x_80 == 0) +{ +lean_object* x_184; +x_184 = lean_box(0); +x_53 = x_184; +goto block_75; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +lean_dec(x_35); +x_185 = lean_nat_sub(x_37, x_41); +x_186 = lean_unsigned_to_nat(1u); +x_187 = lean_nat_sub(x_185, x_186); +lean_dec(x_185); +x_188 = l_Lean_Expr_getRevArg_x21(x_1, x_187); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_189 = l_Lean_Meta_evalNat(x_188, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_189) == 0) +{ +lean_object* x_190; +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +if (lean_obj_tag(x_190) == 0) +{ +uint8_t x_191; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_191 = !lean_is_exclusive(x_189); +if (x_191 == 0) +{ +lean_object* x_192; lean_object* x_193; +x_192 = lean_ctor_get(x_189, 0); +lean_dec(x_192); +x_193 = lean_box(0); +lean_ctor_set(x_189, 0, x_193); +return x_189; +} +else +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_194 = lean_ctor_get(x_189, 1); +lean_inc(x_194); +lean_dec(x_189); +x_195 = lean_box(0); +x_196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_196, 0, x_195); +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; +x_197 = lean_ctor_get(x_189, 1); +lean_inc(x_197); +lean_dec(x_189); +x_198 = lean_ctor_get(x_190, 0); +lean_inc(x_198); +lean_dec(x_190); +x_199 = lean_unsigned_to_nat(3u); +x_200 = lean_nat_sub(x_37, x_199); +lean_dec(x_37); +x_201 = lean_nat_sub(x_200, x_186); +lean_dec(x_200); +x_202 = l_Lean_Expr_getRevArg_x21(x_1, x_201); +lean_dec(x_1); +x_203 = l_Lean_Meta_evalNat(x_202, x_2, x_3, x_4, x_5, x_197); +if (lean_obj_tag(x_203) == 0) +{ +lean_object* x_204; +x_204 = lean_ctor_get(x_203, 0); +lean_inc(x_204); +if (lean_obj_tag(x_204) == 0) +{ +uint8_t x_205; +lean_dec(x_198); +x_205 = !lean_is_exclusive(x_203); +if (x_205 == 0) +{ +lean_object* x_206; lean_object* x_207; +x_206 = lean_ctor_get(x_203, 0); +lean_dec(x_206); +x_207 = lean_box(0); +lean_ctor_set(x_203, 0, x_207); +return x_203; +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_208 = lean_ctor_get(x_203, 1); +lean_inc(x_208); +lean_dec(x_203); +x_209 = lean_box(0); +x_210 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_210, 0, x_209); +lean_ctor_set(x_210, 1, x_208); +return x_210; +} +} +else +{ +uint8_t x_211; +x_211 = !lean_is_exclusive(x_203); +if (x_211 == 0) +{ +lean_object* x_212; uint8_t x_213; +x_212 = lean_ctor_get(x_203, 0); +lean_dec(x_212); +x_213 = !lean_is_exclusive(x_204); +if (x_213 == 0) +{ +lean_object* x_214; lean_object* x_215; +x_214 = lean_ctor_get(x_204, 0); +x_215 = lean_nat_add(x_198, x_214); +lean_dec(x_214); +lean_dec(x_198); +lean_ctor_set(x_204, 0, x_215); +return x_203; +} +else +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_216 = lean_ctor_get(x_204, 0); +lean_inc(x_216); +lean_dec(x_204); +x_217 = lean_nat_add(x_198, x_216); +lean_dec(x_216); +lean_dec(x_198); +x_218 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_203, 0, x_218); +return x_203; +} +} +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; +x_219 = lean_ctor_get(x_203, 1); +lean_inc(x_219); +lean_dec(x_203); +x_220 = lean_ctor_get(x_204, 0); +lean_inc(x_220); +if (lean_is_exclusive(x_204)) { + lean_ctor_release(x_204, 0); + x_221 = x_204; +} else { + lean_dec_ref(x_204); + x_221 = lean_box(0); +} +x_222 = lean_nat_add(x_198, x_220); +lean_dec(x_220); +lean_dec(x_198); +if (lean_is_scalar(x_221)) { + x_223 = lean_alloc_ctor(1, 1, 0); +} else { + x_223 = x_221; +} +lean_ctor_set(x_223, 0, x_222); +x_224 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_219); +return x_224; +} +} +} +else +{ +uint8_t x_225; +lean_dec(x_198); +x_225 = !lean_is_exclusive(x_203); +if (x_225 == 0) +{ +return x_203; +} +else +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_226 = lean_ctor_get(x_203, 0); +x_227 = lean_ctor_get(x_203, 1); +lean_inc(x_227); +lean_inc(x_226); +lean_dec(x_203); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_226); +lean_ctor_set(x_228, 1, x_227); +return x_228; +} +} +} +} +else +{ +uint8_t x_229; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_229 = !lean_is_exclusive(x_189); +if (x_229 == 0) +{ +return x_189; +} +else +{ +lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_230 = lean_ctor_get(x_189, 0); +x_231 = lean_ctor_get(x_189, 1); +lean_inc(x_231); +lean_inc(x_230); +lean_dec(x_189); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_230); +lean_ctor_set(x_232, 1, x_231); +return x_232; +} } } } @@ -2667,18 +2831,18 @@ return x_368; } default: { -lean_object* x_405; lean_object* x_406; +lean_object* x_419; lean_object* x_420; 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_405 = lean_box(0); -x_406 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_406, 0, x_405); -lean_ctor_set(x_406, 1, x_6); -return x_406; +x_419 = lean_box(0); +x_420 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_420, 0, x_419); +lean_ctor_set(x_420, 1, x_6); +return x_420; } } } @@ -3183,13 +3347,13 @@ lean_inc(x_37); lean_dec(x_9); x_38 = lean_unsigned_to_nat(0u); x_39 = l_Lean_Expr_getAppNumArgsAux(x_1, x_38); -x_186 = l_Lean_Meta_evalNat_visit___closed__8; +x_186 = l_Lean_Meta_evalNat_visit___closed__16; x_187 = lean_name_eq(x_37, x_186); if (x_187 == 0) { lean_object* x_188; uint8_t x_189; lean_dec(x_8); -x_188 = l_Lean_Meta_evalNat_visit___closed__4; +x_188 = l_Lean_Meta_evalNat_visit___closed__1; x_189 = lean_name_eq(x_37, x_188); if (x_189 == 0) { @@ -3229,7 +3393,7 @@ if (x_196 == 0) { lean_object* x_197; uint8_t x_198; lean_dec(x_8); -x_197 = l_Lean_Meta_evalNat_visit___closed__4; +x_197 = l_Lean_Meta_evalNat_visit___closed__1; x_198 = lean_name_eq(x_37, x_197); if (x_198 == 0) { @@ -4424,11 +4588,11 @@ lean_inc(x_35); lean_dec(x_7); x_36 = lean_unsigned_to_nat(0u); x_37 = l_Lean_Expr_getAppNumArgsAux(x_1, x_36); -x_38 = l_Lean_Meta_evalNat_visit___closed__8; +x_38 = l_Lean_Meta_evalNat_visit___closed__16; x_39 = lean_name_eq(x_35, x_38); x_40 = lean_unsigned_to_nat(1u); x_41 = lean_nat_dec_eq(x_37, x_40); -x_42 = l_Lean_Meta_evalNat_visit___closed__4; +x_42 = l_Lean_Meta_evalNat_visit___closed__1; x_43 = lean_name_eq(x_35, x_42); x_44 = lean_unsigned_to_nat(2u); x_45 = lean_nat_dec_eq(x_37, x_44); @@ -4724,7 +4888,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_evalNat_visit___closed__4; +x_2 = l_Lean_Meta_evalNat_visit___closed__1; x_3 = l_Lean_mkConst(x_2, x_1); return x_3; } @@ -6168,6 +6332,22 @@ l_Lean_Meta_evalNat_visit___closed__7 = _init_l_Lean_Meta_evalNat_visit___closed lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__7); l_Lean_Meta_evalNat_visit___closed__8 = _init_l_Lean_Meta_evalNat_visit___closed__8(); lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__8); +l_Lean_Meta_evalNat_visit___closed__9 = _init_l_Lean_Meta_evalNat_visit___closed__9(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__9); +l_Lean_Meta_evalNat_visit___closed__10 = _init_l_Lean_Meta_evalNat_visit___closed__10(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__10); +l_Lean_Meta_evalNat_visit___closed__11 = _init_l_Lean_Meta_evalNat_visit___closed__11(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__11); +l_Lean_Meta_evalNat_visit___closed__12 = _init_l_Lean_Meta_evalNat_visit___closed__12(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__12); +l_Lean_Meta_evalNat_visit___closed__13 = _init_l_Lean_Meta_evalNat_visit___closed__13(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__13); +l_Lean_Meta_evalNat_visit___closed__14 = _init_l_Lean_Meta_evalNat_visit___closed__14(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__14); +l_Lean_Meta_evalNat_visit___closed__15 = _init_l_Lean_Meta_evalNat_visit___closed__15(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__15); +l_Lean_Meta_evalNat_visit___closed__16 = _init_l_Lean_Meta_evalNat_visit___closed__16(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__16); l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset___closed__1 = _init_l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset___closed__1); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Constructor.c b/stage0/stdlib/Lean/Meta/Tactic/Constructor.c index 52d826a05e..3794753fa5 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Constructor.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Constructor.c @@ -37,11 +37,11 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallMetaTelescopeReducingAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Meta_inferType___at_Lean_Meta_existsIntro___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__2; lean_object* l_Lean_Meta_existsIntro___lambda__2___closed__4; lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVarType_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_getParamNamesImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__2; lean_object* l_Lean_Meta_throwTacticEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_existsIntro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); @@ -875,7 +875,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2973____closed__2; +x_2 = l___kind_term____x40_Init_NotationExtra___hyg_2205____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Meta/UnificationHint.c b/stage0/stdlib/Lean/Meta/UnificationHint.c index 46a9af1f19..c214a36f0a 100644 --- a/stage0/stdlib/Lean/Meta/UnificationHint.c +++ b/stage0/stdlib/Lean/Meta/UnificationHint.c @@ -23,7 +23,7 @@ lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Meta_tryUnificationHints___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_decodeUnificationHint_decode___closed__1; -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_1136_(lean_object*); +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_1175_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_501_(lean_object*); lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_34_(lean_object*); extern lean_object* l_Array_back___at___private_Lean_Meta_DiscrTree_0__Lean_Meta_DiscrTree_insertAux___spec__2___rarg___closed__2; @@ -112,6 +112,7 @@ lean_object* l___private_Lean_Util_Trace_0__Lean_addNode___at___private_Lean_Met lean_object* l_Lean_Meta_commitWhen___at_Lean_Meta_tryUnificationHints_tryCandidate___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_initFn____x40_Lean_Environment___hyg_2532____closed__4; lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_34____closed__2; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__46; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_unificationHintExtension___elambda__3(lean_object*, lean_object*); @@ -198,7 +199,6 @@ lean_object* l___private_Lean_Meta_UnificationHint_0__Lean_Meta_validateHint___b lean_object* l___private_Init_Data_Array_BinSearch_0__Array_binInsertAux___at_Lean_Meta_UnificationHints_add___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_lparams(lean_object*); lean_object* l_Lean_Meta_unificationHintExtension___closed__1; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__25; extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__1; lean_object* l_Lean_Meta_unificationHintExtension___elambda__4___rarg(lean_object*); lean_object* lean_instantiate_value_lparams(lean_object*, lean_object*); @@ -5510,7 +5510,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Meta_isExprDefEqImp___closed__2; -x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__25; +x_2 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__46; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -6790,33 +6790,114 @@ return x_14; lean_object* l_Lean_Meta_tryUnificationHints(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; uint8_t x_9; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -x_9 = lean_ctor_get_uint8(x_8, 8); -lean_dec(x_8); -if (x_9 == 0) +lean_object* x_8; uint8_t x_17; lean_object* x_18; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_st_ref_get(x_6, x_7); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_32, 3); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_ctor_get_uint8(x_33, sizeof(void*)*1); +lean_dec(x_33); +if (x_34 == 0) { -uint8_t x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = 0; +x_17 = x_36; +x_18 = x_35; +goto block_30; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_37 = lean_ctor_get(x_31, 1); +lean_inc(x_37); +lean_dec(x_31); +x_38 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1; +x_39 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(x_38, x_3, x_4, x_5, x_6, x_37); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_unbox(x_40); +lean_dec(x_40); +x_17 = x_42; +x_18 = x_41; +goto block_30; +} +block_16: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +x_10 = lean_ctor_get_uint8(x_9, 8); +lean_dec(x_9); +if (x_10 == 0) +{ +uint8_t x_11; lean_object* x_12; lean_object* x_13; 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_10 = 0; -x_11 = lean_box(x_10); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_7); -return x_12; +x_11 = 0; +x_12 = lean_box(x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_8); +return x_13; } else { -lean_object* x_13; lean_object* x_14; -x_13 = lean_box(0); -x_14 = l_Lean_Meta_tryUnificationHints___lambda__2(x_1, x_2, x_13, x_3, x_4, x_5, x_6, x_7); -return x_14; +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = l_Lean_Meta_tryUnificationHints___lambda__2(x_1, x_2, x_14, x_3, x_4, x_5, x_6, x_8); +return x_15; +} +} +block_30: +{ +if (x_17 == 0) +{ +x_8 = x_18; +goto block_16; +} +else +{ +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_inc(x_1); +x_19 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_19, 0, x_1); +x_20 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l_Lean_Meta_isLevelDefEqAux___closed__5; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +lean_inc(x_2); +x_24 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_24, 0, x_2); +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 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_20); +x_27 = l_Lean_Meta_tryUnificationHints_tryCandidate___closed__1; +x_28 = l_Lean_addTrace___at_Lean_Meta_isLevelDefEqAux___spec__1(x_27, x_26, x_3, x_4, x_5, x_6, x_18); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_8 = x_29; +goto block_16; +} } } } @@ -6851,7 +6932,7 @@ lean_dec(x_3); return x_9; } } -lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_1136_(lean_object* x_1) { +lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_1175_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -6979,7 +7060,7 @@ l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__ lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__1); l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__2(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Meta_tryUnificationHints___spec__1___closed__2); -res = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_1136_(lean_io_mk_world()); +res = l_Lean_Meta_initFn____x40_Lean_Meta_UnificationHint___hyg_1175_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index acc98ff1b0..46dfad3d9b 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -290,6 +290,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_atomic_formatter(lean_object*, lean_ lean_object* l_Lean_Parser_Command_structure___closed__18; lean_object* l_Lean_Parser_Command_synth___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_quot___elambda__1___closed__3; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; lean_object* l_Lean_Parser_Command_inductive___elambda__1___closed__15; lean_object* l_Lean_Parser_Command_structFields_formatter___closed__2; lean_object* l_Lean_Parser_Command_unsafe___elambda__1___closed__9; @@ -389,6 +390,7 @@ lean_object* l_Lean_Parser_Command_exit___elambda__1___closed__8; lean_object* l___regBuiltin_Lean_Parser_Command_resolve__name_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Command_section___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__6; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; lean_object* l_Lean_Parser_Command_axiom___closed__6; lean_object* l_Lean_Parser_Command_declValEqns___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_theorem___closed__5; @@ -420,7 +422,6 @@ lean_object* l_Lean_Parser_Command_exit___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_constant_formatter___closed__7; extern lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_declValSimple___elambda__1(lean_object*, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; lean_object* l_Lean_Parser_Command_end_formatter___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Command_export(lean_object*); lean_object* l_Lean_Parser_Term_quot___closed__9; @@ -848,7 +849,6 @@ lean_object* l_Lean_Parser_Command_variables___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_inferMod___closed__3; lean_object* l_Lean_Parser_Command_openHiding___elambda__1___closed__3; extern lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__48; lean_object* l_Lean_Parser_Command_declaration_formatter___closed__23; lean_object* l_Lean_Parser_Command_noncomputable___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_resolve__name___elambda__1___closed__4; @@ -1116,6 +1116,7 @@ lean_object* l_Lean_Parser_Command_classInductive_parenthesizer___closed__5; lean_object* l_Lean_Parser_Command_section_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_inductive_formatter___closed__1; lean_object* l_Lean_Parser_Command_attribute_formatter___closed__4; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__44; lean_object* l_Lean_Parser_Command_declId_formatter___closed__5; lean_object* l___regBuiltin_Lean_Parser_Command_init__quot_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_openSimple___closed__3; @@ -1401,7 +1402,6 @@ lean_object* l_Lean_Parser_Command_declModifiers(uint8_t); lean_object* l_Lean_Parser_Command_exit___elambda__1___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Command_builtin__initialize(lean_object*); lean_object* l_Lean_Parser_Command_theorem_formatter___closed__4; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; lean_object* l_Lean_Parser_Command_ctor_formatter___closed__9; lean_object* l_Lean_Parser_Command_structInstBinder___elambda__1___closed__12; lean_object* l_Lean_Parser_Command_structFields___closed__3; @@ -1698,6 +1698,7 @@ lean_object* l_Lean_Parser_Command_declSig___elambda__1___closed__8; lean_object* l_Lean_Parser_Command_attribute_formatter___closed__6; lean_object* l_Lean_Parser_Command_set__option___closed__4; lean_object* l_Lean_Parser_Command_example___elambda__1___closed__9; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__25; lean_object* l_Lean_Parser_Command_structureTk_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_constant_parenthesizer___closed__6; lean_object* l_Lean_Parser_Command_structFields_formatter___closed__5; @@ -1842,7 +1843,6 @@ lean_object* l_Lean_Parser_Command_structure___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___closed__14; lean_object* l_Lean_Parser_Command_mutual___elambda__1___closed__10; lean_object* l_Lean_Parser_commandParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__29; lean_object* l_Lean_Parser_Command_structCtor___closed__3; lean_object* l_Lean_Parser_Command_synth_formatter___closed__1; extern lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__10; @@ -5287,7 +5287,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeclSig___elambda__1___closed _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -5297,7 +5297,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeclSig___elambda__1___closed _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__29; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__25; x_2 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -5320,7 +5320,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeclSig___elambda__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_2 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -5357,7 +5357,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeclSig___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_2 = l_Lean_Parser_Term_letIdLhs___closed__4; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -5417,7 +5417,7 @@ static lean_object* _init_l_Lean_Parser_Command_declValSimple___elambda__1___clo _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -5427,7 +5427,7 @@ static lean_object* _init_l_Lean_Parser_Command_declValSimple___elambda__1___clo _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__48; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__44; x_2 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -5489,7 +5489,7 @@ static lean_object* _init_l_Lean_Parser_Command_declValSimple___elambda__1___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_2 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -5557,7 +5557,7 @@ static lean_object* _init_l_Lean_Parser_Command_declValSimple___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_2 = l_Lean_Parser_Command_declValSimple___closed__3; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -12231,7 +12231,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeclSig_formatter___closed__1 _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__29; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__25; x_2 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -12246,7 +12246,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeclSig_formatter___closed__2 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_letIdLhs_formatter___closed__5; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -12270,7 +12270,7 @@ static lean_object* _init_l_Lean_Parser_Command_declValSimple_formatter___closed _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__48; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__44; x_2 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -12319,7 +12319,7 @@ static lean_object* _init_l_Lean_Parser_Command_declValSimple_formatter___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Command_declValSimple_formatter___closed__4; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -15532,7 +15532,7 @@ static lean_object* _init_l_Lean_Parser_Command_optDeclSig_parenthesizer___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__30; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__26; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__5; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -15593,7 +15593,7 @@ static lean_object* _init_l_Lean_Parser_Command_declValSimple_parenthesizer___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__49; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__45; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Command_declValSimple_parenthesizer___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); diff --git a/stage0/stdlib/Lean/Parser/Level.c b/stage0/stdlib/Lean/Parser/Level.c index 05141474e4..5c2642da70 100644 --- a/stage0/stdlib/Lean/Parser/Level.c +++ b/stage0/stdlib/Lean/Parser/Level.c @@ -89,6 +89,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_objec extern lean_object* l_Lean_Parser_leadingNode_formatter___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkPrec_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_max___elambda__1___closed__2; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; lean_object* l_Lean_Parser_checkPrecFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many1Fn(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; @@ -97,6 +98,7 @@ lean_object* l_Lean_Parser_Level_num_parenthesizer___closed__2; lean_object* l_Lean_Parser_Level_max___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__14; lean_object* l_Lean_PrettyPrinter_Formatter_trailingNode_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; lean_object* l_Lean_Parser_Level_hole_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_max___elambda__1___closed__4; lean_object* l___regBuiltin_Lean_Parser_Level_addLit_parenthesizer(lean_object*); @@ -190,7 +192,6 @@ lean_object* l_Lean_Parser_Level_max; lean_object* l_Lean_Parser_Level_num; lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Level_imax_parenthesizer___closed__1; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; lean_object* l_Lean_Parser_Level_max___closed__5; lean_object* l_Lean_Parser_Level_num___closed__3; lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__10; @@ -250,7 +251,6 @@ lean_object* l_Lean_Parser_Level_imax___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_imax_formatter___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_many1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; lean_object* l_Lean_Parser_Level_addLit___closed__4; lean_object* l_Lean_Parser_numLit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_paren___closed__6; @@ -769,7 +769,7 @@ static lean_object* _init_l_Lean_Parser_Level_max___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; x_2 = l_Lean_Level_LevelToFormat_Result_format___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1181,7 +1181,7 @@ static lean_object* _init_l_Lean_Parser_Level_imax___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; x_2 = l_Lean_Level_LevelToFormat_Result_format___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1519,7 +1519,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -1559,7 +1559,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; x_2 = l_Lean_Parser_Level_hole___elambda__1___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -1605,7 +1605,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; x_2 = l_Lean_Parser_Level_hole___closed__1; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -1666,7 +1666,7 @@ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_2 = l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___closed__2; -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; x_4 = 1; x_5 = l_Lean_Parser_Level_hole; x_6 = lean_unsigned_to_nat(0u); @@ -1703,7 +1703,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Level_hole_formatter___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -1736,7 +1736,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; x_4 = l___regBuiltin_Lean_Parser_Level_hole_formatter___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -1759,7 +1759,7 @@ static lean_object* _init_l_Lean_Parser_Level_hole_parenthesizer___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -1792,7 +1792,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__38; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__34; x_4 = l___regBuiltin_Lean_Parser_Level_hole_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -1864,7 +1864,7 @@ static lean_object* _init_l___regBuiltinParser_Lean_Parser_Level_num___closed__1 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1882____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2033,7 +2033,7 @@ static lean_object* _init_l___regBuiltinParser_Lean_Parser_Level_ident___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; x_2 = l_Lean_identKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2138,7 +2138,7 @@ static lean_object* _init_l_Lean_Parser_Level_addLit___elambda__1___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; x_2 = l_Lean_Parser_Level_addLit___elambda__1___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Parser/Syntax.c b/stage0/stdlib/Lean/Parser/Syntax.c index c86e39bf84..e10058dea5 100644 --- a/stage0/stdlib/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Lean/Parser/Syntax.c @@ -24,7 +24,6 @@ lean_object* l_Lean_Parser_Command_syntax_parenthesizer(lean_object*, lean_objec lean_object* l___regBuiltin_Lean_Parser_Term_stx_quot_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Command_parserPrio___closed__1; lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__3; -lean_object* l_Lean_Parser_Command_notation___closed__12; lean_object* l_Lean_Parser_Command_mixfixKind___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_postfix___closed__6; @@ -79,7 +78,6 @@ lean_object* l_Lean_Parser_Command_parserPrio___closed__2; lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__5; lean_object* l_Lean_Parser_Command_macroArg_formatter___closed__1; lean_object* l_Lean_Parser_andthenInfo(lean_object*, lean_object*); -lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__14; lean_object* l_Lean_Parser_Command_postfix_formatter___closed__3; extern lean_object* l_Lean_Syntax_isQuot_match__1___rarg___closed__1; lean_object* l_Lean_Parser_Command_macroTailCommand___closed__7; @@ -95,7 +93,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(lean_ lean_object* l_Lean_Parser_maxSymbol___elambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_nonReservedSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__11; -lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__15; lean_object* l_Lean_Parser_Command_macroTailCommand_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__3; lean_object* l_Lean_Parser_Command_macro__rules_formatter___closed__6; @@ -105,7 +102,6 @@ lean_object* l_Lean_Parser_Command_optPrio___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_macro_formatter___closed__6; lean_object* l_Lean_Parser_Command_macroTail___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__9; -lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__12; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__3; @@ -137,7 +133,6 @@ lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Command_elab__rules(lean_object*); lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_macroHead; -lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__10; lean_object* l_Lean_Parser_Command_elabTail___elambda__1___closed__6; lean_object* l_Lean_Parser_Syntax_paren___closed__4; lean_object* l_Lean_Parser_Command_elab_parenthesizer___closed__10; @@ -158,7 +153,6 @@ lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_macro___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_parserKind___closed__1; lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__6; -lean_object* l_Lean_PrettyPrinter_Formatter_checkInsideQuot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_optKindPrio___closed__6; lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__8; lean_object* l___regBuiltin_Lean_Parser_Syntax_cat_parenthesizer___closed__1; @@ -173,7 +167,6 @@ lean_object* l_Lean_Parser_Syntax_binary_parenthesizer___closed__3; lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__6; lean_object* l_Lean_Parser_maxSymbol___elambda__1___closed__2; lean_object* l_Lean_Parser_Syntax_unary___closed__2; -lean_object* l_Lean_Parser_Command_notation_formatter___closed__13; lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_infixr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__4; @@ -213,7 +206,6 @@ lean_object* l_Lean_Parser_Command_notationItem___closed__3; lean_object* l_Lean_Parser_Command_macro_formatter___closed__5; lean_object* l_Lean_Parser_Command_macroArgSimple_formatter___closed__3; lean_object* l_Lean_Parser_Command_mixfixKind___elambda__1___closed__2; -lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__14; lean_object* l_Lean_Parser_nonReservedSymbolFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__4; lean_object* l_Lean_Parser_Syntax_paren; @@ -228,7 +220,6 @@ lean_object* l_Lean_Parser_Command_identPrec_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_585____closed__18; lean_object* l_Lean_Parser_Command_notation___closed__11; lean_object* l_Lean_Parser_maxSymbol___elambda__1___closed__1; -lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__16; lean_object* l_Lean_Parser_Syntax_unary_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_darrow; lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__6; @@ -252,7 +243,6 @@ lean_object* l_Lean_Parser_Syntax_atom_parenthesizer(lean_object*, lean_object*, extern lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__4; lean_object* l_Lean_Parser_Command_optPrio___closed__5; lean_object* l_Lean_Parser_Command_macroArgSimple___closed__1; -lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__15; lean_object* l_Lean_Parser_orelseFn(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_registerBuiltinDynamicParserAttribute(lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__1; @@ -291,7 +281,6 @@ lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_toggleInsideQuot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__7; lean_object* l_Lean_Parser_Command_infixl_parenthesizer___closed__2; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_macroArg_formatter___closed__2; lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_macroTail___elambda__1___closed__1; @@ -322,12 +311,10 @@ lean_object* l_Lean_Parser_precedence___elambda__1___closed__4; lean_object* l_Lean_Parser_optPrecedence; lean_object* l_Lean_Parser_Command_elab__rules___closed__10; lean_object* l_Lean_Parser_optPrecedence_formatter___closed__2; -lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__16; lean_object* l_Lean_Parser_Command_elab___closed__5; extern lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; lean_object* l_Lean_Parser_Command_postfix_parenthesizer___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Syntax_nonReserved(lean_object*); -lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__11; lean_object* l_Lean_Parser_Command_infixl___closed__4; lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_optKind_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -341,7 +328,6 @@ lean_object* l_Lean_Parser_Command_macroArgSimple___closed__9; lean_object* l_Lean_Parser_Command_macro__rules___closed__8; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_infix; -lean_object* l_Lean_Parser_Command_notation_formatter___closed__14; lean_object* l_Lean_Parser_Command_identPrec_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_optKindPrio_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_optKind___elambda__1(lean_object*, lean_object*); @@ -351,13 +337,11 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_objec lean_object* l___regBuiltin_Lean_Parser_Syntax_unary_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Command_syntax_formatter___closed__9; lean_object* l_Lean_Parser_Command_syntaxAbbrev___elambda__1___closed__7; -lean_object* l_Lean_Parser_Command_notation___closed__16; lean_object* l_Lean_Parser_Command_macroArgSimple___closed__8; lean_object* l_Lean_Parser_Command_identPrec; lean_object* l_Lean_Parser_Command_infixl___closed__2; lean_object* l_Lean_Parser_precedence___elambda__1___closed__1; lean_object* l_Lean_Parser_Syntax_paren_parenthesizer___closed__3; -lean_object* l_Lean_Parser_Command_mixfix___closed__12; lean_object* l_Lean_Parser_Command_macroTailTactic_formatter___closed__1; lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_parserKindPrio; @@ -373,7 +357,6 @@ extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__7; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3887____closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_7407____closed__3; -lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__10; lean_object* l_Lean_Parser_Command_elab__rules___closed__5; extern lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__2; lean_object* l_Lean_Parser_Command_macro___closed__5; @@ -451,7 +434,6 @@ lean_object* l___regBuiltin_Lean_Parser_Term_stx_quot_formatter___closed__1; lean_object* l_Lean_Parser_Command_macroTailCommand_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Command_syntax_formatter___closed__1; lean_object* l_Lean_Parser_precedence_formatter___closed__2; -extern lean_object* l_Lean_Parser_checkOutsideQuot___closed__1; lean_object* l___regBuiltin_Lean_Parser_Syntax_atom_formatter(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_withAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__3; @@ -489,7 +471,6 @@ lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__3; lean_object* l_Lean_Parser_Syntax_paren_formatter___closed__6; lean_object* l_Lean_Parser_Command_infix_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_elabTail___closed__4; -lean_object* l_Lean_Parser_Command_mixfix___closed__11; lean_object* l_Lean_Parser_Command_postfix___closed__1; lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__6; lean_object* l_Lean_Parser_Command_macroTailCommand___closed__3; @@ -510,7 +491,6 @@ lean_object* l_Lean_Parser_Command_macroTail_formatter___closed__4; lean_object* l_Lean_Parser_Command_macroHead___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__7; lean_object* l_Lean_Parser_Command_parserPrio_parenthesizer___closed__2; -lean_object* l_Lean_Parser_Command_notation___closed__15; lean_object* l_Lean_Parser_Syntax_nonReserved_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Command_syntax_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_stx_quot_parenthesizer___closed__1; @@ -525,7 +505,6 @@ lean_object* l_Lean_Parser_Command_elabTail_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_infix___closed__1; lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__7; lean_object* l_Lean_Parser_symbolFn___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Command_notation___closed__14; lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__1; extern lean_object* l_Lean_Parser_categoryParserFnImpl___closed__1; lean_object* l_Lean_Parser_Command_elab_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -585,7 +564,6 @@ lean_object* l_Lean_Parser_Command_syntaxAbbrev_formatter___closed__4; lean_object* l_Lean_Parser_Command_notation; lean_object* l_Lean_Parser_Command_parserKind___elambda__1___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Command_notation(lean_object*); -lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__13; lean_object* l_Lean_Parser_Term_stx_quot_formatter___closed__3; lean_object* l_Lean_Parser_Term_stx_quot; lean_object* l_Lean_Parser_Command_elab__rules___closed__6; @@ -634,7 +612,6 @@ lean_object* l_Lean_Parser_Command_macro_formatter___closed__4; lean_object* l_Lean_Parser_Syntax_unary_formatter___closed__3; lean_object* l_Lean_Parser_Syntax_paren___closed__5; extern lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__1; -lean_object* l_Lean_Parser_Command_mixfix___closed__13; lean_object* l_Lean_Parser_precedence_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_syntaxParser_formatter___boxed(lean_object*); lean_object* l_Lean_Parser_Command_parserKindPrio___closed__5; @@ -663,7 +640,6 @@ lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_syntax___closed__10; lean_object* l_Lean_Parser_Command_optKindPrio_formatter___closed__3; lean_object* l_Lean_Parser_Command_parserKind___closed__3; -lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__13; lean_object* l_Lean_Parser_Command_optPrio_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__2; lean_object* l_Lean_Parser_Term_stx_quot___elambda__1___closed__12; @@ -683,9 +659,7 @@ lean_object* l_Lean_Parser_maxSymbol_formatter(lean_object*, lean_object*, lean_ lean_object* l_Lean_Parser_Syntax_cat; lean_object* l_Lean_Parser_Command_macroTailDefault_formatter___closed__1; lean_object* l_Lean_Parser_Command_mixfixKind_parenthesizer___closed__6; -lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__15; lean_object* l_Lean_Parser_Syntax_binary___elambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Parser_Command_notation_formatter___closed__10; lean_object* l_Lean_Parser_orelseInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__12; lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__3; @@ -708,7 +682,6 @@ lean_object* l_Lean_Parser_Command_macro_formatter___closed__9; lean_object* l_Lean_Parser_Term_stx_quot_formatter___closed__4; lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__11; lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__1; -lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__14; lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_infix___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_unary___closed__4; @@ -726,7 +699,6 @@ lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_infixr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_symbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__13; lean_object* l_Lean_Parser_optPrecedence___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_mixfixKind___closed__1; lean_object* l_Lean_Parser_precedenceLit___closed__1; @@ -784,14 +756,12 @@ lean_object* l_Lean_Parser_Command_optKindPrio_formatter___closed__4; lean_object* l_Lean_Parser_Command_mixfixKind_formatter___closed__3; lean_object* l_Lean_Parser_Syntax_atom_formatter___closed__2; lean_object* l_Lean_Parser_maxSymbol___closed__3; -lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__11; lean_object* l_Lean_Parser_precedence_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__9; lean_object* l_Lean_Parser_Syntax_binary___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_elabTail; lean_object* l_Lean_Parser_Command_parserKind___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_elabTail___closed__6; -lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__13; lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__3; lean_object* l_Lean_Parser_Syntax_unary; @@ -882,7 +852,6 @@ lean_object* l___regBuiltin_Lean_Parser_Syntax_nonReserved_parenthesizer___close lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__6; lean_object* l_Lean_Parser_maxSymbol_formatter___closed__2; lean_object* l_Lean_Parser_Syntax_unary_parenthesizer___closed__2; -extern lean_object* l_Lean_Parser_checkInsideQuot___closed__1; lean_object* l_Lean_Parser_Syntax_unary___elambda__1___closed__1; lean_object* l___regBuiltin_Lean_Parser_Syntax_binary_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__2; @@ -914,7 +883,6 @@ lean_object* l_Lean_Parser_Command_syntaxCat___closed__6; lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__13; lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__6; -lean_object* l_Lean_Parser_Command_notation___closed__13; lean_object* l_Lean_Parser_Command_syntaxCat_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_optKind___elambda__1___closed__2; lean_object* l_Lean_Parser_Command_parserKindPrio_formatter___closed__2; @@ -928,7 +896,6 @@ lean_object* l_Lean_Parser_Command_macro_formatter___closed__11; lean_object* l___regBuiltin_Lean_Parser_Syntax_paren_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Command_macro__rules___elambda__1___closed__9; lean_object* l_Lean_Parser_Command_optKind___elambda__1___closed__1; -lean_object* l_Lean_Parser_Command_mixfix___closed__15; lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__9; lean_object* l_Lean_Parser_toggleInsideQuotFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__7; @@ -960,8 +927,6 @@ lean_object* l_Lean_Parser_Command_infix___closed__5; lean_object* l_Lean_Parser_Command_syntax_parenthesizer___closed__3; lean_object* l_Lean_Parser_Command_macroArgSimple___elambda__1___closed__6; extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__3; -lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__11; -lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__17; lean_object* l_Lean_Parser_Syntax_atom___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__9; lean_object* l_Lean_Parser_Command_macro; @@ -1069,7 +1034,6 @@ lean_object* l_Lean_Parser_Command_elab___closed__11; lean_object* l_Lean_Parser_Command_macroTail_parenthesizer___closed__3; lean_object* l_Lean_Parser_maxSymbol___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__7; -lean_object* l_Lean_Parser_Command_notation_formatter___closed__11; extern lean_object* l_Lean_Parser_Term_matchAlt_parenthesizer___closed__2; extern lean_object* l_Lean_Parser_Term_typeAscription___closed__1; lean_object* l_Lean_Parser_Command_parserKind___elambda__1(lean_object*, lean_object*); @@ -1118,7 +1082,6 @@ lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__9; lean_object* l_Lean_Parser_Syntax_binary___closed__2; lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_macroArg___elambda__1(lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_checkOutsideQuot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Command_macro__rules_parenthesizer(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Syntax_cat_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__1; @@ -1139,7 +1102,6 @@ lean_object* l_Lean_Parser_Syntax_nonReserved_formatter___closed__3; lean_object* l_Lean_Parser_Command_macroTailDefault_formatter___closed__3; lean_object* l_Lean_Parser_Command_notationItem_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_parserKind___elambda__1___closed__2; -lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__12; lean_object* l_Lean_Parser_Syntax_atom___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_mixfixKind___closed__6; @@ -1170,7 +1132,6 @@ lean_object* l_Lean_Parser_Syntax_binary_parenthesizer___closed__5; lean_object* l_Lean_Parser_Command_macroTailTactic___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__8; lean_object* l_Lean_Parser_optionalFn(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__16; lean_object* l_Lean_Parser_Command_mixfixKind___closed__3; lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__1; lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__8; @@ -1196,20 +1157,15 @@ lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__1; lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_stx_quot___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_maxSymbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Command_notation_parenthesizer___closed__9; lean_object* l_Lean_Parser_Command_elabArg_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__2; lean_object* l_Lean_Parser_Command_macro___closed__8; lean_object* l_Lean_Parser_Command_macroTailDefault_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_mixfixKind___closed__4; -lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__15; lean_object* l_Lean_Parser_Command_macroArgSimple___closed__2; lean_object* l_Lean_Parser_maxSymbol_formatter___closed__1; -lean_object* l_Lean_Parser_Command_mixfix___closed__14; lean_object* l_Lean_Parser_Command_macro_parenthesizer___closed__1; lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1___closed__2; -lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__18; -lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__12; lean_object* l_Lean_Parser_Command_syntax_formatter___closed__3; lean_object* l_Lean_Parser_Command_parserKindPrio___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_notationItem_parenthesizer___closed__3; @@ -1222,7 +1178,6 @@ lean_object* l_Lean_Parser_Command_parserPrio___closed__3; lean_object* l_Lean_Parser_Command_macroArg_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_macro__rules___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__2; -lean_object* l_Lean_Parser_Command_notation_formatter___closed__12; lean_object* l_Lean_Parser_Command_syntaxCat___closed__4; lean_object* l_Lean_Parser_Command_optKindPrio_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Command_macro_formatter(lean_object*); @@ -1286,7 +1241,6 @@ lean_object* l_Lean_Parser_Command_elabTail_formatter___closed__6; lean_object* l___regBuiltin_Lean_Parser_Command_syntaxCat_formatter(lean_object*); lean_object* l_Lean_Parser_Command_notationItem___elambda__1___closed__3; lean_object* l_Lean_Parser_Command_macroTailDefault___closed__2; -lean_object* l_Lean_Parser_Command_mixfix_parenthesizer___closed__12; lean_object* l_Lean_Parser_Syntax_cat___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__1; lean_object* l_Lean_Parser_Command_prefix_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1347,13 +1301,11 @@ lean_object* l_Lean_Parser_Command_elab___closed__8; lean_object* l_Lean_Parser_Command_elab__rules_parenthesizer___closed__7; lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_macroTailCommand_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__10; lean_object* l___regBuiltin_Lean_Parser_Syntax_atom_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Command_infixr___elambda__1___closed__8; lean_object* l___regBuiltin_Lean_Parser_Command_notation_formatter___closed__1; lean_object* l_Lean_Parser_Command_macro__rules_parenthesizer___closed__3; lean_object* l_Lean_Parser_Command_elab__rules___elambda__1___closed__3; -lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_prefix_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_syntaxCat; lean_object* l_Lean_Parser_Command_macroTail; @@ -1368,7 +1320,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_categoryParserOfStack_parenthesi lean_object* l_Lean_PrettyPrinter_Parenthesizer_many_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_elab__rules_formatter___closed__4; lean_object* l_Lean_Parser_Command_macroTailTactic_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__14; lean_object* l_Lean_Parser_categoryParserOfStack___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_optPrecedence_parenthesizer___closed__2; lean_object* l_Lean_Parser_Command_elabTail___closed__3; @@ -1434,7 +1385,6 @@ lean_object* l_Lean_Parser_Command_notationItem_formatter(lean_object*, lean_obj lean_object* l_Lean_Parser_Command_macroTailCommand___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_notationItem; lean_object* l_Lean_Parser_optPrecedence___closed__1; -lean_object* l_Lean_Parser_Command_mixfix_formatter___closed__16; lean_object* l_Lean_Parser_Command_prefix_parenthesizer___closed__2; lean_object* l_Lean_Parser_Syntax_nonReserved_formatter___closed__1; extern lean_object* l_Lean_Parser_Term_quot___closed__3; @@ -6002,7 +5952,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__7( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_optPrecedence___closed__2; +x_1 = l_Lean_Parser_Command_optPrio___closed__4; x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -6014,7 +5964,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__8( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfixKind___closed__5; +x_1 = l_Lean_Parser_optPrecedence___closed__2; x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -6026,7 +5976,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__9( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_checkOutsideQuot___closed__1; +x_1 = l_Lean_Parser_Command_mixfixKind___closed__5; x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__8; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -6038,9 +5988,9 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__10 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_optPrio___closed__4; -x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__6; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_1 = l_Lean_Parser_Command_mixfix___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -6050,68 +6000,8 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__11 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_optPrecedence___closed__2; -x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfixKind___closed__5; -x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__11; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_checkInsideQuot___closed__1; -x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__12; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix___elambda__1___closed__9; -x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__13; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__14; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; -x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__15; +x_2 = l_Lean_Parser_Command_mixfix___elambda__1___closed__10; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -6125,7 +6015,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_3 = l_Lean_Parser_Command_mixfix___elambda__1___closed__4; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Command_mixfix___elambda__1___closed__16; +x_5 = l_Lean_Parser_Command_mixfix___elambda__1___closed__11; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -6157,7 +6047,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_optPrecedence; +x_1 = l_Lean_Parser_Command_optPrio; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Command_mixfix___closed__2; @@ -6169,7 +6059,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_mixfixKind; +x_1 = l_Lean_Parser_optPrecedence; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Command_mixfix___closed__3; @@ -6180,102 +6070,48 @@ return x_4; static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_mixfix___closed__4; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_mixfixKind; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_mixfix___closed__4; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_optPrio; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_mixfix___closed__2; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_mixfix___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_mixfix___closed__5; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_optPrecedence; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_mixfix___closed__6; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_mixfix___closed__6; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_mixfixKind; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_mixfix___closed__7; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_mixfix___closed__8; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix___closed__5; -x_2 = l_Lean_Parser_Command_mixfix___closed__9; -x_3 = l_Lean_Parser_orelseInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_mixfix___closed__10; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_mixfix___closed__11; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_mixfix___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_mixfix___closed__12; +x_3 = l_Lean_Parser_Command_mixfix___closed__7; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__14() { +static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__9() { _start: { lean_object* x_1; @@ -6283,12 +6119,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_mixfix___elambda__1), 2, return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__15() { +static lean_object* _init_l_Lean_Parser_Command_mixfix___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix___closed__13; -x_2 = l_Lean_Parser_Command_mixfix___closed__14; +x_1 = l_Lean_Parser_Command_mixfix___closed__8; +x_2 = l_Lean_Parser_Command_mixfix___closed__9; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -6299,7 +6135,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_mixfix___closed__15; +x_1 = l_Lean_Parser_Command_mixfix___closed__10; return x_1; } } @@ -6722,8 +6558,16 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__4() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_optPrio_formatter), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_cat_formatter___closed__2; +x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__4; x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -6731,20 +6575,12 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_mixfixKind_formatter), 5, 0); -return x_1; -} -} static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__5; -x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__4; +x_1 = l_Lean_Parser_Syntax_cat_formatter___closed__2; +x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -6755,7 +6591,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__7() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkOutsideQuot_formatter___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_mixfixKind_formatter), 5, 0); return x_1; } } @@ -6774,86 +6610,10 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__9() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_optPrio_formatter), 5, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__9; -x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_cat_formatter___closed__2; -x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__5; -x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__11; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkInsideQuot_formatter___boxed), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__13; -x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__12; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__8; -x_2 = l_Lean_Parser_Command_mixfix_formatter___closed__14; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_formatter___closed__16() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_mixfix___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_mixfix_formatter___closed__15; +x_3 = l_Lean_Parser_Command_mixfix_formatter___closed__8; 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); @@ -6866,7 +6626,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_mixfix_formatter___closed__1; -x_7 = l_Lean_Parser_Command_mixfix_formatter___closed__16; +x_7 = l_Lean_Parser_Command_mixfix_formatter___closed__9; 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; } @@ -7234,8 +6994,16 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__4() { _start: { +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_optPrio_parenthesizer), 5, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__2; +x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__4; x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -7243,20 +7011,12 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_mixfixKind_parenthesizer), 5, 0); -return x_1; -} -} static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__5; -x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__4; +x_1 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -7267,7 +7027,7 @@ static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__7 _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkOutsideQuot_parenthesizer___boxed), 4, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_mixfixKind_parenthesizer), 5, 0); return x_1; } } @@ -7286,86 +7046,10 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__9() { _start: { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_optPrio_parenthesizer), 5, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__9; -x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__5; -x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__11; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkInsideQuot_parenthesizer___boxed), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__13; -x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__12; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__8; -x_2 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__14; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__16() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_mixfix___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__15; +x_3 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__8; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -7378,7 +7062,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__16; +x_7 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__9; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -7871,7 +7555,7 @@ static lean_object* _init_l_Lean_Parser_Command_notation___elambda__1___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_optPrecedence___closed__2; +x_1 = l_Lean_Parser_Command_optPrio___closed__4; x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__8; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -7883,7 +7567,7 @@ static lean_object* _init_l_Lean_Parser_Command_notation___elambda__1___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation___elambda__1___closed__6; +x_1 = l_Lean_Parser_optPrecedence___closed__2; x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__9; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -7895,7 +7579,7 @@ static lean_object* _init_l_Lean_Parser_Command_notation___elambda__1___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_checkOutsideQuot___closed__1; +x_1 = l_Lean_Parser_Command_notation___elambda__1___closed__6; x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__10; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -7907,9 +7591,9 @@ static lean_object* _init_l_Lean_Parser_Command_notation___elambda__1___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_optPrio___closed__4; -x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__8; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_1 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__11; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -7919,68 +7603,8 @@ static lean_object* _init_l_Lean_Parser_Command_notation___elambda__1___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_optPrecedence___closed__2; -x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__12; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation___elambda__1___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation___elambda__1___closed__6; -x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__13; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation___elambda__1___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_checkInsideQuot___closed__1; -x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__14; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation___elambda__1___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation___elambda__1___closed__11; -x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__15; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation___elambda__1___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__16; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation___elambda__1___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; -x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__17; +x_2 = l_Lean_Parser_Command_notation___elambda__1___closed__12; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -7994,7 +7618,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_3 = l_Lean_Parser_Command_notation___elambda__1___closed__4; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Command_notation___elambda__1___closed__18; +x_5 = l_Lean_Parser_Command_notation___elambda__1___closed__13; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -8034,7 +7658,7 @@ static lean_object* _init_l_Lean_Parser_Command_notation___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_optPrecedence; +x_1 = l_Lean_Parser_Command_optPrio; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Command_notation___closed__3; @@ -8045,18 +7669,20 @@ return x_4; static lean_object* _init_l_Lean_Parser_Command_notation___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation___closed__1; -x_2 = l_Lean_Parser_Command_notation___closed__4; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_optPrecedence; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Command_notation___closed__4; +x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_notation___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; +x_1 = l_Lean_Parser_Command_notation___closed__1; x_2 = l_Lean_Parser_Command_notation___closed__5; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -8065,90 +7691,36 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_notation___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_optPrio; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_notation___closed__3; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_2 = l_Lean_Parser_Command_notation___closed__6; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_notation___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_optPrecedence; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Command_notation___closed__7; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Command_notation___closed__7; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_notation___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation___closed__1; -x_2 = l_Lean_Parser_Command_notation___closed__8; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_notation___closed__9; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation___closed__6; -x_2 = l_Lean_Parser_Command_notation___closed__10; -x_3 = l_Lean_Parser_orelseInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_2 = l_Lean_Parser_Command_notation___closed__11; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Command_notation___closed__12; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation___closed__14() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_notation___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Command_notation___closed__13; +x_3 = l_Lean_Parser_Command_notation___closed__8; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_notation___closed__15() { +static lean_object* _init_l_Lean_Parser_Command_notation___closed__10() { _start: { lean_object* x_1; @@ -8156,12 +7728,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_notation___elambda__1), 2 return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_notation___closed__16() { +static lean_object* _init_l_Lean_Parser_Command_notation___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation___closed__14; -x_2 = l_Lean_Parser_Command_notation___closed__15; +x_1 = l_Lean_Parser_Command_notation___closed__9; +x_2 = l_Lean_Parser_Command_notation___closed__10; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -8172,7 +7744,7 @@ static lean_object* _init_l_Lean_Parser_Command_notation() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_notation___closed__16; +x_1 = l_Lean_Parser_Command_notation___closed__11; return x_1; } } @@ -8344,7 +7916,7 @@ static lean_object* _init_l_Lean_Parser_Command_notation_formatter___closed__6() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_cat_formatter___closed__2; +x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__4; x_2 = l_Lean_Parser_Command_notation_formatter___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -8356,7 +7928,7 @@ static lean_object* _init_l_Lean_Parser_Command_notation_formatter___closed__7() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation_formatter___closed__2; +x_1 = l_Lean_Parser_Syntax_cat_formatter___closed__2; x_2 = l_Lean_Parser_Command_notation_formatter___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -8368,7 +7940,7 @@ static lean_object* _init_l_Lean_Parser_Command_notation_formatter___closed__8() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__7; +x_1 = l_Lean_Parser_Command_notation_formatter___closed__2; x_2 = l_Lean_Parser_Command_notation_formatter___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -8379,70 +7951,10 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_notation_formatter___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__9; -x_2 = l_Lean_Parser_Command_notation_formatter___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation_formatter___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_cat_formatter___closed__2; -x_2 = l_Lean_Parser_Command_notation_formatter___closed__9; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation_formatter___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation_formatter___closed__2; -x_2 = l_Lean_Parser_Command_notation_formatter___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation_formatter___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__13; -x_2 = l_Lean_Parser_Command_notation_formatter___closed__11; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation_formatter___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation_formatter___closed__8; -x_2 = l_Lean_Parser_Command_notation_formatter___closed__12; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation_formatter___closed__14() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_notation___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_notation_formatter___closed__13; +x_3 = l_Lean_Parser_Command_notation_formatter___closed__8; 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); @@ -8455,7 +7967,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_notation_formatter___closed__1; -x_7 = l_Lean_Parser_Command_notation_formatter___closed__14; +x_7 = l_Lean_Parser_Command_notation_formatter___closed__9; 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; } @@ -8618,7 +8130,7 @@ static lean_object* _init_l_Lean_Parser_Command_notation_parenthesizer___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__2; +x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__4; x_2 = l_Lean_Parser_Command_notation_parenthesizer___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -8630,7 +8142,7 @@ static lean_object* _init_l_Lean_Parser_Command_notation_parenthesizer___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; +x_1 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__2; x_2 = l_Lean_Parser_Command_notation_parenthesizer___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -8642,7 +8154,7 @@ static lean_object* _init_l_Lean_Parser_Command_notation_parenthesizer___closed_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__7; +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; x_2 = l_Lean_Parser_Command_notation_parenthesizer___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -8653,70 +8165,10 @@ return x_3; static lean_object* _init_l_Lean_Parser_Command_notation_parenthesizer___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__9; -x_2 = l_Lean_Parser_Command_notation_parenthesizer___closed__4; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation_parenthesizer___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Syntax_cat_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Command_notation_parenthesizer___closed__8; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation_parenthesizer___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Command_notation_parenthesizer___closed__9; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation_parenthesizer___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__13; -x_2 = l_Lean_Parser_Command_notation_parenthesizer___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation_parenthesizer___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_notation_parenthesizer___closed__7; -x_2 = l_Lean_Parser_Command_notation_parenthesizer___closed__11; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_notation_parenthesizer___closed__13() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_notation___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_notation_parenthesizer___closed__12; +x_3 = l_Lean_Parser_Command_notation_parenthesizer___closed__7; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -8729,7 +8181,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_notation_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Command_notation_parenthesizer___closed__13; +x_7 = l_Lean_Parser_Command_notation_parenthesizer___closed__8; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -13318,7 +12770,7 @@ static lean_object* _init_l_Lean_Parser_Command_macro_formatter___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__9; +x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__4; x_2 = l_Lean_Parser_Command_macro_formatter___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -13867,7 +13319,7 @@ static lean_object* _init_l_Lean_Parser_Command_macro_parenthesizer___closed__7( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__9; +x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__4; x_2 = l_Lean_Parser_Command_macro_parenthesizer___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -15195,7 +14647,7 @@ static lean_object* _init_l_Lean_Parser_Command_elab_formatter___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__9; +x_1 = l_Lean_Parser_Command_mixfix_formatter___closed__4; x_2 = l_Lean_Parser_Command_elab_formatter___closed__8; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -15417,7 +14869,7 @@ static lean_object* _init_l_Lean_Parser_Command_elab_parenthesizer___closed__8() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__9; +x_1 = l_Lean_Parser_Command_mixfix_parenthesizer___closed__4; x_2 = l_Lean_Parser_Command_elab_parenthesizer___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -16306,16 +15758,6 @@ l_Lean_Parser_Command_mixfix___elambda__1___closed__10 = _init_l_Lean_Parser_Com lean_mark_persistent(l_Lean_Parser_Command_mixfix___elambda__1___closed__10); l_Lean_Parser_Command_mixfix___elambda__1___closed__11 = _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__11(); lean_mark_persistent(l_Lean_Parser_Command_mixfix___elambda__1___closed__11); -l_Lean_Parser_Command_mixfix___elambda__1___closed__12 = _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix___elambda__1___closed__12); -l_Lean_Parser_Command_mixfix___elambda__1___closed__13 = _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__13(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix___elambda__1___closed__13); -l_Lean_Parser_Command_mixfix___elambda__1___closed__14 = _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__14(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix___elambda__1___closed__14); -l_Lean_Parser_Command_mixfix___elambda__1___closed__15 = _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__15(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix___elambda__1___closed__15); -l_Lean_Parser_Command_mixfix___elambda__1___closed__16 = _init_l_Lean_Parser_Command_mixfix___elambda__1___closed__16(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix___elambda__1___closed__16); l_Lean_Parser_Command_mixfix___closed__1 = _init_l_Lean_Parser_Command_mixfix___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_mixfix___closed__1); l_Lean_Parser_Command_mixfix___closed__2 = _init_l_Lean_Parser_Command_mixfix___closed__2(); @@ -16336,16 +15778,6 @@ l_Lean_Parser_Command_mixfix___closed__9 = _init_l_Lean_Parser_Command_mixfix___ lean_mark_persistent(l_Lean_Parser_Command_mixfix___closed__9); l_Lean_Parser_Command_mixfix___closed__10 = _init_l_Lean_Parser_Command_mixfix___closed__10(); lean_mark_persistent(l_Lean_Parser_Command_mixfix___closed__10); -l_Lean_Parser_Command_mixfix___closed__11 = _init_l_Lean_Parser_Command_mixfix___closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix___closed__11); -l_Lean_Parser_Command_mixfix___closed__12 = _init_l_Lean_Parser_Command_mixfix___closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix___closed__12); -l_Lean_Parser_Command_mixfix___closed__13 = _init_l_Lean_Parser_Command_mixfix___closed__13(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix___closed__13); -l_Lean_Parser_Command_mixfix___closed__14 = _init_l_Lean_Parser_Command_mixfix___closed__14(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix___closed__14); -l_Lean_Parser_Command_mixfix___closed__15 = _init_l_Lean_Parser_Command_mixfix___closed__15(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix___closed__15); l_Lean_Parser_Command_mixfix = _init_l_Lean_Parser_Command_mixfix(); lean_mark_persistent(l_Lean_Parser_Command_mixfix); res = l___regBuiltinParser_Lean_Parser_Command_mixfix(lean_io_mk_world()); @@ -16419,20 +15851,6 @@ l_Lean_Parser_Command_mixfix_formatter___closed__8 = _init_l_Lean_Parser_Command lean_mark_persistent(l_Lean_Parser_Command_mixfix_formatter___closed__8); l_Lean_Parser_Command_mixfix_formatter___closed__9 = _init_l_Lean_Parser_Command_mixfix_formatter___closed__9(); lean_mark_persistent(l_Lean_Parser_Command_mixfix_formatter___closed__9); -l_Lean_Parser_Command_mixfix_formatter___closed__10 = _init_l_Lean_Parser_Command_mixfix_formatter___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_formatter___closed__10); -l_Lean_Parser_Command_mixfix_formatter___closed__11 = _init_l_Lean_Parser_Command_mixfix_formatter___closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_formatter___closed__11); -l_Lean_Parser_Command_mixfix_formatter___closed__12 = _init_l_Lean_Parser_Command_mixfix_formatter___closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_formatter___closed__12); -l_Lean_Parser_Command_mixfix_formatter___closed__13 = _init_l_Lean_Parser_Command_mixfix_formatter___closed__13(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_formatter___closed__13); -l_Lean_Parser_Command_mixfix_formatter___closed__14 = _init_l_Lean_Parser_Command_mixfix_formatter___closed__14(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_formatter___closed__14); -l_Lean_Parser_Command_mixfix_formatter___closed__15 = _init_l_Lean_Parser_Command_mixfix_formatter___closed__15(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_formatter___closed__15); -l_Lean_Parser_Command_mixfix_formatter___closed__16 = _init_l_Lean_Parser_Command_mixfix_formatter___closed__16(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_formatter___closed__16); l___regBuiltin_Lean_Parser_Command_mixfix_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_mixfix_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_mixfix_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Command_mixfix_formatter(lean_io_mk_world()); @@ -16496,20 +15914,6 @@ l_Lean_Parser_Command_mixfix_parenthesizer___closed__8 = _init_l_Lean_Parser_Com lean_mark_persistent(l_Lean_Parser_Command_mixfix_parenthesizer___closed__8); l_Lean_Parser_Command_mixfix_parenthesizer___closed__9 = _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__9(); lean_mark_persistent(l_Lean_Parser_Command_mixfix_parenthesizer___closed__9); -l_Lean_Parser_Command_mixfix_parenthesizer___closed__10 = _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_parenthesizer___closed__10); -l_Lean_Parser_Command_mixfix_parenthesizer___closed__11 = _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_parenthesizer___closed__11); -l_Lean_Parser_Command_mixfix_parenthesizer___closed__12 = _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_parenthesizer___closed__12); -l_Lean_Parser_Command_mixfix_parenthesizer___closed__13 = _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__13(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_parenthesizer___closed__13); -l_Lean_Parser_Command_mixfix_parenthesizer___closed__14 = _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__14(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_parenthesizer___closed__14); -l_Lean_Parser_Command_mixfix_parenthesizer___closed__15 = _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__15(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_parenthesizer___closed__15); -l_Lean_Parser_Command_mixfix_parenthesizer___closed__16 = _init_l_Lean_Parser_Command_mixfix_parenthesizer___closed__16(); -lean_mark_persistent(l_Lean_Parser_Command_mixfix_parenthesizer___closed__16); l___regBuiltin_Lean_Parser_Command_mixfix_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_mixfix_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_mixfix_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Command_mixfix_parenthesizer(lean_io_mk_world()); @@ -16603,16 +16007,6 @@ l_Lean_Parser_Command_notation___elambda__1___closed__12 = _init_l_Lean_Parser_C lean_mark_persistent(l_Lean_Parser_Command_notation___elambda__1___closed__12); l_Lean_Parser_Command_notation___elambda__1___closed__13 = _init_l_Lean_Parser_Command_notation___elambda__1___closed__13(); lean_mark_persistent(l_Lean_Parser_Command_notation___elambda__1___closed__13); -l_Lean_Parser_Command_notation___elambda__1___closed__14 = _init_l_Lean_Parser_Command_notation___elambda__1___closed__14(); -lean_mark_persistent(l_Lean_Parser_Command_notation___elambda__1___closed__14); -l_Lean_Parser_Command_notation___elambda__1___closed__15 = _init_l_Lean_Parser_Command_notation___elambda__1___closed__15(); -lean_mark_persistent(l_Lean_Parser_Command_notation___elambda__1___closed__15); -l_Lean_Parser_Command_notation___elambda__1___closed__16 = _init_l_Lean_Parser_Command_notation___elambda__1___closed__16(); -lean_mark_persistent(l_Lean_Parser_Command_notation___elambda__1___closed__16); -l_Lean_Parser_Command_notation___elambda__1___closed__17 = _init_l_Lean_Parser_Command_notation___elambda__1___closed__17(); -lean_mark_persistent(l_Lean_Parser_Command_notation___elambda__1___closed__17); -l_Lean_Parser_Command_notation___elambda__1___closed__18 = _init_l_Lean_Parser_Command_notation___elambda__1___closed__18(); -lean_mark_persistent(l_Lean_Parser_Command_notation___elambda__1___closed__18); l_Lean_Parser_Command_notation___closed__1 = _init_l_Lean_Parser_Command_notation___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_notation___closed__1); l_Lean_Parser_Command_notation___closed__2 = _init_l_Lean_Parser_Command_notation___closed__2(); @@ -16635,16 +16029,6 @@ l_Lean_Parser_Command_notation___closed__10 = _init_l_Lean_Parser_Command_notati lean_mark_persistent(l_Lean_Parser_Command_notation___closed__10); l_Lean_Parser_Command_notation___closed__11 = _init_l_Lean_Parser_Command_notation___closed__11(); lean_mark_persistent(l_Lean_Parser_Command_notation___closed__11); -l_Lean_Parser_Command_notation___closed__12 = _init_l_Lean_Parser_Command_notation___closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_notation___closed__12); -l_Lean_Parser_Command_notation___closed__13 = _init_l_Lean_Parser_Command_notation___closed__13(); -lean_mark_persistent(l_Lean_Parser_Command_notation___closed__13); -l_Lean_Parser_Command_notation___closed__14 = _init_l_Lean_Parser_Command_notation___closed__14(); -lean_mark_persistent(l_Lean_Parser_Command_notation___closed__14); -l_Lean_Parser_Command_notation___closed__15 = _init_l_Lean_Parser_Command_notation___closed__15(); -lean_mark_persistent(l_Lean_Parser_Command_notation___closed__15); -l_Lean_Parser_Command_notation___closed__16 = _init_l_Lean_Parser_Command_notation___closed__16(); -lean_mark_persistent(l_Lean_Parser_Command_notation___closed__16); l_Lean_Parser_Command_notation = _init_l_Lean_Parser_Command_notation(); lean_mark_persistent(l_Lean_Parser_Command_notation); res = l___regBuiltinParser_Lean_Parser_Command_notation(lean_io_mk_world()); @@ -16680,16 +16064,6 @@ l_Lean_Parser_Command_notation_formatter___closed__8 = _init_l_Lean_Parser_Comma lean_mark_persistent(l_Lean_Parser_Command_notation_formatter___closed__8); l_Lean_Parser_Command_notation_formatter___closed__9 = _init_l_Lean_Parser_Command_notation_formatter___closed__9(); lean_mark_persistent(l_Lean_Parser_Command_notation_formatter___closed__9); -l_Lean_Parser_Command_notation_formatter___closed__10 = _init_l_Lean_Parser_Command_notation_formatter___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_notation_formatter___closed__10); -l_Lean_Parser_Command_notation_formatter___closed__11 = _init_l_Lean_Parser_Command_notation_formatter___closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_notation_formatter___closed__11); -l_Lean_Parser_Command_notation_formatter___closed__12 = _init_l_Lean_Parser_Command_notation_formatter___closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_notation_formatter___closed__12); -l_Lean_Parser_Command_notation_formatter___closed__13 = _init_l_Lean_Parser_Command_notation_formatter___closed__13(); -lean_mark_persistent(l_Lean_Parser_Command_notation_formatter___closed__13); -l_Lean_Parser_Command_notation_formatter___closed__14 = _init_l_Lean_Parser_Command_notation_formatter___closed__14(); -lean_mark_persistent(l_Lean_Parser_Command_notation_formatter___closed__14); l___regBuiltin_Lean_Parser_Command_notation_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_notation_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_notation_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Command_notation_formatter(lean_io_mk_world()); @@ -16723,16 +16097,6 @@ l_Lean_Parser_Command_notation_parenthesizer___closed__7 = _init_l_Lean_Parser_C lean_mark_persistent(l_Lean_Parser_Command_notation_parenthesizer___closed__7); l_Lean_Parser_Command_notation_parenthesizer___closed__8 = _init_l_Lean_Parser_Command_notation_parenthesizer___closed__8(); lean_mark_persistent(l_Lean_Parser_Command_notation_parenthesizer___closed__8); -l_Lean_Parser_Command_notation_parenthesizer___closed__9 = _init_l_Lean_Parser_Command_notation_parenthesizer___closed__9(); -lean_mark_persistent(l_Lean_Parser_Command_notation_parenthesizer___closed__9); -l_Lean_Parser_Command_notation_parenthesizer___closed__10 = _init_l_Lean_Parser_Command_notation_parenthesizer___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_notation_parenthesizer___closed__10); -l_Lean_Parser_Command_notation_parenthesizer___closed__11 = _init_l_Lean_Parser_Command_notation_parenthesizer___closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_notation_parenthesizer___closed__11); -l_Lean_Parser_Command_notation_parenthesizer___closed__12 = _init_l_Lean_Parser_Command_notation_parenthesizer___closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_notation_parenthesizer___closed__12); -l_Lean_Parser_Command_notation_parenthesizer___closed__13 = _init_l_Lean_Parser_Command_notation_parenthesizer___closed__13(); -lean_mark_persistent(l_Lean_Parser_Command_notation_parenthesizer___closed__13); l___regBuiltin_Lean_Parser_Command_notation_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_notation_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_notation_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Command_notation_parenthesizer(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index ebfee2c4c9..7377591616 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -94,6 +94,7 @@ lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_nomatch_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_macroLastArg_formatter___closed__2; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__17; lean_object* l___regBuiltin_Lean_Parser_Term_forall_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__10; @@ -838,6 +839,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_explicit_parenthesizer(lean_object* extern lean_object* l_Lean_Parser_Level_num___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_arrow_formatter(lean_object*); lean_object* l_Lean_Parser_Term_instBinder___closed__7; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; extern lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_uminus_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_explicit___closed__8; @@ -1654,7 +1656,6 @@ lean_object* l_Lean_Parser_Term_sufficesDecl_formatter(lean_object*, lean_object lean_object* l_Lean_Parser_Term_show_formatter___closed__3; lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__1; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__10; lean_object* l_Lean_Parser_Term_structInstArrayRef_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_paren___closed__6; @@ -2561,6 +2562,7 @@ lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_num; lean_object* l_Lean_Parser_Term_stateRefT_formatter___closed__4; +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__29; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__10; lean_object* l___regBuiltin_Lean_Parser_Term_decide_formatter___closed__1; lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer___closed__5; @@ -2611,7 +2613,6 @@ lean_object* l_Lean_Parser_Term_haveDecl_formatter___closed__3; lean_object* l_Lean_Parser_Term_let_x21___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__5; lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__1; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; lean_object* l_Lean_Parser_Term_macroDollarArg; lean_object* l_Lean_Parser_Term_simpleBinderWithoutType___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2620,7 +2621,6 @@ lean_object* l_Lean_Parser_Term_letRecDecls_formatter___closed__3; lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_binderType___closed__2; lean_object* l_Lean_Parser_Term_borrowed___closed__5; -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; lean_object* l_Lean_Parser_Term_explicitUniv___closed__8; lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__5; @@ -7151,7 +7151,7 @@ static lean_object* _init_l_Lean_Parser_Term_sort___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -7161,7 +7161,7 @@ static lean_object* _init_l_Lean_Parser_Term_sort___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; x_2 = l_Lean_Parser_Term_sort___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -7172,7 +7172,7 @@ static lean_object* _init_l_Lean_Parser_Term_sort___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__29; x_2 = l_String_trim(x_1); return x_2; } @@ -7203,7 +7203,7 @@ static lean_object* _init_l_Lean_Parser_Term_sort___elambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_2 = l_Lean_Parser_Term_sort___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -7259,7 +7259,7 @@ static lean_object* _init_l_Lean_Parser_Term_sort___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_2 = l_Lean_Parser_Term_sort___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -7320,7 +7320,7 @@ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__16; -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_4 = 1; x_5 = l_Lean_Parser_Term_sort; x_6 = lean_unsigned_to_nat(0u); @@ -7332,7 +7332,7 @@ static lean_object* _init_l_Lean_Parser_Term_sort_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__31; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__27; x_2 = l_Lean_Parser_Term_sort___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -7347,7 +7347,7 @@ static lean_object* _init_l_Lean_Parser_Term_sort_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__29; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -7369,7 +7369,7 @@ static lean_object* _init_l_Lean_Parser_Term_sort_formatter___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_sort_formatter___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -7402,7 +7402,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_4 = l___regBuiltin_Lean_Parser_Term_sort_formatter___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -7425,7 +7425,7 @@ static lean_object* _init_l_Lean_Parser_Term_sort_parenthesizer___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_type_parenthesizer___closed__7; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -7458,7 +7458,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__32; +x_3 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__28; x_4 = l___regBuiltin_Lean_Parser_Term_sort_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -43093,7 +43093,7 @@ static lean_object* _init_l_Lean_Parser_Level_quot___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; x_2 = l_Lean_Syntax_isQuot_match__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c index 61469907a0..cd6aa672bf 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c @@ -182,6 +182,7 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerForKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkPrec_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer_match__1___rarg(lean_object*, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; lean_object* l_Lean_PrettyPrinter_Parenthesizer_unicodeSymbol_parenthesizer___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer_match__1(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -455,7 +456,6 @@ lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2405____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2; uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*); -extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; lean_object* l_Lean_Syntax_Traverser_right(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -8006,7 +8006,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__37; +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1157____closed__33; x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3;