From aa3d7cd751316767ccce4f0c76d49cd01f8f357e Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Tue, 26 Oct 2021 10:53:35 +0200 Subject: [PATCH] chore: update stage0 --- stage0/src/Lean/Elab.lean | 1 + stage0/src/Lean/Elab/AuxDef.lean | 32 + stage0/src/Lean/Elab/ElabRules.lean | 13 +- stage0/src/Lean/Elab/Inductive.lean | 17 +- stage0/src/Lean/Elab/MacroRules.lean | 7 +- stage0/src/Lean/Elab/Notation.lean | 7 +- stage0/src/Lean/Meta/Basic.lean | 10 + stage0/src/Lean/Meta/IndPredBelow.lean | 95 +- stage0/src/Lean/MonadEnv.lean | 10 - stage0/src/bin/lean-gdb.py | 36 +- stage0/src/kernel/inductive.cpp | 7 +- stage0/src/library/constructions/brec_on.cpp | 4 +- .../library/constructions/no_confusion.cpp | 3 +- stage0/src/library/util.cpp | 18 +- stage0/src/library/util.h | 2 +- stage0/src/runtime/CMakeLists.txt | 2 +- stage0/src/runtime/mpn.cpp | 356 + stage0/src/runtime/mpn.h | 48 + stage0/stdlib/Lean/Elab.c | 6 +- stage0/stdlib/Lean/Elab/AuxDef.c | 1817 +++ stage0/stdlib/Lean/Elab/ElabRules.c | 5438 ++++---- stage0/stdlib/Lean/Elab/Inductive.c | 976 +- stage0/stdlib/Lean/Elab/MacroRules.c | 2868 ++--- stage0/stdlib/Lean/Elab/Notation.c | 10485 +++++++--------- .../PreDefinition/Structural/FindRecArg.c | 923 +- stage0/stdlib/Lean/Meta/Basic.c | 258 + stage0/stdlib/Lean/Meta/IndPredBelow.c | 5898 +++++---- stage0/stdlib/Lean/Meta/Injective.c | 230 +- stage0/stdlib/Lean/Meta/SizeOf.c | 255 +- stage0/stdlib/Lean/MonadEnv.c | 136 - 30 files changed, 15544 insertions(+), 14414 deletions(-) create mode 100644 stage0/src/Lean/Elab/AuxDef.lean create mode 100644 stage0/src/runtime/mpn.cpp create mode 100644 stage0/src/runtime/mpn.h create mode 100644 stage0/stdlib/Lean/Elab/AuxDef.c diff --git a/stage0/src/Lean/Elab.lean b/stage0/src/Lean/Elab.lean index 7b518d0b23..b56422ff40 100644 --- a/stage0/src/Lean/Elab.lean +++ b/stage0/src/Lean/Elab.lean @@ -24,6 +24,7 @@ import Lean.Elab.Inductive import Lean.Elab.Structure import Lean.Elab.Print import Lean.Elab.MutualDef +import Lean.Elab.AuxDef import Lean.Elab.PreDefinition import Lean.Elab.Deriving import Lean.Elab.DeclarationRange diff --git a/stage0/src/Lean/Elab/AuxDef.lean b/stage0/src/Lean/Elab/AuxDef.lean new file mode 100644 index 0000000000..fd7cedc7e2 --- /dev/null +++ b/stage0/src/Lean/Elab/AuxDef.lean @@ -0,0 +1,32 @@ +/- +Copyright (c) 2021 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Gabriel Ebner +-/ +import Lean.Elab.Command + +namespace Lean.Elab.Command +open Lean.Parser.Command +open Lean.Parser.Term + +/-- +Declares an auxiliary definition with an automatically generated name. +For example, `aux_def foo : Nat := 42` creates a definition +with an internal, unused name based on the suggestion `foo`. +-/ +scoped syntax (name := aux_def) docComment ? attributes ? "aux_def" ident+ ":" term ":=" term : command + +@[builtinCommandElab «aux_def»] +def elabAuxDef : CommandElab + | `($[$doc?:docComment]? $[$attrs?:attributes]? aux_def $[$suggestion:ident]* : $ty := $body) => do + let id := suggestion.map (·.getId.eraseMacroScopes) |>.foldl (· ++ ·) Name.anonymous + let id := `_aux ++ (← getMainModule) ++ `_ ++ id + let id := String.intercalate "_" <| id.components.map (·.toString) + let ns ← getCurrNamespace + -- make sure we only add a single component so that scoped workes + let id ← mkAuxName (ns.mkStr id) 1 + let id := id.replacePrefix ns Name.anonymous -- TODO: replace with def _root_.id + elabCommand <| + ← `($[$doc?:docComment]? $[$attrs?:attributes]? + def $(mkIdent id):ident : $ty := $body) + | _ => throwUnsupportedSyntax diff --git a/stage0/src/Lean/Elab/ElabRules.lean b/stage0/src/Lean/Elab/ElabRules.lean index 1c8214fcd7..751529f87a 100644 --- a/stage0/src/Lean/Elab/ElabRules.lean +++ b/stage0/src/Lean/Elab/ElabRules.lean @@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.MacroArgUtil +import Lean.Elab.AuxDef namespace Lean.Elab.Command open Lean.Syntax @@ -42,20 +43,24 @@ def elabElabRulesAux (doc? : Option Syntax) (attrKind : Syntax) (k : SyntaxNodeK | _, _ => throwError "invalid elab_rules command, specify category using `elab_rules : ...`" if let some expId := expty? then if catName == `term then - `($[$doc?:docComment]? @[termElab $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Term.TermElab := + `($[$doc?:docComment]? @[termElab $(← mkIdentFromRef k):ident] + aux_def elabRules $(mkIdent k) : Lean.Elab.Term.TermElab := fun stx expectedType? => Lean.Elab.Command.withExpectedType expectedType? fun $expId => match stx with $alts:matchAlt* | _ => throwUnsupportedSyntax) else throwErrorAt expId "syntax category '{catName}' does not support expected type specification" else if catName == `term then - `($[$doc?:docComment]? @[termElab $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Term.TermElab := + `($[$doc?:docComment]? @[termElab $(← mkIdentFromRef k):ident] + aux_def elabRules $(mkIdent k) : Lean.Elab.Term.TermElab := fun stx _ => match stx with $alts:matchAlt* | _ => throwUnsupportedSyntax) else if catName == `command then - `($[$doc?:docComment]? @[commandElab $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Command.CommandElab := + `($[$doc?:docComment]? @[commandElab $(← mkIdentFromRef k):ident] + aux_def elabRules $(mkIdent k) : Lean.Elab.Command.CommandElab := fun $alts:matchAlt* | _ => throwUnsupportedSyntax) else if catName == `tactic then - `($[$doc?:docComment]? @[tactic $(← mkIdentFromRef k):ident] def elabFn : Lean.Elab.Tactic.Tactic := + `($[$doc?:docComment]? @[tactic $(← mkIdentFromRef k):ident] + aux_def elabRules $(mkIdent k) : Lean.Elab.Tactic.Tactic := fun $alts:matchAlt* | _ => throwUnsupportedSyntax) else -- We considered making the command extensible and support new user-defined categories. We think it is unnecessary. diff --git a/stage0/src/Lean/Elab/Inductive.lean b/stage0/src/Lean/Elab/Inductive.lean index b7a3a7a962..13b80894dc 100644 --- a/stage0/src/Lean/Elab/Inductive.lean +++ b/stage0/src/Lean/Elab/Inductive.lean @@ -127,12 +127,13 @@ private partial def checkParamsAndResultType (type firstType : Expr) (numParams forallTelescopeCompatible type firstType numParams fun _ type firstType => forallTelescopeReducing type fun _ type => forallTelescopeReducing firstType fun _ firstType => do - match type with - | Expr.sort .. => - unless (← isDefEq firstType type) do - throwError "resulting universe mismatch, given{indentExpr type}\nexpected type{indentExpr firstType}" - | _ => - throwError "unexpected inductive resulting type" + let type ← whnfD type + match type with + | Expr.sort .. => + unless (← isDefEq firstType type) do + throwError "resulting universe mismatch, given{indentExpr type}\nexpected type{indentExpr firstType}" + | _ => + throwError "unexpected inductive resulting type" catch | Exception.error ref msg => throw (Exception.error ref m!"invalid mutually inductive types, {msg}") | ex => throw ex @@ -257,9 +258,10 @@ private def levelMVarToParam (indTypes : List InductiveType) : TermElabM (List I private def getResultingUniverse : List InductiveType → TermElabM Level | [] => throwError "unexpected empty inductive declaration" | indType :: _ => forallTelescopeReducing indType.type fun _ r => do + let r ← whnfD r match r with | Expr.sort u _ => pure u - | _ => throwError "unexpected inductive type resulting type" + | _ => throwError "unexpected inductive type resulting type{indentExpr r}" def tmpIndParam := mkLevelParam `_tmp_ind_univ_param @@ -492,6 +494,7 @@ private def mkInductiveDecl (vars : Array Expr) (views : Array InductiveView) : | Except.ok levelParams => do let indTypes ← replaceIndFVarsWithConsts views indFVars levelParams numVars numParams indTypes let indTypes := applyInferMod views numParams indTypes + trace[Meta.debug] "levelParams: {levelParams}" let decl := Declaration.inductDecl levelParams numParams indTypes isUnsafe Term.ensureNoUnassignedMVars decl addDecl decl diff --git a/stage0/src/Lean/Elab/MacroRules.lean b/stage0/src/Lean/Elab/MacroRules.lean index 734c3e508f..e0125c1ff5 100644 --- a/stage0/src/Lean/Elab/MacroRules.lean +++ b/stage0/src/Lean/Elab/MacroRules.lean @@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Syntax +import Lean.Elab.AuxDef namespace Lean.Elab.Command open Lean.Syntax @@ -34,7 +35,8 @@ def elabMacroRulesAux (doc? : Option Syntax) (attrKind : Syntax) (k : SyntaxNode else throwErrorAt alt "invalid macro_rules alternative, unexpected syntax node kind '{k'}'" | _ => throwUnsupportedSyntax - `($[$doc?:docComment]? @[$attrKind:attrKind macro $(Lean.mkIdent k)] def myMacro : Macro := + `($[$doc?:docComment]? @[$attrKind:attrKind macro $(Lean.mkIdent k)] + aux_def macroRules $(mkIdent k) : Macro := fun $alts:matchAlt* | _ => throw Lean.Macro.Exception.unsupportedSyntax) @[builtinCommandElab «macro_rules»] def elabMacroRules : CommandElab := @@ -43,7 +45,8 @@ def elabMacroRulesAux (doc? : Option Syntax) (attrKind : Syntax) (k : SyntaxNode expandNoKindMacroRulesAux alts "macro_rules" fun kind? alts => `($[$doc?:docComment]? $attrKind:attrKind macro_rules $[(kind := $(mkIdent <$> kind?))]? $alts:matchAlt*) | `($[$doc?:docComment]? $attrKind:attrKind macro_rules (kind := $kind) | $x:ident => $rhs) => - `($[$doc?:docComment]? @[$attrKind:attrKind macro $kind] def myMacro : Macro := fun $x:ident => $rhs) + `($[$doc?:docComment]? @[$attrKind:attrKind macro $kind] + aux_def macroRules $kind : Macro := fun $x:ident => $rhs) | `($[$doc?:docComment]? $attrKind:attrKind macro_rules (kind := $kind) $alts:matchAlt*) => do elabMacroRulesAux doc? attrKind (← resolveSyntaxKind kind.getId) alts | _ => throwUnsupportedSyntax diff --git a/stage0/src/Lean/Elab/Notation.lean b/stage0/src/Lean/Elab/Notation.lean index 6291658b34..ab72486838 100644 --- a/stage0/src/Lean/Elab/Notation.lean +++ b/stage0/src/Lean/Elab/Notation.lean @@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Elab.Syntax +import Lean.Elab.AuxDef namespace Lean.Elab.Command open Lean.Syntax @@ -52,12 +53,14 @@ def mkSimpleDelab (attrKind : Syntax) (vars : Array Syntax) (pat qrhs : Syntax) guard <| args.all (Syntax.isIdent ∘ getAntiquotTerm) guard <| args.allDiff -- replace head constant with (unused) antiquotation so we're not dependent on the exact pretty printing of the head - `(@[$attrKind:attrKind appUnexpander $(mkIdent c):ident] def unexpand : Lean.PrettyPrinter.Unexpander := fun + `(@[$attrKind:attrKind appUnexpander $(mkIdent c):ident] + aux_def unexpand $(mkIdent c) : Lean.PrettyPrinter.Unexpander := fun | `($$(_):ident $args*) => `($pat) | _ => throw ()) | `($c:ident) => let [(c, [])] ← Macro.resolveGlobalName c.getId | failure - `(@[$attrKind:attrKind appUnexpander $(mkIdent c):ident] def unexpand : Lean.PrettyPrinter.Unexpander + `(@[$attrKind:attrKind appUnexpander $(mkIdent c):ident] + aux_def unexpand $(mkIdent c) : Lean.PrettyPrinter.Unexpander := fun | `($$(_):ident) => `($pat) | _ => throw ()) | _ => failure diff --git a/stage0/src/Lean/Meta/Basic.lean b/stage0/src/Lean/Meta/Basic.lean index f520e60c67..d12bb8e480 100644 --- a/stage0/src/Lean/Meta/Basic.lean +++ b/stage0/src/Lean/Meta/Basic.lean @@ -1146,6 +1146,16 @@ def sortFVarIds (fvarIds : Array FVarId) : MetaM (Array FVarId) := do | none, none => Name.quickLt fvarId₁.name fvarId₂.name end Methods + +def isInductivePredicate (declName : Name) : MetaM Bool := do + match (← getEnv).find? declName with + | some (ConstantInfo.inductInfo { type := type, ..}) => + forallTelescopeReducing type fun _ type => do + match (← whnfD type) with + | Expr.sort u .. => return u == levelZero + | _ => return false + | _ => return false + end Meta export Meta (MetaM) diff --git a/stage0/src/Lean/Meta/IndPredBelow.lean b/stage0/src/Lean/Meta/IndPredBelow.lean index 2a36cd3fdc..18e3fccd75 100644 --- a/stage0/src/Lean/Meta/IndPredBelow.lean +++ b/stage0/src/Lean/Meta/IndPredBelow.lean @@ -55,15 +55,16 @@ def mkContext (declName : Name) : MetaM Context := do let indVal ← getConstInfoInduct declName let typeInfos ← indVal.all.toArray.mapM getConstInfoInduct let motiveTypes ← typeInfos.mapM motiveType - let motives ←motiveTypes.mapIdxM fun j motive => do - (←motiveName motiveTypes j.val, motive) - let headers := typeInfos.mapM $ mkHeader motives indVal.numParams + let motives ← motiveTypes.mapIdxM fun j motive => do + (← motiveName motiveTypes j.val, motive) + let headers ← typeInfos.mapM $ mkHeader motives indVal.numParams return { motives := motives typeInfos := typeInfos numParams := indVal.numParams - headers := ←headers - belowNames := ←indVal.all.toArray.map (· ++ `below) } + headers := headers + belowNames := (← indVal.all.toArray.map (· ++ `below)) + } where motiveName (motiveTypes : Array Expr) (i : Nat) : MetaM Name := if motiveTypes.size > 1 @@ -74,21 +75,21 @@ where (motives : Array (Name × Expr)) (numParams : Nat) (indVal : InductiveVal) : MetaM Expr := do - let header ← forallTelescope indVal.type fun xs t => do + let header ← forallTelescopeReducing indVal.type fun xs t => do withNewBinderInfos (xs.map fun x => (x.fvarId!, BinderInfo.implicit)) $ - mkForallFVars xs $ ←mkArrow (mkAppN (mkIndValConst indVal) xs) t + mkForallFVars xs (← mkArrow (mkAppN (mkIndValConst indVal) xs) t) addMotives motives numParams header addMotives (motives : Array (Name × Expr)) (numParams : Nat) : Expr → MetaM Expr := motives.foldrM (fun (motiveName, motive) t => - forallTelescope t fun xs s => do + forallTelescopeReducing t fun xs s => do let motiveType ← instantiateForall motive xs[:numParams] withLocalDecl motiveName BinderInfo.implicit motiveType fun motive => do mkForallFVars (xs.insertAt numParams motive) s) motiveType (indVal : InductiveVal) : MetaM Expr := - forallTelescope indVal.type fun xs t => do - mkForallFVars xs $ ←mkArrow (mkAppN (mkIndValConst indVal) xs) (mkSort levelZero) + forallTelescopeReducing indVal.type fun xs t => do + mkForallFVars xs (← mkArrow (mkAppN (mkIndValConst indVal) xs) (mkSort levelZero)) mkIndValConst (indVal : InductiveVal) : Expr := mkConst indVal.name $ indVal.levelParams.map mkLevelParam @@ -97,7 +98,7 @@ partial def mkCtorType (ctx : Context) (belowIdx : Nat) (originalCtor : ConstructorVal) : MetaM Expr := - forallTelescope originalCtor.type fun xs t => addHeaderVars + forallTelescopeReducing originalCtor.type fun xs t => addHeaderVars { innerType := t indVal := #[] motives := #[] @@ -122,8 +123,8 @@ where modifyBinders (vars : Variables) (i : Nat) := do if i < vars.args.size then let binder := vars.args[i] - let binderType ←inferType binder - if ←checkCount binderType then + let binderType ← inferType binder + if (← checkCount binderType) then mkBelowBinder vars binder binderType fun indValIdx x => mkMotiveBinder vars indValIdx binder binderType fun y => withNewBinderInfos #[(binder.fvarId!, BinderInfo.implicit)] do @@ -151,11 +152,10 @@ where checkCount (domain : Expr) : MetaM Bool := do let run (x : StateRefT Nat MetaM Expr) : MetaM (Expr × Nat) := StateRefT'.run x 0 - let (_, cnt) ←run $ transform domain fun e => do + let (_, cnt) ← run $ transform domain fun e => do if let some name := e.constName? then if let some idx := ctx.typeInfos.findIdx? fun indVal => indVal.name == name then - let cnt ←get - set $ cnt + 1 + modify (. + 1) TransformStep.visit e if cnt > 1 then @@ -168,7 +168,7 @@ where (binder : Expr) (domain : Expr) {α : Type} (k : Nat → Expr → MetaM α) : MetaM α := do - forallTelescope domain fun xs t => do + forallTelescopeReducing domain fun xs t => do let fail _ := do throwError "only trivial inductive applications supported in premises:{indentExpr t}" @@ -193,7 +193,7 @@ where (binder : Expr) (domain : Expr) {α : Type} (k : Expr → MetaM α) : MetaM α := do - forallTelescope domain fun xs t => do + forallTelescopeReducing domain fun xs t => do t.withApp fun f args => do let hApp := mkAppN binder xs let t := mkAppN vars.motives[indValIdx] $ args[ctx.numParams:] ++ #[hApp] @@ -220,7 +220,8 @@ def mkInductiveType return { name := ctx.belowNames[i] type := ctx.headers[i] - ctors := ←indVal.ctors.mapM (mkConstructor ctx i) } + ctors := (← indVal.ctors.mapM (mkConstructor ctx i)) + } def mkBelowDecl (ctx : Context) : MetaM Declaration := do let lparams := ctx.typeInfos[0].levelParams @@ -268,8 +269,8 @@ where return (m, ⟨params, motives, indices, witness, indHyps⟩) applyIH (m : MVarId) (vars : BrecOnVariables) : MetaM (List MVarId) := do - match ←vars.indHyps.findSomeM? - (fun ih => do try some $ (←apply m $ mkFVar ih) catch ex => none) with + match (← vars.indHyps.findSomeM? + fun ih => do try some $ (←apply m $ mkFVar ih) catch ex => none) with | some goals => goals | none => throwError "cannot apply induction hypothesis: {MessageData.ofGoal m}" @@ -279,7 +280,7 @@ where let levelParams := indVal.levelParams.map mkLevelParam let motives ← ctx.motives.mapIdxM fun idx (_, motive) => do let motive ← instantiateForall motive params - forallTelescope motive fun xs _ => do + forallTelescopeReducing motive fun xs _ => do mkLambdaFVars xs $ mkAppN (mkConst ctx.belowNames[idx] levelParams) $ (params ++ motives ++ xs) let recursorInfo ← getConstInfo $ mkRecName indVal.name let recLevels := @@ -292,24 +293,24 @@ where applyCtors (ms : List MVarId) : MetaM $ List MVarId := do let mss ← ms.toArray.mapIdxM fun idx m => do let m ← introNPRec m - (←getMVarType m).withApp fun below args => + (← getMVarType m).withApp fun below args => withMVarContext m do - args.back.withApp fun ctor ctorArgs => do - let ctorName := ctor.constName!.updatePrefix below.constName! - let ctor := mkConst ctorName below.constLevels! - let ctorInfo ← getConstInfoCtor ctorName - let (mvars, _, t) ← forallMetaTelescope ctorInfo.type - let ctor := mkAppN ctor mvars - apply m ctor + args.back.withApp fun ctor ctorArgs => do + let ctorName := ctor.constName!.updatePrefix below.constName! + let ctor := mkConst ctorName below.constLevels! + let ctorInfo ← getConstInfoCtor ctorName + let (mvars, _, t) ← forallMetaTelescope ctorInfo.type + let ctor := mkAppN ctor mvars + apply m ctor return mss.foldr List.append [] introNPRec (m : MVarId) : MetaM MVarId := do - if (←getMVarType m).isForall then introNPRec (←intro1P m).2 else m + if (← getMVarType m).isForall then introNPRec (←intro1P m).2 else m closeGoal (vars : BrecOnVariables) (maxDepth : Nat) (m : MVarId) : MetaM Unit := do - unless ←isExprMVarAssigned m do + unless (← isExprMVarAssigned m) do let m ← introNPRec m - unless ←backwardsChaining m maxDepth do + unless (← backwardsChaining m maxDepth) do withMVarContext m do throwError "couldn't solve by backwards chaining ({``maxBackwardChainingDepth} = {maxDepth}): {MessageData.ofGoal m}" @@ -324,7 +325,7 @@ def mkBrecOnDecl (ctx : Context) (idx : Nat) : MetaM Declaration := do value := ←proveBrecOn ctx indVal type } where mkType : MetaM Expr := - forallTelescope ctx.headers[idx] fun xs t => do + forallTelescopeReducing ctx.headers[idx] fun xs t => do let params := xs[:ctx.numParams] let motives := xs[ctx.numParams:ctx.numParams + ctx.motives.size].toArray let indices := xs[ctx.numParams + ctx.motives.size:] @@ -342,7 +343,7 @@ where else mkFreshUserName "ih" let ih ← instantiateForall motive.2 params let mkDomain (_ : Array Expr) : MetaM Expr := - forallTelescope ih fun ys t => do + forallTelescopeReducing ih fun ys t => do let levels := ctx.typeInfos[idx].levelParams.map mkLevelParam let args := params ++ motives ++ ys let premise := @@ -358,7 +359,7 @@ partial def getBelowIndices (ctorName : Name) : MetaM $ Array Nat := do let ctorInfo ← getConstInfoCtor ctorName let belowCtorInfo ← getConstInfoCtor (ctorName.updatePrefix $ ctorInfo.induct ++ `below) let belowInductInfo ← getConstInfoInduct belowCtorInfo.induct - forallTelescope ctorInfo.type fun xs t => do + forallTelescopeReducing ctorInfo.type fun xs t => do loop xs belowCtorInfo.type #[] 0 0 where @@ -371,7 +372,7 @@ where let x := xs[xIdx] let xTy ← inferType x let yTy := rest.bindingDomain! - if ←isDefEq xTy yTy then + if (← isDefEq xTy yTy) then let rest ← instantiateForall rest #[x] loop xs rest (belowIndices.push yIdx) (xIdx + 1) (yIdx + 1) else @@ -379,12 +380,12 @@ where loop xs rest belowIndices xIdx (yIdx + 1) private def belowType (motive : Expr) (xs : Array Expr) (idx : Nat) : MetaM $ Name × Expr := do - (←inferType xs[idx]).withApp fun type args => do - let indName := type.constName! - let indInfo ← getConstInfoInduct indName - let belowArgs := args[:indInfo.numParams] ++ #[motive] ++ args[indInfo.numParams:] ++ #[xs[idx]] - let belowType := mkAppN (mkConst (indName ++ `below) type.constLevels!) belowArgs - (indName, belowType) + (← inferType xs[idx]).withApp fun type args => do + let indName := type.constName! + let indInfo ← getConstInfoInduct indName + let belowArgs := args[:indInfo.numParams] ++ #[motive] ++ args[indInfo.numParams:] ++ #[xs[idx]] + let belowType := mkAppN (mkConst (indName ++ `below) type.constLevels!) belowArgs + (indName, belowType) /-- This function adds an additional `below` discriminant to a matcher application. It is used for modifying the patterns, such that the structural recursion can use the new @@ -562,14 +563,14 @@ def findBelowIdx (xs : Array Expr) (motive : Expr) : MetaM $ Option (Expr × Nat xTy.withApp fun f args => match f.constName?, xs.indexOf? x with | some name, some idx => do - if ←isInductivePredicate name then + if (← isInductivePredicate name) then let (_, belowTy) ← belowType motive xs idx let below ← mkFreshExprSyntheticOpaqueMVar belowTy try trace[Meta.IndPredBelow.match] "{←Meta.ppGoal below.mvarId!}" - if ←backwardsChaining below.mvarId! 10 then + if (← backwardsChaining below.mvarId! 10) then trace[Meta.IndPredBelow.match] "Found below term in the local context: {below}" - if ←xs.anyM (isDefEq below) then none else (below, idx.val) + if (← xs.anyM (isDefEq below)) then none else (below, idx.val) else trace[Meta.IndPredBelow.match] "could not find below term in the local context" none @@ -578,7 +579,7 @@ def findBelowIdx (xs : Array Expr) (motive : Expr) : MetaM $ Option (Expr × Nat | _, _ => none def mkBelow (declName : Name) : MetaM Unit := do - if (←isInductivePredicate declName) then + if (← isInductivePredicate declName) then let x ← getConstInfoInduct declName if x.isRec then let ctx ← IndPredBelow.mkContext declName diff --git a/stage0/src/Lean/MonadEnv.lean b/stage0/src/Lean/MonadEnv.lean index 10f124b101..372c37a88f 100644 --- a/stage0/src/Lean/MonadEnv.lean +++ b/stage0/src/Lean/MonadEnv.lean @@ -19,16 +19,6 @@ def isInductive [Monad m] [MonadEnv m] (declName : Name) : m Bool := do | some (ConstantInfo.inductInfo ..) => return true | _ => return false -def isInductivePredicate [Monad m] [MonadEnv m] (declName : Name) : m Bool := do - match (← getEnv).find? declName with - | some (ConstantInfo.inductInfo { type := type, ..}) => return visit type - | _ => return false -where - visit : Expr → Bool - | Expr.sort u .. => u == levelZero - | Expr.forallE _ _ b _ => visit b - | _ => false - def isRecCore (env : Environment) (declName : Name) : Bool := match env.find? declName with | some (ConstantInfo.recInfo ..) => return true diff --git a/stage0/src/bin/lean-gdb.py b/stage0/src/bin/lean-gdb.py index cd8e7fbd1f..dc6e4fa937 100644 --- a/stage0/src/bin/lean-gdb.py +++ b/stage0/src/bin/lean-gdb.py @@ -21,20 +21,20 @@ def unbox(o): def to_cnstr(o): return o.cast(gdb.lookup_type('lean_ctor_object').pointer()) -def get_tag(header): - return header >> (32 + 8 + 8 + 8) +def get_tag(o): + return o['m_tag'] def get_cnstr_tag(o): - return get_tag(int(o.cast(gdb.lookup_type('lean_ctor_object').pointer()).dereference()['m_header']['m_header'])) + return get_tag(o.cast(gdb.lookup_type('lean_object').pointer())) -def get_num_objs(header): - return (header >> (32 + 8 + 8)) & 0xFF +def get_num_objs(o): + return o['m_other'] -def get_mem_kind(header): - return (header >> (32 + 8)) & 0xFF +def get_mem_kind(o): + return 0 if o['m_rc'] > 0 else 1 if o['m_rc'] < 0 else 2 -def get_rc(header): - return header & 0xFFFFFFFF +def get_rc(o): + return o['m_rc'] char_p = gdb.lookup_type('char').pointer() @@ -45,7 +45,8 @@ def get_closure_arg(o, i): return o.cast(gdb.lookup_type('lean_closure_object').pointer()).dereference()['m_objs'][i] def get_c_str(o): - return o.cast(gdb.lookup_type('lean_string_object').pointer()).dereference()['m_data'].reference_value().cast(char_p) + return o.cast(gdb.lookup_type('lean_string_object').pointer()).dereference()['m_data'] \ + .cast(gdb.lookup_type('char').pointer()).string() class LeanObjectPrinter: """Print a lean_object object.""" @@ -69,17 +70,16 @@ class LeanObjectPrinter: def __init__(self, val): self.val = val.address if not is_scalar(self.val): - self.header = int(self.val.dereference()['m_header']) - self.kind = max(0, get_tag(self.header) - LeanObjectPrinter.lean_max_ctor_tag) + self.kind = max(0, get_tag(self.val) - LeanObjectPrinter.lean_max_ctor_tag) def to_string(self): if is_scalar(self.val): return unbox(self.val) else: - k = get_mem_kind(self.header) + k = get_mem_kind(self.val) return "{} ({})".format(LeanObjectPrinter.kinds[self.kind][0], - get_rc(self.header) if k == 0 else - get_rc(self.header) + "/MT" if k == 1 else + get_rc(self.val) if k == 0 else + get_rc(self.val) + "/MT" if k == 1 else "PERSIST") def children(self): @@ -92,7 +92,7 @@ class LeanObjectPrinter: for f in fields: yield (f, val[f]) if typ == 'ctor': - for i in range(get_num_objs(self.header)): + for i in range(get_num_objs(self.val)): yield ('', val['m_objs'][i].cast(gdb.lookup_type('lean_object').pointer())) elif typ == 'array': for i in range(val['m_size']): @@ -101,7 +101,7 @@ class LeanObjectPrinter: for i in range(val['m_num_fixed']): yield ('', val['m_objs'][i].cast(gdb.lookup_type('lean_object').pointer())) elif typ == 'string': - yield ('', val['m_data'].reference_value().cast(char_p)) + yield ('', val['m_data']) class LeanOptionalPrinter: @@ -135,7 +135,7 @@ class LeanNamePrinter: def rec(o): prefix = get_cnstr_obj_arg(o, 0) part = get_cnstr_obj_arg(o, 1) - s = ("'%s'" % get_c_str(part).string()) if get_cnstr_tag(o) == 1 else str(unbox(part)) + s = ("'%s'" % get_c_str(part)) if get_cnstr_tag(o) == 1 else str(unbox(part)) if not is_scalar(prefix): return "%s.%s" % (rec(prefix), s) else: diff --git a/stage0/src/kernel/inductive.cpp b/stage0/src/kernel/inductive.cpp index 3522201b91..48902bf809 100644 --- a/stage0/src/kernel/inductive.cpp +++ b/stage0/src/kernel/inductive.cpp @@ -168,6 +168,7 @@ public: tc().check(type, m_lparams); m_nindices.push_back(0); unsigned i = 0; + type = whnf(type); while (is_pi(type)) { if (i < m_nparams) { if (first) { @@ -181,9 +182,11 @@ public: } i++; } else { - type = binding_body(type); + expr local = mk_local_decl_for(type); + type = instantiate(binding_body(type), local); m_nindices.back()++; } + type = whnf(type); } if (i != m_nparams) throw kernel_exception(m_env, "number of parameters mismatch in inductive datatype declaration"); @@ -527,6 +530,7 @@ public: rec_info info; expr t = ind_type.get_type(); unsigned i = 0; + t = whnf(t); while (is_pi(t)) { if (i < m_nparams) { t = instantiate(binding_body(t), m_params[i]); @@ -536,6 +540,7 @@ public: t = instantiate(binding_body(t), idx); } i++; + t = whnf(t); } info.m_major = mk_local_decl("t", mk_app(mk_app(m_ind_cnsts[d_idx], m_params), info.m_indices)); expr C_ty = mk_sort(m_elim_level); diff --git a/stage0/src/library/constructions/brec_on.cpp b/stage0/src/library/constructions/brec_on.cpp index 4e269fe94b..095c782c7a 100644 --- a/stage0/src/library/constructions/brec_on.cpp +++ b/stage0/src/library/constructions/brec_on.cpp @@ -64,7 +64,7 @@ static environment mk_below(environment const & env, name const & n, bool ibelow ref_type = instantiate_lparam(rec_info.get_type(), param_id(lvl), mk_level_zero()); } else if (is_reflexive) { blvls = lps; - rlvl = get_datatype_level(ind_info.get_type()); + rlvl = get_datatype_level(env, ind_info.get_type()); // if rlvl is of the form (max 1 l), then rlvl <- l if (is_max(rlvl) && is_one(max_lhs(rlvl))) rlvl = max_rhs(rlvl); @@ -205,7 +205,7 @@ static environment mk_brec_on(environment const & env, name const & n, bool ind) } else if (is_reflexive) { blps = lps; blvls = cons(lvl, lvls); - rlvl = get_datatype_level(ind_info.get_type()); + rlvl = get_datatype_level(env, ind_info.get_type()); // if rlvl is of the form (max 1 l), then rlvl <- l if (is_max(rlvl) && is_one(max_lhs(rlvl))) rlvl = max_rhs(rlvl); diff --git a/stage0/src/library/constructions/no_confusion.cpp b/stage0/src/library/constructions/no_confusion.cpp index 167b2f778f..963328e57b 100644 --- a/stage0/src/library/constructions/no_confusion.cpp +++ b/stage0/src/library/constructions/no_confusion.cpp @@ -40,6 +40,7 @@ static optional mk_no_confusion_type(environment const & env, name /* All inductive datatype parameters and indices are arguments */ buffer args; ind_type = to_telescope(lctx, ngen, ind_type, args, some(mk_implicit_binder_info())); + ind_type = type_checker(env, lctx).whnf(ind_type); if (!is_sort(ind_type) || args.size() < nparams) throw_corrupted(n); level ind_lvl = sort_level(ind_type); @@ -142,7 +143,7 @@ environment mk_no_confusion(environment const & env, name const & n) { names lps = no_confusion_type_info.get_lparams(); levels ls = lparams_to_levels(lps); expr ind_type = instantiate_type_lparams(ind_info, tail(ls)); - level ind_lvl = get_datatype_level(ind_type); + level ind_lvl = get_datatype_level(env, ind_type); expr no_confusion_type_type = instantiate_type_lparams(no_confusion_type_info, ls); buffer args; expr type = no_confusion_type_type; diff --git a/stage0/src/library/util.cpp b/stage0/src/library/util.cpp index bc7cd5a016..099f87c77f 100644 --- a/stage0/src/library/util.cpp +++ b/stage0/src/library/util.cpp @@ -191,10 +191,16 @@ bool is_recursive_datatype(environment const & env, name const & n) { return info.is_inductive() && info.to_inductive_val().is_rec(); } -level get_datatype_level(expr const & ind_type) { - expr it = ind_type; - while (is_pi(it)) - it = binding_body(it); +static name * g_util_fresh = nullptr; + +level get_datatype_level(environment const & env, expr const & ind_type) { + local_ctx lctx; + name_generator ngen(*g_util_fresh); + expr it = type_checker(env, lctx).whnf(ind_type); + while (is_pi(it)) { + expr local = lctx.mk_local_decl(ngen, binding_name(it), binding_domain(it), binding_info(it)); + it = type_checker(env, lctx).whnf(instantiate(binding_body(it), local)); + } if (is_sort(it)) { return sort_level(it); } else { @@ -216,7 +222,7 @@ bool is_inductive_predicate(environment const & env, name const & n) { constant_info info = env.get(n); if (!info.is_inductive()) return false; - return is_zero(get_datatype_level(env.get(n).get_type())); + return is_zero(get_datatype_level(env, env.get(n).get_type())); } bool can_elim_to_type(environment const & env, name const & n) { @@ -257,8 +263,6 @@ optional is_constructor_app_ext(environment const & env, expr const & e) { return is_constructor_app_ext(env, *it); } -static name * g_util_fresh = nullptr; - void get_constructor_relevant_fields(environment const & env, name const & n, buffer & result) { constant_info info = env.get(n); lean_assert(info.is_constructor()); diff --git a/stage0/src/library/util.h b/stage0/src/library/util.h index 59b93ab09c..eec2518eec 100644 --- a/stage0/src/library/util.h +++ b/stage0/src/library/util.h @@ -126,7 +126,7 @@ name get_constructor_inductive_type(environment const & env, name const & ctor_n /** \brief Return the universe where inductive datatype resides \pre \c ind_type is of the form Pi (a_1 : A_1) (a_2 : A_2[a_1]) ..., Type.{lvl} */ -level get_datatype_level(expr const & ind_type); +level get_datatype_level(environment const & env, expr const & ind_type); /** \brief "Consume" Pi-type `type`. This procedure creates free variables based on the domain of `type` using `lctx`, and store them in telescope and updates . If `binfo` is provided, then the free variables are annotated with diff --git a/stage0/src/runtime/CMakeLists.txt b/stage0/src/runtime/CMakeLists.txt index e6bfeee31f..53a693b919 100644 --- a/stage0/src/runtime/CMakeLists.txt +++ b/stage0/src/runtime/CMakeLists.txt @@ -2,7 +2,7 @@ set(RUNTIME_OBJS debug.cpp thread.cpp mpz.cpp mpq.cpp utf8.cpp object.cpp apply.cpp exception.cpp interrupt.cpp memory.cpp stackinfo.cpp compact.cpp init_module.cpp io.cpp hash.cpp platform.cpp alloc.cpp allocprof.cpp sharecommon.cpp stack_overflow.cpp -process.cpp object_ref.cpp) +process.cpp object_ref.cpp mpn.cpp) add_library(leanrt_initial-exec STATIC ${RUNTIME_OBJS}) set_target_properties(leanrt_initial-exec PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) diff --git a/stage0/src/runtime/mpn.cpp b/stage0/src/runtime/mpn.cpp new file mode 100644 index 0000000000..8cb8e5e4aa --- /dev/null +++ b/stage0/src/runtime/mpn.cpp @@ -0,0 +1,356 @@ +/*++ +Copyright (c) 2011 Microsoft Corporation + +Module Name: + + mpn.cpp + +Abstract: + + Multi Precision Natural Numbers + +Author: + + Christoph Wintersteiger (cwinter) 2011-11-16. + +Revision History: + +--*/ +#include +#include "runtime/mpn.h" +#include "runtime/debug.h" +#include "runtime/buffer.h" + +#define max(a,b) (((a) > (b)) ? (a) : (b)) + +namespace lean { + +typedef uint64_t mpn_double_digit; +static_assert(sizeof(mpn_double_digit) == 2 * sizeof(mpn_digit), "size alignment"); + +static const mpn_digit zero = 0; + +int mpn_compare(mpn_digit const * a, size_t const lnga, + mpn_digit const * b, size_t const lngb) { + int res = 0; + + size_t j = max(lnga, lngb) - 1; + for (; j != (size_t)-1 && res == 0; j--) { + mpn_digit const & u_j = (j < lnga) ? a[j] : zero; + mpn_digit const & v_j = (j < lngb) ? b[j] : zero; + if (u_j > v_j) + res = 1; + else if (u_j < v_j) + res = -1; + } + return res; +} + +void mpn_add(mpn_digit const * a, size_t const lnga, + mpn_digit const * b, size_t const lngb, + mpn_digit * c, size_t const lngc_alloc, + size_t * plngc) { + // Essentially Knuth's Algorithm A + size_t len = max(lnga, lngb); + lean_assert(lngc_alloc == len+1 && len > 0); + mpn_digit k = 0; + mpn_digit r; + bool c1, c2; + for (size_t j = 0; j < len; j++) { + mpn_digit const & u_j = (j < lnga) ? a[j] : zero; + mpn_digit const & v_j = (j < lngb) ? b[j] : zero; + r = u_j + v_j; c1 = r < u_j; + c[j] = r + k; c2 = c[j] < r; + k = c1 | c2; + } + c[len] = k; + size_t &os = *plngc; + for (os = len+1; os > 1 && c[os-1] == 0; ) os--; + lean_assert(os > 0 && os <= len+1); +} + +void mpn_sub(mpn_digit const * a, size_t const lnga, + mpn_digit const * b, size_t const lngb, + mpn_digit * c, mpn_digit * pborrow) { + // Essentially Knuth's Algorithm S + size_t len = max(lnga, lngb); + mpn_digit & k = *pborrow; k = 0; + mpn_digit r; + bool c1, c2; + for (size_t j = 0; j < len; j++) { + mpn_digit const & u_j = (j < lnga) ? a[j] : zero; + mpn_digit const & v_j = (j < lngb) ? b[j] : zero; + r = u_j - v_j; c1 = r > u_j; + c[j] = r - k; c2 = c[j] > r; + k = c1 | c2; + } +} + +void mpn_mul(mpn_digit const * a, size_t const lnga, + mpn_digit const * b, size_t const lngb, + mpn_digit * c) { + // Essentially Knuth's Algorithm M. + // Perhaps implement a more efficient version, see e.g., Knuth, Section 4.3.3. + size_t i; + mpn_digit k; + +#define DIGIT_BITS (sizeof(mpn_digit)*8) +#define HALF_BITS (sizeof(mpn_digit)*4) + + for (unsigned i = 0; i < lnga; i++) + c[i] = 0; + + for (size_t j = 0; j < lngb; j++) { + mpn_digit const & v_j = b[j]; + if (v_j == 0) { // This branch may be omitted according to Knuth. + c[j+lnga] = 0; + } + else { + k = 0; + for (i = 0; i < lnga; i++) { + mpn_digit const & u_i = a[i]; + mpn_double_digit t; + t = ((mpn_double_digit)u_i * (mpn_double_digit)v_j) + + (mpn_double_digit) c[i+j] + + (mpn_double_digit) k; + + c[i+j] = (t << DIGIT_BITS) >> DIGIT_BITS; + k = t >> DIGIT_BITS; + } + c[j+lnga] = k; + } + } +} + +#define MASK_FIRST (~((mpn_digit)(-1) >> 1)) +#define FIRST_BITS(N, X) ((X) >> (DIGIT_BITS-(N))) +#define LAST_BITS(N, X) (((X) << (DIGIT_BITS-(N))) >> (DIGIT_BITS-(N))) +#define BASE ((mpn_double_digit)0x01 << DIGIT_BITS) + +class mpn_buffer : public buffer { +public: + mpn_buffer() : buffer() {} + + mpn_buffer(size_t nsz, const mpn_digit & elem = 0):buffer() { + for (size_t i = 0; i < nsz; i++) push_back(elem); + } + + void resize(size_t nsz, const mpn_digit & elem = 0) { + buffer::resize(static_cast(nsz), elem); + } + + mpn_digit & operator[](size_t idx) { + return buffer::operator[](static_cast(idx)); + } + + const mpn_digit & operator[](size_t idx) const { + return buffer::operator[](static_cast(idx)); + } +}; + +static size_t div_normalize(mpn_digit const * numer, size_t const lnum, + mpn_digit const * denom, size_t const lden, + mpn_buffer & n_numer, + mpn_buffer & n_denom) { + size_t d = 0; + while (lden > 0 && ((denom[lden-1] << d) & MASK_FIRST) == 0) d++; + lean_assert(d < DIGIT_BITS); + + n_numer.resize(lnum+1); + n_denom.resize(lden); + + if (d == 0) { + n_numer[lnum] = 0; + for (size_t i = 0; i < lnum; i++) + n_numer[i] = numer[i]; + for (size_t i = 0; i < lden; i++) + n_denom[i] = denom[i]; + } + else if (lnum != 0) { + lean_assert(lden > 0); + mpn_digit q = FIRST_BITS(d, numer[lnum-1]); + n_numer[lnum] = q; + for (size_t i = lnum-1; i > 0; i--) + n_numer[i] = (numer[i] << d) | FIRST_BITS(d, numer[i-1]); + n_numer[0] = numer[0] << d; + for (size_t i = lden-1; i > 0; i--) + n_denom[i] = denom[i] << d | FIRST_BITS(d, denom[i-1]); + n_denom[0] = denom[0] << d; + } + else { + d = 0; + } + return d; +} + +static void div_unnormalize(mpn_buffer & numer, mpn_buffer & denom, + size_t const d, mpn_digit * rem) { + if (d == 0) { + for (size_t i = 0; i < denom.size(); i++) + rem[i] = numer[i]; + } + else { + for (size_t i = 0; i < denom.size()-1; i++) + rem[i] = numer[i] >> d | (LAST_BITS(d, numer[i+1]) << (DIGIT_BITS-d)); + rem[denom.size()-1] = numer[denom.size()-1] >> d; + } +} + +static void div_1(mpn_buffer & numer, mpn_digit const denom, + mpn_digit * quot) { + mpn_double_digit q_hat, temp, ms; + mpn_digit borrow; + + for (size_t j = numer.size()-1; j > 0; j--) { + temp = (((mpn_double_digit)numer[j]) << DIGIT_BITS) | ((mpn_double_digit)numer[j-1]); + q_hat = temp / (mpn_double_digit) denom; + if (q_hat >= BASE) { + lean_unreachable(); // is this reachable with normalized v? + } + lean_assert(q_hat < BASE); + ms = temp - (q_hat * (mpn_double_digit) denom); + borrow = ms > temp; + numer[j-1] = (mpn_digit) ms; + numer[j] = ms >> DIGIT_BITS; + quot[j-1] = (mpn_digit) q_hat; + if (borrow) { + quot[j-1]--; + numer[j] = numer[j-1] + denom; + } + } +} + +static void div_n(mpn_buffer & numer, mpn_buffer const & denom, + mpn_digit * quot, mpn_digit * rem, + mpn_buffer & ms, mpn_buffer & ab) { + lean_assert(denom.size() > 1); + + // This is essentially Knuth's Algorithm D. + size_t m = numer.size() - denom.size(); + size_t n = denom.size(); + + lean_assert(numer.size() == m+n); + + ms.resize(n+1); + + mpn_double_digit q_hat, temp, r_hat; + mpn_digit borrow; + + for (size_t j = m-1; j != (size_t)-1; j--) { + temp = (((mpn_double_digit)numer[j+n]) << DIGIT_BITS) | ((mpn_double_digit)numer[j+n-1]); + q_hat = temp / (mpn_double_digit) denom[n-1]; + r_hat = temp % (mpn_double_digit) denom[n-1]; + recheck: + if (q_hat >= BASE || + ((q_hat * denom[n-2]) > ((r_hat << DIGIT_BITS) + numer[j+n-2]))) { + q_hat--; + r_hat += denom[n-1]; + if (r_hat < BASE) goto recheck; + } + lean_assert(q_hat < BASE); + // Replace numer[j+n]...numer[j] with + // numer[j+n]...numer[j] - q * (denom[n-1]...denom[0]) + mpn_digit q_hat_small = (mpn_digit)q_hat; + mpn_mul(&q_hat_small, 1, denom.data(), n, ms.data()); + mpn_sub(&numer[j], n+1, ms.data(), n+1, &numer[j], &borrow); + quot[j] = q_hat_small; + if (borrow) { + quot[j]--; + ab.resize(n+2); + size_t real_size; + mpn_add(denom.data(), n, &numer[j], n+1, ab.data(), n+2, &real_size); + for (size_t i = 0; i < n+1; i++) + numer[j+i] = ab[i]; + } + } +} + +void mpn_div(mpn_digit const * numer, size_t const lnum, + mpn_digit const * denom, size_t const lden, + mpn_digit * quot, + mpn_digit * rem) { + + if (lnum < lden) { + for (size_t i = 0; i < (lnum-lden+1); i++) + quot[i] = 0; + for (size_t i = 0; i < lden; i++) + rem[i] = (i < lnum) ? numer[i] : 0; + return; + } + + bool all_zero = true; + for (size_t i = 0; i < lden && all_zero; i++) + if (denom[i] != zero) all_zero = false; + + lean_assert(!all_zero); + + lean_assert(denom[lden-1] != 0); + + if (lnum == 1 && lden == 1) { + *quot = numer[0] / denom[0]; + *rem = numer[0] % denom[0]; + } + else if (lnum < lden || (lnum == lden && numer[lnum-1] < denom[lden-1])) { + *quot = 0; + for (size_t i = 0; i < lden; i++) + rem[i] = (i < lnum) ? numer[i] : 0; + } + else { + mpn_buffer u, v, t_ms, t_ab; + size_t d = div_normalize(numer, lnum, denom, lden, u, v); + if (lden == 1) + div_1(u, v[0], quot); + else + div_n(u, v, quot, rem, t_ms, t_ab); + div_unnormalize(u, v, d, rem); + } + +#ifdef LEAN_DEBUG + mpn_buffer temp(lnum+1, 0); + mpn_mul(quot, lnum-lden+1, denom, lden, temp.data()); + size_t real_size; + mpn_add(temp.data(), lnum, rem, lden, temp.data(), lnum+1, &real_size); + bool ok = true; + for (size_t i = 0; i < lnum && ok; i++) + if (temp[i] != numer[i]) ok = false; + if (temp[lnum] != 0) ok = false; + lean_assert(ok); +#endif +} + +char * mpn_to_string(mpn_digit const * a, size_t const lng, char * buf, size_t const lbuf) { + lean_assert(buf && lbuf > 0); + + if (lng == 1) { +#ifdef _WINDOWS + sprintf_s(buf, lbuf, "%u", *a); +#else + snprintf(buf, lbuf, "%u", *a); +#endif + } + else { + mpn_buffer temp(lng, 0), t_numer(lng+1, 0), t_denom(1, 0); + for (unsigned i = 0; i < lng; i++) + temp[i] = a[i]; + + size_t j = 0; + mpn_digit rem; + mpn_digit ten = 10; + while (!temp.empty() && (temp.size() > 1 || temp[0] != 0)) { + size_t d = div_normalize(&temp[0], temp.size(), &ten, 1, t_numer, t_denom); + div_1(t_numer, t_denom[0], &temp[0]); + div_unnormalize(t_numer, t_denom, d, &rem); + buf[j++] = '0' + rem; + while (!temp.empty() && temp.back() == 0) + temp.pop_back(); + } + buf[j] = 0; + + j--; + size_t mid = (j/2) + ((j % 2) ? 1 : 0); + for (size_t i = 0; i < mid; i++) + std::swap(buf[i], buf[j-i]); + } + return buf; +} +} diff --git a/stage0/src/runtime/mpn.h b/stage0/src/runtime/mpn.h new file mode 100644 index 0000000000..90869f8538 --- /dev/null +++ b/stage0/src/runtime/mpn.h @@ -0,0 +1,48 @@ +/*++ +Copyright (c) 2011 Microsoft Corporation + +Module Name: + + mpn.h + +Abstract: + + Multi Precision Natural Numbers + +Author: + + Christoph Wintersteiger (cwinter) 2011-11-16. + +Revision History: + +--*/ +#pragma once +#include + +namespace lean { +typedef unsigned int mpn_digit; + +int mpn_compare(mpn_digit const * a, size_t lnga, + mpn_digit const * b, size_t lngb); + +void mpn_add(mpn_digit const * a, size_t lnga, + mpn_digit const * b, size_t lngb, + mpn_digit *c, size_t lngc_alloc, + size_t * plngc); + +void mpn_sub(mpn_digit const * a, size_t lnga, + mpn_digit const * b, size_t lngb, + mpn_digit * c, mpn_digit * pborrow); + +void mpn_mul(mpn_digit const * a, size_t lnga, + mpn_digit const * b, size_t lngb, + mpn_digit * c); + +void mpn_div(mpn_digit const * numer, size_t lnum, + mpn_digit const * denom, size_t lden, + mpn_digit * quot, + mpn_digit * rem); + +char * mpn_to_string(mpn_digit const * a, size_t lng, + char * buf, size_t lbuf); +} diff --git a/stage0/stdlib/Lean/Elab.c b/stage0/stdlib/Lean/Elab.c index 794bb2f4f8..74a332883b 100644 --- a/stage0/stdlib/Lean/Elab.c +++ b/stage0/stdlib/Lean/Elab.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab -// Imports: Init Lean.Elab.Import Lean.Elab.Exception Lean.Elab.Command Lean.Elab.Term Lean.Elab.App Lean.Elab.Binders Lean.Elab.LetRec Lean.Elab.Frontend Lean.Elab.BuiltinNotation Lean.Elab.Declaration Lean.Elab.Tactic Lean.Elab.Match Lean.Elab.Quotation Lean.Elab.Syntax Lean.Elab.Do Lean.Elab.StructInst Lean.Elab.Inductive Lean.Elab.Structure Lean.Elab.Print Lean.Elab.MutualDef Lean.Elab.PreDefinition Lean.Elab.Deriving Lean.Elab.DeclarationRange Lean.Elab.Extra Lean.Elab.GenInjective Lean.Elab.BuiltinTerm Lean.Elab.Arg Lean.Elab.PatternVar Lean.Elab.ElabRules Lean.Elab.Macro Lean.Elab.Notation Lean.Elab.Mixfix Lean.Elab.MacroRules Lean.Elab.BuiltinCommand +// Imports: Init Lean.Elab.Import Lean.Elab.Exception Lean.Elab.Command Lean.Elab.Term Lean.Elab.App Lean.Elab.Binders Lean.Elab.LetRec Lean.Elab.Frontend Lean.Elab.BuiltinNotation Lean.Elab.Declaration Lean.Elab.Tactic Lean.Elab.Match Lean.Elab.Quotation Lean.Elab.Syntax Lean.Elab.Do Lean.Elab.StructInst Lean.Elab.Inductive Lean.Elab.Structure Lean.Elab.Print Lean.Elab.MutualDef Lean.Elab.AuxDef Lean.Elab.PreDefinition Lean.Elab.Deriving Lean.Elab.DeclarationRange Lean.Elab.Extra Lean.Elab.GenInjective Lean.Elab.BuiltinTerm Lean.Elab.Arg Lean.Elab.PatternVar Lean.Elab.ElabRules Lean.Elab.Macro Lean.Elab.Notation Lean.Elab.Mixfix Lean.Elab.MacroRules Lean.Elab.BuiltinCommand #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -34,6 +34,7 @@ lean_object* initialize_Lean_Elab_Inductive(lean_object*); lean_object* initialize_Lean_Elab_Structure(lean_object*); lean_object* initialize_Lean_Elab_Print(lean_object*); lean_object* initialize_Lean_Elab_MutualDef(lean_object*); +lean_object* initialize_Lean_Elab_AuxDef(lean_object*); lean_object* initialize_Lean_Elab_PreDefinition(lean_object*); lean_object* initialize_Lean_Elab_Deriving(lean_object*); lean_object* initialize_Lean_Elab_DeclarationRange(lean_object*); @@ -116,6 +117,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_MutualDef(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_AuxDef(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Elab/AuxDef.c b/stage0/stdlib/Lean/Elab/AuxDef.c new file mode 100644 index 0000000000..cdfd4a035e --- /dev/null +++ b/stage0/stdlib/Lean/Elab/AuxDef.c @@ -0,0 +1,1817 @@ +// Lean compiler output +// Module: Lean.Elab.AuxDef +// Imports: Init Lean.Elab.Command +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_List_reverse___rarg(lean_object*); +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__11; +size_t lean_usize_add(size_t, size_t); +lean_object* lean_erase_macro_scopes(lean_object*); +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__19; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +extern lean_object* l_Lean_nullKind; +lean_object* lean_name_mk_string(lean_object*, lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); +lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Elab_Command_aux__def___closed__24; +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__1; +lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +extern lean_object* l_Lean_Elab_Command_commandElabAttribute; +static lean_object* l_Lean_Elab_Command_aux__def___closed__43; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__10; +static lean_object* l_Lean_Elab_Command_aux__def___closed__32; +static lean_object* l_Lean_Elab_Command_aux__def___closed__20; +static lean_object* l_Lean_Elab_Command_aux__def___closed__36; +LEAN_EXPORT lean_object* l_Lean_mkAuxName___at_Lean_Elab_Command_elabAuxDef___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__24; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__7; +LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__35; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__10; +static lean_object* l_Lean_Elab_Command_aux__def___closed__16; +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_aux__def; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__16; +lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_Elab_Command_aux__def___closed__27; +static lean_object* l_Lean_Elab_Command_aux__def___closed__39; +static lean_object* l_Lean_Elab_Command_aux__def___closed__19; +static lean_object* l_Lean_Elab_Command_aux__def___closed__12; +lean_object* l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_7135____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__20; +static lean_object* l_Lean_Elab_Command_aux__def___closed__11; +static lean_object* l_Lean_Elab_Command_aux__def___closed__31; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__6; +lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabAuxDef(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__1(lean_object*); +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__22; +static lean_object* l_Lean_Elab_Command_aux__def___closed__26; +static lean_object* l_Lean_Elab_Command_aux__def___closed__38; +static lean_object* l_Lean_Elab_Command_aux__def___closed__21; +lean_object* l_Lean_Syntax_getId(lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__6; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__14; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__3; +lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__34; +static lean_object* l_Lean_Elab_Command_aux__def___closed__23; +static lean_object* l_Lean_Elab_Command_aux__def___closed__13; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__9; +static lean_object* l_Lean_Elab_Command_aux__def___closed__41; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__5; +size_t lean_usize_of_nat(lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__4; +static lean_object* l_Lean_Elab_Command_aux__def___closed__45; +static lean_object* l_Lean_Elab_Command_aux__def___closed__9; +static lean_object* l_Lean_Elab_Command_aux__def___closed__40; +static lean_object* l_Lean_Elab_Command_aux__def___closed__47; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__3; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__15; +uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__2; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabAuxDef___spec__6(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__18; +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg___closed__1; +lean_object* l_String_intercalate(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabAuxDef___spec__5___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__37; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__8; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__17; +static lean_object* l_Lean_Elab_Command_aux__def___closed__8; +static lean_object* l_Lean_Elab_Command_aux__def___closed__44; +static lean_object* l_Lean_Elab_Command_aux__def___closed__17; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__1; +static lean_object* l_Lean_Elab_Command_aux__def___closed__18; +static lean_object* l_Lean_Elab_Command_aux__def___closed__15; +lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkAuxName___at_Lean_Elab_Command_elabAuxDef___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__28; +static lean_object* l_Lean_Elab_Command_aux__def___closed__14; +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg(lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__30; +static lean_object* l_Lean_Elab_Command_aux__def___closed__5; +static lean_object* l_Lean_Elab_Command_aux__def___closed__7; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabAuxDef___spec__5(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__4; +lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__33; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__13; +uint8_t l_Lean_Syntax_isNone(lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__42; +static lean_object* l_Lean_Elab_Command_aux__def___closed__3; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__12; +LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Elab_Command_elabAuxDef___spec__2(lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +lean_object* l___private_Lean_MonadEnv_0__Lean_mkAuxNameAux(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__25; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabAuxDef___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__46; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__2; +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__23; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__1; +lean_object* lean_mk_syntax_ident(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__2; +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__22; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAuxDef(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__21; +lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_aux__def___closed__29; +lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_components(lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___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_aux__def___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Elab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__2; +x_2 = l_Lean_Elab_Command_aux__def___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Command"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__4; +x_2 = l_Lean_Elab_Command_aux__def___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("aux_def"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__6; +x_2 = l_Lean_Elab_Command_aux__def___closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("andthen"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_aux__def___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("optional"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_aux__def___closed__11; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Parser"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__2; +x_2 = l_Lean_Elab_Command_aux__def___closed__13; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__14; +x_2 = l_Lean_Elab_Command_aux__def___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("docComment"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__15; +x_2 = l_Lean_Elab_Command_aux__def___closed__16; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_aux__def___closed__17; +x_2 = lean_alloc_ctor(8, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__12; +x_2 = l_Lean_Elab_Command_aux__def___closed__18; +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_Elab_Command_aux__def___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Term"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__14; +x_2 = l_Lean_Elab_Command_aux__def___closed__20; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("attributes"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__21; +x_2 = l_Lean_Elab_Command_aux__def___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_aux__def___closed__23; +x_2 = lean_alloc_ctor(8, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__12; +x_2 = l_Lean_Elab_Command_aux__def___closed__24; +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_Elab_Command_aux__def___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_aux__def___closed__10; +x_2 = l_Lean_Elab_Command_aux__def___closed__19; +x_3 = l_Lean_Elab_Command_aux__def___closed__25; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_aux__def___closed__7; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_aux__def___closed__10; +x_2 = l_Lean_Elab_Command_aux__def___closed__26; +x_3 = l_Lean_Elab_Command_aux__def___closed__27; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__29() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("many1"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_aux__def___closed__29; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__31() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ident"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__21; +x_2 = l_Lean_Elab_Command_aux__def___closed__31; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_aux__def___closed__32; +x_2 = lean_alloc_ctor(8, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__30; +x_2 = l_Lean_Elab_Command_aux__def___closed__33; +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_Elab_Command_aux__def___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_aux__def___closed__10; +x_2 = l_Lean_Elab_Command_aux__def___closed__28; +x_3 = l_Lean_Elab_Command_aux__def___closed__34; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__36() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_aux__def___closed__36; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__38() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_aux__def___closed__10; +x_2 = l_Lean_Elab_Command_aux__def___closed__35; +x_3 = l_Lean_Elab_Command_aux__def___closed__37; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__39() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("term"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__40() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_aux__def___closed__39; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__40; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__42() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_aux__def___closed__10; +x_2 = l_Lean_Elab_Command_aux__def___closed__38; +x_3 = l_Lean_Elab_Command_aux__def___closed__41; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__43() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":="); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_aux__def___closed__43; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__45() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_aux__def___closed__10; +x_2 = l_Lean_Elab_Command_aux__def___closed__42; +x_3 = l_Lean_Elab_Command_aux__def___closed__44; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__46() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_aux__def___closed__10; +x_2 = l_Lean_Elab_Command_aux__def___closed__45; +x_3 = l_Lean_Elab_Command_aux__def___closed__41; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_aux__def___closed__8; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Elab_Command_aux__def___closed__46; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_aux__def() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Command_aux__def___closed__47; +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_unsupportedSyntaxExceptionId; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg___closed__1; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg), 1, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Elab_Command_elabAuxDef___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___rarg(x_2); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = 1; +x_8 = l_Lean_Name_toString(x_5, x_7); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_8); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_1, 0); +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_1); +x_12 = 1; +x_13 = l_Lean_Name_toString(x_10, x_12); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_2); +x_1 = x_11; +x_2 = x_14; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkAuxName___at_Lean_Elab_Command_elabAuxDef___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_st_ref_get(x_4, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_6, 0); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = l___private_Lean_MonadEnv_0__Lean_mkAuxNameAux(x_9, x_1, x_2); +lean_ctor_set(x_6, 0, x_10); +return x_6; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_6, 0); +x_12 = lean_ctor_get(x_6, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_6); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l___private_Lean_MonadEnv_0__Lean_mkAuxNameAux(x_13, x_1, x_2); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_12); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Elab_Command_getRef(x_1, x_2, x_3); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +x_7 = l_Lean_SourceInfo_fromRef(x_6); +lean_ctor_set(x_4, 0, x_7); +return x_4; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_4, 0); +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_4); +x_10 = l_Lean_SourceInfo_fromRef(x_8); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabAuxDef___spec__5(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = x_3; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = x_6; +x_10 = l_Lean_Syntax_getId(x_9); +lean_dec(x_9); +x_11 = lean_erase_macro_scopes(x_10); +x_12 = 1; +x_13 = lean_usize_add(x_2, x_12); +x_14 = x_11; +x_15 = lean_array_uset(x_8, x_2, x_14); +x_2 = x_13; +x_3 = x_15; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabAuxDef___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Lean_Name_append(x_4, x_6); +lean_dec(x_4); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +x_2 = x_9; +x_4 = x_7; +goto _start; +} +else +{ +return x_4; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_aux__def___closed__31; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; +x_2 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__1; +lean_inc(x_1); +x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); +if (x_3 == 0) +{ +lean_object* x_4; +lean_dec(x_1); +x_4 = lean_box(0); +return x_4; +} +else +{ +lean_object* x_5; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_1); +return x_5; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabAuxDef___lambda__1), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_aux"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__4; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declaration"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declModifiers"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__8; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__9; +x_2 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__10; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(6u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("def"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declId"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("optDeclSig"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("typeSpec"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__15; +x_2 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__11; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("declValSimple"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__22() { +_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; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__10; +x_2 = l_Array_append___rarg(x_1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__9; +x_2 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__23; +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_EXPORT lean_object* l_Lean_Elab_Command_elabAuxDef___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: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_unsigned_to_nat(3u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Lean_Syntax_getArgs(x_10); +lean_dec(x_10); +x_12 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__1; +x_13 = l_Array_sequenceMap___at_myMacro____x40_Init_NotationExtra___hyg_7135____spec__1(x_11, x_12); +lean_dec(x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; +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_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg(x_8); +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; lean_object* x_143; size_t x_144; size_t x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_unsigned_to_nat(5u); +x_17 = l_Lean_Syntax_getArg(x_1, x_16); +x_18 = lean_unsigned_to_nat(7u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +lean_dec(x_1); +x_143 = lean_array_get_size(x_15); +x_144 = lean_usize_of_nat(x_143); +lean_dec(x_143); +x_145 = 0; +x_146 = x_15; +x_147 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabAuxDef___spec__5(x_144, x_145, x_146); +x_148 = x_147; +x_149 = lean_array_get_size(x_148); +x_150 = lean_unsigned_to_nat(0u); +x_151 = lean_nat_dec_lt(x_150, x_149); +if (x_151 == 0) +{ +lean_object* x_152; +lean_dec(x_149); +lean_dec(x_148); +x_152 = lean_box(0); +x_20 = x_152; +goto block_142; +} +else +{ +uint8_t x_153; +x_153 = lean_nat_dec_le(x_149, x_149); +if (x_153 == 0) +{ +lean_object* x_154; +lean_dec(x_149); +lean_dec(x_148); +x_154 = lean_box(0); +x_20 = x_154; +goto block_142; +} +else +{ +size_t x_155; lean_object* x_156; lean_object* x_157; +x_155 = lean_usize_of_nat(x_149); +lean_dec(x_149); +x_156 = lean_box(0); +x_157 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabAuxDef___spec__6(x_148, x_145, x_155, x_156); +lean_dec(x_148); +x_20 = x_157; +goto block_142; +} +} +block_142: +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; 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; 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_21 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_8); +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_Elab_Command_elabAuxDef___lambda__2___closed__3; +x_25 = l_Lean_Name_append(x_24, x_22); +x_26 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__5; +x_27 = l_Lean_Name_append(x_25, x_26); +lean_dec(x_25); +x_28 = l_Lean_Name_append(x_27, x_20); +lean_dec(x_27); +x_29 = l_Lean_Name_components(x_28); +x_30 = lean_box(0); +x_31 = l_List_mapTRAux___at_Lean_Elab_Command_elabAuxDef___spec__2(x_29, x_30); +x_32 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__4; +x_33 = l_String_intercalate(x_32, x_31); +x_34 = l_Lean_Elab_Command_getScope___rarg(x_7, x_23); +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, 2); +lean_inc(x_37); +lean_dec(x_35); +lean_inc(x_37); +x_38 = lean_name_mk_string(x_37, x_33); +x_39 = lean_unsigned_to_nat(1u); +x_40 = l_Lean_mkAuxName___at_Lean_Elab_Command_elabAuxDef___spec__3(x_38, x_39, x_6, x_7, x_36); +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_box(0); +x_44 = l_Lean_Name_replacePrefix(x_41, x_37, x_43); +lean_dec(x_37); +x_45 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_6, x_7, x_42); +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 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_47); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_49); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +lean_dec(x_50); +x_52 = l_Lean_Elab_Command_aux__def___closed__13; +x_53 = lean_name_mk_string(x_2, x_52); +x_54 = l_Lean_Elab_Command_aux__def___closed__5; +lean_inc(x_53); +x_55 = lean_name_mk_string(x_53, x_54); +x_56 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__6; +lean_inc(x_55); +x_57 = lean_name_mk_string(x_55, x_56); +x_58 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__7; +lean_inc(x_55); +x_59 = lean_name_mk_string(x_55, x_58); +x_60 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__13; +lean_inc(x_55); +x_61 = lean_name_mk_string(x_55, x_60); +lean_inc(x_46); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_46); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__14; +lean_inc(x_55); +x_64 = lean_name_mk_string(x_55, x_63); +x_65 = lean_mk_syntax_ident(x_44); +x_66 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__15; +x_67 = lean_array_push(x_66, x_65); +x_68 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__11; +x_69 = lean_array_push(x_67, x_68); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_64); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__16; +lean_inc(x_55); +x_72 = lean_name_mk_string(x_55, x_71); +x_73 = l_Lean_Elab_Command_aux__def___closed__20; +x_74 = lean_name_mk_string(x_53, x_73); +x_75 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__17; +x_76 = lean_name_mk_string(x_74, x_75); +x_77 = l_Lean_Elab_Command_aux__def___closed__36; +lean_inc(x_46); +x_78 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_78, 0, x_46); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_array_push(x_66, x_78); +x_80 = lean_array_push(x_79, x_17); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_76); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__18; +x_83 = lean_array_push(x_82, x_81); +x_84 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__9; +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 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__19; +x_87 = lean_array_push(x_86, x_85); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_72); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__20; +x_90 = lean_name_mk_string(x_55, x_89); +x_91 = l_Lean_Elab_Command_aux__def___closed__43; +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_46); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__21; +x_94 = lean_array_push(x_93, x_92); +x_95 = lean_array_push(x_94, x_19); +x_96 = lean_array_push(x_95, x_68); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_90); +lean_ctor_set(x_97, 1, x_96); +x_98 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__22; +x_99 = lean_array_push(x_98, x_62); +x_100 = lean_array_push(x_99, x_70); +x_101 = lean_array_push(x_100, x_88); +x_102 = lean_array_push(x_101, x_97); +x_103 = lean_array_push(x_102, x_68); +x_104 = lean_array_push(x_103, x_68); +x_105 = lean_array_push(x_104, x_68); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_61); +lean_ctor_set(x_106, 1, x_105); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_139; +x_139 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__10; +x_107 = x_139; +goto block_138; +} +else +{ +lean_object* x_140; lean_object* x_141; +x_140 = lean_ctor_get(x_3, 0); +lean_inc(x_140); +lean_dec(x_3); +x_141 = lean_array_push(x_82, x_140); +x_107 = x_141; +goto block_138; +} +block_138: +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_108 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__10; +x_109 = l_Array_append___rarg(x_108, x_107); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_84); +lean_ctor_set(x_110, 1, x_109); +x_111 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__12; +x_112 = lean_array_push(x_111, x_110); +if (lean_obj_tag(x_5) == 0) +{ +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; +x_113 = l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__24; +x_114 = lean_array_push(x_112, x_113); +x_115 = lean_array_push(x_114, x_68); +x_116 = lean_array_push(x_115, x_68); +x_117 = lean_array_push(x_116, x_68); +x_118 = lean_array_push(x_117, x_68); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_59); +lean_ctor_set(x_119, 1, x_118); +x_120 = lean_array_push(x_66, x_119); +x_121 = lean_array_push(x_120, x_106); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_57); +lean_ctor_set(x_122, 1, x_121); +x_123 = l_Lean_Elab_Command_elabCommand(x_122, x_6, x_7, x_51); +return x_123; +} +else +{ +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; +x_124 = lean_ctor_get(x_5, 0); +lean_inc(x_124); +lean_dec(x_5); +x_125 = lean_array_push(x_82, x_124); +x_126 = l_Array_append___rarg(x_108, x_125); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_84); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_array_push(x_112, x_127); +x_129 = lean_array_push(x_128, x_68); +x_130 = lean_array_push(x_129, x_68); +x_131 = lean_array_push(x_130, x_68); +x_132 = lean_array_push(x_131, x_68); +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_59); +lean_ctor_set(x_133, 1, x_132); +x_134 = lean_array_push(x_66, x_133); +x_135 = lean_array_push(x_134, x_106); +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_57); +lean_ctor_set(x_136, 1, x_135); +x_137 = l_Lean_Elab_Command_elabCommand(x_136, x_6, x_7, x_51); +return x_137; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAuxDef___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) { +_start: +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +lean_dec(x_3); +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = l_Lean_nullKind; +lean_inc(x_9); +x_12 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_8); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_13 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg(x_7); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_14 = lean_unsigned_to_nat(0u); +x_15 = l_Lean_Syntax_getArg(x_9, x_14); +lean_dec(x_9); +x_16 = l_Lean_Elab_Command_aux__def___closed__13; +lean_inc(x_2); +x_17 = lean_name_mk_string(x_2, x_16); +x_18 = l_Lean_Elab_Command_aux__def___closed__20; +x_19 = lean_name_mk_string(x_17, x_18); +x_20 = l_Lean_Elab_Command_aux__def___closed__22; +x_21 = lean_name_mk_string(x_19, x_20); +lean_inc(x_15); +x_22 = l_Lean_Syntax_isOfKind(x_15, x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +lean_dec(x_15); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_23 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg(x_7); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_15); +x_25 = lean_box(0); +x_26 = l_Lean_Elab_Command_elabAuxDef___lambda__2(x_1, x_2, x_4, x_25, x_24, x_5, x_6, x_7); +return x_26; +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_9); +x_27 = lean_box(0); +x_28 = lean_box(0); +x_29 = l_Lean_Elab_Command_elabAuxDef___lambda__2(x_1, x_2, x_4, x_28, x_27, x_5, x_6, x_7); +return x_29; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAuxDef(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = l_Lean_Elab_Command_aux__def___closed__8; +lean_inc(x_1); +x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg(x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = l_Lean_Syntax_isNone(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = l_Lean_nullKind; +x_12 = lean_unsigned_to_nat(1u); +lean_inc(x_9); +x_13 = l_Lean_Syntax_isNodeOf(x_9, x_11, x_12); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_14 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg(x_4); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_Syntax_getArg(x_9, x_8); +lean_dec(x_9); +x_16 = l_Lean_Elab_Command_aux__def___closed__17; +lean_inc(x_15); +x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_15); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg(x_4); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_15); +x_20 = l_Lean_Elab_Command_aux__def___closed__2; +x_21 = lean_box(0); +x_22 = l_Lean_Elab_Command_elabAuxDef___lambda__3(x_1, x_20, x_21, x_19, x_2, x_3, x_4); +return x_22; +} +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_9); +x_23 = lean_box(0); +x_24 = l_Lean_Elab_Command_aux__def___closed__2; +x_25 = lean_box(0); +x_26 = l_Lean_Elab_Command_elabAuxDef___lambda__3(x_1, x_24, x_25, x_23, x_2, x_3, x_4); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_mkAuxName___at_Lean_Elab_Command_elabAuxDef___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_mkAuxName___at_Lean_Elab_Command_elabAuxDef___spec__3(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_1, x_2, x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabAuxDef___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabAuxDef___spec__5(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabAuxDef___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabAuxDef___spec__6(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAuxDef___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_Lean_Elab_Command_elabAuxDef___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_4); +return x_9; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("elabAuxDef"); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_aux__def___closed__6; +x_2 = l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabAuxDef), 4, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabAuxDef(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Elab_Command_commandElabAttribute; +x_3 = l_Lean_Elab_Command_aux__def___closed__8; +x_4 = l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +lean_object* initialize_Init(lean_object*); +lean_object* initialize_Lean_Elab_Command(lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_AuxDef(lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Command(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_Command_aux__def___closed__1 = _init_l_Lean_Elab_Command_aux__def___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__1); +l_Lean_Elab_Command_aux__def___closed__2 = _init_l_Lean_Elab_Command_aux__def___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__2); +l_Lean_Elab_Command_aux__def___closed__3 = _init_l_Lean_Elab_Command_aux__def___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__3); +l_Lean_Elab_Command_aux__def___closed__4 = _init_l_Lean_Elab_Command_aux__def___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__4); +l_Lean_Elab_Command_aux__def___closed__5 = _init_l_Lean_Elab_Command_aux__def___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__5); +l_Lean_Elab_Command_aux__def___closed__6 = _init_l_Lean_Elab_Command_aux__def___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__6); +l_Lean_Elab_Command_aux__def___closed__7 = _init_l_Lean_Elab_Command_aux__def___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__7); +l_Lean_Elab_Command_aux__def___closed__8 = _init_l_Lean_Elab_Command_aux__def___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__8); +l_Lean_Elab_Command_aux__def___closed__9 = _init_l_Lean_Elab_Command_aux__def___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__9); +l_Lean_Elab_Command_aux__def___closed__10 = _init_l_Lean_Elab_Command_aux__def___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__10); +l_Lean_Elab_Command_aux__def___closed__11 = _init_l_Lean_Elab_Command_aux__def___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__11); +l_Lean_Elab_Command_aux__def___closed__12 = _init_l_Lean_Elab_Command_aux__def___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__12); +l_Lean_Elab_Command_aux__def___closed__13 = _init_l_Lean_Elab_Command_aux__def___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__13); +l_Lean_Elab_Command_aux__def___closed__14 = _init_l_Lean_Elab_Command_aux__def___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__14); +l_Lean_Elab_Command_aux__def___closed__15 = _init_l_Lean_Elab_Command_aux__def___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__15); +l_Lean_Elab_Command_aux__def___closed__16 = _init_l_Lean_Elab_Command_aux__def___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__16); +l_Lean_Elab_Command_aux__def___closed__17 = _init_l_Lean_Elab_Command_aux__def___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__17); +l_Lean_Elab_Command_aux__def___closed__18 = _init_l_Lean_Elab_Command_aux__def___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__18); +l_Lean_Elab_Command_aux__def___closed__19 = _init_l_Lean_Elab_Command_aux__def___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__19); +l_Lean_Elab_Command_aux__def___closed__20 = _init_l_Lean_Elab_Command_aux__def___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__20); +l_Lean_Elab_Command_aux__def___closed__21 = _init_l_Lean_Elab_Command_aux__def___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__21); +l_Lean_Elab_Command_aux__def___closed__22 = _init_l_Lean_Elab_Command_aux__def___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__22); +l_Lean_Elab_Command_aux__def___closed__23 = _init_l_Lean_Elab_Command_aux__def___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__23); +l_Lean_Elab_Command_aux__def___closed__24 = _init_l_Lean_Elab_Command_aux__def___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__24); +l_Lean_Elab_Command_aux__def___closed__25 = _init_l_Lean_Elab_Command_aux__def___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__25); +l_Lean_Elab_Command_aux__def___closed__26 = _init_l_Lean_Elab_Command_aux__def___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__26); +l_Lean_Elab_Command_aux__def___closed__27 = _init_l_Lean_Elab_Command_aux__def___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__27); +l_Lean_Elab_Command_aux__def___closed__28 = _init_l_Lean_Elab_Command_aux__def___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__28); +l_Lean_Elab_Command_aux__def___closed__29 = _init_l_Lean_Elab_Command_aux__def___closed__29(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__29); +l_Lean_Elab_Command_aux__def___closed__30 = _init_l_Lean_Elab_Command_aux__def___closed__30(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__30); +l_Lean_Elab_Command_aux__def___closed__31 = _init_l_Lean_Elab_Command_aux__def___closed__31(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__31); +l_Lean_Elab_Command_aux__def___closed__32 = _init_l_Lean_Elab_Command_aux__def___closed__32(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__32); +l_Lean_Elab_Command_aux__def___closed__33 = _init_l_Lean_Elab_Command_aux__def___closed__33(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__33); +l_Lean_Elab_Command_aux__def___closed__34 = _init_l_Lean_Elab_Command_aux__def___closed__34(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__34); +l_Lean_Elab_Command_aux__def___closed__35 = _init_l_Lean_Elab_Command_aux__def___closed__35(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__35); +l_Lean_Elab_Command_aux__def___closed__36 = _init_l_Lean_Elab_Command_aux__def___closed__36(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__36); +l_Lean_Elab_Command_aux__def___closed__37 = _init_l_Lean_Elab_Command_aux__def___closed__37(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__37); +l_Lean_Elab_Command_aux__def___closed__38 = _init_l_Lean_Elab_Command_aux__def___closed__38(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__38); +l_Lean_Elab_Command_aux__def___closed__39 = _init_l_Lean_Elab_Command_aux__def___closed__39(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__39); +l_Lean_Elab_Command_aux__def___closed__40 = _init_l_Lean_Elab_Command_aux__def___closed__40(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__40); +l_Lean_Elab_Command_aux__def___closed__41 = _init_l_Lean_Elab_Command_aux__def___closed__41(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__41); +l_Lean_Elab_Command_aux__def___closed__42 = _init_l_Lean_Elab_Command_aux__def___closed__42(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__42); +l_Lean_Elab_Command_aux__def___closed__43 = _init_l_Lean_Elab_Command_aux__def___closed__43(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__43); +l_Lean_Elab_Command_aux__def___closed__44 = _init_l_Lean_Elab_Command_aux__def___closed__44(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__44); +l_Lean_Elab_Command_aux__def___closed__45 = _init_l_Lean_Elab_Command_aux__def___closed__45(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__45); +l_Lean_Elab_Command_aux__def___closed__46 = _init_l_Lean_Elab_Command_aux__def___closed__46(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__46); +l_Lean_Elab_Command_aux__def___closed__47 = _init_l_Lean_Elab_Command_aux__def___closed__47(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def___closed__47); +l_Lean_Elab_Command_aux__def = _init_l_Lean_Elab_Command_aux__def(); +lean_mark_persistent(l_Lean_Elab_Command_aux__def); +l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg___closed__1); +l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__1 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__1); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__1 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__1); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__2 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__2); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__3 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__3); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__4 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__4); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__5 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__5); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__6 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__6); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__7 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__7); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__8 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__8); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__9 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__9); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__10 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__10); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__11 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__11); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__12 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__12); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__13 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__13); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__14 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__14); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__15 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__15); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__16 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__16); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__17 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__17); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__18 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__18(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__18); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__19 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__19(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__19); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__20 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__20(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__20); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__21 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__21); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__22 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__22); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__23 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__23); +l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__24 = _init_l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_elabAuxDef___lambda__2___closed__24); +l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__1); +l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__2); +l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabAuxDef___closed__3); +res = l___regBuiltin_Lean_Elab_Command_elabAuxDef(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/ElabRules.c b/stage0/stdlib/Lean/Elab/ElabRules.c index bff7c35b24..3ed4fe13b0 100644 --- a/stage0/stdlib/Lean/Elab/ElabRules.c +++ b/stage0/stdlib/Lean/Elab/ElabRules.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.ElabRules -// Imports: Init Lean.Elab.MacroArgUtil +// Imports: Init Lean.Elab.MacroArgUtil Lean.Elab.AuxDef #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -20,7 +20,6 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation_ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116; size_t lean_usize_add(size_t, size_t); @@ -58,6 +57,7 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6 LEAN_EXPORT lean_object* l_Lean_Elab_Command_withExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__87; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; @@ -74,7 +74,7 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9 static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__8; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122; +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7___closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__7; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__3; @@ -95,11 +95,9 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__4 static lean_object* l_Lean_Elab_Command_expandElab___lambda__3___closed__1; static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRulesAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131; lean_object* l_Lean_Elab_Command_resolveSyntaxKind(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__1; @@ -163,7 +161,6 @@ lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_ extern lean_object* l_Lean_choiceKind; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__132; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103; static lean_object* l_Lean_Elab_Command_withExpectedType___closed__2; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; @@ -172,11 +169,10 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9 static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121; +static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; lean_object* l_Array_unzip___rarg(lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; extern lean_object* l_Lean_instInhabitedSyntax; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___boxed(lean_object*, lean_object*); @@ -185,7 +181,6 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3 lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; @@ -233,7 +228,6 @@ lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__124; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); @@ -248,7 +242,6 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3 LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandElab___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabElabRulesAux___spec__1___rarg___closed__1; uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; @@ -256,7 +249,6 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6 static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__11; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandElab___lambda__1___closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandElab___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*); @@ -276,8 +268,6 @@ LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_expandElab lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandElab___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__108; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__133; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRulesAux___boxed__const__1; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; @@ -286,7 +276,6 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__6 static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandElab___lambda__2___boxed__const__1; -static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandElab___closed__2; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___closed__2; @@ -691,7 +680,7 @@ x_36 = lean_unsigned_to_nat(1u); x_37 = l_Lean_Syntax_setArg(x_1, x_36, x_35); x_38 = lean_unsigned_to_nat(0u); x_39 = lean_array_set(x_2, x_38, x_37); -x_40 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_8, x_9, x_10); +x_40 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_10); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); @@ -1129,7 +1118,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___clo _start: { lean_object* x_1; -x_1 = lean_mk_string("Command"); +x_1 = lean_mk_string("Elab"); return x_1; } } @@ -1137,7 +1126,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__2; x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1147,7 +1136,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___clo _start: { lean_object* x_1; -x_1 = lean_mk_string("declaration"); +x_1 = lean_mk_string("Command"); return x_1; } } @@ -1165,7 +1154,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___clo _start: { lean_object* x_1; -x_1 = lean_mk_string("declModifiers"); +x_1 = lean_mk_string("aux_def"); return x_1; } } @@ -1173,7 +1162,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1382,53 +1371,57 @@ return x_2; static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(6u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("elabRules"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("def"); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -x_3 = lean_name_mk_string(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_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__39() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("declId"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string(":"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41() { _start: { lean_object* x_1; -x_1 = lean_mk_string("elabFn"); +x_1 = lean_mk_string("Lean.Elab.Tactic.Tactic"); return x_1; } } @@ -1458,27 +1451,27 @@ return x_4; static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("Tactic"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("optDeclSig"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1486,18 +1479,24 @@ return x_3; static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("typeSpec"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_1 = lean_box(0); x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__47; -x_3 = lean_name_mk_string(x_1, x_2); +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; } } @@ -1505,7 +1504,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___clo _start: { lean_object* x_1; -x_1 = lean_mk_string(":"); +x_1 = lean_mk_string(":="); return x_1; } } @@ -1513,176 +1512,39 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___clo _start: { lean_object* x_1; -x_1 = lean_mk_string("Lean.Elab.Tactic.Tactic"); +x_1 = lean_mk_string("fun"); return x_1; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; -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_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; -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_Elab_Command_elabElabRulesAux___lambda__1___closed__53() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Elab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__2; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Tactic"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("declValSimple"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(":="); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("fun"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("matchAlts"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54() { _start: { lean_object* x_1; @@ -1690,17 +1552,17 @@ x_1 = lean_mk_string("hole"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56() { _start: { lean_object* x_1; @@ -1708,7 +1570,7 @@ x_1 = lean_mk_string("_"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57() { _start: { lean_object* x_1; @@ -1716,22 +1578,22 @@ x_1 = lean_mk_string("throwUnsupportedSyntax"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__58; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1739,35 +1601,177 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(8u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_2 = l_Array_append___rarg(x_1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__67() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("commandElab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__71() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__68; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Lean.Elab.Command.CommandElab"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__75() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("CommandElab"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__75; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -1777,7 +1781,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76; -x_3 = lean_alloc_ctor(1, 2, 0); +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; @@ -1786,191 +1790,39 @@ return x_3; static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78() { _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* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; -x_2 = l_Array_append___rarg(x_1, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79; -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_Elab_Command_elabElabRulesAux___lambda__1___closed__81() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("commandElab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83; -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_Elab_Command_elabElabRulesAux___lambda__1___closed__85() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Elab.Command.CommandElab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__87() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__87; -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_Elab_Command_elabElabRulesAux___lambda__1___closed__89() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__9; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("CommandElab"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__89; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string("termElab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1978,17 +1830,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__79; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83() { _start: { lean_object* x_1; @@ -1996,22 +1848,22 @@ x_1 = lean_mk_string("Lean.Elab.Term.TermElab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99; +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2019,17 +1871,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__54; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__87() { _start: { lean_object* x_1; @@ -2037,41 +1889,41 @@ x_1 = lean_mk_string("TermElab"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__87; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__89() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__89; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91() { _start: { lean_object* x_1; @@ -2079,21 +1931,159 @@ x_1 = lean_mk_string("basicFun"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("stx"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__96() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("match"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchDiscr"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("with"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(6u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("syntax category '"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' does not support expected type specification"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__106; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__108() { _start: { lean_object* x_1; -x_1 = lean_mk_string("stx"); +x_1 = lean_mk_string("expectedType?"); return x_1; } } @@ -2134,7 +2124,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___clo _start: { lean_object* x_1; -x_1 = lean_mk_string("match"); +x_1 = lean_mk_string("app"); return x_1; } } @@ -2152,188 +2142,69 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___clo _start: { lean_object* x_1; -x_1 = lean_mk_string("matchDiscr"); +x_1 = lean_mk_string("Lean.Elab.Command.withExpectedType"); return x_1; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__114; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__114; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("with"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__114; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__117() { _start: { lean_object* x_1; -x_1 = lean_mk_string("syntax category '"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__118() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__117; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("' does not support expected type specification"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("expectedType?"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122; -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_Elab_Command_elabElabRulesAux___lambda__1___closed__124() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("app"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__6; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("Lean.Elab.Command.withExpectedType"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128; -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_Elab_Command_elabElabRulesAux___lambda__1___closed__130() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string("withExpectedType"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__118() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__89; -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__117; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__132() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__118; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__133() { +static lean_object* _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__132; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -2382,13 +2253,14 @@ 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; uint8_t x_31; lean_dec(x_5); +lean_inc(x_2); x_21 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(x_2, x_6, x_7, x_8); 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_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_6, x_7, x_23); +x_24 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_6, x_7, x_23); x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); @@ -2406,7 +2278,7 @@ lean_dec(x_7); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_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; 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_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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; 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; x_32 = lean_ctor_get(x_30, 0); x_33 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; lean_inc(x_25); @@ -2464,2477 +2336,2140 @@ x_62 = lean_array_push(x_39, x_61); x_63 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_63, 0, x_41); lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +x_64 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; lean_inc(x_25); x_65 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_65, 0, x_25); lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; +x_66 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; lean_inc(x_28); lean_inc(x_32); x_67 = l_Lean_addMacroScope(x_32, x_66, x_28); -x_68 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +x_68 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; lean_inc(x_25); x_69 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_69, 0, x_25); lean_ctor_set(x_69, 1, x_68); lean_ctor_set(x_69, 2, x_67); lean_ctor_set(x_69, 3, x_36); -x_70 = lean_array_push(x_43, x_69); -x_71 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; -x_72 = lean_array_push(x_70, x_71); -x_73 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -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 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +x_70 = lean_mk_syntax_ident(x_2); +x_71 = lean_array_push(x_43, x_69); +x_72 = lean_array_push(x_71, x_70); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_41); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; lean_inc(x_25); -x_76 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_76, 0, x_25); -lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_25); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; lean_inc(x_28); lean_inc(x_32); -x_78 = l_Lean_addMacroScope(x_32, x_77, x_28); -x_79 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; -x_80 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_77 = l_Lean_addMacroScope(x_32, x_76, x_28); +x_78 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +x_79 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; lean_inc(x_25); -x_81 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_81, 0, x_25); -lean_ctor_set(x_81, 1, x_79); -lean_ctor_set(x_81, 2, x_78); -lean_ctor_set(x_81, 3, x_80); -x_82 = lean_array_push(x_43, x_76); -x_83 = lean_array_push(x_82, x_81); -x_84 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -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_39, x_85); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_41); -lean_ctor_set(x_87, 1, x_86); -x_88 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; -x_89 = lean_array_push(x_88, x_87); -x_90 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +x_80 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_80, 0, x_25); +lean_ctor_set(x_80, 1, x_78); +lean_ctor_set(x_80, 2, x_77); +lean_ctor_set(x_80, 3, x_79); +x_81 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; lean_inc(x_25); -x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_25); -lean_ctor_set(x_93, 1, x_92); -x_94 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +x_82 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_82, 0, x_25); +lean_ctor_set(x_82, 1, x_81); +x_83 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; lean_inc(x_25); -x_95 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_95, 0, x_25); +x_84 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_84, 0, x_25); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_86 = l_Array_append___rarg(x_85, x_3); +x_87 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_25); +x_88 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_88, 0, x_25); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +lean_inc(x_25); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_25); +lean_ctor_set(x_90, 1, x_89); +x_91 = lean_array_push(x_39, x_90); +x_92 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +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_39, x_93); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_41); lean_ctor_set(x_95, 1, x_94); -x_96 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; -x_97 = l_Array_append___rarg(x_96, x_3); -x_98 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +x_96 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; lean_inc(x_25); -x_99 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_99, 0, x_25); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -lean_inc(x_25); -x_101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_101, 0, x_25); -lean_ctor_set(x_101, 1, x_100); -x_102 = lean_array_push(x_39, x_101); -x_103 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_102); -x_105 = lean_array_push(x_39, x_104); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_41); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; -lean_inc(x_25); -x_108 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_108, 0, x_25); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -x_110 = l_Lean_addMacroScope(x_32, x_109, x_28); -x_111 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; -x_112 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; -x_113 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_113, 0, x_25); -lean_ctor_set(x_113, 1, x_111); -lean_ctor_set(x_113, 2, x_110); -lean_ctor_set(x_113, 3, x_112); -x_114 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; -x_115 = lean_array_push(x_114, x_99); -x_116 = lean_array_push(x_115, x_106); -x_117 = lean_array_push(x_116, x_108); -x_118 = lean_array_push(x_117, x_113); -x_119 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -x_121 = lean_array_push(x_97, x_120); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_41); -lean_ctor_set(x_122, 1, x_121); -x_123 = lean_array_push(x_39, x_122); -x_124 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_123); -x_126 = lean_array_push(x_43, x_95); -x_127 = lean_array_push(x_126, x_125); -x_128 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = lean_array_push(x_56, x_93); -x_131 = lean_array_push(x_130, x_129); -x_132 = lean_array_push(x_131, x_71); -x_133 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; -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 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; +x_97 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_97, 0, x_25); +lean_ctor_set(x_97, 1, x_96); +x_98 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_99 = l_Lean_addMacroScope(x_32, x_98, x_28); +x_100 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_101 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +x_102 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_102, 0, x_25); +lean_ctor_set(x_102, 1, x_100); +lean_ctor_set(x_102, 2, x_99); +lean_ctor_set(x_102, 3, x_101); +x_103 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_104 = lean_array_push(x_103, x_88); +x_105 = lean_array_push(x_104, x_95); +x_106 = lean_array_push(x_105, x_97); +x_107 = lean_array_push(x_106, x_102); +x_108 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +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 = lean_array_push(x_86, x_109); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_41); +lean_ctor_set(x_111, 1, x_110); +x_112 = lean_array_push(x_39, x_111); +x_113 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_112); +x_115 = lean_array_push(x_43, x_84); +x_116 = lean_array_push(x_115, x_114); +x_117 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_116); +if (lean_obj_tag(x_4) == 0) +{ +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; +x_119 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_120 = lean_array_push(x_119, x_63); +x_121 = lean_array_push(x_120, x_65); +x_122 = lean_array_push(x_121, x_73); +x_123 = lean_array_push(x_122, x_75); +x_124 = lean_array_push(x_123, x_80); +x_125 = lean_array_push(x_124, x_82); +x_126 = lean_array_push(x_125, x_118); +x_127 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_127); +lean_ctor_set(x_128, 1, x_126); +lean_ctor_set(x_30, 0, x_128); +return x_30; +} +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; 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; +x_129 = lean_ctor_get(x_4, 0); +lean_inc(x_129); +lean_dec(x_4); +x_130 = lean_array_push(x_39, x_129); +x_131 = l_Array_append___rarg(x_85, x_130); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_41); +lean_ctor_set(x_132, 1, x_131); +x_133 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +x_134 = lean_array_push(x_133, x_132); +x_135 = lean_array_push(x_134, x_63); x_136 = lean_array_push(x_135, x_65); -x_137 = lean_array_push(x_136, x_74); -x_138 = lean_array_push(x_137, x_91); -x_139 = lean_array_push(x_138, x_134); -x_140 = lean_array_push(x_139, x_71); -x_141 = lean_array_push(x_140, x_71); -x_142 = lean_array_push(x_141, x_71); -x_143 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_142); -if (lean_obj_tag(x_4) == 0) -{ -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; -x_145 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; -x_146 = lean_array_push(x_145, x_63); -x_147 = lean_array_push(x_146, x_71); -x_148 = lean_array_push(x_147, x_71); -x_149 = lean_array_push(x_148, x_71); -x_150 = lean_array_push(x_149, x_71); -x_151 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -x_153 = lean_array_push(x_43, x_152); -x_154 = lean_array_push(x_153, x_144); -x_155 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_154); -lean_ctor_set(x_30, 0, x_156); -return x_30; -} -else -{ -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; 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; -x_157 = lean_ctor_get(x_4, 0); -lean_inc(x_157); -lean_dec(x_4); -x_158 = lean_array_push(x_39, x_157); -x_159 = l_Array_append___rarg(x_96, x_158); -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_41); -lean_ctor_set(x_160, 1, x_159); -x_161 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -x_162 = lean_array_push(x_161, x_160); -x_163 = lean_array_push(x_162, x_63); -x_164 = lean_array_push(x_163, x_71); -x_165 = lean_array_push(x_164, x_71); -x_166 = lean_array_push(x_165, x_71); -x_167 = lean_array_push(x_166, x_71); -x_168 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -x_170 = lean_array_push(x_43, x_169); -x_171 = lean_array_push(x_170, x_144); -x_172 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -x_173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_173, 0, x_172); -lean_ctor_set(x_173, 1, x_171); -lean_ctor_set(x_30, 0, x_173); +x_137 = lean_array_push(x_136, x_73); +x_138 = lean_array_push(x_137, x_75); +x_139 = lean_array_push(x_138, x_80); +x_140 = lean_array_push(x_139, x_82); +x_141 = lean_array_push(x_140, x_118); +x_142 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_141); +lean_ctor_set(x_30, 0, x_143); return x_30; } } else { -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; 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; 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; -x_174 = lean_ctor_get(x_30, 0); -x_175 = lean_ctor_get(x_30, 1); -lean_inc(x_175); -lean_inc(x_174); +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; 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; 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; +x_144 = lean_ctor_get(x_30, 0); +x_145 = lean_ctor_get(x_30, 1); +lean_inc(x_145); +lean_inc(x_144); lean_dec(x_30); -x_176 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +x_146 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; lean_inc(x_25); -x_177 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_177, 0, x_25); -lean_ctor_set(x_177, 1, x_176); +x_147 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_147, 0, x_25); +lean_ctor_set(x_147, 1, x_146); lean_inc(x_28); -lean_inc(x_174); -x_178 = l_Lean_addMacroScope(x_174, x_13, x_28); -x_179 = lean_box(0); -x_180 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31; +lean_inc(x_144); +x_148 = l_Lean_addMacroScope(x_144, x_13, x_28); +x_149 = lean_box(0); +x_150 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31; lean_inc(x_25); -x_181 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_181, 0, x_25); -lean_ctor_set(x_181, 1, x_180); -lean_ctor_set(x_181, 2, x_178); -lean_ctor_set(x_181, 3, x_179); -x_182 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_183 = lean_array_push(x_182, x_22); -x_184 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_183); -x_186 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; -x_187 = lean_array_push(x_186, x_181); -x_188 = lean_array_push(x_187, x_185); -x_189 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_188); -x_191 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; -x_192 = lean_array_push(x_191, x_190); -x_193 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -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 = lean_array_push(x_182, x_194); -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_184); -lean_ctor_set(x_196, 1, x_195); -x_197 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +x_151 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_151, 0, x_25); +lean_ctor_set(x_151, 1, x_150); +lean_ctor_set(x_151, 2, x_148); +lean_ctor_set(x_151, 3, x_149); +x_152 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_153 = lean_array_push(x_152, x_22); +x_154 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_155 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_153); +x_156 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_157 = lean_array_push(x_156, x_151); +x_158 = lean_array_push(x_157, x_155); +x_159 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +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_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_162 = lean_array_push(x_161, x_160); +x_163 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +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_152, x_164); +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_154); +lean_ctor_set(x_166, 1, x_165); +x_167 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; lean_inc(x_25); -x_198 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_198, 0, x_25); -lean_ctor_set(x_198, 1, x_197); -x_199 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; -x_200 = lean_array_push(x_199, x_177); -x_201 = lean_array_push(x_200, x_196); -x_202 = lean_array_push(x_201, x_198); -x_203 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -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_182, x_204); +x_168 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_168, 0, x_25); +lean_ctor_set(x_168, 1, x_167); +x_169 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_170 = lean_array_push(x_169, x_147); +x_171 = lean_array_push(x_170, x_166); +x_172 = lean_array_push(x_171, x_168); +x_173 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_172); +x_175 = lean_array_push(x_152, x_174); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_154); +lean_ctor_set(x_176, 1, x_175); +x_177 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_25); +x_178 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_178, 0, x_25); +lean_ctor_set(x_178, 1, x_177); +x_179 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; +lean_inc(x_28); +lean_inc(x_144); +x_180 = l_Lean_addMacroScope(x_144, x_179, x_28); +x_181 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_25); +x_182 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_182, 0, x_25); +lean_ctor_set(x_182, 1, x_181); +lean_ctor_set(x_182, 2, x_180); +lean_ctor_set(x_182, 3, x_149); +x_183 = lean_mk_syntax_ident(x_2); +x_184 = lean_array_push(x_156, x_182); +x_185 = lean_array_push(x_184, x_183); +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_154); +lean_ctor_set(x_186, 1, x_185); +x_187 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_25); +x_188 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_188, 0, x_25); +lean_ctor_set(x_188, 1, x_187); +x_189 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +lean_inc(x_28); +lean_inc(x_144); +x_190 = l_Lean_addMacroScope(x_144, x_189, x_28); +x_191 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +x_192 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; +lean_inc(x_25); +x_193 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_193, 0, x_25); +lean_ctor_set(x_193, 1, x_191); +lean_ctor_set(x_193, 2, x_190); +lean_ctor_set(x_193, 3, x_192); +x_194 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_25); +x_195 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_195, 0, x_25); +lean_ctor_set(x_195, 1, x_194); +x_196 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +lean_inc(x_25); +x_197 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_197, 0, x_25); +lean_ctor_set(x_197, 1, x_196); +x_198 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_199 = l_Array_append___rarg(x_198, x_3); +x_200 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_25); +x_201 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_201, 0, x_25); +lean_ctor_set(x_201, 1, x_200); +x_202 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +lean_inc(x_25); +x_203 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_203, 0, x_25); +lean_ctor_set(x_203, 1, x_202); +x_204 = lean_array_push(x_152, x_203); +x_205 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_184); -lean_ctor_set(x_206, 1, x_205); -x_207 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_25); -x_208 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_208, 0, x_25); +lean_ctor_set(x_206, 0, x_205); +lean_ctor_set(x_206, 1, x_204); +x_207 = lean_array_push(x_152, x_206); +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_154); lean_ctor_set(x_208, 1, x_207); -x_209 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; -lean_inc(x_28); -lean_inc(x_174); -x_210 = l_Lean_addMacroScope(x_174, x_209, x_28); -x_211 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +x_209 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; lean_inc(x_25); -x_212 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_212, 0, x_25); -lean_ctor_set(x_212, 1, x_211); -lean_ctor_set(x_212, 2, x_210); -lean_ctor_set(x_212, 3, x_179); -x_213 = lean_array_push(x_186, x_212); -x_214 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; -x_215 = lean_array_push(x_213, x_214); -x_216 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -x_217 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_217, 0, x_216); -lean_ctor_set(x_217, 1, x_215); -x_218 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -lean_inc(x_25); -x_219 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_219, 0, x_25); -lean_ctor_set(x_219, 1, x_218); -x_220 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; -lean_inc(x_28); -lean_inc(x_174); -x_221 = l_Lean_addMacroScope(x_174, x_220, x_28); -x_222 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; -x_223 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; -lean_inc(x_25); -x_224 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_224, 0, x_25); -lean_ctor_set(x_224, 1, x_222); -lean_ctor_set(x_224, 2, x_221); -lean_ctor_set(x_224, 3, x_223); -x_225 = lean_array_push(x_186, x_219); -x_226 = lean_array_push(x_225, x_224); -x_227 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -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 = lean_array_push(x_182, x_228); -x_230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_230, 0, x_184); -lean_ctor_set(x_230, 1, x_229); -x_231 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; -x_232 = lean_array_push(x_231, x_230); -x_233 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -x_234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_232); -x_235 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -lean_inc(x_25); -x_236 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_236, 0, x_25); -lean_ctor_set(x_236, 1, x_235); -x_237 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; -lean_inc(x_25); -x_238 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_238, 0, x_25); -lean_ctor_set(x_238, 1, x_237); -x_239 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; -x_240 = l_Array_append___rarg(x_239, x_3); -x_241 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; -lean_inc(x_25); -x_242 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_242, 0, x_25); -lean_ctor_set(x_242, 1, x_241); -x_243 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -lean_inc(x_25); -x_244 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_244, 0, x_25); -lean_ctor_set(x_244, 1, x_243); -x_245 = lean_array_push(x_182, x_244); -x_246 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; -x_247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_245); -x_248 = lean_array_push(x_182, x_247); -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_184); -lean_ctor_set(x_249, 1, x_248); -x_250 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; -lean_inc(x_25); -x_251 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_251, 0, x_25); -lean_ctor_set(x_251, 1, x_250); -x_252 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -x_253 = l_Lean_addMacroScope(x_174, x_252, x_28); -x_254 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; -x_255 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; -x_256 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_256, 0, x_25); -lean_ctor_set(x_256, 1, x_254); -lean_ctor_set(x_256, 2, x_253); -lean_ctor_set(x_256, 3, x_255); -x_257 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; -x_258 = lean_array_push(x_257, x_242); -x_259 = lean_array_push(x_258, x_249); -x_260 = lean_array_push(x_259, x_251); -x_261 = lean_array_push(x_260, x_256); -x_262 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; -x_263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_263, 0, x_262); -lean_ctor_set(x_263, 1, x_261); -x_264 = lean_array_push(x_240, x_263); -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_184); -lean_ctor_set(x_265, 1, x_264); -x_266 = lean_array_push(x_182, x_265); -x_267 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_267); -lean_ctor_set(x_268, 1, x_266); -x_269 = lean_array_push(x_186, x_238); -x_270 = lean_array_push(x_269, x_268); -x_271 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; -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_199, x_236); -x_274 = lean_array_push(x_273, x_272); -x_275 = lean_array_push(x_274, x_214); -x_276 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; -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 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; -x_279 = lean_array_push(x_278, x_208); -x_280 = lean_array_push(x_279, x_217); -x_281 = lean_array_push(x_280, x_234); -x_282 = lean_array_push(x_281, x_277); -x_283 = lean_array_push(x_282, x_214); -x_284 = lean_array_push(x_283, x_214); -x_285 = lean_array_push(x_284, x_214); -x_286 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -x_287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_285); +x_210 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_210, 0, x_25); +lean_ctor_set(x_210, 1, x_209); +x_211 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_212 = l_Lean_addMacroScope(x_144, x_211, x_28); +x_213 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_214 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +x_215 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_215, 0, x_25); +lean_ctor_set(x_215, 1, x_213); +lean_ctor_set(x_215, 2, x_212); +lean_ctor_set(x_215, 3, x_214); +x_216 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_217 = lean_array_push(x_216, x_201); +x_218 = lean_array_push(x_217, x_208); +x_219 = lean_array_push(x_218, x_210); +x_220 = lean_array_push(x_219, x_215); +x_221 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +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 = lean_array_push(x_199, x_222); +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_154); +lean_ctor_set(x_224, 1, x_223); +x_225 = lean_array_push(x_152, x_224); +x_226 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +x_227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_225); +x_228 = lean_array_push(x_156, x_197); +x_229 = lean_array_push(x_228, x_227); +x_230 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_229); if (lean_obj_tag(x_4) == 0) { -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; -x_288 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; -x_289 = lean_array_push(x_288, x_206); -x_290 = lean_array_push(x_289, x_214); -x_291 = lean_array_push(x_290, x_214); -x_292 = lean_array_push(x_291, x_214); -x_293 = lean_array_push(x_292, x_214); -x_294 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -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_186, x_295); -x_297 = lean_array_push(x_296, x_287); -x_298 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_300, 0, x_299); -lean_ctor_set(x_300, 1, x_175); -return x_300; +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; +x_232 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_233 = lean_array_push(x_232, x_176); +x_234 = lean_array_push(x_233, x_178); +x_235 = lean_array_push(x_234, x_186); +x_236 = lean_array_push(x_235, x_188); +x_237 = lean_array_push(x_236, x_193); +x_238 = lean_array_push(x_237, x_195); +x_239 = lean_array_push(x_238, x_231); +x_240 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_239); +x_242 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_145); +return x_242; } else { -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; -x_301 = lean_ctor_get(x_4, 0); -lean_inc(x_301); +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; +x_243 = lean_ctor_get(x_4, 0); +lean_inc(x_243); lean_dec(x_4); -x_302 = lean_array_push(x_182, x_301); -x_303 = l_Array_append___rarg(x_239, x_302); -x_304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_304, 0, x_184); -lean_ctor_set(x_304, 1, x_303); -x_305 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -x_306 = lean_array_push(x_305, x_304); -x_307 = lean_array_push(x_306, x_206); -x_308 = lean_array_push(x_307, x_214); -x_309 = lean_array_push(x_308, x_214); -x_310 = lean_array_push(x_309, x_214); -x_311 = lean_array_push(x_310, x_214); -x_312 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_313 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_313, 0, x_312); -lean_ctor_set(x_313, 1, x_311); -x_314 = lean_array_push(x_186, x_313); -x_315 = lean_array_push(x_314, x_287); -x_316 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_318, 0, x_317); -lean_ctor_set(x_318, 1, x_175); -return x_318; +x_244 = lean_array_push(x_152, x_243); +x_245 = l_Array_append___rarg(x_198, x_244); +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_154); +lean_ctor_set(x_246, 1, x_245); +x_247 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +x_248 = lean_array_push(x_247, x_246); +x_249 = lean_array_push(x_248, x_176); +x_250 = lean_array_push(x_249, x_178); +x_251 = lean_array_push(x_250, x_186); +x_252 = lean_array_push(x_251, x_188); +x_253 = lean_array_push(x_252, x_193); +x_254 = lean_array_push(x_253, x_195); +x_255 = lean_array_push(x_254, x_231); +x_256 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_258, 0, x_257); +lean_ctor_set(x_258, 1, x_145); +return x_258; } } } } else { -lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; uint8_t x_329; +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; uint8_t x_269; lean_dec(x_5); -x_319 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(x_2, x_6, x_7, x_8); -x_320 = lean_ctor_get(x_319, 0); -lean_inc(x_320); -x_321 = lean_ctor_get(x_319, 1); -lean_inc(x_321); -lean_dec(x_319); -x_322 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_6, x_7, x_321); -x_323 = lean_ctor_get(x_322, 0); -lean_inc(x_323); -x_324 = lean_ctor_get(x_322, 1); -lean_inc(x_324); -lean_dec(x_322); -x_325 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_324); +lean_inc(x_2); +x_259 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(x_2, x_6, x_7, x_8); +x_260 = lean_ctor_get(x_259, 0); +lean_inc(x_260); +x_261 = lean_ctor_get(x_259, 1); +lean_inc(x_261); +lean_dec(x_259); +x_262 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_6, x_7, x_261); +x_263 = lean_ctor_get(x_262, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_262, 1); +lean_inc(x_264); +lean_dec(x_262); +x_265 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_264); lean_dec(x_6); -x_326 = lean_ctor_get(x_325, 0); -lean_inc(x_326); -x_327 = lean_ctor_get(x_325, 1); -lean_inc(x_327); -lean_dec(x_325); -x_328 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_327); +x_266 = lean_ctor_get(x_265, 0); +lean_inc(x_266); +x_267 = lean_ctor_get(x_265, 1); +lean_inc(x_267); +lean_dec(x_265); +x_268 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_267); lean_dec(x_7); -x_329 = !lean_is_exclusive(x_328); -if (x_329 == 0) +x_269 = !lean_is_exclusive(x_268); +if (x_269 == 0) { -lean_object* x_330; lean_object* x_331; lean_object* x_332; 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; 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; -x_330 = lean_ctor_get(x_328, 0); -x_331 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_323); -x_332 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_332, 0, x_323); -lean_ctor_set(x_332, 1, x_331); -x_333 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85; -lean_inc(x_326); -lean_inc(x_330); -x_334 = l_Lean_addMacroScope(x_330, x_333, x_326); -x_335 = lean_box(0); -x_336 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; -lean_inc(x_323); -x_337 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_337, 0, x_323); -lean_ctor_set(x_337, 1, x_336); -lean_ctor_set(x_337, 2, x_334); -lean_ctor_set(x_337, 3, x_335); -x_338 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_339 = lean_array_push(x_338, x_320); -x_340 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; -x_341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_341, 0, x_340); +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; lean_object* x_322; lean_object* x_323; lean_object* x_324; 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; lean_object* x_332; 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; +x_270 = lean_ctor_get(x_268, 0); +x_271 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_263); +x_272 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_272, 0, x_263); +lean_ctor_set(x_272, 1, x_271); +x_273 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; +lean_inc(x_266); +lean_inc(x_270); +x_274 = l_Lean_addMacroScope(x_270, x_273, x_266); +x_275 = lean_box(0); +x_276 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +lean_inc(x_263); +x_277 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_277, 0, x_263); +lean_ctor_set(x_277, 1, x_276); +lean_ctor_set(x_277, 2, x_274); +lean_ctor_set(x_277, 3, x_275); +x_278 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_279 = lean_array_push(x_278, x_260); +x_280 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_281 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_281, 0, x_280); +lean_ctor_set(x_281, 1, x_279); +x_282 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_283 = lean_array_push(x_282, x_277); +x_284 = lean_array_push(x_283, x_281); +x_285 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +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_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_288 = lean_array_push(x_287, x_286); +x_289 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +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_278, x_290); +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_280); +lean_ctor_set(x_292, 1, x_291); +x_293 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_263); +x_294 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_294, 0, x_263); +lean_ctor_set(x_294, 1, x_293); +x_295 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_296 = lean_array_push(x_295, x_272); +x_297 = lean_array_push(x_296, x_292); +x_298 = lean_array_push(x_297, x_294); +x_299 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_300 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_300, 0, x_299); +lean_ctor_set(x_300, 1, x_298); +x_301 = lean_array_push(x_278, x_300); +x_302 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_302, 0, x_280); +lean_ctor_set(x_302, 1, x_301); +x_303 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_263); +x_304 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_304, 0, x_263); +lean_ctor_set(x_304, 1, x_303); +x_305 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; +lean_inc(x_266); +lean_inc(x_270); +x_306 = l_Lean_addMacroScope(x_270, x_305, x_266); +x_307 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_263); +x_308 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_308, 0, x_263); +lean_ctor_set(x_308, 1, x_307); +lean_ctor_set(x_308, 2, x_306); +lean_ctor_set(x_308, 3, x_275); +x_309 = lean_mk_syntax_ident(x_2); +x_310 = lean_array_push(x_282, x_308); +x_311 = lean_array_push(x_310, x_309); +x_312 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_312, 0, x_280); +lean_ctor_set(x_312, 1, x_311); +x_313 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_263); +x_314 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_314, 0, x_263); +lean_ctor_set(x_314, 1, x_313); +x_315 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76; +lean_inc(x_266); +lean_inc(x_270); +x_316 = l_Lean_addMacroScope(x_270, x_315, x_266); +x_317 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +x_318 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; +lean_inc(x_263); +x_319 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_319, 0, x_263); +lean_ctor_set(x_319, 1, x_317); +lean_ctor_set(x_319, 2, x_316); +lean_ctor_set(x_319, 3, x_318); +x_320 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_263); +x_321 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_321, 0, x_263); +lean_ctor_set(x_321, 1, x_320); +x_322 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +lean_inc(x_263); +x_323 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_323, 0, x_263); +lean_ctor_set(x_323, 1, x_322); +x_324 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_325 = l_Array_append___rarg(x_324, x_3); +x_326 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_263); +x_327 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_327, 0, x_263); +lean_ctor_set(x_327, 1, x_326); +x_328 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +lean_inc(x_263); +x_329 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_329, 0, x_263); +lean_ctor_set(x_329, 1, x_328); +x_330 = lean_array_push(x_278, x_329); +x_331 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +x_332 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_332, 0, x_331); +lean_ctor_set(x_332, 1, x_330); +x_333 = lean_array_push(x_278, x_332); +x_334 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_334, 0, x_280); +lean_ctor_set(x_334, 1, x_333); +x_335 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_263); +x_336 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_336, 0, x_263); +lean_ctor_set(x_336, 1, x_335); +x_337 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_338 = l_Lean_addMacroScope(x_270, x_337, x_266); +x_339 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_340 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +x_341 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_341, 0, x_263); lean_ctor_set(x_341, 1, x_339); -x_342 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; -x_343 = lean_array_push(x_342, x_337); -x_344 = lean_array_push(x_343, x_341); -x_345 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; -x_346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_346, 0, x_345); -lean_ctor_set(x_346, 1, x_344); -x_347 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; -x_348 = lean_array_push(x_347, x_346); -x_349 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +lean_ctor_set(x_341, 2, x_338); +lean_ctor_set(x_341, 3, x_340); +x_342 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_343 = lean_array_push(x_342, x_327); +x_344 = lean_array_push(x_343, x_334); +x_345 = lean_array_push(x_344, x_336); +x_346 = lean_array_push(x_345, x_341); +x_347 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_348, 0, x_347); +lean_ctor_set(x_348, 1, x_346); +x_349 = lean_array_push(x_325, x_348); x_350 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_350, 0, x_349); -lean_ctor_set(x_350, 1, x_348); -x_351 = lean_array_push(x_338, x_350); -x_352 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_352, 0, x_340); -lean_ctor_set(x_352, 1, x_351); -x_353 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; -lean_inc(x_323); -x_354 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_354, 0, x_323); -lean_ctor_set(x_354, 1, x_353); -x_355 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; -x_356 = lean_array_push(x_355, x_332); -x_357 = lean_array_push(x_356, x_352); -x_358 = lean_array_push(x_357, x_354); -x_359 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -x_360 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_360, 0, x_359); -lean_ctor_set(x_360, 1, x_358); -x_361 = lean_array_push(x_338, x_360); -x_362 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_362, 0, x_340); -lean_ctor_set(x_362, 1, x_361); -x_363 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_323); -x_364 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_364, 0, x_323); -lean_ctor_set(x_364, 1, x_363); -x_365 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; -lean_inc(x_326); -lean_inc(x_330); -x_366 = l_Lean_addMacroScope(x_330, x_365, x_326); -x_367 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -lean_inc(x_323); -x_368 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_368, 0, x_323); -lean_ctor_set(x_368, 1, x_367); -lean_ctor_set(x_368, 2, x_366); -lean_ctor_set(x_368, 3, x_335); -x_369 = lean_array_push(x_342, x_368); -x_370 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; -x_371 = lean_array_push(x_369, x_370); -x_372 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -x_373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_373, 0, x_372); -lean_ctor_set(x_373, 1, x_371); -x_374 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -lean_inc(x_323); -x_375 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_375, 0, x_323); -lean_ctor_set(x_375, 1, x_374); -x_376 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; -lean_inc(x_326); -lean_inc(x_330); -x_377 = l_Lean_addMacroScope(x_330, x_376, x_326); -x_378 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; -x_379 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; -lean_inc(x_323); -x_380 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_380, 0, x_323); -lean_ctor_set(x_380, 1, x_378); -lean_ctor_set(x_380, 2, x_377); -lean_ctor_set(x_380, 3, x_379); -x_381 = lean_array_push(x_342, x_375); -x_382 = lean_array_push(x_381, x_380); -x_383 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -x_384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_384, 0, x_383); -lean_ctor_set(x_384, 1, x_382); -x_385 = lean_array_push(x_338, x_384); -x_386 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_386, 0, x_340); -lean_ctor_set(x_386, 1, x_385); -x_387 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; -x_388 = lean_array_push(x_387, x_386); -x_389 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -x_390 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_390, 0, x_389); -lean_ctor_set(x_390, 1, x_388); -x_391 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -lean_inc(x_323); -x_392 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_392, 0, x_323); -lean_ctor_set(x_392, 1, x_391); -x_393 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; -lean_inc(x_323); -x_394 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_394, 0, x_323); -lean_ctor_set(x_394, 1, x_393); -x_395 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; -x_396 = l_Array_append___rarg(x_395, x_3); -x_397 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; -lean_inc(x_323); -x_398 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_398, 0, x_323); -lean_ctor_set(x_398, 1, x_397); -x_399 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -lean_inc(x_323); -x_400 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_400, 0, x_323); -lean_ctor_set(x_400, 1, x_399); -x_401 = lean_array_push(x_338, x_400); -x_402 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; -x_403 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_403, 0, x_402); -lean_ctor_set(x_403, 1, x_401); -x_404 = lean_array_push(x_338, x_403); -x_405 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_405, 0, x_340); -lean_ctor_set(x_405, 1, x_404); -x_406 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; -lean_inc(x_323); -x_407 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_407, 0, x_323); -lean_ctor_set(x_407, 1, x_406); -x_408 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -x_409 = l_Lean_addMacroScope(x_330, x_408, x_326); -x_410 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; -x_411 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; -x_412 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_412, 0, x_323); -lean_ctor_set(x_412, 1, x_410); -lean_ctor_set(x_412, 2, x_409); -lean_ctor_set(x_412, 3, x_411); -x_413 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; -x_414 = lean_array_push(x_413, x_398); -x_415 = lean_array_push(x_414, x_405); -x_416 = lean_array_push(x_415, x_407); -x_417 = lean_array_push(x_416, x_412); -x_418 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; -x_419 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_419, 0, x_418); -lean_ctor_set(x_419, 1, x_417); -x_420 = lean_array_push(x_396, x_419); -x_421 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_421, 0, x_340); -lean_ctor_set(x_421, 1, x_420); -x_422 = lean_array_push(x_338, x_421); -x_423 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; -x_424 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_424, 0, x_423); -lean_ctor_set(x_424, 1, x_422); -x_425 = lean_array_push(x_342, x_394); -x_426 = lean_array_push(x_425, x_424); -x_427 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; -x_428 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_428, 0, x_427); -lean_ctor_set(x_428, 1, x_426); -x_429 = lean_array_push(x_355, x_392); -x_430 = lean_array_push(x_429, x_428); -x_431 = lean_array_push(x_430, x_370); -x_432 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; -x_433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_433, 0, x_432); -lean_ctor_set(x_433, 1, x_431); -x_434 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; -x_435 = lean_array_push(x_434, x_364); -x_436 = lean_array_push(x_435, x_373); -x_437 = lean_array_push(x_436, x_390); -x_438 = lean_array_push(x_437, x_433); -x_439 = lean_array_push(x_438, x_370); -x_440 = lean_array_push(x_439, x_370); -x_441 = lean_array_push(x_440, x_370); -x_442 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -x_443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_443, 0, x_442); -lean_ctor_set(x_443, 1, x_441); +lean_ctor_set(x_350, 0, x_280); +lean_ctor_set(x_350, 1, x_349); +x_351 = lean_array_push(x_278, x_350); +x_352 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +x_353 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_353, 0, x_352); +lean_ctor_set(x_353, 1, x_351); +x_354 = lean_array_push(x_282, x_323); +x_355 = lean_array_push(x_354, x_353); +x_356 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; +x_357 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_357, 0, x_356); +lean_ctor_set(x_357, 1, x_355); if (lean_obj_tag(x_4) == 0) { -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; -x_444 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; -x_445 = lean_array_push(x_444, x_362); -x_446 = lean_array_push(x_445, x_370); -x_447 = lean_array_push(x_446, x_370); -x_448 = lean_array_push(x_447, x_370); -x_449 = lean_array_push(x_448, x_370); -x_450 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -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_array_push(x_342, x_451); -x_453 = lean_array_push(x_452, x_443); -x_454 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -x_455 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_455, 0, x_454); -lean_ctor_set(x_455, 1, x_453); -lean_ctor_set(x_328, 0, x_455); -return x_328; +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; +x_358 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_359 = lean_array_push(x_358, x_302); +x_360 = lean_array_push(x_359, x_304); +x_361 = lean_array_push(x_360, x_312); +x_362 = lean_array_push(x_361, x_314); +x_363 = lean_array_push(x_362, x_319); +x_364 = lean_array_push(x_363, x_321); +x_365 = lean_array_push(x_364, x_357); +x_366 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_367 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_367, 0, x_366); +lean_ctor_set(x_367, 1, x_365); +lean_ctor_set(x_268, 0, x_367); +return x_268; } else { -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_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; -x_456 = lean_ctor_get(x_4, 0); -lean_inc(x_456); +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; +x_368 = lean_ctor_get(x_4, 0); +lean_inc(x_368); lean_dec(x_4); -x_457 = lean_array_push(x_338, x_456); -x_458 = l_Array_append___rarg(x_395, x_457); -x_459 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_459, 0, x_340); -lean_ctor_set(x_459, 1, x_458); -x_460 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -x_461 = lean_array_push(x_460, x_459); -x_462 = lean_array_push(x_461, x_362); -x_463 = lean_array_push(x_462, x_370); -x_464 = lean_array_push(x_463, x_370); -x_465 = lean_array_push(x_464, x_370); -x_466 = lean_array_push(x_465, x_370); -x_467 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_468, 0, x_467); -lean_ctor_set(x_468, 1, x_466); -x_469 = lean_array_push(x_342, x_468); -x_470 = lean_array_push(x_469, x_443); -x_471 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -x_472 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_472, 0, x_471); -lean_ctor_set(x_472, 1, x_470); -lean_ctor_set(x_328, 0, x_472); -return x_328; +x_369 = lean_array_push(x_278, x_368); +x_370 = l_Array_append___rarg(x_324, x_369); +x_371 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_371, 0, x_280); +lean_ctor_set(x_371, 1, x_370); +x_372 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +x_373 = lean_array_push(x_372, x_371); +x_374 = lean_array_push(x_373, x_302); +x_375 = lean_array_push(x_374, x_304); +x_376 = lean_array_push(x_375, x_312); +x_377 = lean_array_push(x_376, x_314); +x_378 = lean_array_push(x_377, x_319); +x_379 = lean_array_push(x_378, x_321); +x_380 = lean_array_push(x_379, x_357); +x_381 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_380); +lean_ctor_set(x_268, 0, x_382); +return x_268; } } else { -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; 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; -x_473 = lean_ctor_get(x_328, 0); -x_474 = lean_ctor_get(x_328, 1); -lean_inc(x_474); -lean_inc(x_473); -lean_dec(x_328); -x_475 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_323); -x_476 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_476, 0, x_323); -lean_ctor_set(x_476, 1, x_475); -x_477 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85; -lean_inc(x_326); -lean_inc(x_473); -x_478 = l_Lean_addMacroScope(x_473, x_477, x_326); -x_479 = lean_box(0); -x_480 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; -lean_inc(x_323); -x_481 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_481, 0, x_323); -lean_ctor_set(x_481, 1, x_480); -lean_ctor_set(x_481, 2, x_478); -lean_ctor_set(x_481, 3, x_479); -x_482 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_483 = lean_array_push(x_482, x_320); -x_484 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; -x_485 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_485, 0, x_484); -lean_ctor_set(x_485, 1, x_483); -x_486 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; -x_487 = lean_array_push(x_486, x_481); -x_488 = lean_array_push(x_487, x_485); -x_489 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; -x_490 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_490, 0, x_489); -lean_ctor_set(x_490, 1, x_488); -x_491 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; -x_492 = lean_array_push(x_491, x_490); -x_493 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -x_494 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_494, 0, x_493); -lean_ctor_set(x_494, 1, x_492); -x_495 = lean_array_push(x_482, x_494); -x_496 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_496, 0, x_484); -lean_ctor_set(x_496, 1, x_495); -x_497 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; -lean_inc(x_323); -x_498 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_498, 0, x_323); -lean_ctor_set(x_498, 1, x_497); -x_499 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; -x_500 = lean_array_push(x_499, x_476); -x_501 = lean_array_push(x_500, x_496); -x_502 = lean_array_push(x_501, x_498); -x_503 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -x_504 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_504, 0, x_503); -lean_ctor_set(x_504, 1, x_502); -x_505 = lean_array_push(x_482, x_504); -x_506 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_506, 0, x_484); -lean_ctor_set(x_506, 1, x_505); -x_507 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_323); -x_508 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_508, 0, x_323); -lean_ctor_set(x_508, 1, x_507); -x_509 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; -lean_inc(x_326); -lean_inc(x_473); -x_510 = l_Lean_addMacroScope(x_473, x_509, x_326); -x_511 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -lean_inc(x_323); -x_512 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_512, 0, x_323); +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; 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; 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_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; +x_383 = lean_ctor_get(x_268, 0); +x_384 = lean_ctor_get(x_268, 1); +lean_inc(x_384); +lean_inc(x_383); +lean_dec(x_268); +x_385 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_263); +x_386 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_386, 0, x_263); +lean_ctor_set(x_386, 1, x_385); +x_387 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__71; +lean_inc(x_266); +lean_inc(x_383); +x_388 = l_Lean_addMacroScope(x_383, x_387, x_266); +x_389 = lean_box(0); +x_390 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +lean_inc(x_263); +x_391 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_391, 0, x_263); +lean_ctor_set(x_391, 1, x_390); +lean_ctor_set(x_391, 2, x_388); +lean_ctor_set(x_391, 3, x_389); +x_392 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_393 = lean_array_push(x_392, x_260); +x_394 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +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 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_397 = lean_array_push(x_396, x_391); +x_398 = lean_array_push(x_397, x_395); +x_399 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +x_400 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_400, 0, x_399); +lean_ctor_set(x_400, 1, x_398); +x_401 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_402 = lean_array_push(x_401, x_400); +x_403 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_404 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_404, 0, x_403); +lean_ctor_set(x_404, 1, x_402); +x_405 = lean_array_push(x_392, x_404); +x_406 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_406, 0, x_394); +lean_ctor_set(x_406, 1, x_405); +x_407 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_263); +x_408 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_408, 0, x_263); +lean_ctor_set(x_408, 1, x_407); +x_409 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_410 = lean_array_push(x_409, x_386); +x_411 = lean_array_push(x_410, x_406); +x_412 = lean_array_push(x_411, x_408); +x_413 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_414 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_414, 0, x_413); +lean_ctor_set(x_414, 1, x_412); +x_415 = lean_array_push(x_392, x_414); +x_416 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_416, 0, x_394); +lean_ctor_set(x_416, 1, x_415); +x_417 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_263); +x_418 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_418, 0, x_263); +lean_ctor_set(x_418, 1, x_417); +x_419 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; +lean_inc(x_266); +lean_inc(x_383); +x_420 = l_Lean_addMacroScope(x_383, x_419, x_266); +x_421 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_263); +x_422 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_422, 0, x_263); +lean_ctor_set(x_422, 1, x_421); +lean_ctor_set(x_422, 2, x_420); +lean_ctor_set(x_422, 3, x_389); +x_423 = lean_mk_syntax_ident(x_2); +x_424 = lean_array_push(x_396, x_422); +x_425 = lean_array_push(x_424, x_423); +x_426 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_426, 0, x_394); +lean_ctor_set(x_426, 1, x_425); +x_427 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_263); +x_428 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_428, 0, x_263); +lean_ctor_set(x_428, 1, x_427); +x_429 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76; +lean_inc(x_266); +lean_inc(x_383); +x_430 = l_Lean_addMacroScope(x_383, x_429, x_266); +x_431 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +x_432 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; +lean_inc(x_263); +x_433 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_433, 0, x_263); +lean_ctor_set(x_433, 1, x_431); +lean_ctor_set(x_433, 2, x_430); +lean_ctor_set(x_433, 3, x_432); +x_434 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_263); +x_435 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_435, 0, x_263); +lean_ctor_set(x_435, 1, x_434); +x_436 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +lean_inc(x_263); +x_437 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_437, 0, x_263); +lean_ctor_set(x_437, 1, x_436); +x_438 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_439 = l_Array_append___rarg(x_438, x_3); +x_440 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_263); +x_441 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_441, 0, x_263); +lean_ctor_set(x_441, 1, x_440); +x_442 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +lean_inc(x_263); +x_443 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_443, 0, x_263); +lean_ctor_set(x_443, 1, x_442); +x_444 = lean_array_push(x_392, x_443); +x_445 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +x_446 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_446, 0, x_445); +lean_ctor_set(x_446, 1, x_444); +x_447 = lean_array_push(x_392, x_446); +x_448 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_448, 0, x_394); +lean_ctor_set(x_448, 1, x_447); +x_449 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_263); +x_450 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_450, 0, x_263); +lean_ctor_set(x_450, 1, x_449); +x_451 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_452 = l_Lean_addMacroScope(x_383, x_451, x_266); +x_453 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_454 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +x_455 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_455, 0, x_263); +lean_ctor_set(x_455, 1, x_453); +lean_ctor_set(x_455, 2, x_452); +lean_ctor_set(x_455, 3, x_454); +x_456 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_457 = lean_array_push(x_456, x_441); +x_458 = lean_array_push(x_457, x_448); +x_459 = lean_array_push(x_458, x_450); +x_460 = lean_array_push(x_459, x_455); +x_461 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_462 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_462, 0, x_461); +lean_ctor_set(x_462, 1, x_460); +x_463 = lean_array_push(x_439, x_462); +x_464 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_464, 0, x_394); +lean_ctor_set(x_464, 1, x_463); +x_465 = lean_array_push(x_392, x_464); +x_466 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +x_467 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_467, 0, x_466); +lean_ctor_set(x_467, 1, x_465); +x_468 = lean_array_push(x_396, x_437); +x_469 = lean_array_push(x_468, x_467); +x_470 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; +x_471 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_471, 0, x_470); +lean_ctor_set(x_471, 1, x_469); +if (lean_obj_tag(x_4) == 0) +{ +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; +x_472 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_473 = lean_array_push(x_472, x_416); +x_474 = lean_array_push(x_473, x_418); +x_475 = lean_array_push(x_474, x_426); +x_476 = lean_array_push(x_475, x_428); +x_477 = lean_array_push(x_476, x_433); +x_478 = lean_array_push(x_477, x_435); +x_479 = lean_array_push(x_478, x_471); +x_480 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_482, 0, x_481); +lean_ctor_set(x_482, 1, x_384); +return x_482; +} +else +{ +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; +x_483 = lean_ctor_get(x_4, 0); +lean_inc(x_483); +lean_dec(x_4); +x_484 = lean_array_push(x_392, x_483); +x_485 = l_Array_append___rarg(x_438, x_484); +x_486 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_486, 0, x_394); +lean_ctor_set(x_486, 1, x_485); +x_487 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +x_488 = lean_array_push(x_487, x_486); +x_489 = lean_array_push(x_488, x_416); +x_490 = lean_array_push(x_489, x_418); +x_491 = lean_array_push(x_490, x_426); +x_492 = lean_array_push(x_491, x_428); +x_493 = lean_array_push(x_492, x_433); +x_494 = lean_array_push(x_493, x_435); +x_495 = lean_array_push(x_494, x_471); +x_496 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_497 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_497, 0, x_496); +lean_ctor_set(x_497, 1, x_495); +x_498 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_498, 0, x_497); +lean_ctor_set(x_498, 1, x_384); +return x_498; +} +} +} +} +else +{ +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; uint8_t x_509; +lean_dec(x_5); +lean_inc(x_2); +x_499 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(x_2, x_6, x_7, x_8); +x_500 = lean_ctor_get(x_499, 0); +lean_inc(x_500); +x_501 = lean_ctor_get(x_499, 1); +lean_inc(x_501); +lean_dec(x_499); +x_502 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_6, x_7, x_501); +x_503 = lean_ctor_get(x_502, 0); +lean_inc(x_503); +x_504 = lean_ctor_get(x_502, 1); +lean_inc(x_504); +lean_dec(x_502); +x_505 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_504); +lean_dec(x_6); +x_506 = lean_ctor_get(x_505, 0); +lean_inc(x_506); +x_507 = lean_ctor_get(x_505, 1); +lean_inc(x_507); +lean_dec(x_505); +x_508 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_507); +lean_dec(x_7); +x_509 = !lean_is_exclusive(x_508); +if (x_509 == 0) +{ +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; 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; 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_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; +x_510 = lean_ctor_get(x_508, 0); +x_511 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_503); +x_512 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_512, 0, x_503); lean_ctor_set(x_512, 1, x_511); -lean_ctor_set(x_512, 2, x_510); -lean_ctor_set(x_512, 3, x_479); -x_513 = lean_array_push(x_486, x_512); -x_514 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; -x_515 = lean_array_push(x_513, x_514); -x_516 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -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 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -lean_inc(x_323); -x_519 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_519, 0, x_323); -lean_ctor_set(x_519, 1, x_518); -x_520 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; -lean_inc(x_326); -lean_inc(x_473); -x_521 = l_Lean_addMacroScope(x_473, x_520, x_326); -x_522 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; -x_523 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; -lean_inc(x_323); -x_524 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_524, 0, x_323); -lean_ctor_set(x_524, 1, x_522); -lean_ctor_set(x_524, 2, x_521); -lean_ctor_set(x_524, 3, x_523); -x_525 = lean_array_push(x_486, x_519); -x_526 = lean_array_push(x_525, x_524); -x_527 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -x_528 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_528, 0, x_527); -lean_ctor_set(x_528, 1, x_526); -x_529 = lean_array_push(x_482, x_528); +x_513 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82; +lean_inc(x_506); +lean_inc(x_510); +x_514 = l_Lean_addMacroScope(x_510, x_513, x_506); +x_515 = lean_box(0); +x_516 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; +lean_inc(x_503); +x_517 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_517, 0, x_503); +lean_ctor_set(x_517, 1, x_516); +lean_ctor_set(x_517, 2, x_514); +lean_ctor_set(x_517, 3, x_515); +x_518 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_519 = lean_array_push(x_518, x_500); +x_520 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_521 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_521, 0, x_520); +lean_ctor_set(x_521, 1, x_519); +x_522 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_523 = lean_array_push(x_522, x_517); +x_524 = lean_array_push(x_523, x_521); +x_525 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +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 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_528 = lean_array_push(x_527, x_526); +x_529 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_484); -lean_ctor_set(x_530, 1, x_529); -x_531 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; -x_532 = lean_array_push(x_531, x_530); -x_533 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -x_534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_534, 0, x_533); -lean_ctor_set(x_534, 1, x_532); -x_535 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -lean_inc(x_323); -x_536 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_536, 0, x_323); -lean_ctor_set(x_536, 1, x_535); -x_537 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; -lean_inc(x_323); -x_538 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_538, 0, x_323); -lean_ctor_set(x_538, 1, x_537); -x_539 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; -x_540 = l_Array_append___rarg(x_539, x_3); -x_541 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; -lean_inc(x_323); -x_542 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_542, 0, x_323); +lean_ctor_set(x_530, 0, x_529); +lean_ctor_set(x_530, 1, x_528); +x_531 = lean_array_push(x_518, x_530); +x_532 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_532, 0, x_520); +lean_ctor_set(x_532, 1, x_531); +x_533 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_503); +x_534 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_534, 0, x_503); +lean_ctor_set(x_534, 1, x_533); +x_535 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_536 = lean_array_push(x_535, x_512); +x_537 = lean_array_push(x_536, x_532); +x_538 = lean_array_push(x_537, x_534); +x_539 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_540 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_540, 0, x_539); +lean_ctor_set(x_540, 1, x_538); +x_541 = lean_array_push(x_518, x_540); +x_542 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_542, 0, x_520); lean_ctor_set(x_542, 1, x_541); -x_543 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -lean_inc(x_323); +x_543 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_503); x_544 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_544, 0, x_323); +lean_ctor_set(x_544, 0, x_503); lean_ctor_set(x_544, 1, x_543); -x_545 = lean_array_push(x_482, x_544); -x_546 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; -x_547 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_547, 0, x_546); -lean_ctor_set(x_547, 1, x_545); -x_548 = lean_array_push(x_482, x_547); -x_549 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_549, 0, x_484); -lean_ctor_set(x_549, 1, x_548); -x_550 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; -lean_inc(x_323); -x_551 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_551, 0, x_323); -lean_ctor_set(x_551, 1, x_550); -x_552 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -x_553 = l_Lean_addMacroScope(x_473, x_552, x_326); -x_554 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; -x_555 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; -x_556 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_556, 0, x_323); -lean_ctor_set(x_556, 1, x_554); -lean_ctor_set(x_556, 2, x_553); -lean_ctor_set(x_556, 3, x_555); -x_557 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; -x_558 = lean_array_push(x_557, x_542); -x_559 = lean_array_push(x_558, x_549); -x_560 = lean_array_push(x_559, x_551); -x_561 = lean_array_push(x_560, x_556); -x_562 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; -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 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_565, 0, x_484); -lean_ctor_set(x_565, 1, x_564); -x_566 = lean_array_push(x_482, x_565); -x_567 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; -x_568 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_568, 0, x_567); -lean_ctor_set(x_568, 1, x_566); -x_569 = lean_array_push(x_486, x_538); -x_570 = lean_array_push(x_569, x_568); -x_571 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +x_545 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; +lean_inc(x_506); +lean_inc(x_510); +x_546 = l_Lean_addMacroScope(x_510, x_545, x_506); +x_547 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_503); +x_548 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_548, 0, x_503); +lean_ctor_set(x_548, 1, x_547); +lean_ctor_set(x_548, 2, x_546); +lean_ctor_set(x_548, 3, x_515); +x_549 = lean_mk_syntax_ident(x_2); +x_550 = lean_array_push(x_522, x_548); +x_551 = lean_array_push(x_550, x_549); +x_552 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_552, 0, x_520); +lean_ctor_set(x_552, 1, x_551); +x_553 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_503); +x_554 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_554, 0, x_503); +lean_ctor_set(x_554, 1, x_553); +x_555 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +lean_inc(x_506); +lean_inc(x_510); +x_556 = l_Lean_addMacroScope(x_510, x_555, x_506); +x_557 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85; +x_558 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90; +lean_inc(x_503); +x_559 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_559, 0, x_503); +lean_ctor_set(x_559, 1, x_557); +lean_ctor_set(x_559, 2, x_556); +lean_ctor_set(x_559, 3, x_558); +x_560 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_503); +x_561 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_561, 0, x_503); +lean_ctor_set(x_561, 1, x_560); +x_562 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +lean_inc(x_503); +x_563 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_563, 0, x_503); +lean_ctor_set(x_563, 1, x_562); +x_564 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +lean_inc(x_506); +lean_inc(x_510); +x_565 = l_Lean_addMacroScope(x_510, x_564, x_506); +x_566 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95; +lean_inc(x_503); +x_567 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_567, 0, x_503); +lean_ctor_set(x_567, 1, x_566); +lean_ctor_set(x_567, 2, x_565); +lean_ctor_set(x_567, 3, x_515); +x_568 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +lean_inc(x_503); +x_569 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_569, 0, x_503); +lean_ctor_set(x_569, 1, x_568); +x_570 = lean_array_push(x_518, x_569); +x_571 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; 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 = lean_array_push(x_499, x_536); +lean_inc(x_567); +x_573 = lean_array_push(x_522, x_567); +lean_inc(x_572); x_574 = lean_array_push(x_573, x_572); -x_575 = lean_array_push(x_574, x_514); -x_576 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; -x_577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_577, 0, x_576); -lean_ctor_set(x_577, 1, x_575); -x_578 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; -x_579 = lean_array_push(x_578, x_508); -x_580 = lean_array_push(x_579, x_517); -x_581 = lean_array_push(x_580, x_534); -x_582 = lean_array_push(x_581, x_577); -x_583 = lean_array_push(x_582, x_514); -x_584 = lean_array_push(x_583, x_514); -x_585 = lean_array_push(x_584, x_514); -x_586 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -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_575 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_575, 0, x_520); +lean_ctor_set(x_575, 1, x_574); +x_576 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_503); +x_577 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_577, 0, x_503); +lean_ctor_set(x_577, 1, x_576); +x_578 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +lean_inc(x_503); +x_579 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_579, 0, x_503); +lean_ctor_set(x_579, 1, x_578); +x_580 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101; +x_581 = lean_array_push(x_580, x_567); +x_582 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; +x_583 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_583, 0, x_582); +lean_ctor_set(x_583, 1, x_581); +x_584 = lean_array_push(x_518, x_583); +x_585 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_585, 0, x_520); +lean_ctor_set(x_585, 1, x_584); +x_586 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; +lean_inc(x_503); +x_587 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_587, 0, x_503); +lean_ctor_set(x_587, 1, x_586); +x_588 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_589 = l_Array_append___rarg(x_588, x_3); +x_590 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_503); +x_591 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_591, 0, x_503); +lean_ctor_set(x_591, 1, x_590); +x_592 = lean_array_push(x_518, x_572); +x_593 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_593, 0, x_520); +lean_ctor_set(x_593, 1, x_592); +x_594 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_595 = l_Lean_addMacroScope(x_510, x_594, x_506); +x_596 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_597 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +x_598 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_598, 0, x_503); +lean_ctor_set(x_598, 1, x_596); +lean_ctor_set(x_598, 2, x_595); +lean_ctor_set(x_598, 3, x_597); +x_599 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_600 = lean_array_push(x_599, x_591); +x_601 = lean_array_push(x_600, x_593); +lean_inc(x_577); +x_602 = lean_array_push(x_601, x_577); +x_603 = lean_array_push(x_602, x_598); +x_604 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_605 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_605, 0, x_604); +lean_ctor_set(x_605, 1, x_603); +x_606 = lean_array_push(x_589, x_605); +x_607 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_607, 0, x_520); +lean_ctor_set(x_607, 1, x_606); +x_608 = lean_array_push(x_518, x_607); +x_609 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +x_610 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_610, 0, x_609); +lean_ctor_set(x_610, 1, x_608); +x_611 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103; +x_612 = lean_array_push(x_611, x_579); +x_613 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_614 = lean_array_push(x_612, x_613); +x_615 = lean_array_push(x_614, x_585); +x_616 = lean_array_push(x_615, x_613); +x_617 = lean_array_push(x_616, x_587); +x_618 = lean_array_push(x_617, x_610); +x_619 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; +x_620 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_620, 0, x_619); +lean_ctor_set(x_620, 1, x_618); +x_621 = lean_array_push(x_535, x_575); +x_622 = lean_array_push(x_621, x_577); +x_623 = lean_array_push(x_622, x_620); +x_624 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; +x_625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_625, 0, x_624); +lean_ctor_set(x_625, 1, x_623); +x_626 = lean_array_push(x_522, x_563); +x_627 = lean_array_push(x_626, x_625); +x_628 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; +x_629 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_629, 0, x_628); +lean_ctor_set(x_629, 1, x_627); if (lean_obj_tag(x_4) == 0) { -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; -x_588 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; -x_589 = lean_array_push(x_588, x_506); -x_590 = lean_array_push(x_589, x_514); -x_591 = lean_array_push(x_590, x_514); -x_592 = lean_array_push(x_591, x_514); -x_593 = lean_array_push(x_592, x_514); -x_594 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_595 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_595, 0, x_594); -lean_ctor_set(x_595, 1, x_593); -x_596 = lean_array_push(x_486, x_595); -x_597 = lean_array_push(x_596, x_587); -x_598 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -x_599 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_599, 0, x_598); -lean_ctor_set(x_599, 1, x_597); -x_600 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_600, 0, x_599); -lean_ctor_set(x_600, 1, x_474); -return x_600; +lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; +x_630 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_631 = lean_array_push(x_630, x_542); +x_632 = lean_array_push(x_631, x_544); +x_633 = lean_array_push(x_632, x_552); +x_634 = lean_array_push(x_633, x_554); +x_635 = lean_array_push(x_634, x_559); +x_636 = lean_array_push(x_635, x_561); +x_637 = lean_array_push(x_636, x_629); +x_638 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_639 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_639, 0, x_638); +lean_ctor_set(x_639, 1, x_637); +lean_ctor_set(x_508, 0, x_639); +return x_508; } else { -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_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; -x_601 = lean_ctor_get(x_4, 0); -lean_inc(x_601); +lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; +x_640 = lean_ctor_get(x_4, 0); +lean_inc(x_640); lean_dec(x_4); -x_602 = lean_array_push(x_482, x_601); -x_603 = l_Array_append___rarg(x_539, x_602); -x_604 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_604, 0, x_484); -lean_ctor_set(x_604, 1, x_603); -x_605 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -x_606 = lean_array_push(x_605, x_604); -x_607 = lean_array_push(x_606, x_506); -x_608 = lean_array_push(x_607, x_514); -x_609 = lean_array_push(x_608, x_514); -x_610 = lean_array_push(x_609, x_514); -x_611 = lean_array_push(x_610, x_514); -x_612 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_613 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_613, 0, x_612); -lean_ctor_set(x_613, 1, x_611); -x_614 = lean_array_push(x_486, x_613); -x_615 = lean_array_push(x_614, x_587); -x_616 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -x_617 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_617, 0, x_616); -lean_ctor_set(x_617, 1, x_615); -x_618 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_618, 0, x_617); -lean_ctor_set(x_618, 1, x_474); -return x_618; -} -} +x_641 = lean_array_push(x_518, x_640); +x_642 = l_Array_append___rarg(x_588, x_641); +x_643 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_643, 0, x_520); +lean_ctor_set(x_643, 1, x_642); +x_644 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +x_645 = lean_array_push(x_644, x_643); +x_646 = lean_array_push(x_645, x_542); +x_647 = lean_array_push(x_646, x_544); +x_648 = lean_array_push(x_647, x_552); +x_649 = lean_array_push(x_648, x_554); +x_650 = lean_array_push(x_649, x_559); +x_651 = lean_array_push(x_650, x_561); +x_652 = lean_array_push(x_651, x_629); +x_653 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_654 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_654, 0, x_653); +lean_ctor_set(x_654, 1, x_652); +lean_ctor_set(x_508, 0, x_654); +return x_508; } } else { -lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; uint8_t x_629; -lean_dec(x_5); -x_619 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(x_2, x_6, x_7, x_8); -x_620 = lean_ctor_get(x_619, 0); -lean_inc(x_620); -x_621 = lean_ctor_get(x_619, 1); -lean_inc(x_621); -lean_dec(x_619); -x_622 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_6, x_7, x_621); -x_623 = lean_ctor_get(x_622, 0); -lean_inc(x_623); -x_624 = lean_ctor_get(x_622, 1); -lean_inc(x_624); -lean_dec(x_622); -x_625 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_624); -lean_dec(x_6); -x_626 = lean_ctor_get(x_625, 0); -lean_inc(x_626); -x_627 = lean_ctor_get(x_625, 1); -lean_inc(x_627); -lean_dec(x_625); -x_628 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_627); -lean_dec(x_7); -x_629 = !lean_is_exclusive(x_628); -if (x_629 == 0) -{ -lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; 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; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; 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_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; -x_630 = lean_ctor_get(x_628, 0); -x_631 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_623); -x_632 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_632, 0, x_623); -lean_ctor_set(x_632, 1, x_631); -x_633 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; -lean_inc(x_626); -lean_inc(x_630); -x_634 = l_Lean_addMacroScope(x_630, x_633, x_626); -x_635 = lean_box(0); -x_636 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; -lean_inc(x_623); -x_637 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_637, 0, x_623); -lean_ctor_set(x_637, 1, x_636); -lean_ctor_set(x_637, 2, x_634); -lean_ctor_set(x_637, 3, x_635); -x_638 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_639 = lean_array_push(x_638, x_620); -x_640 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; -x_641 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_641, 0, x_640); -lean_ctor_set(x_641, 1, x_639); -x_642 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; -x_643 = lean_array_push(x_642, x_637); -x_644 = lean_array_push(x_643, x_641); -x_645 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; -x_646 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_646, 0, x_645); -lean_ctor_set(x_646, 1, x_644); -x_647 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; -x_648 = lean_array_push(x_647, x_646); -x_649 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -x_650 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_650, 0, x_649); -lean_ctor_set(x_650, 1, x_648); -x_651 = lean_array_push(x_638, x_650); -x_652 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_652, 0, x_640); -lean_ctor_set(x_652, 1, x_651); -x_653 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; -lean_inc(x_623); -x_654 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_654, 0, x_623); -lean_ctor_set(x_654, 1, x_653); -x_655 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; -x_656 = lean_array_push(x_655, x_632); -x_657 = lean_array_push(x_656, x_652); -x_658 = lean_array_push(x_657, x_654); -x_659 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -x_660 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_660, 0, x_659); -lean_ctor_set(x_660, 1, x_658); -x_661 = lean_array_push(x_638, x_660); -x_662 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_662, 0, x_640); -lean_ctor_set(x_662, 1, x_661); -x_663 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_623); -x_664 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_664, 0, x_623); -lean_ctor_set(x_664, 1, x_663); -x_665 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; -lean_inc(x_626); -lean_inc(x_630); -x_666 = l_Lean_addMacroScope(x_630, x_665, x_626); -x_667 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -lean_inc(x_623); -x_668 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_668, 0, x_623); -lean_ctor_set(x_668, 1, x_667); -lean_ctor_set(x_668, 2, x_666); -lean_ctor_set(x_668, 3, x_635); -x_669 = lean_array_push(x_642, x_668); -x_670 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; -x_671 = lean_array_push(x_669, x_670); -x_672 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -x_673 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_673, 0, x_672); -lean_ctor_set(x_673, 1, x_671); -x_674 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -lean_inc(x_623); -x_675 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_675, 0, x_623); -lean_ctor_set(x_675, 1, x_674); -x_676 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103; -lean_inc(x_626); -lean_inc(x_630); -x_677 = l_Lean_addMacroScope(x_630, x_676, x_626); -x_678 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; -x_679 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105; -lean_inc(x_623); -x_680 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_680, 0, x_623); -lean_ctor_set(x_680, 1, x_678); -lean_ctor_set(x_680, 2, x_677); -lean_ctor_set(x_680, 3, x_679); -x_681 = lean_array_push(x_642, x_675); -x_682 = lean_array_push(x_681, x_680); -x_683 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -x_684 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_684, 0, x_683); -lean_ctor_set(x_684, 1, x_682); -x_685 = lean_array_push(x_638, x_684); +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; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; 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_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; +x_655 = lean_ctor_get(x_508, 0); +x_656 = lean_ctor_get(x_508, 1); +lean_inc(x_656); +lean_inc(x_655); +lean_dec(x_508); +x_657 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_503); +x_658 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_658, 0, x_503); +lean_ctor_set(x_658, 1, x_657); +x_659 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82; +lean_inc(x_506); +lean_inc(x_655); +x_660 = l_Lean_addMacroScope(x_655, x_659, x_506); +x_661 = lean_box(0); +x_662 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; +lean_inc(x_503); +x_663 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_663, 0, x_503); +lean_ctor_set(x_663, 1, x_662); +lean_ctor_set(x_663, 2, x_660); +lean_ctor_set(x_663, 3, x_661); +x_664 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_665 = lean_array_push(x_664, x_500); +x_666 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_667 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_667, 0, x_666); +lean_ctor_set(x_667, 1, x_665); +x_668 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_669 = lean_array_push(x_668, x_663); +x_670 = lean_array_push(x_669, x_667); +x_671 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +x_672 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_672, 0, x_671); +lean_ctor_set(x_672, 1, x_670); +x_673 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_674 = lean_array_push(x_673, x_672); +x_675 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_676 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_676, 0, x_675); +lean_ctor_set(x_676, 1, x_674); +x_677 = lean_array_push(x_664, x_676); +x_678 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_678, 0, x_666); +lean_ctor_set(x_678, 1, x_677); +x_679 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_503); +x_680 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_680, 0, x_503); +lean_ctor_set(x_680, 1, x_679); +x_681 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_682 = lean_array_push(x_681, x_658); +x_683 = lean_array_push(x_682, x_678); +x_684 = lean_array_push(x_683, x_680); +x_685 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; x_686 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_686, 0, x_640); -lean_ctor_set(x_686, 1, x_685); -x_687 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; -x_688 = lean_array_push(x_687, x_686); -x_689 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -x_690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_690, 0, x_689); -lean_ctor_set(x_690, 1, x_688); -x_691 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -lean_inc(x_623); -x_692 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_692, 0, x_623); -lean_ctor_set(x_692, 1, x_691); -x_693 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; -lean_inc(x_623); -x_694 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_694, 0, x_623); +lean_ctor_set(x_686, 0, x_685); +lean_ctor_set(x_686, 1, x_684); +x_687 = lean_array_push(x_664, x_686); +x_688 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_688, 0, x_666); +lean_ctor_set(x_688, 1, x_687); +x_689 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_503); +x_690 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_690, 0, x_503); +lean_ctor_set(x_690, 1, x_689); +x_691 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; +lean_inc(x_506); +lean_inc(x_655); +x_692 = l_Lean_addMacroScope(x_655, x_691, x_506); +x_693 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_503); +x_694 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_694, 0, x_503); lean_ctor_set(x_694, 1, x_693); -x_695 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111; -lean_inc(x_626); -lean_inc(x_630); -x_696 = l_Lean_addMacroScope(x_630, x_695, x_626); -x_697 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; -lean_inc(x_623); -x_698 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_698, 0, x_623); +lean_ctor_set(x_694, 2, x_692); +lean_ctor_set(x_694, 3, x_661); +x_695 = lean_mk_syntax_ident(x_2); +x_696 = lean_array_push(x_668, x_694); +x_697 = lean_array_push(x_696, x_695); +x_698 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_698, 0, x_666); lean_ctor_set(x_698, 1, x_697); -lean_ctor_set(x_698, 2, x_696); -lean_ctor_set(x_698, 3, x_635); -x_699 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -lean_inc(x_623); +x_699 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_503); x_700 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_700, 0, x_623); +lean_ctor_set(x_700, 0, x_503); lean_ctor_set(x_700, 1, x_699); -x_701 = lean_array_push(x_638, x_700); -x_702 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; -x_703 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_703, 0, x_702); -lean_ctor_set(x_703, 1, x_701); -lean_inc(x_698); -x_704 = lean_array_push(x_642, x_698); -lean_inc(x_703); -x_705 = lean_array_push(x_704, x_703); -x_706 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_706, 0, x_640); -lean_ctor_set(x_706, 1, x_705); -x_707 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; -lean_inc(x_623); -x_708 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_708, 0, x_623); -lean_ctor_set(x_708, 1, x_707); -x_709 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112; -lean_inc(x_623); -x_710 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_710, 0, x_623); -lean_ctor_set(x_710, 1, x_709); -x_711 = lean_array_push(x_687, x_698); -x_712 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; -x_713 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_713, 0, x_712); -lean_ctor_set(x_713, 1, x_711); -x_714 = lean_array_push(x_638, x_713); -x_715 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_715, 0, x_640); +x_701 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +lean_inc(x_506); +lean_inc(x_655); +x_702 = l_Lean_addMacroScope(x_655, x_701, x_506); +x_703 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85; +x_704 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90; +lean_inc(x_503); +x_705 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_705, 0, x_503); +lean_ctor_set(x_705, 1, x_703); +lean_ctor_set(x_705, 2, x_702); +lean_ctor_set(x_705, 3, x_704); +x_706 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_503); +x_707 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_707, 0, x_503); +lean_ctor_set(x_707, 1, x_706); +x_708 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +lean_inc(x_503); +x_709 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_709, 0, x_503); +lean_ctor_set(x_709, 1, x_708); +x_710 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +lean_inc(x_506); +lean_inc(x_655); +x_711 = l_Lean_addMacroScope(x_655, x_710, x_506); +x_712 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95; +lean_inc(x_503); +x_713 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_713, 0, x_503); +lean_ctor_set(x_713, 1, x_712); +lean_ctor_set(x_713, 2, x_711); +lean_ctor_set(x_713, 3, x_661); +x_714 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +lean_inc(x_503); +x_715 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_715, 0, x_503); lean_ctor_set(x_715, 1, x_714); -x_716 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116; -lean_inc(x_623); -x_717 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_717, 0, x_623); -lean_ctor_set(x_717, 1, x_716); -x_718 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; -x_719 = l_Array_append___rarg(x_718, x_3); -x_720 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; -lean_inc(x_623); -x_721 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_721, 0, x_623); +x_716 = lean_array_push(x_664, x_715); +x_717 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +x_718 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_718, 0, x_717); +lean_ctor_set(x_718, 1, x_716); +lean_inc(x_713); +x_719 = lean_array_push(x_668, x_713); +lean_inc(x_718); +x_720 = lean_array_push(x_719, x_718); +x_721 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_721, 0, x_666); lean_ctor_set(x_721, 1, x_720); -x_722 = lean_array_push(x_638, x_703); -x_723 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_723, 0, x_640); +x_722 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_503); +x_723 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_723, 0, x_503); lean_ctor_set(x_723, 1, x_722); -x_724 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -x_725 = l_Lean_addMacroScope(x_630, x_724, x_626); -x_726 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; -x_727 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; -x_728 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_728, 0, x_623); -lean_ctor_set(x_728, 1, x_726); -lean_ctor_set(x_728, 2, x_725); -lean_ctor_set(x_728, 3, x_727); -x_729 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; -x_730 = lean_array_push(x_729, x_721); -x_731 = lean_array_push(x_730, x_723); -lean_inc(x_708); -x_732 = lean_array_push(x_731, x_708); -x_733 = lean_array_push(x_732, x_728); -x_734 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; -x_735 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_735, 0, x_734); -lean_ctor_set(x_735, 1, x_733); -x_736 = lean_array_push(x_719, x_735); -x_737 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_737, 0, x_640); +x_724 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +lean_inc(x_503); +x_725 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_725, 0, x_503); +lean_ctor_set(x_725, 1, x_724); +x_726 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101; +x_727 = lean_array_push(x_726, x_713); +x_728 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; +x_729 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_729, 0, x_728); +lean_ctor_set(x_729, 1, x_727); +x_730 = lean_array_push(x_664, x_729); +x_731 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_731, 0, x_666); +lean_ctor_set(x_731, 1, x_730); +x_732 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; +lean_inc(x_503); +x_733 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_733, 0, x_503); +lean_ctor_set(x_733, 1, x_732); +x_734 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_735 = l_Array_append___rarg(x_734, x_3); +x_736 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_503); +x_737 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_737, 0, x_503); lean_ctor_set(x_737, 1, x_736); -x_738 = lean_array_push(x_638, x_737); -x_739 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; -x_740 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_740, 0, x_739); -lean_ctor_set(x_740, 1, x_738); -x_741 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -x_742 = lean_array_push(x_741, x_710); -x_743 = lean_array_push(x_742, x_670); -x_744 = lean_array_push(x_743, x_715); -x_745 = lean_array_push(x_744, x_670); -x_746 = lean_array_push(x_745, x_717); -x_747 = lean_array_push(x_746, x_740); -x_748 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; -x_749 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_749, 0, x_748); -lean_ctor_set(x_749, 1, x_747); -x_750 = lean_array_push(x_655, x_706); -x_751 = lean_array_push(x_750, x_708); -x_752 = lean_array_push(x_751, x_749); -x_753 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; -x_754 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_754, 0, x_753); -lean_ctor_set(x_754, 1, x_752); -x_755 = lean_array_push(x_642, x_694); -x_756 = lean_array_push(x_755, x_754); -x_757 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; -x_758 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_758, 0, x_757); -lean_ctor_set(x_758, 1, x_756); -x_759 = lean_array_push(x_655, x_692); -x_760 = lean_array_push(x_759, x_758); -x_761 = lean_array_push(x_760, x_670); -x_762 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; -x_763 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_763, 0, x_762); -lean_ctor_set(x_763, 1, x_761); -x_764 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; -x_765 = lean_array_push(x_764, x_664); -x_766 = lean_array_push(x_765, x_673); -x_767 = lean_array_push(x_766, x_690); -x_768 = lean_array_push(x_767, x_763); -x_769 = lean_array_push(x_768, x_670); -x_770 = lean_array_push(x_769, x_670); -x_771 = lean_array_push(x_770, x_670); -x_772 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -x_773 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_773, 0, x_772); -lean_ctor_set(x_773, 1, x_771); +x_738 = lean_array_push(x_664, x_718); +x_739 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_739, 0, x_666); +lean_ctor_set(x_739, 1, x_738); +x_740 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_741 = l_Lean_addMacroScope(x_655, x_740, x_506); +x_742 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_743 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +x_744 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_744, 0, x_503); +lean_ctor_set(x_744, 1, x_742); +lean_ctor_set(x_744, 2, x_741); +lean_ctor_set(x_744, 3, x_743); +x_745 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_746 = lean_array_push(x_745, x_737); +x_747 = lean_array_push(x_746, x_739); +lean_inc(x_723); +x_748 = lean_array_push(x_747, x_723); +x_749 = lean_array_push(x_748, x_744); +x_750 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_751 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_751, 0, x_750); +lean_ctor_set(x_751, 1, x_749); +x_752 = lean_array_push(x_735, x_751); +x_753 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_753, 0, x_666); +lean_ctor_set(x_753, 1, x_752); +x_754 = lean_array_push(x_664, x_753); +x_755 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +x_756 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_756, 0, x_755); +lean_ctor_set(x_756, 1, x_754); +x_757 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103; +x_758 = lean_array_push(x_757, x_725); +x_759 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_760 = lean_array_push(x_758, x_759); +x_761 = lean_array_push(x_760, x_731); +x_762 = lean_array_push(x_761, x_759); +x_763 = lean_array_push(x_762, x_733); +x_764 = lean_array_push(x_763, x_756); +x_765 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; +x_766 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_766, 0, x_765); +lean_ctor_set(x_766, 1, x_764); +x_767 = lean_array_push(x_681, x_721); +x_768 = lean_array_push(x_767, x_723); +x_769 = lean_array_push(x_768, x_766); +x_770 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; +x_771 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_771, 0, x_770); +lean_ctor_set(x_771, 1, x_769); +x_772 = lean_array_push(x_668, x_709); +x_773 = lean_array_push(x_772, x_771); +x_774 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; +x_775 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_775, 0, x_774); +lean_ctor_set(x_775, 1, x_773); if (lean_obj_tag(x_4) == 0) { -lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; -x_774 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; -x_775 = lean_array_push(x_774, x_662); -x_776 = lean_array_push(x_775, x_670); -x_777 = lean_array_push(x_776, x_670); -x_778 = lean_array_push(x_777, x_670); -x_779 = lean_array_push(x_778, x_670); -x_780 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_781 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_781, 0, x_780); -lean_ctor_set(x_781, 1, x_779); -x_782 = lean_array_push(x_642, x_781); -x_783 = lean_array_push(x_782, x_773); -x_784 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; +x_776 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_777 = lean_array_push(x_776, x_688); +x_778 = lean_array_push(x_777, x_690); +x_779 = lean_array_push(x_778, x_698); +x_780 = lean_array_push(x_779, x_700); +x_781 = lean_array_push(x_780, x_705); +x_782 = lean_array_push(x_781, x_707); +x_783 = lean_array_push(x_782, x_775); +x_784 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; x_785 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_785, 0, x_784); lean_ctor_set(x_785, 1, x_783); -lean_ctor_set(x_628, 0, x_785); -return x_628; +x_786 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_786, 0, x_785); +lean_ctor_set(x_786, 1, x_656); +return x_786; } else { -lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; -x_786 = lean_ctor_get(x_4, 0); -lean_inc(x_786); +lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; +x_787 = lean_ctor_get(x_4, 0); +lean_inc(x_787); lean_dec(x_4); -x_787 = lean_array_push(x_638, x_786); -x_788 = l_Array_append___rarg(x_718, x_787); -x_789 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_789, 0, x_640); -lean_ctor_set(x_789, 1, x_788); -x_790 = lean_array_push(x_741, x_789); -x_791 = lean_array_push(x_790, x_662); -x_792 = lean_array_push(x_791, x_670); -x_793 = lean_array_push(x_792, x_670); -x_794 = lean_array_push(x_793, x_670); -x_795 = lean_array_push(x_794, x_670); -x_796 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_797 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_797, 0, x_796); -lean_ctor_set(x_797, 1, x_795); -x_798 = lean_array_push(x_642, x_797); -x_799 = lean_array_push(x_798, x_773); -x_800 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; +x_788 = lean_array_push(x_664, x_787); +x_789 = l_Array_append___rarg(x_734, x_788); +x_790 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_790, 0, x_666); +lean_ctor_set(x_790, 1, x_789); +x_791 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +x_792 = lean_array_push(x_791, x_790); +x_793 = lean_array_push(x_792, x_688); +x_794 = lean_array_push(x_793, x_690); +x_795 = lean_array_push(x_794, x_698); +x_796 = lean_array_push(x_795, x_700); +x_797 = lean_array_push(x_796, x_705); +x_798 = lean_array_push(x_797, x_707); +x_799 = lean_array_push(x_798, x_775); +x_800 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; x_801 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_801, 0, x_800); lean_ctor_set(x_801, 1, x_799); -lean_ctor_set(x_628, 0, x_801); -return x_628; +x_802 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_802, 0, x_801); +lean_ctor_set(x_802, 1, x_656); +return x_802; +} +} } } else { -lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; -x_802 = lean_ctor_get(x_628, 0); -x_803 = lean_ctor_get(x_628, 1); +lean_object* x_803; lean_object* x_804; uint8_t x_805; +x_803 = lean_ctor_get(x_1, 0); lean_inc(x_803); -lean_inc(x_802); -lean_dec(x_628); -x_804 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_623); -x_805 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_805, 0, x_623); -lean_ctor_set(x_805, 1, x_804); -x_806 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; -lean_inc(x_626); -lean_inc(x_802); -x_807 = l_Lean_addMacroScope(x_802, x_806, x_626); -x_808 = lean_box(0); -x_809 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; -lean_inc(x_623); -x_810 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_810, 0, x_623); -lean_ctor_set(x_810, 1, x_809); -lean_ctor_set(x_810, 2, x_807); -lean_ctor_set(x_810, 3, x_808); -x_811 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_812 = lean_array_push(x_811, x_620); -x_813 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; -x_814 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_814, 0, x_813); -lean_ctor_set(x_814, 1, x_812); -x_815 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; -x_816 = lean_array_push(x_815, x_810); -x_817 = lean_array_push(x_816, x_814); -x_818 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; -x_819 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_819, 0, x_818); -lean_ctor_set(x_819, 1, x_817); -x_820 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; -x_821 = lean_array_push(x_820, x_819); -x_822 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -x_823 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_823, 0, x_822); -lean_ctor_set(x_823, 1, x_821); -x_824 = lean_array_push(x_811, x_823); -x_825 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_825, 0, x_813); -lean_ctor_set(x_825, 1, x_824); -x_826 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; -lean_inc(x_623); -x_827 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_827, 0, x_623); -lean_ctor_set(x_827, 1, x_826); -x_828 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; -x_829 = lean_array_push(x_828, x_805); -x_830 = lean_array_push(x_829, x_825); -x_831 = lean_array_push(x_830, x_827); -x_832 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -x_833 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_833, 0, x_832); -lean_ctor_set(x_833, 1, x_831); -x_834 = lean_array_push(x_811, x_833); -x_835 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_835, 0, x_813); -lean_ctor_set(x_835, 1, x_834); -x_836 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_623); -x_837 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_837, 0, x_623); -lean_ctor_set(x_837, 1, x_836); -x_838 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; -lean_inc(x_626); -lean_inc(x_802); -x_839 = l_Lean_addMacroScope(x_802, x_838, x_626); -x_840 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -lean_inc(x_623); -x_841 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_841, 0, x_623); -lean_ctor_set(x_841, 1, x_840); -lean_ctor_set(x_841, 2, x_839); -lean_ctor_set(x_841, 3, x_808); -x_842 = lean_array_push(x_815, x_841); -x_843 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; -x_844 = lean_array_push(x_842, x_843); -x_845 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -x_846 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_846, 0, x_845); -lean_ctor_set(x_846, 1, x_844); -x_847 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -lean_inc(x_623); -x_848 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_848, 0, x_623); -lean_ctor_set(x_848, 1, x_847); -x_849 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103; -lean_inc(x_626); -lean_inc(x_802); -x_850 = l_Lean_addMacroScope(x_802, x_849, x_626); -x_851 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; -x_852 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105; -lean_inc(x_623); -x_853 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_853, 0, x_623); -lean_ctor_set(x_853, 1, x_851); -lean_ctor_set(x_853, 2, x_850); -lean_ctor_set(x_853, 3, x_852); -x_854 = lean_array_push(x_815, x_848); -x_855 = lean_array_push(x_854, x_853); -x_856 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -x_857 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_857, 0, x_856); -lean_ctor_set(x_857, 1, x_855); -x_858 = lean_array_push(x_811, x_857); -x_859 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_859, 0, x_813); -lean_ctor_set(x_859, 1, x_858); -x_860 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; -x_861 = lean_array_push(x_860, x_859); -x_862 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -x_863 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_863, 0, x_862); -lean_ctor_set(x_863, 1, x_861); -x_864 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -lean_inc(x_623); -x_865 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_865, 0, x_623); -lean_ctor_set(x_865, 1, x_864); -x_866 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; -lean_inc(x_623); -x_867 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_867, 0, x_623); -lean_ctor_set(x_867, 1, x_866); -x_868 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111; -lean_inc(x_626); -lean_inc(x_802); -x_869 = l_Lean_addMacroScope(x_802, x_868, x_626); -x_870 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; -lean_inc(x_623); -x_871 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_871, 0, x_623); -lean_ctor_set(x_871, 1, x_870); -lean_ctor_set(x_871, 2, x_869); -lean_ctor_set(x_871, 3, x_808); -x_872 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -lean_inc(x_623); -x_873 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_873, 0, x_623); -lean_ctor_set(x_873, 1, x_872); -x_874 = lean_array_push(x_811, x_873); -x_875 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; -x_876 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_876, 0, x_875); -lean_ctor_set(x_876, 1, x_874); -lean_inc(x_871); -x_877 = lean_array_push(x_815, x_871); -lean_inc(x_876); -x_878 = lean_array_push(x_877, x_876); -x_879 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_879, 0, x_813); -lean_ctor_set(x_879, 1, x_878); -x_880 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; -lean_inc(x_623); -x_881 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_881, 0, x_623); -lean_ctor_set(x_881, 1, x_880); -x_882 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112; -lean_inc(x_623); -x_883 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_883, 0, x_623); -lean_ctor_set(x_883, 1, x_882); -x_884 = lean_array_push(x_860, x_871); -x_885 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; -x_886 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_886, 0, x_885); -lean_ctor_set(x_886, 1, x_884); -x_887 = lean_array_push(x_811, x_886); -x_888 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_888, 0, x_813); -lean_ctor_set(x_888, 1, x_887); -x_889 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116; -lean_inc(x_623); -x_890 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_890, 0, x_623); -lean_ctor_set(x_890, 1, x_889); -x_891 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; -x_892 = l_Array_append___rarg(x_891, x_3); -x_893 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; -lean_inc(x_623); -x_894 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_894, 0, x_623); -lean_ctor_set(x_894, 1, x_893); -x_895 = lean_array_push(x_811, x_876); -x_896 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_896, 0, x_813); -lean_ctor_set(x_896, 1, x_895); -x_897 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -x_898 = l_Lean_addMacroScope(x_802, x_897, x_626); -x_899 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; -x_900 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; -x_901 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_901, 0, x_623); -lean_ctor_set(x_901, 1, x_899); -lean_ctor_set(x_901, 2, x_898); -lean_ctor_set(x_901, 3, x_900); -x_902 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; -x_903 = lean_array_push(x_902, x_894); -x_904 = lean_array_push(x_903, x_896); -lean_inc(x_881); -x_905 = lean_array_push(x_904, x_881); -x_906 = lean_array_push(x_905, x_901); -x_907 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; -x_908 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_908, 0, x_907); -lean_ctor_set(x_908, 1, x_906); -x_909 = lean_array_push(x_892, x_908); -x_910 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_910, 0, x_813); -lean_ctor_set(x_910, 1, x_909); -x_911 = lean_array_push(x_811, x_910); -x_912 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; -x_913 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_913, 0, x_912); -lean_ctor_set(x_913, 1, x_911); -x_914 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -x_915 = lean_array_push(x_914, x_883); -x_916 = lean_array_push(x_915, x_843); -x_917 = lean_array_push(x_916, x_888); -x_918 = lean_array_push(x_917, x_843); -x_919 = lean_array_push(x_918, x_890); -x_920 = lean_array_push(x_919, x_913); -x_921 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; -x_922 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_922, 0, x_921); -lean_ctor_set(x_922, 1, x_920); -x_923 = lean_array_push(x_828, x_879); -x_924 = lean_array_push(x_923, x_881); -x_925 = lean_array_push(x_924, x_922); -x_926 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; -x_927 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_927, 0, x_926); -lean_ctor_set(x_927, 1, x_925); -x_928 = lean_array_push(x_815, x_867); -x_929 = lean_array_push(x_928, x_927); -x_930 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; -x_931 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_931, 0, x_930); -lean_ctor_set(x_931, 1, x_929); -x_932 = lean_array_push(x_828, x_865); -x_933 = lean_array_push(x_932, x_931); -x_934 = lean_array_push(x_933, x_843); -x_935 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; -x_936 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_936, 0, x_935); -lean_ctor_set(x_936, 1, x_934); -x_937 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; -x_938 = lean_array_push(x_937, x_837); -x_939 = lean_array_push(x_938, x_846); -x_940 = lean_array_push(x_939, x_863); -x_941 = lean_array_push(x_940, x_936); -x_942 = lean_array_push(x_941, x_843); -x_943 = lean_array_push(x_942, x_843); -x_944 = lean_array_push(x_943, x_843); -x_945 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -x_946 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_946, 0, x_945); -lean_ctor_set(x_946, 1, x_944); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; -x_947 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; -x_948 = lean_array_push(x_947, x_835); -x_949 = lean_array_push(x_948, x_843); -x_950 = lean_array_push(x_949, x_843); -x_951 = lean_array_push(x_950, x_843); -x_952 = lean_array_push(x_951, x_843); -x_953 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_954 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_954, 0, x_953); -lean_ctor_set(x_954, 1, x_952); -x_955 = lean_array_push(x_815, x_954); -x_956 = lean_array_push(x_955, x_946); -x_957 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -x_958 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_958, 0, x_957); -lean_ctor_set(x_958, 1, x_956); -x_959 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_959, 0, x_958); -lean_ctor_set(x_959, 1, x_803); -return x_959; -} -else -{ -lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; -x_960 = lean_ctor_get(x_4, 0); -lean_inc(x_960); -lean_dec(x_4); -x_961 = lean_array_push(x_811, x_960); -x_962 = l_Array_append___rarg(x_891, x_961); -x_963 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_963, 0, x_813); -lean_ctor_set(x_963, 1, x_962); -x_964 = lean_array_push(x_914, x_963); -x_965 = lean_array_push(x_964, x_835); -x_966 = lean_array_push(x_965, x_843); -x_967 = lean_array_push(x_966, x_843); -x_968 = lean_array_push(x_967, x_843); -x_969 = lean_array_push(x_968, x_843); -x_970 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_971 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_971, 0, x_970); -lean_ctor_set(x_971, 1, x_969); -x_972 = lean_array_push(x_815, x_971); -x_973 = lean_array_push(x_972, x_946); -x_974 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -x_975 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_975, 0, x_974); -lean_ctor_set(x_975, 1, x_973); -x_976 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_976, 0, x_975); -lean_ctor_set(x_976, 1, x_803); -return x_976; -} -} -} -} -else -{ -lean_object* x_977; lean_object* x_978; uint8_t x_979; -x_977 = lean_ctor_get(x_1, 0); -lean_inc(x_977); lean_dec(x_1); -x_978 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2; -x_979 = lean_name_eq(x_5, x_978); -if (x_979 == 0) +x_804 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2; +x_805 = lean_name_eq(x_5, x_804); +if (x_805 == 0) { -lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; +lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_980 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_980, 0, x_5); -x_981 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__118; -x_982 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_982, 0, x_981); -lean_ctor_set(x_982, 1, x_980); -x_983 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120; -x_984 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_984, 0, x_982); -lean_ctor_set(x_984, 1, x_983); -x_985 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(x_977, x_984, x_6, x_7, x_8); -return x_985; +x_806 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_806, 0, x_5); +x_807 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105; +x_808 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_808, 0, x_807); +lean_ctor_set(x_808, 1, x_806); +x_809 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; +x_810 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_810, 0, x_808); +lean_ctor_set(x_810, 1, x_809); +x_811 = l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(x_803, x_810, x_6, x_7, x_8); +return x_811; } else { -lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; uint8_t x_996; +lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; uint8_t x_822; lean_dec(x_5); -x_986 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(x_2, x_6, x_7, x_8); -x_987 = lean_ctor_get(x_986, 0); -lean_inc(x_987); -x_988 = lean_ctor_get(x_986, 1); -lean_inc(x_988); -lean_dec(x_986); -x_989 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_6, x_7, x_988); -x_990 = lean_ctor_get(x_989, 0); -lean_inc(x_990); -x_991 = lean_ctor_get(x_989, 1); -lean_inc(x_991); -lean_dec(x_989); -x_992 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_991); +lean_inc(x_2); +x_812 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__4(x_2, x_6, x_7, x_8); +x_813 = lean_ctor_get(x_812, 0); +lean_inc(x_813); +x_814 = lean_ctor_get(x_812, 1); +lean_inc(x_814); +lean_dec(x_812); +x_815 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_6, x_7, x_814); +x_816 = lean_ctor_get(x_815, 0); +lean_inc(x_816); +x_817 = lean_ctor_get(x_815, 1); +lean_inc(x_817); +lean_dec(x_815); +x_818 = l_Lean_Elab_Command_getCurrMacroScope(x_6, x_7, x_817); lean_dec(x_6); -x_993 = lean_ctor_get(x_992, 0); -lean_inc(x_993); -x_994 = lean_ctor_get(x_992, 1); -lean_inc(x_994); -lean_dec(x_992); -x_995 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_994); +x_819 = lean_ctor_get(x_818, 0); +lean_inc(x_819); +x_820 = lean_ctor_get(x_818, 1); +lean_inc(x_820); +lean_dec(x_818); +x_821 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_820); lean_dec(x_7); -x_996 = !lean_is_exclusive(x_995); -if (x_996 == 0) +x_822 = !lean_is_exclusive(x_821); +if (x_822 == 0) { -lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; -x_997 = lean_ctor_get(x_995, 0); -x_998 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_990); -x_999 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_999, 0, x_990); -lean_ctor_set(x_999, 1, x_998); -x_1000 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; +x_823 = lean_ctor_get(x_821, 0); +x_824 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_816); +x_825 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_825, 0, x_816); +lean_ctor_set(x_825, 1, x_824); +x_826 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82; +lean_inc(x_819); +lean_inc(x_823); +x_827 = l_Lean_addMacroScope(x_823, x_826, x_819); +x_828 = lean_box(0); +x_829 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; +lean_inc(x_816); +x_830 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_830, 0, x_816); +lean_ctor_set(x_830, 1, x_829); +lean_ctor_set(x_830, 2, x_827); +lean_ctor_set(x_830, 3, x_828); +x_831 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_832 = lean_array_push(x_831, x_813); +x_833 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_834 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_834, 0, x_833); +lean_ctor_set(x_834, 1, x_832); +x_835 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_836 = lean_array_push(x_835, x_830); +x_837 = lean_array_push(x_836, x_834); +x_838 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +x_839 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_839, 0, x_838); +lean_ctor_set(x_839, 1, x_837); +x_840 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_841 = lean_array_push(x_840, x_839); +x_842 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_843 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_843, 0, x_842); +lean_ctor_set(x_843, 1, x_841); +x_844 = lean_array_push(x_831, x_843); +x_845 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_845, 0, x_833); +lean_ctor_set(x_845, 1, x_844); +x_846 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_816); +x_847 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_847, 0, x_816); +lean_ctor_set(x_847, 1, x_846); +x_848 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_849 = lean_array_push(x_848, x_825); +x_850 = lean_array_push(x_849, x_845); +x_851 = lean_array_push(x_850, x_847); +x_852 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_853 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_853, 0, x_852); +lean_ctor_set(x_853, 1, x_851); +x_854 = lean_array_push(x_831, x_853); +x_855 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_855, 0, x_833); +lean_ctor_set(x_855, 1, x_854); +x_856 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_816); +x_857 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_857, 0, x_816); +lean_ctor_set(x_857, 1, x_856); +x_858 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; +lean_inc(x_819); +lean_inc(x_823); +x_859 = l_Lean_addMacroScope(x_823, x_858, x_819); +x_860 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_816); +x_861 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_861, 0, x_816); +lean_ctor_set(x_861, 1, x_860); +lean_ctor_set(x_861, 2, x_859); +lean_ctor_set(x_861, 3, x_828); +x_862 = lean_mk_syntax_ident(x_2); +x_863 = lean_array_push(x_835, x_861); +x_864 = lean_array_push(x_863, x_862); +x_865 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_865, 0, x_833); +lean_ctor_set(x_865, 1, x_864); +x_866 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_816); +x_867 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_867, 0, x_816); +lean_ctor_set(x_867, 1, x_866); +x_868 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +lean_inc(x_819); +lean_inc(x_823); +x_869 = l_Lean_addMacroScope(x_823, x_868, x_819); +x_870 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85; +x_871 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90; +lean_inc(x_816); +x_872 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_872, 0, x_816); +lean_ctor_set(x_872, 1, x_870); +lean_ctor_set(x_872, 2, x_869); +lean_ctor_set(x_872, 3, x_871); +x_873 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_816); +x_874 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_874, 0, x_816); +lean_ctor_set(x_874, 1, x_873); +x_875 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +lean_inc(x_816); +x_876 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_876, 0, x_816); +lean_ctor_set(x_876, 1, x_875); +x_877 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +lean_inc(x_819); +lean_inc(x_823); +x_878 = l_Lean_addMacroScope(x_823, x_877, x_819); +x_879 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95; +lean_inc(x_816); +x_880 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_880, 0, x_816); +lean_ctor_set(x_880, 1, x_879); +lean_ctor_set(x_880, 2, x_878); +lean_ctor_set(x_880, 3, x_828); +x_881 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111; +lean_inc(x_819); +lean_inc(x_823); +x_882 = l_Lean_addMacroScope(x_823, x_881, x_819); +x_883 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; +lean_inc(x_816); +x_884 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_884, 0, x_816); +lean_ctor_set(x_884, 1, x_883); +lean_ctor_set(x_884, 2, x_882); +lean_ctor_set(x_884, 3, x_828); +lean_inc(x_880); +x_885 = lean_array_push(x_835, x_880); +lean_inc(x_884); +x_886 = lean_array_push(x_885, x_884); +x_887 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_887, 0, x_833); +lean_ctor_set(x_887, 1, x_886); +x_888 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_816); +x_889 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_889, 0, x_816); +lean_ctor_set(x_889, 1, x_888); +x_890 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__118; +lean_inc(x_819); +lean_inc(x_823); +x_891 = l_Lean_addMacroScope(x_823, x_890, x_819); +x_892 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116; +x_893 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120; +lean_inc(x_816); +x_894 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_894, 0, x_816); +lean_ctor_set(x_894, 1, x_892); +lean_ctor_set(x_894, 2, x_891); +lean_ctor_set(x_894, 3, x_893); +x_895 = lean_array_push(x_831, x_803); +x_896 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_896, 0, x_833); +lean_ctor_set(x_896, 1, x_895); +x_897 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +lean_inc(x_816); +x_898 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_898, 0, x_816); +lean_ctor_set(x_898, 1, x_897); +x_899 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101; +x_900 = lean_array_push(x_899, x_880); +x_901 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; +x_902 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_902, 0, x_901); +lean_ctor_set(x_902, 1, x_900); +x_903 = lean_array_push(x_831, x_902); +x_904 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_904, 0, x_833); +lean_ctor_set(x_904, 1, x_903); +x_905 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; +lean_inc(x_816); +x_906 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_906, 0, x_816); +lean_ctor_set(x_906, 1, x_905); +x_907 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_908 = l_Array_append___rarg(x_907, x_3); +x_909 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_816); +x_910 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_910, 0, x_816); +lean_ctor_set(x_910, 1, x_909); +x_911 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +lean_inc(x_816); +x_912 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_912, 0, x_816); +lean_ctor_set(x_912, 1, x_911); +x_913 = lean_array_push(x_831, x_912); +x_914 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +x_915 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_915, 0, x_914); +lean_ctor_set(x_915, 1, x_913); +x_916 = lean_array_push(x_831, x_915); +x_917 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_917, 0, x_833); +lean_ctor_set(x_917, 1, x_916); +x_918 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_919 = l_Lean_addMacroScope(x_823, x_918, x_819); +x_920 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_921 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +x_922 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_922, 0, x_816); +lean_ctor_set(x_922, 1, x_920); +lean_ctor_set(x_922, 2, x_919); +lean_ctor_set(x_922, 3, x_921); +x_923 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_924 = lean_array_push(x_923, x_910); +x_925 = lean_array_push(x_924, x_917); +lean_inc(x_889); +x_926 = lean_array_push(x_925, x_889); +x_927 = lean_array_push(x_926, x_922); +x_928 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; +x_929 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_929, 0, x_928); +lean_ctor_set(x_929, 1, x_927); +x_930 = lean_array_push(x_908, x_929); +x_931 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_931, 0, x_833); +lean_ctor_set(x_931, 1, x_930); +x_932 = lean_array_push(x_831, x_931); +x_933 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +x_934 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_934, 0, x_933); +lean_ctor_set(x_934, 1, x_932); +x_935 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103; +x_936 = lean_array_push(x_935, x_898); +x_937 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_938 = lean_array_push(x_936, x_937); +x_939 = lean_array_push(x_938, x_904); +x_940 = lean_array_push(x_939, x_937); +x_941 = lean_array_push(x_940, x_906); +x_942 = lean_array_push(x_941, x_934); +x_943 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; +x_944 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_944, 0, x_943); +lean_ctor_set(x_944, 1, x_942); +x_945 = lean_array_push(x_848, x_896); +lean_inc(x_889); +x_946 = lean_array_push(x_945, x_889); +x_947 = lean_array_push(x_946, x_944); +x_948 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; +x_949 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_949, 0, x_948); +lean_ctor_set(x_949, 1, x_947); +x_950 = lean_array_push(x_835, x_876); +lean_inc(x_950); +x_951 = lean_array_push(x_950, x_949); +x_952 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; +x_953 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_953, 0, x_952); +lean_ctor_set(x_953, 1, x_951); +x_954 = lean_array_push(x_835, x_884); +x_955 = lean_array_push(x_954, x_953); +x_956 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_956, 0, x_833); +lean_ctor_set(x_956, 1, x_955); +x_957 = lean_array_push(x_835, x_894); +x_958 = lean_array_push(x_957, x_956); +x_959 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; +x_960 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_960, 0, x_959); +lean_ctor_set(x_960, 1, x_958); +x_961 = lean_array_push(x_848, x_887); +x_962 = lean_array_push(x_961, x_889); +x_963 = lean_array_push(x_962, x_960); +x_964 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_964, 0, x_948); +lean_ctor_set(x_964, 1, x_963); +x_965 = lean_array_push(x_950, x_964); +x_966 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_966, 0, x_952); +lean_ctor_set(x_966, 1, x_965); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; +x_967 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_968 = lean_array_push(x_967, x_855); +x_969 = lean_array_push(x_968, x_857); +x_970 = lean_array_push(x_969, x_865); +x_971 = lean_array_push(x_970, x_867); +x_972 = lean_array_push(x_971, x_872); +x_973 = lean_array_push(x_972, x_874); +x_974 = lean_array_push(x_973, x_966); +x_975 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_976 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_976, 0, x_975); +lean_ctor_set(x_976, 1, x_974); +lean_ctor_set(x_821, 0, x_976); +return x_821; +} +else +{ +lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; +x_977 = lean_ctor_get(x_4, 0); +lean_inc(x_977); +lean_dec(x_4); +x_978 = lean_array_push(x_831, x_977); +x_979 = l_Array_append___rarg(x_907, x_978); +x_980 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_980, 0, x_833); +lean_ctor_set(x_980, 1, x_979); +x_981 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +x_982 = lean_array_push(x_981, x_980); +x_983 = lean_array_push(x_982, x_855); +x_984 = lean_array_push(x_983, x_857); +x_985 = lean_array_push(x_984, x_865); +x_986 = lean_array_push(x_985, x_867); +x_987 = lean_array_push(x_986, x_872); +x_988 = lean_array_push(x_987, x_874); +x_989 = lean_array_push(x_988, x_966); +x_990 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_991 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_991, 0, x_990); +lean_ctor_set(x_991, 1, x_989); +lean_ctor_set(x_821, 0, x_991); +return x_821; +} +} +else +{ +lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; +x_992 = lean_ctor_get(x_821, 0); +x_993 = lean_ctor_get(x_821, 1); lean_inc(x_993); -lean_inc(x_997); -x_1001 = l_Lean_addMacroScope(x_997, x_1000, x_993); -x_1002 = lean_box(0); -x_1003 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; -lean_inc(x_990); -x_1004 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1004, 0, x_990); -lean_ctor_set(x_1004, 1, x_1003); -lean_ctor_set(x_1004, 2, x_1001); -lean_ctor_set(x_1004, 3, x_1002); -x_1005 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_1006 = lean_array_push(x_1005, x_987); -x_1007 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; -x_1008 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1008, 0, x_1007); -lean_ctor_set(x_1008, 1, x_1006); -x_1009 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; -x_1010 = lean_array_push(x_1009, x_1004); -x_1011 = lean_array_push(x_1010, x_1008); -x_1012 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +lean_inc(x_992); +lean_dec(x_821); +x_994 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_816); +x_995 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_995, 0, x_816); +lean_ctor_set(x_995, 1, x_994); +x_996 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__82; +lean_inc(x_819); +lean_inc(x_992); +x_997 = l_Lean_addMacroScope(x_992, x_996, x_819); +x_998 = lean_box(0); +x_999 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; +lean_inc(x_816); +x_1000 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1000, 0, x_816); +lean_ctor_set(x_1000, 1, x_999); +lean_ctor_set(x_1000, 2, x_997); +lean_ctor_set(x_1000, 3, x_998); +x_1001 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; +x_1002 = lean_array_push(x_1001, x_813); +x_1003 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; +x_1004 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1004, 0, x_1003); +lean_ctor_set(x_1004, 1, x_1002); +x_1005 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; +x_1006 = lean_array_push(x_1005, x_1000); +x_1007 = lean_array_push(x_1006, x_1004); +x_1008 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; +x_1009 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1009, 0, x_1008); +lean_ctor_set(x_1009, 1, x_1007); +x_1010 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; +x_1011 = lean_array_push(x_1010, x_1009); +x_1012 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; x_1013 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1013, 0, x_1012); lean_ctor_set(x_1013, 1, x_1011); -x_1014 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; -x_1015 = lean_array_push(x_1014, x_1013); -x_1016 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -x_1017 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1017, 0, x_1016); -lean_ctor_set(x_1017, 1, x_1015); -x_1018 = lean_array_push(x_1005, x_1017); -x_1019 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1019, 0, x_1007); -lean_ctor_set(x_1019, 1, x_1018); -x_1020 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; -lean_inc(x_990); -x_1021 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1021, 0, x_990); -lean_ctor_set(x_1021, 1, x_1020); -x_1022 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; -x_1023 = lean_array_push(x_1022, x_999); -x_1024 = lean_array_push(x_1023, x_1019); -x_1025 = lean_array_push(x_1024, x_1021); -x_1026 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -x_1027 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1027, 0, x_1026); -lean_ctor_set(x_1027, 1, x_1025); -x_1028 = lean_array_push(x_1005, x_1027); -x_1029 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1029, 0, x_1007); -lean_ctor_set(x_1029, 1, x_1028); -x_1030 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_990); -x_1031 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1031, 0, x_990); +x_1014 = lean_array_push(x_1001, x_1013); +x_1015 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1015, 0, x_1003); +lean_ctor_set(x_1015, 1, x_1014); +x_1016 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; +lean_inc(x_816); +x_1017 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1017, 0, x_816); +lean_ctor_set(x_1017, 1, x_1016); +x_1018 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; +x_1019 = lean_array_push(x_1018, x_995); +x_1020 = lean_array_push(x_1019, x_1015); +x_1021 = lean_array_push(x_1020, x_1017); +x_1022 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +x_1023 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1023, 0, x_1022); +lean_ctor_set(x_1023, 1, x_1021); +x_1024 = lean_array_push(x_1001, x_1023); +x_1025 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1025, 0, x_1003); +lean_ctor_set(x_1025, 1, x_1024); +x_1026 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_816); +x_1027 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1027, 0, x_816); +lean_ctor_set(x_1027, 1, x_1026); +x_1028 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; +lean_inc(x_819); +lean_inc(x_992); +x_1029 = l_Lean_addMacroScope(x_992, x_1028, x_819); +x_1030 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_816); +x_1031 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1031, 0, x_816); lean_ctor_set(x_1031, 1, x_1030); -x_1032 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; -lean_inc(x_993); -lean_inc(x_997); -x_1033 = l_Lean_addMacroScope(x_997, x_1032, x_993); -x_1034 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -lean_inc(x_990); -x_1035 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1035, 0, x_990); +lean_ctor_set(x_1031, 2, x_1029); +lean_ctor_set(x_1031, 3, x_998); +x_1032 = lean_mk_syntax_ident(x_2); +x_1033 = lean_array_push(x_1005, x_1031); +x_1034 = lean_array_push(x_1033, x_1032); +x_1035 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1035, 0, x_1003); lean_ctor_set(x_1035, 1, x_1034); -lean_ctor_set(x_1035, 2, x_1033); -lean_ctor_set(x_1035, 3, x_1002); -x_1036 = lean_array_push(x_1009, x_1035); -x_1037 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; -x_1038 = lean_array_push(x_1036, x_1037); -x_1039 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -x_1040 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1040, 0, x_1039); -lean_ctor_set(x_1040, 1, x_1038); -x_1041 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -lean_inc(x_990); -x_1042 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1042, 0, x_990); -lean_ctor_set(x_1042, 1, x_1041); -x_1043 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103; -lean_inc(x_993); -lean_inc(x_997); -x_1044 = l_Lean_addMacroScope(x_997, x_1043, x_993); -x_1045 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; -x_1046 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105; -lean_inc(x_990); -x_1047 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1047, 0, x_990); -lean_ctor_set(x_1047, 1, x_1045); -lean_ctor_set(x_1047, 2, x_1044); -lean_ctor_set(x_1047, 3, x_1046); -x_1048 = lean_array_push(x_1009, x_1042); -x_1049 = lean_array_push(x_1048, x_1047); -x_1050 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -x_1051 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1051, 0, x_1050); -lean_ctor_set(x_1051, 1, x_1049); -x_1052 = lean_array_push(x_1005, x_1051); -x_1053 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1053, 0, x_1007); -lean_ctor_set(x_1053, 1, x_1052); -x_1054 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; -x_1055 = lean_array_push(x_1054, x_1053); -x_1056 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +x_1036 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_816); +x_1037 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1037, 0, x_816); +lean_ctor_set(x_1037, 1, x_1036); +x_1038 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +lean_inc(x_819); +lean_inc(x_992); +x_1039 = l_Lean_addMacroScope(x_992, x_1038, x_819); +x_1040 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__85; +x_1041 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__90; +lean_inc(x_816); +x_1042 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1042, 0, x_816); +lean_ctor_set(x_1042, 1, x_1040); +lean_ctor_set(x_1042, 2, x_1039); +lean_ctor_set(x_1042, 3, x_1041); +x_1043 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +lean_inc(x_816); +x_1044 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1044, 0, x_816); +lean_ctor_set(x_1044, 1, x_1043); +x_1045 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +lean_inc(x_816); +x_1046 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1046, 0, x_816); +lean_ctor_set(x_1046, 1, x_1045); +x_1047 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +lean_inc(x_819); +lean_inc(x_992); +x_1048 = l_Lean_addMacroScope(x_992, x_1047, x_819); +x_1049 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__95; +lean_inc(x_816); +x_1050 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1050, 0, x_816); +lean_ctor_set(x_1050, 1, x_1049); +lean_ctor_set(x_1050, 2, x_1048); +lean_ctor_set(x_1050, 3, x_998); +x_1051 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111; +lean_inc(x_819); +lean_inc(x_992); +x_1052 = l_Lean_addMacroScope(x_992, x_1051, x_819); +x_1053 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; +lean_inc(x_816); +x_1054 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1054, 0, x_816); +lean_ctor_set(x_1054, 1, x_1053); +lean_ctor_set(x_1054, 2, x_1052); +lean_ctor_set(x_1054, 3, x_998); +lean_inc(x_1050); +x_1055 = lean_array_push(x_1005, x_1050); +lean_inc(x_1054); +x_1056 = lean_array_push(x_1055, x_1054); x_1057 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1057, 0, x_1056); -lean_ctor_set(x_1057, 1, x_1055); -x_1058 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -lean_inc(x_990); +lean_ctor_set(x_1057, 0, x_1003); +lean_ctor_set(x_1057, 1, x_1056); +x_1058 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_816); x_1059 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1059, 0, x_990); +lean_ctor_set(x_1059, 0, x_816); lean_ctor_set(x_1059, 1, x_1058); -x_1060 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; -lean_inc(x_990); -x_1061 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1061, 0, x_990); -lean_ctor_set(x_1061, 1, x_1060); -x_1062 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111; -lean_inc(x_993); -lean_inc(x_997); -x_1063 = l_Lean_addMacroScope(x_997, x_1062, x_993); -x_1064 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; -lean_inc(x_990); -x_1065 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1065, 0, x_990); -lean_ctor_set(x_1065, 1, x_1064); -lean_ctor_set(x_1065, 2, x_1063); -lean_ctor_set(x_1065, 3, x_1002); -x_1066 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__124; -lean_inc(x_993); -lean_inc(x_997); -x_1067 = l_Lean_addMacroScope(x_997, x_1066, x_993); -x_1068 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123; -lean_inc(x_990); -x_1069 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1069, 0, x_990); -lean_ctor_set(x_1069, 1, x_1068); -lean_ctor_set(x_1069, 2, x_1067); -lean_ctor_set(x_1069, 3, x_1002); -lean_inc(x_1065); -x_1070 = lean_array_push(x_1009, x_1065); -lean_inc(x_1069); -x_1071 = lean_array_push(x_1070, x_1069); +x_1060 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__118; +lean_inc(x_819); +lean_inc(x_992); +x_1061 = l_Lean_addMacroScope(x_992, x_1060, x_819); +x_1062 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116; +x_1063 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120; +lean_inc(x_816); +x_1064 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1064, 0, x_816); +lean_ctor_set(x_1064, 1, x_1062); +lean_ctor_set(x_1064, 2, x_1061); +lean_ctor_set(x_1064, 3, x_1063); +x_1065 = lean_array_push(x_1001, x_803); +x_1066 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1066, 0, x_1003); +lean_ctor_set(x_1066, 1, x_1065); +x_1067 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +lean_inc(x_816); +x_1068 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1068, 0, x_816); +lean_ctor_set(x_1068, 1, x_1067); +x_1069 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101; +x_1070 = lean_array_push(x_1069, x_1050); +x_1071 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; x_1072 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1072, 0, x_1007); -lean_ctor_set(x_1072, 1, x_1071); -x_1073 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; -lean_inc(x_990); -x_1074 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1074, 0, x_990); +lean_ctor_set(x_1072, 0, x_1071); +lean_ctor_set(x_1072, 1, x_1070); +x_1073 = lean_array_push(x_1001, x_1072); +x_1074 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1074, 0, x_1003); lean_ctor_set(x_1074, 1, x_1073); -x_1075 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131; -lean_inc(x_993); -lean_inc(x_997); -x_1076 = l_Lean_addMacroScope(x_997, x_1075, x_993); -x_1077 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129; -x_1078 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__133; -lean_inc(x_990); -x_1079 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1079, 0, x_990); -lean_ctor_set(x_1079, 1, x_1077); -lean_ctor_set(x_1079, 2, x_1076); -lean_ctor_set(x_1079, 3, x_1078); -x_1080 = lean_array_push(x_1005, x_977); -x_1081 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1081, 0, x_1007); -lean_ctor_set(x_1081, 1, x_1080); -x_1082 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112; -lean_inc(x_990); -x_1083 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1083, 0, x_990); -lean_ctor_set(x_1083, 1, x_1082); -x_1084 = lean_array_push(x_1054, x_1065); -x_1085 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; -x_1086 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1086, 0, x_1085); -lean_ctor_set(x_1086, 1, x_1084); -x_1087 = lean_array_push(x_1005, x_1086); -x_1088 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1088, 0, x_1007); -lean_ctor_set(x_1088, 1, x_1087); -x_1089 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116; -lean_inc(x_990); -x_1090 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1090, 0, x_990); -lean_ctor_set(x_1090, 1, x_1089); -x_1091 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; -x_1092 = l_Array_append___rarg(x_1091, x_3); -x_1093 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; -lean_inc(x_990); -x_1094 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1094, 0, x_990); -lean_ctor_set(x_1094, 1, x_1093); -x_1095 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -lean_inc(x_990); -x_1096 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1096, 0, x_990); -lean_ctor_set(x_1096, 1, x_1095); -x_1097 = lean_array_push(x_1005, x_1096); -x_1098 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; +x_1075 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; +lean_inc(x_816); +x_1076 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1076, 0, x_816); +lean_ctor_set(x_1076, 1, x_1075); +x_1077 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; +x_1078 = l_Array_append___rarg(x_1077, x_3); +x_1079 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_816); +x_1080 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1080, 0, x_816); +lean_ctor_set(x_1080, 1, x_1079); +x_1081 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +lean_inc(x_816); +x_1082 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1082, 0, x_816); +lean_ctor_set(x_1082, 1, x_1081); +x_1083 = lean_array_push(x_1001, x_1082); +x_1084 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +x_1085 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1085, 0, x_1084); +lean_ctor_set(x_1085, 1, x_1083); +x_1086 = lean_array_push(x_1001, x_1085); +x_1087 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1087, 0, x_1003); +lean_ctor_set(x_1087, 1, x_1086); +x_1088 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; +x_1089 = l_Lean_addMacroScope(x_992, x_1088, x_819); +x_1090 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_1091 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +x_1092 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1092, 0, x_816); +lean_ctor_set(x_1092, 1, x_1090); +lean_ctor_set(x_1092, 2, x_1089); +lean_ctor_set(x_1092, 3, x_1091); +x_1093 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; +x_1094 = lean_array_push(x_1093, x_1080); +x_1095 = lean_array_push(x_1094, x_1087); +lean_inc(x_1059); +x_1096 = lean_array_push(x_1095, x_1059); +x_1097 = lean_array_push(x_1096, x_1092); +x_1098 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; x_1099 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1099, 0, x_1098); lean_ctor_set(x_1099, 1, x_1097); -x_1100 = lean_array_push(x_1005, x_1099); +x_1100 = lean_array_push(x_1078, x_1099); x_1101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1101, 0, x_1007); +lean_ctor_set(x_1101, 0, x_1003); lean_ctor_set(x_1101, 1, x_1100); -x_1102 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -x_1103 = l_Lean_addMacroScope(x_997, x_1102, x_993); -x_1104 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; -x_1105 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; -x_1106 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1106, 0, x_990); -lean_ctor_set(x_1106, 1, x_1104); -lean_ctor_set(x_1106, 2, x_1103); -lean_ctor_set(x_1106, 3, x_1105); -x_1107 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; -x_1108 = lean_array_push(x_1107, x_1094); -x_1109 = lean_array_push(x_1108, x_1101); -lean_inc(x_1074); -x_1110 = lean_array_push(x_1109, x_1074); -x_1111 = lean_array_push(x_1110, x_1106); -x_1112 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; -x_1113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1113, 0, x_1112); -lean_ctor_set(x_1113, 1, x_1111); -x_1114 = lean_array_push(x_1092, x_1113); -x_1115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1115, 0, x_1007); -lean_ctor_set(x_1115, 1, x_1114); -x_1116 = lean_array_push(x_1005, x_1115); -x_1117 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; -x_1118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1118, 0, x_1117); -lean_ctor_set(x_1118, 1, x_1116); -x_1119 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -x_1120 = lean_array_push(x_1119, x_1083); -x_1121 = lean_array_push(x_1120, x_1037); -x_1122 = lean_array_push(x_1121, x_1088); -x_1123 = lean_array_push(x_1122, x_1037); -x_1124 = lean_array_push(x_1123, x_1090); -x_1125 = lean_array_push(x_1124, x_1118); -x_1126 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; -x_1127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1127, 0, x_1126); -lean_ctor_set(x_1127, 1, x_1125); -x_1128 = lean_array_push(x_1022, x_1081); -lean_inc(x_1074); -x_1129 = lean_array_push(x_1128, x_1074); -x_1130 = lean_array_push(x_1129, x_1127); -x_1131 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; -x_1132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1132, 0, x_1131); -lean_ctor_set(x_1132, 1, x_1130); -x_1133 = lean_array_push(x_1009, x_1061); -lean_inc(x_1133); -x_1134 = lean_array_push(x_1133, x_1132); -x_1135 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +x_1102 = lean_array_push(x_1001, x_1101); +x_1103 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__53; +x_1104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1104, 0, x_1103); +lean_ctor_set(x_1104, 1, x_1102); +x_1105 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103; +x_1106 = lean_array_push(x_1105, x_1068); +x_1107 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; +x_1108 = lean_array_push(x_1106, x_1107); +x_1109 = lean_array_push(x_1108, x_1074); +x_1110 = lean_array_push(x_1109, x_1107); +x_1111 = lean_array_push(x_1110, x_1076); +x_1112 = lean_array_push(x_1111, x_1104); +x_1113 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; +x_1114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1114, 0, x_1113); +lean_ctor_set(x_1114, 1, x_1112); +x_1115 = lean_array_push(x_1018, x_1066); +lean_inc(x_1059); +x_1116 = lean_array_push(x_1115, x_1059); +x_1117 = lean_array_push(x_1116, x_1114); +x_1118 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; +x_1119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1119, 0, x_1118); +lean_ctor_set(x_1119, 1, x_1117); +x_1120 = lean_array_push(x_1005, x_1046); +lean_inc(x_1120); +x_1121 = lean_array_push(x_1120, x_1119); +x_1122 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__51; +x_1123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1123, 0, x_1122); +lean_ctor_set(x_1123, 1, x_1121); +x_1124 = lean_array_push(x_1005, x_1054); +x_1125 = lean_array_push(x_1124, x_1123); +x_1126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1126, 0, x_1003); +lean_ctor_set(x_1126, 1, x_1125); +x_1127 = lean_array_push(x_1005, x_1064); +x_1128 = lean_array_push(x_1127, x_1126); +x_1129 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; +x_1130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1130, 0, x_1129); +lean_ctor_set(x_1130, 1, x_1128); +x_1131 = lean_array_push(x_1018, x_1057); +x_1132 = lean_array_push(x_1131, x_1059); +x_1133 = lean_array_push(x_1132, x_1130); +x_1134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1134, 0, x_1118); +lean_ctor_set(x_1134, 1, x_1133); +x_1135 = lean_array_push(x_1120, x_1134); x_1136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1136, 0, x_1135); -lean_ctor_set(x_1136, 1, x_1134); -x_1137 = lean_array_push(x_1009, x_1069); -x_1138 = lean_array_push(x_1137, x_1136); -x_1139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1139, 0, x_1007); -lean_ctor_set(x_1139, 1, x_1138); -x_1140 = lean_array_push(x_1009, x_1079); -x_1141 = lean_array_push(x_1140, x_1139); -x_1142 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126; -x_1143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1143, 0, x_1142); -lean_ctor_set(x_1143, 1, x_1141); -x_1144 = lean_array_push(x_1022, x_1072); -x_1145 = lean_array_push(x_1144, x_1074); -x_1146 = lean_array_push(x_1145, x_1143); -x_1147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1147, 0, x_1131); -lean_ctor_set(x_1147, 1, x_1146); -x_1148 = lean_array_push(x_1133, x_1147); -x_1149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1149, 0, x_1135); -lean_ctor_set(x_1149, 1, x_1148); -x_1150 = lean_array_push(x_1022, x_1059); -x_1151 = lean_array_push(x_1150, x_1149); -x_1152 = lean_array_push(x_1151, x_1037); -x_1153 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; -x_1154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1154, 0, x_1153); -lean_ctor_set(x_1154, 1, x_1152); -x_1155 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; -x_1156 = lean_array_push(x_1155, x_1031); -x_1157 = lean_array_push(x_1156, x_1040); -x_1158 = lean_array_push(x_1157, x_1057); -x_1159 = lean_array_push(x_1158, x_1154); -x_1160 = lean_array_push(x_1159, x_1037); -x_1161 = lean_array_push(x_1160, x_1037); -x_1162 = lean_array_push(x_1161, x_1037); -x_1163 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -x_1164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1164, 0, x_1163); -lean_ctor_set(x_1164, 1, x_1162); +lean_ctor_set(x_1136, 0, x_1122); +lean_ctor_set(x_1136, 1, x_1135); if (lean_obj_tag(x_4) == 0) { -lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; -x_1165 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; -x_1166 = lean_array_push(x_1165, x_1029); -x_1167 = lean_array_push(x_1166, x_1037); -x_1168 = lean_array_push(x_1167, x_1037); -x_1169 = lean_array_push(x_1168, x_1037); -x_1170 = lean_array_push(x_1169, x_1037); -x_1171 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_1172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1172, 0, x_1171); -lean_ctor_set(x_1172, 1, x_1170); -x_1173 = lean_array_push(x_1009, x_1172); -x_1174 = lean_array_push(x_1173, x_1164); -x_1175 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -x_1176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1176, 0, x_1175); -lean_ctor_set(x_1176, 1, x_1174); -lean_ctor_set(x_995, 0, x_1176); -return x_995; +lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; +x_1137 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; +x_1138 = lean_array_push(x_1137, x_1025); +x_1139 = lean_array_push(x_1138, x_1027); +x_1140 = lean_array_push(x_1139, x_1035); +x_1141 = lean_array_push(x_1140, x_1037); +x_1142 = lean_array_push(x_1141, x_1042); +x_1143 = lean_array_push(x_1142, x_1044); +x_1144 = lean_array_push(x_1143, x_1136); +x_1145 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_1146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1146, 0, x_1145); +lean_ctor_set(x_1146, 1, x_1144); +x_1147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1147, 0, x_1146); +lean_ctor_set(x_1147, 1, x_993); +return x_1147; } else { -lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; -x_1177 = lean_ctor_get(x_4, 0); -lean_inc(x_1177); +lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; +x_1148 = lean_ctor_get(x_4, 0); +lean_inc(x_1148); lean_dec(x_4); -x_1178 = lean_array_push(x_1005, x_1177); -x_1179 = l_Array_append___rarg(x_1091, x_1178); -x_1180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1180, 0, x_1007); -lean_ctor_set(x_1180, 1, x_1179); -x_1181 = lean_array_push(x_1119, x_1180); -x_1182 = lean_array_push(x_1181, x_1029); -x_1183 = lean_array_push(x_1182, x_1037); -x_1184 = lean_array_push(x_1183, x_1037); -x_1185 = lean_array_push(x_1184, x_1037); -x_1186 = lean_array_push(x_1185, x_1037); -x_1187 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_1188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1188, 0, x_1187); -lean_ctor_set(x_1188, 1, x_1186); -x_1189 = lean_array_push(x_1009, x_1188); -x_1190 = lean_array_push(x_1189, x_1164); -x_1191 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -x_1192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1192, 0, x_1191); -lean_ctor_set(x_1192, 1, x_1190); -lean_ctor_set(x_995, 0, x_1192); -return x_995; -} -} -else -{ -lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; -x_1193 = lean_ctor_get(x_995, 0); -x_1194 = lean_ctor_get(x_995, 1); -lean_inc(x_1194); -lean_inc(x_1193); -lean_dec(x_995); -x_1195 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_990); -x_1196 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1196, 0, x_990); -lean_ctor_set(x_1196, 1, x_1195); -x_1197 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; -lean_inc(x_993); -lean_inc(x_1193); -x_1198 = l_Lean_addMacroScope(x_1193, x_1197, x_993); -x_1199 = lean_box(0); -x_1200 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; -lean_inc(x_990); -x_1201 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1201, 0, x_990); -lean_ctor_set(x_1201, 1, x_1200); -lean_ctor_set(x_1201, 2, x_1198); -lean_ctor_set(x_1201, 3, x_1199); -x_1202 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__23; -x_1203 = lean_array_push(x_1202, x_987); -x_1204 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__3; -x_1205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1205, 0, x_1204); -lean_ctor_set(x_1205, 1, x_1203); -x_1206 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__32; -x_1207 = lean_array_push(x_1206, x_1201); -x_1208 = lean_array_push(x_1207, x_1205); -x_1209 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__29; -x_1210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1210, 0, x_1209); -lean_ctor_set(x_1210, 1, x_1208); -x_1211 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__33; -x_1212 = lean_array_push(x_1211, x_1210); -x_1213 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -x_1214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1214, 0, x_1213); -lean_ctor_set(x_1214, 1, x_1212); -x_1215 = lean_array_push(x_1202, x_1214); -x_1216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1216, 0, x_1204); -lean_ctor_set(x_1216, 1, x_1215); -x_1217 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__34; -lean_inc(x_990); -x_1218 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1218, 0, x_990); -lean_ctor_set(x_1218, 1, x_1217); -x_1219 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__35; -x_1220 = lean_array_push(x_1219, x_1196); -x_1221 = lean_array_push(x_1220, x_1216); -x_1222 = lean_array_push(x_1221, x_1218); -x_1223 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -x_1224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1224, 0, x_1223); -lean_ctor_set(x_1224, 1, x_1222); -x_1225 = lean_array_push(x_1202, x_1224); -x_1226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1226, 0, x_1204); -lean_ctor_set(x_1226, 1, x_1225); -x_1227 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_990); -x_1228 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1228, 0, x_990); -lean_ctor_set(x_1228, 1, x_1227); -x_1229 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; -lean_inc(x_993); -lean_inc(x_1193); -x_1230 = l_Lean_addMacroScope(x_1193, x_1229, x_993); -x_1231 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -lean_inc(x_990); -x_1232 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1232, 0, x_990); -lean_ctor_set(x_1232, 1, x_1231); -lean_ctor_set(x_1232, 2, x_1230); -lean_ctor_set(x_1232, 3, x_1199); -x_1233 = lean_array_push(x_1206, x_1232); -x_1234 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; -x_1235 = lean_array_push(x_1233, x_1234); -x_1236 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -x_1237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1237, 0, x_1236); -lean_ctor_set(x_1237, 1, x_1235); -x_1238 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -lean_inc(x_990); -x_1239 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1239, 0, x_990); -lean_ctor_set(x_1239, 1, x_1238); -x_1240 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__103; -lean_inc(x_993); -lean_inc(x_1193); -x_1241 = l_Lean_addMacroScope(x_1193, x_1240, x_993); -x_1242 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; -x_1243 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__105; -lean_inc(x_990); -x_1244 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1244, 0, x_990); -lean_ctor_set(x_1244, 1, x_1242); -lean_ctor_set(x_1244, 2, x_1241); -lean_ctor_set(x_1244, 3, x_1243); -x_1245 = lean_array_push(x_1206, x_1239); -x_1246 = lean_array_push(x_1245, x_1244); -x_1247 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__48; -x_1248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1248, 0, x_1247); -lean_ctor_set(x_1248, 1, x_1246); -x_1249 = lean_array_push(x_1202, x_1248); -x_1250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1250, 0, x_1204); -lean_ctor_set(x_1250, 1, x_1249); -x_1251 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__60; -x_1252 = lean_array_push(x_1251, x_1250); -x_1253 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -x_1254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1254, 0, x_1253); -lean_ctor_set(x_1254, 1, x_1252); -x_1255 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -lean_inc(x_990); -x_1256 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1256, 0, x_990); -lean_ctor_set(x_1256, 1, x_1255); -x_1257 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; -lean_inc(x_990); -x_1258 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1258, 0, x_990); -lean_ctor_set(x_1258, 1, x_1257); -x_1259 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__111; -lean_inc(x_993); -lean_inc(x_1193); -x_1260 = l_Lean_addMacroScope(x_1193, x_1259, x_993); -x_1261 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; -lean_inc(x_990); -x_1262 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1262, 0, x_990); -lean_ctor_set(x_1262, 1, x_1261); -lean_ctor_set(x_1262, 2, x_1260); -lean_ctor_set(x_1262, 3, x_1199); -x_1263 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__124; -lean_inc(x_993); -lean_inc(x_1193); -x_1264 = l_Lean_addMacroScope(x_1193, x_1263, x_993); -x_1265 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123; -lean_inc(x_990); -x_1266 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1266, 0, x_990); -lean_ctor_set(x_1266, 1, x_1265); -lean_ctor_set(x_1266, 2, x_1264); -lean_ctor_set(x_1266, 3, x_1199); -lean_inc(x_1262); -x_1267 = lean_array_push(x_1206, x_1262); -lean_inc(x_1266); -x_1268 = lean_array_push(x_1267, x_1266); -x_1269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1269, 0, x_1204); -lean_ctor_set(x_1269, 1, x_1268); -x_1270 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__6; -lean_inc(x_990); -x_1271 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1271, 0, x_990); -lean_ctor_set(x_1271, 1, x_1270); -x_1272 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131; -lean_inc(x_993); -lean_inc(x_1193); -x_1273 = l_Lean_addMacroScope(x_1193, x_1272, x_993); -x_1274 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129; -x_1275 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__133; -lean_inc(x_990); -x_1276 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1276, 0, x_990); -lean_ctor_set(x_1276, 1, x_1274); -lean_ctor_set(x_1276, 2, x_1273); -lean_ctor_set(x_1276, 3, x_1275); -x_1277 = lean_array_push(x_1202, x_977); -x_1278 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1278, 0, x_1204); -lean_ctor_set(x_1278, 1, x_1277); -x_1279 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112; -lean_inc(x_990); -x_1280 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1280, 0, x_990); -lean_ctor_set(x_1280, 1, x_1279); -x_1281 = lean_array_push(x_1251, x_1262); -x_1282 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; -x_1283 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1283, 0, x_1282); -lean_ctor_set(x_1283, 1, x_1281); -x_1284 = lean_array_push(x_1202, x_1283); -x_1285 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1285, 0, x_1204); -lean_ctor_set(x_1285, 1, x_1284); -x_1286 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__116; -lean_inc(x_990); -x_1287 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1287, 0, x_990); -lean_ctor_set(x_1287, 1, x_1286); -x_1288 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__4; -x_1289 = l_Array_append___rarg(x_1288, x_3); -x_1290 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__1; -lean_inc(x_990); -x_1291 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1291, 0, x_990); -lean_ctor_set(x_1291, 1, x_1290); -x_1292 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -lean_inc(x_990); -x_1293 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1293, 0, x_990); -lean_ctor_set(x_1293, 1, x_1292); -x_1294 = lean_array_push(x_1202, x_1293); -x_1295 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69; -x_1296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1296, 0, x_1295); -lean_ctor_set(x_1296, 1, x_1294); -x_1297 = lean_array_push(x_1202, x_1296); -x_1298 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1298, 0, x_1204); -lean_ctor_set(x_1298, 1, x_1297); -x_1299 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -x_1300 = l_Lean_addMacroScope(x_1193, x_1299, x_993); -x_1301 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__73; -x_1302 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__77; -x_1303 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1303, 0, x_990); -lean_ctor_set(x_1303, 1, x_1301); -lean_ctor_set(x_1303, 2, x_1300); -lean_ctor_set(x_1303, 3, x_1302); -x_1304 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___lambda__2___closed__7; -x_1305 = lean_array_push(x_1304, x_1291); -x_1306 = lean_array_push(x_1305, x_1298); -lean_inc(x_1271); -x_1307 = lean_array_push(x_1306, x_1271); -x_1308 = lean_array_push(x_1307, x_1303); -x_1309 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__8; -x_1310 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1310, 0, x_1309); -lean_ctor_set(x_1310, 1, x_1308); -x_1311 = lean_array_push(x_1289, x_1310); -x_1312 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1312, 0, x_1204); -lean_ctor_set(x_1312, 1, x_1311); -x_1313 = lean_array_push(x_1202, x_1312); -x_1314 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__67; -x_1315 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1315, 0, x_1314); -lean_ctor_set(x_1315, 1, x_1313); -x_1316 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -x_1317 = lean_array_push(x_1316, x_1280); -x_1318 = lean_array_push(x_1317, x_1234); -x_1319 = lean_array_push(x_1318, x_1285); -x_1320 = lean_array_push(x_1319, x_1234); -x_1321 = lean_array_push(x_1320, x_1287); -x_1322 = lean_array_push(x_1321, x_1315); -x_1323 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; -x_1324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1324, 0, x_1323); -lean_ctor_set(x_1324, 1, x_1322); -x_1325 = lean_array_push(x_1219, x_1278); -lean_inc(x_1271); -x_1326 = lean_array_push(x_1325, x_1271); -x_1327 = lean_array_push(x_1326, x_1324); -x_1328 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; -x_1329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1329, 0, x_1328); -lean_ctor_set(x_1329, 1, x_1327); -x_1330 = lean_array_push(x_1206, x_1258); -lean_inc(x_1330); -x_1331 = lean_array_push(x_1330, x_1329); -x_1332 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; -x_1333 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1333, 0, x_1332); -lean_ctor_set(x_1333, 1, x_1331); -x_1334 = lean_array_push(x_1206, x_1266); -x_1335 = lean_array_push(x_1334, x_1333); -x_1336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1336, 0, x_1204); -lean_ctor_set(x_1336, 1, x_1335); -x_1337 = lean_array_push(x_1206, x_1276); -x_1338 = lean_array_push(x_1337, x_1336); -x_1339 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126; -x_1340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1340, 0, x_1339); -lean_ctor_set(x_1340, 1, x_1338); -x_1341 = lean_array_push(x_1219, x_1269); -x_1342 = lean_array_push(x_1341, x_1271); -x_1343 = lean_array_push(x_1342, x_1340); -x_1344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1344, 0, x_1328); -lean_ctor_set(x_1344, 1, x_1343); -x_1345 = lean_array_push(x_1330, x_1344); -x_1346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1346, 0, x_1332); -lean_ctor_set(x_1346, 1, x_1345); -x_1347 = lean_array_push(x_1219, x_1256); -x_1348 = lean_array_push(x_1347, x_1346); -x_1349 = lean_array_push(x_1348, x_1234); -x_1350 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__62; -x_1351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1351, 0, x_1350); -lean_ctor_set(x_1351, 1, x_1349); -x_1352 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; -x_1353 = lean_array_push(x_1352, x_1228); -x_1354 = lean_array_push(x_1353, x_1237); -x_1355 = lean_array_push(x_1354, x_1254); -x_1356 = lean_array_push(x_1355, x_1351); -x_1357 = lean_array_push(x_1356, x_1234); -x_1358 = lean_array_push(x_1357, x_1234); -x_1359 = lean_array_push(x_1358, x_1234); -x_1360 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -x_1361 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1361, 0, x_1360); -lean_ctor_set(x_1361, 1, x_1359); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; -x_1362 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; -x_1363 = lean_array_push(x_1362, x_1226); -x_1364 = lean_array_push(x_1363, x_1234); -x_1365 = lean_array_push(x_1364, x_1234); -x_1366 = lean_array_push(x_1365, x_1234); -x_1367 = lean_array_push(x_1366, x_1234); -x_1368 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_1369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1369, 0, x_1368); -lean_ctor_set(x_1369, 1, x_1367); -x_1370 = lean_array_push(x_1206, x_1369); -x_1371 = lean_array_push(x_1370, x_1361); -x_1372 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -x_1373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1373, 0, x_1372); -lean_ctor_set(x_1373, 1, x_1371); -x_1374 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1374, 0, x_1373); -lean_ctor_set(x_1374, 1, x_1194); -return x_1374; -} -else -{ -lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; -x_1375 = lean_ctor_get(x_4, 0); -lean_inc(x_1375); -lean_dec(x_4); -x_1376 = lean_array_push(x_1202, x_1375); -x_1377 = l_Array_append___rarg(x_1288, x_1376); -x_1378 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1378, 0, x_1204); -lean_ctor_set(x_1378, 1, x_1377); -x_1379 = lean_array_push(x_1316, x_1378); -x_1380 = lean_array_push(x_1379, x_1226); -x_1381 = lean_array_push(x_1380, x_1234); -x_1382 = lean_array_push(x_1381, x_1234); -x_1383 = lean_array_push(x_1382, x_1234); -x_1384 = lean_array_push(x_1383, x_1234); -x_1385 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_1386 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1386, 0, x_1385); -lean_ctor_set(x_1386, 1, x_1384); -x_1387 = lean_array_push(x_1206, x_1386); -x_1388 = lean_array_push(x_1387, x_1361); -x_1389 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; -x_1390 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1390, 0, x_1389); -lean_ctor_set(x_1390, 1, x_1388); -x_1391 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1391, 0, x_1390); -lean_ctor_set(x_1391, 1, x_1194); -return x_1391; +x_1149 = lean_array_push(x_1001, x_1148); +x_1150 = l_Array_append___rarg(x_1077, x_1149); +x_1151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1151, 0, x_1003); +lean_ctor_set(x_1151, 1, x_1150); +x_1152 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__64; +x_1153 = lean_array_push(x_1152, x_1151); +x_1154 = lean_array_push(x_1153, x_1025); +x_1155 = lean_array_push(x_1154, x_1027); +x_1156 = lean_array_push(x_1155, x_1035); +x_1157 = lean_array_push(x_1156, x_1037); +x_1158 = lean_array_push(x_1157, x_1042); +x_1159 = lean_array_push(x_1158, x_1044); +x_1160 = lean_array_push(x_1159, x_1136); +x_1161 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_1162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1162, 0, x_1161); +lean_ctor_set(x_1162, 1, x_1160); +x_1163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1163, 0, x_1162); +lean_ctor_set(x_1163, 1, x_993); +return x_1163; } } } @@ -5155,7 +4690,7 @@ _start: lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_12 = lean_unsigned_to_nat(6u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; +x_14 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; x_15 = lean_name_mk_string(x_2, x_14); lean_inc(x_13); x_16 = l_Lean_Syntax_isOfKind(x_13, x_15); @@ -5291,16 +4826,17 @@ return x_1; static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("<="); -return x_1; +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; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("("); +x_1 = lean_mk_string("<="); return x_1; } } @@ -5308,7 +4844,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed _start: { lean_object* x_1; -x_1 = lean_mk_string("kind"); +x_1 = lean_mk_string("("); return x_1; } } @@ -5316,13 +4852,21 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed _start: { lean_object* x_1; -x_1 = lean_mk_string(")"); +x_1 = lean_mk_string("kind"); return x_1; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6() { _start: { +lean_object* x_1; +x_1 = lean_mk_string(")"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(5u); x_2 = lean_mk_empty_array_with_capacity(x_1); @@ -5333,7 +4877,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3(lean_obje _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 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; -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_9, x_10, x_11); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_9, x_10, x_11); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -5392,7 +4936,7 @@ x_30 = l_Array_append___rarg(x_22, x_29); x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_24); lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; +x_32 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; x_33 = lean_array_push(x_32, x_31); x_34 = lean_array_push(x_33, x_2); x_35 = lean_array_push(x_34, x_21); @@ -5408,27 +4952,27 @@ x_69 = lean_ctor_get(x_7, 0); lean_inc(x_69); lean_dec(x_7); x_70 = lean_mk_syntax_ident(x_69); -x_71 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; +x_71 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__4; lean_inc(x_13); x_72 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_72, 0, x_13); lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__4; +x_73 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5; lean_inc(x_13); x_74 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_74, 0, x_13); lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +x_75 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; lean_inc(x_13); x_76 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_76, 0, x_13); lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5; +x_77 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6; lean_inc(x_13); x_78 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_78, 0, x_13); lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6; +x_79 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7; x_80 = lean_array_push(x_79, x_72); x_81 = lean_array_push(x_80, x_74); x_82 = lean_array_push(x_81, x_76); @@ -5456,7 +5000,7 @@ lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean x_62 = lean_ctor_get(x_5, 0); lean_inc(x_62); lean_dec(x_5); -x_63 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +x_63 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; lean_inc(x_13); x_64 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_64, 0, x_13); @@ -5479,7 +5023,7 @@ if (lean_obj_tag(x_3) == 0) { lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_dec(x_13); -x_44 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; +x_44 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; x_45 = lean_array_push(x_43, x_44); x_46 = lean_array_push(x_45, x_28); x_47 = lean_alloc_ctor(1, 2, 0); @@ -5500,7 +5044,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean x_49 = lean_ctor_get(x_3, 0); lean_inc(x_49); lean_dec(x_3); -x_50 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; +x_50 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; x_51 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_51, 0, x_13); lean_ctor_set(x_51, 1, x_50); @@ -5536,7 +5080,7 @@ _start: lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; x_12 = lean_unsigned_to_nat(6u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); -x_14 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; +x_14 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; x_15 = lean_name_mk_string(x_2, x_14); lean_inc(x_13); x_16 = l_Lean_Syntax_isOfKind(x_13, x_15); @@ -5791,8 +5335,8 @@ static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; -x_2 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4; +x_2 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__11; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -5800,17 +5344,27 @@ return x_3; static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("docComment"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; +x_2 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("docComment"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; -x_2 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2; +x_1 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; +x_2 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -5819,7 +5373,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7(lean_obje _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; +x_5 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) @@ -5859,7 +5413,7 @@ else lean_object* x_15; lean_object* x_16; uint8_t x_17; x_15 = l_Lean_Syntax_getArg(x_9, x_8); lean_dec(x_9); -x_16 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3; +x_16 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__4; lean_inc(x_15); x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); if (x_17 == 0) @@ -5987,7 +5541,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__89; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; x_2 = l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -6006,7 +5560,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Command_commandElabAttribute; -x_3 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; +x_3 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2; x_4 = l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__2; x_5 = l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); @@ -6228,7 +5782,7 @@ lean_ctor_set(x_32, 1, x_30); x_33 = l_Lean_Elab_Command_expandElab___lambda__1___closed__2; lean_inc(x_2); x_34 = lean_name_mk_string(x_2, x_33); -x_35 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; +x_35 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__4; lean_inc(x_27); x_36 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_36, 0, x_27); @@ -6238,17 +5792,17 @@ lean_inc(x_27); x_38 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_38, 0, x_27); lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +x_39 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; lean_inc(x_27); x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_27); lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5; +x_41 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6; lean_inc(x_27); x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_27); lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6; +x_43 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7; x_44 = lean_array_push(x_43, x_36); lean_inc(x_44); x_45 = lean_array_push(x_44, x_38); @@ -6301,7 +5855,7 @@ x_75 = l_Array_append___rarg(x_74, x_73); x_76 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_76, 0, x_52); lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +x_77 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; lean_inc(x_27); x_78 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_78, 0, x_27); @@ -6325,7 +5879,7 @@ x_86 = lean_array_push(x_85, x_7); x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_52); lean_ctor_set(x_87, 1, x_86); -x_88 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; +x_88 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__52; lean_inc(x_8); x_89 = lean_name_mk_string(x_8, x_88); x_90 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__7; @@ -6402,7 +5956,7 @@ lean_inc(x_119); x_121 = lean_array_push(x_120, x_119); x_122 = lean_array_push(x_121, x_10); x_123 = lean_array_push(x_122, x_32); -x_124 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; +x_124 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; x_125 = lean_array_push(x_124, x_119); x_126 = lean_array_push(x_125, x_82); x_127 = lean_array_push(x_126, x_83); @@ -6453,7 +6007,7 @@ if (lean_obj_tag(x_11) == 0) { 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_dec(x_27); -x_142 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__80; +x_142 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__66; x_143 = lean_array_push(x_130, x_142); x_144 = lean_array_push(x_143, x_116); x_145 = lean_alloc_ctor(1, 2, 0); @@ -6478,7 +6032,7 @@ lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; x_149 = lean_ctor_get(x_11, 0); lean_inc(x_149); lean_dec(x_11); -x_150 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; +x_150 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; x_151 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_151, 0, x_27); lean_ctor_set(x_151, 1, x_150); @@ -7174,7 +6728,7 @@ static lean_object* _init_l_Lean_Elab_Command_expandElab___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_1 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; x_2 = l_Lean_Elab_Command_expandElab___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -7228,7 +6782,7 @@ else lean_object* x_16; lean_object* x_17; uint8_t x_18; x_16 = l_Lean_Syntax_getArg(x_9, x_8); lean_dec(x_9); -x_17 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3; +x_17 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__4; lean_inc(x_16); x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); if (x_18 == 0) @@ -7249,7 +6803,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean x_21 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_21, 0, x_16); x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4; -x_23 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_23 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; x_24 = lean_box(0); x_25 = l_Lean_Elab_Command_expandElab___lambda__6(x_1, x_22, x_23, x_24, x_21, x_2, x_3); return x_25; @@ -7262,7 +6816,7 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean lean_dec(x_9); x_26 = lean_box(0); x_27 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__3___closed__4; -x_28 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__10; +x_28 = l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1; x_29 = lean_box(0); x_30 = l_Lean_Elab_Command_expandElab___lambda__6(x_1, x_27, x_28, x_29, x_26, x_2, x_3); return x_30; @@ -7321,7 +6875,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandElab___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__89; +x_1 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12; x_2 = l___regBuiltin_Lean_Elab_Command_expandElab___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -7349,6 +6903,7 @@ return x_6; } lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Elab_MacroArgUtil(lean_object*); +lean_object* initialize_Lean_Elab_AuxDef(lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_ElabRules(lean_object* w) { lean_object * res; @@ -7360,6 +6915,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_MacroArgUtil(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_AuxDef(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(); lean_mark_persistent(l_Lean_Elab_Command_withExpectedType___closed__1); l_Lean_Elab_Command_withExpectedType___closed__2 = _init_l_Lean_Elab_Command_withExpectedType___closed__2(); @@ -7650,32 +7208,6 @@ l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119 = _init_l_Lean_El lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119); l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120(); lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__120); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__121); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__122); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__123); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__124 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__124(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__124); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__125); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__126); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__127); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__128); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__129); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__130); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__131); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__132 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__132(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__132); -l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__133 = _init_l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__133(); -lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__133); l_Lean_Elab_Command_elabElabRulesAux___closed__1 = _init_l_Lean_Elab_Command_elabElabRulesAux___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabElabRulesAux___closed__1); l_Lean_Elab_Command_elabElabRulesAux___closed__2 = _init_l_Lean_Elab_Command_elabElabRulesAux___closed__2(); @@ -7694,12 +7226,16 @@ l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5 = _init_l_Lean_Elab_Co lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5); l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6(); lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6); +l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7 = _init_l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__3___closed__7); l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1 = _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__7___closed__1); l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2 = _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2(); lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__7___closed__2); l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3 = _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3(); lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__7___closed__3); +l_Lean_Elab_Command_elabElabRules___lambda__7___closed__4 = _init_l_Lean_Elab_Command_elabElabRules___lambda__7___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___lambda__7___closed__4); l_Lean_Elab_Command_elabElabRules___closed__1 = _init_l_Lean_Elab_Command_elabElabRules___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabElabRules___closed__1); l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index c82c5b7bda..613e030d7e 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -23,6 +23,7 @@ lean_object* lean_mk_brec_on(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__7; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabHeaderAux___lambda__2___closed__2; size_t lean_usize_add(size_t, size_t); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__2; uint8_t l_Lean_Level_isNeverZero(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkCtor2InferMod___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkTypeFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -44,8 +45,8 @@ lean_object* l_Std_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object* lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT 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*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___closed__2; +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__5; uint8_t l_Lean_Elab_Modifiers_isPartial(lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__2; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_instantiateLevelMVars___at_Lean_Meta_instantiateLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -58,19 +59,21 @@ lean_object* lean_expr_update_mdata(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkResultUniverse(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult; +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedInductiveView; lean_object* l_Lean_Meta_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__1(lean_object*, size_t, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__4; lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___spec__1(lean_object*); lean_object* l_Lean_Expr_ReplaceLevelImpl_replaceUnsafeM_visit(lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT 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*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__3; static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__1___closed__1; static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___closed__4; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___closed__2; @@ -108,6 +111,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_wi static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___spec__1___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__1; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__2; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); @@ -127,9 +131,10 @@ lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(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_Level_getOffsetAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkIndFVar2Const(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__4; lean_object* l_Std_mkHashSetImp___rarg(lean_object*); LEAN_EXPORT 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*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__2___closed__1; @@ -141,6 +146,7 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxCo LEAN_EXPORT 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*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___closed__1; static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__10; +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_EXPORT 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_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5____closed__1; @@ -153,7 +159,6 @@ LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_ uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__5; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyDerivingHandlers___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkLevelNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; @@ -185,7 +190,7 @@ lean_object* l_Std_HashMap_insert___rarg(lean_object*, lean_object*, lean_object static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___lambda__1___closed__2; LEAN_EXPORT 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*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(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*); static lean_object* l_Lean_Elab_Command_checkResultingUniverse___closed__2; lean_object* lean_mk_ibelow(lean_object*, lean_object*); LEAN_EXPORT 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*); @@ -211,10 +216,12 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_withInductiveLocalDecls(lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__7; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__1___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___spec__2___lambda__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed(lean_object**); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___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*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__4; static lean_object* l_Lean_Elab_Command_tmpIndParam___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___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*); static lean_object* l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse___closed__1; @@ -232,7 +239,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_is lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_reduce_visit___spec__1(lean_object*, lean_object*); LEAN_EXPORT 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_Std_mkHashMapImp___rarg(lean_object*); -LEAN_EXPORT 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_EXPORT 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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_elabLetDeclAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_tmpIndParam___closed__1; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectLevelParamsInInductive___closed__1; @@ -249,7 +256,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__2___bo LEAN_EXPORT 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*); uint8_t l_Lean_Option_get___at_Lean_ppExpr___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkBelow___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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___boxed(lean_object**); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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*); +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__1; lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT 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_EXPORT 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*); @@ -258,12 +266,11 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkPa lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instHashableExpr; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5(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_EXPORT 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_EXPORT 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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedCtorView; static lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__3; LEAN_EXPORT 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*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__1; LEAN_EXPORT 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_Std_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -389,7 +396,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_el static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__9; LEAN_EXPORT 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*); LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___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_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5_(lean_object*); LEAN_EXPORT 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*); static lean_object* l_Lean_Elab_Command_tmpIndParam___closed__3; @@ -403,6 +410,7 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_elabCtorType___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__8___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_Level_normalize(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__5___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*); static lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg___lambda__2___closed__2; @@ -427,7 +435,6 @@ static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkPa lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInductiveViews___lambda__1(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_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__6; uint8_t l_Lean_Expr_isFVar(lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__1; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -450,11 +457,10 @@ static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_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_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__5; LEAN_EXPORT lean_object* l_List_mapM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__3; lean_object* lean_mk_array(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_EXPORT lean_object* l___private_Lean_Elab_Inductive_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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__2; @@ -476,9 +482,12 @@ LEAN_EXPORT lean_object* l_Lean_mkCasesOn___at___private_Lean_Elab_Inductive_0__ uint8_t l_Lean_Level_occurs(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkBRecOn___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; +static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__6; uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___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_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_mapTRAux___at_Lean_Meta_substCore___spec__7(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2___closed__1; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__5; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__4; @@ -503,6 +512,7 @@ lean_object* lean_expr_update_app(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Command_accLevelAtCtor___spec__2(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelOne; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__6; uint8_t lean_level_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___rarg___lambda__1___closed__1; @@ -539,7 +549,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_ap uint8_t lean_nat_dec_lt(lean_object*, lean_object*); extern lean_object* l_Lean_Name_instBEqName; LEAN_EXPORT 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_EXPORT 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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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*); static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_5____closed__1() { _start: { @@ -2848,131 +2858,177 @@ return x_2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___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: { -if (lean_obj_tag(x_1) == 3) -{ lean_object* x_11; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_1); -lean_inc(x_3); -x_11 = l_Lean_Meta_isExprDefEq(x_3, x_1, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Meta_whnfD(x_1, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; uint8_t x_13; +lean_object* x_12; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); -x_13 = lean_unbox(x_12); +if (lean_obj_tag(x_12) == 3) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_12); +lean_inc(x_3); +x_14 = l_Lean_Meta_isExprDefEq(x_3, x_12, x_6, x_7, x_8, x_9, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_unbox(x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); +x_18 = l_Lean_indentExpr(x_12); +x_19 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___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___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__4; +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_indentExpr(x_3); +x_24 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; +x_26 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_17); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_27; +} +else +{ +uint8_t x_28; lean_dec(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_dec(x_11); -x_15 = l_Lean_indentExpr(x_1); -x_16 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___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___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__4; -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_indentExpr(x_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___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; -x_23 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_14); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -return x_24; -} -else -{ -uint8_t x_25; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_25 = !lean_is_exclusive(x_11); -if (x_25 == 0) +x_28 = !lean_is_exclusive(x_14); +if (x_28 == 0) { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_11, 0); -lean_dec(x_26); -x_27 = lean_box(0); -lean_ctor_set(x_11, 0, x_27); -return x_11; +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_14, 0); +lean_dec(x_29); +x_30 = lean_box(0); +lean_ctor_set(x_14, 0, x_30); +return x_14; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_11, 1); -lean_inc(x_28); -lean_dec(x_11); -x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -return x_30; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_14, 1); +lean_inc(x_31); +lean_dec(x_14); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; } } } else { -uint8_t x_31; +uint8_t x_34; +lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_31 = !lean_is_exclusive(x_11); -if (x_31 == 0) +x_34 = !lean_is_exclusive(x_14); +if (x_34 == 0) +{ +return x_14; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_14, 0); +x_36 = lean_ctor_get(x_14, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_14); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_12); +lean_dec(x_3); +x_38 = lean_ctor_get(x_11, 1); +lean_inc(x_38); +lean_dec(x_11); +x_39 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___closed__2; +x_40 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_38); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_40; +} +} +else +{ +uint8_t x_41; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_41 = !lean_is_exclusive(x_11); +if (x_41 == 0) { return x_11; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_11, 0); -x_33 = lean_ctor_get(x_11, 1); -lean_inc(x_33); -lean_inc(x_32); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_11, 0); +x_43 = lean_ctor_get(x_11, 1); +lean_inc(x_43); +lean_inc(x_42); lean_dec(x_11); -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; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } -else -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_3); -lean_dec(x_1); -x_35 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_throwUnexpectedInductiveType___rarg___closed__2; -x_36 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(x_35, 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); -return x_36; -} -} } LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___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: @@ -6611,36 +6667,105 @@ return x_2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___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_dec(x_1); -if (lean_obj_tag(x_2) == 3) +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_10 = l_Lean_Meta_whnfD(x_2, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_10; lean_object* x_11; +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 3) +{ +uint8_t x_12; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_10 = lean_ctor_get(x_2, 0); -lean_inc(x_10); -lean_dec(x_2); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -return x_11; +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = lean_ctor_get(x_11, 0); +lean_inc(x_14); +lean_dec(x_11); +lean_ctor_set(x_10, 0, x_14); +return x_10; } else { -lean_object* x_12; lean_object* x_13; -lean_dec(x_2); -x_12 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___lambda__1___closed__2; -x_13 = l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___spec__1(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_dec(x_10); +x_16 = lean_ctor_get(x_11, 0); +lean_inc(x_16); +lean_dec(x_11); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); +lean_dec(x_10); +x_19 = l_Lean_indentExpr(x_11); +x_20 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___lambda__1___closed__2; +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___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_throwError___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_getResultingUniverse___spec__1(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_18); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_13; +return x_24; +} +} +else +{ +uint8_t x_25; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_25 = !lean_is_exclusive(x_10); +if (x_25 == 0) +{ +return x_10; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_10, 0); +x_27 = lean_ctor_get(x_10, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_10); +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; +} } } } @@ -8770,7 +8895,7 @@ lean_dec(x_2); return x_12; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__1() { _start: { lean_object* x_1; @@ -8778,17 +8903,17 @@ x_1 = lean_mk_string("bootstrap"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____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_4141____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____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_4141____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__3() { _start: { lean_object* x_1; @@ -8796,17 +8921,17 @@ x_1 = lean_mk_string("inductiveCheckResultingUniverse"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____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_4141____closed__2; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__3; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____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_4141____closed__5() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__5() { _start: { lean_object* x_1; @@ -8814,13 +8939,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_4141____closed__6() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__6() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__5; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__1; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -8829,12 +8954,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178_(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_4141____closed__4; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__6; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__4; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__6; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(x_2, x_3, x_1); return x_4; } @@ -14997,7 +15122,248 @@ return x_28; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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) { +_start: +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_alloc_ctor(6, 3, 1); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_2); +lean_ctor_set(x_15, 2, x_3); +lean_ctor_set_uint8(x_15, sizeof(void*)*3, x_4); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_15); +x_16 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +lean_inc(x_12); +lean_inc(x_8); +x_18 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_20 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions(x_5, x_8, x_9, x_10, x_11, x_12, x_13, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_usize_of_nat(x_6); +x_23 = 0; +x_24 = lean_box(0); +x_25 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__2(x_5, x_22, x_23, x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_21); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_24); +return x_25; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_24); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_25); +if (x_30 == 0) +{ +return x_25; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_25, 0); +x_32 = lean_ctor_get(x_25, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_25); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_34 = !lean_is_exclusive(x_20); +if (x_34 == 0) +{ +return x_20; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_20, 0); +x_36 = lean_ctor_get(x_20, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_20); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_38 = !lean_is_exclusive(x_18); +if (x_38 == 0) +{ +return x_18; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_18, 0); +x_40 = lean_ctor_get(x_18, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_18); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_42 = !lean_is_exclusive(x_16); +if (x_42 == 0) +{ +return x_16; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_16, 0); +x_44 = lean_ctor_get(x_16, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_16); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("Meta"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("debug"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__2; +x_2 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__3; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("levelParams: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; lean_object* x_18; @@ -15008,6 +15374,7 @@ if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_dec(x_9); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -15045,7 +15412,7 @@ lean_inc(x_3); x_24 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_replaceIndFVarsWithConsts(x_3, x_4, x_23, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_24) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); @@ -15054,196 +15421,88 @@ lean_dec(x_24); lean_inc(x_6); lean_inc(x_3); x_27 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyInferMod(x_3, x_6, x_25); -x_28 = lean_alloc_ctor(6, 3, 1); -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set(x_28, 1, x_6); -lean_ctor_set(x_28, 2, x_27); -lean_ctor_set_uint8(x_28, sizeof(void*)*3, x_7); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_28); -x_29 = l_Lean_Elab_Term_ensureNoUnassignedMVars(x_28, x_10, x_11, x_12, x_13, x_14, x_15, x_26); -if (lean_obj_tag(x_29) == 0) +x_28 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__4; +x_45 = lean_st_ref_get(x_15, x_26); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_46, 3); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_ctor_get_uint8(x_47, sizeof(void*)*1); +lean_dec(x_47); +if (x_48 == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -lean_inc(x_14); -lean_inc(x_10); -x_31 = l_Lean_addDecl___at_Lean_Elab_Term_evalExpr___spec__3(x_28, x_10, x_11, x_12, x_13, x_14, x_15, x_30); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_33 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions(x_3, x_10, x_11, x_12, x_13, x_14, x_15, x_32); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; lean_object* x_38; -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -lean_dec(x_33); -x_35 = lean_usize_of_nat(x_8); -x_36 = 0; -x_37 = lean_box(0); -x_38 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__2(x_3, x_35, x_36, x_37, x_10, x_11, x_12, x_13, x_14, x_15, x_34); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_3); -if (lean_obj_tag(x_38) == 0) -{ -uint8_t x_39; -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) -{ -lean_object* x_40; -x_40 = lean_ctor_get(x_38, 0); -lean_dec(x_40); -lean_ctor_set(x_38, 0, x_37); -return x_38; -} -else -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_37); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} -else -{ -uint8_t x_43; -x_43 = !lean_is_exclusive(x_38); -if (x_43 == 0) -{ -return x_38; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_38, 0); -x_45 = lean_ctor_get(x_38, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_38); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -uint8_t x_47; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_3); -x_47 = !lean_is_exclusive(x_33); -if (x_47 == 0) -{ -return x_33; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_33, 0); -x_49 = lean_ctor_get(x_33, 1); +lean_object* x_49; uint8_t x_50; +x_49 = lean_ctor_get(x_45, 1); lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_33); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} +lean_dec(x_45); +x_50 = 0; +x_29 = x_50; +x_30 = x_49; +goto block_44; } else { -uint8_t x_51; -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_3); -x_51 = !lean_is_exclusive(x_31); -if (x_51 == 0) -{ -return x_31; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_31, 0); -x_53 = lean_ctor_get(x_31, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_51 = lean_ctor_get(x_45, 1); +lean_inc(x_51); +lean_dec(x_45); +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__2(x_28, x_10, x_11, x_12, x_13, x_14, x_15, x_51); +x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_31); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = lean_unbox(x_53); +lean_dec(x_53); +x_29 = x_55; +x_30 = x_54; +goto block_44; } -} -} -else +block_44: { -uint8_t x_55; -lean_dec(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); +if (x_29 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_box(0); +x_32 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__1(x_23, x_6, x_27, x_7, x_3, x_8, x_31, x_10, x_11, x_12, x_13, x_14, x_15, x_30); +lean_dec(x_8); lean_dec(x_3); -x_55 = !lean_is_exclusive(x_29); -if (x_55 == 0) -{ -return x_29; +return x_32; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_29, 0); -x_57 = lean_ctor_get(x_29, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_29); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_33 = lean_box(0); +lean_inc(x_23); +x_34 = l_List_mapTRAux___at_Lean_Meta_substCore___spec__7(x_23, x_33); +x_35 = l_Lean_MessageData_ofList(x_34); +lean_dec(x_34); +x_36 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__6; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__1___closed__6; +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTerm___spec__1(x_28, x_39, x_10, x_11, x_12, x_13, x_14, x_15, x_30); +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 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__1(x_23, x_6, x_27, x_7, x_3, x_8, x_41, x_10, x_11, x_12, x_13, x_14, x_15, x_42); +lean_dec(x_41); +lean_dec(x_8); +lean_dec(x_3); +return x_43; } } } else { -uint8_t x_59; +uint8_t x_56; lean_dec(x_23); lean_dec(x_15); lean_dec(x_14); @@ -15251,31 +15510,32 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_3); -x_59 = !lean_is_exclusive(x_24); -if (x_59 == 0) +x_56 = !lean_is_exclusive(x_24); +if (x_56 == 0) { return x_24; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_24, 0); -x_61 = lean_ctor_get(x_24, 1); -lean_inc(x_61); -lean_inc(x_60); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_24, 0); +x_58 = lean_ctor_get(x_24, 1); +lean_inc(x_58); +lean_inc(x_57); lean_dec(x_24); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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, uint8_t x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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, uint8_t x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { lean_object* x_18; lean_object* x_19; lean_object* x_20; @@ -15315,7 +15575,7 @@ lean_object* x_27; lean_object* x_28; x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); -x_28 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__1(x_3, x_4, x_5, x_6, x_18, x_19, x_7, x_8, x_24, x_11, x_12, x_13, x_14, x_15, x_16, x_27); +x_28 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2(x_3, x_4, x_5, x_6, x_18, x_19, x_7, x_8, x_24, x_11, x_12, x_13, x_14, x_15, x_16, x_27); return x_28; } else @@ -15330,6 +15590,7 @@ lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -15378,7 +15639,7 @@ lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); lean_dec(x_35); -x_38 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__1(x_3, x_4, x_5, x_6, x_18, x_19, x_7, x_8, x_36, x_11, x_12, x_13, x_14, x_15, x_16, x_37); +x_38 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2(x_3, x_4, x_5, x_6, x_18, x_19, x_7, x_8, x_36, x_11, x_12, x_13, x_14, x_15, x_16, x_37); return x_38; } else @@ -15392,6 +15653,7 @@ lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -15428,6 +15690,7 @@ lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -15453,7 +15716,7 @@ return x_46; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_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; @@ -15529,7 +15792,7 @@ lean_inc(x_35); lean_dec(x_33); x_36 = lean_box(x_5); lean_inc(x_25); -x_37 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___boxed), 17, 9); +x_37 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed), 17, 9); lean_closure_set(x_37, 0, x_16); lean_closure_set(x_37, 1, x_25); lean_closure_set(x_37, 2, x_3); @@ -15686,7 +15949,7 @@ return x_54; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -15707,7 +15970,7 @@ lean_inc(x_15); lean_dec(x_13); x_16 = lean_box(x_4); lean_inc(x_14); -x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed), 15, 6); +x_17 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___boxed), 15, 6); lean_closure_set(x_17, 0, x_1); lean_closure_set(x_17, 1, x_14); lean_closure_set(x_17, 2, x_2); @@ -15784,7 +16047,7 @@ lean_inc(x_21); lean_dec(x_12); x_22 = lean_box(x_20); lean_inc(x_18); -x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4___boxed), 12, 5); +x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed), 12, 5); lean_closure_set(x_23, 0, x_2); lean_closure_set(x_23, 1, x_14); lean_closure_set(x_23, 2, x_18); @@ -15898,18 +16161,30 @@ lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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; lean_object* x_16; +x_15 = lean_unbox(x_4); +lean_dec(x_4); +x_16 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__1(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { uint8_t x_17; lean_object* x_18; x_17 = lean_unbox(x_7); lean_dec(x_7); -x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -lean_dec(x_8); +x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); return x_18; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -15934,30 +16209,29 @@ x_18 = lean_unbox(x_7); lean_dec(x_7); x_19 = lean_unbox(x_9); lean_dec(x_9); -x_20 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_8, x_19, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec(x_8); +x_20 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_8, x_19, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); return x_20; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_5); lean_dec(x_5); -x_17 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__3(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_17 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(x_1, x_2, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_6); lean_dec(x_2); return x_17; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___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_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_4); lean_dec(x_4); -x_14 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__4(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__5(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } @@ -17463,21 +17737,21 @@ l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___l lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__5); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__6 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__6(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_updateResultingUniverse___lambda__2___closed__6); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__4); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__5); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141____closed__6); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__5); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178____closed__6); l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse___closed__1 = _init_l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse___closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4141_(lean_io_mk_world()); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Inductive___hyg_4178_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_bootstrap_inductiveCheckResultingUniverse); @@ -17520,6 +17794,18 @@ l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__7); l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__8 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__8(); lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___closed__8); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__1 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__1); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__2 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__2); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__3 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__3); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__4 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__4); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__5 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__5(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__5); +l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__6 = _init_l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__6(); +lean_mark_persistent(l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___lambda__2___closed__6); l_Lean_Elab_Command_elabInductiveViews___lambda__2___boxed__const__1 = _init_l_Lean_Elab_Command_elabInductiveViews___lambda__2___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Command_elabInductiveViews___lambda__2___boxed__const__1); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/MacroRules.c b/stage0/stdlib/Lean/Elab/MacroRules.c index f7ee7414b3..e94ee6c0ca 100644 --- a/stage0/stdlib/Lean/Elab/MacroRules.c +++ b/stage0/stdlib/Lean/Elab/MacroRules.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.MacroRules -// Imports: Init Lean.Elab.Syntax +// Imports: Init Lean.Elab.Syntax Lean.Elab.AuxDef #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -35,10 +35,8 @@ lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__28; lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__76; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__72; extern lean_object* l_Lean_Elab_Command_commandElabAttribute; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__33; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -48,7 +46,7 @@ static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__3; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__23; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__41; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__52; -static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__6; +lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__62; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__54; @@ -61,7 +59,6 @@ static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__27; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__40; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__67; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__25; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -74,20 +71,18 @@ static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__37; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__53; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacroRules___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_Elab_Command_resolveSyntaxKind(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__55; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__11; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__3; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__56; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__66; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__43; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__73; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__32; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__10; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; @@ -104,17 +99,13 @@ extern lean_object* l_Lean_choiceKind; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__16; static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__5; extern lean_object* l_Lean_instInhabitedSyntax; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__59; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__68; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8; -lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__11; size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__69; uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__13; @@ -127,11 +118,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__49; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__2; static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__2; lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__31; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__71; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__7; lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; @@ -143,19 +134,16 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacroRules___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_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__75; static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__58; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__26; static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__4; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__65; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__39; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__5; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__14; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__35; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__70; uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__38; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__21; @@ -178,12 +166,9 @@ static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__9; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__3; static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__5; -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__64; static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__74; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__2; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__12; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -486,7 +471,7 @@ x_36 = lean_unsigned_to_nat(1u); x_37 = l_Lean_Syntax_setArg(x_1, x_36, x_35); x_38 = lean_unsigned_to_nat(0u); x_39 = lean_array_set(x_2, x_38, x_37); -x_40 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_8, x_9, x_10); +x_40 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_10); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_40, 1); @@ -823,7 +808,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("Command"); +x_1 = lean_mk_string("Elab"); return x_1; } } @@ -831,7 +816,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -841,7 +826,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string("declaration"); +x_1 = lean_mk_string("Command"); return x_1; } } @@ -859,7 +844,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string("declModifiers"); +x_1 = lean_mk_string("aux_def"); return x_1; } } @@ -867,7 +852,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -991,38 +976,40 @@ return x_2; static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__20() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; -x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("macroRules"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(6u); -x_2 = lean_mk_empty_array_with_capacity(x_1); +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; +x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__22() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("def"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +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_Elab_Command_elabMacroRulesAux___closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1031,106 +1018,11 @@ static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__24() { _start: { lean_object* x_1; -x_1 = lean_mk_string("declId"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__26() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("myMacro"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__26; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__26; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; -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_Elab_Command_elabMacroRulesAux___closed__29() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__26; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__30() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("optDeclSig"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__31() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__32() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("typeSpec"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__33() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__34() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string(":"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__35() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__25() { _start: { lean_object* x_1; @@ -1138,22 +1030,22 @@ x_1 = lean_mk_string("Macro"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__36() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__26() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__37() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__36; +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___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); @@ -1161,79 +1053,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__38() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__39() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__40() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__41() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__31() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__40; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__42() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__43() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("declValSimple"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__44() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__43; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__45() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__32() { _start: { lean_object* x_1; @@ -1241,7 +1105,7 @@ x_1 = lean_mk_string(":="); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__46() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__33() { _start: { lean_object* x_1; @@ -1249,11 +1113,132 @@ x_1 = lean_mk_string("fun"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__47() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__35() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("matchAlts"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__37() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("hole"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__38() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__39() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("_"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__40() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("app"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__40; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__42() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("throw"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__43() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__44() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__43; +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_Elab_Command_elabMacroRulesAux___closed__45() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__46() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("MonadExcept"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__46; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1262,159 +1247,38 @@ return x_3; static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__48() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("matchAlts"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__47; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__49() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; +x_1 = lean_box(0); x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__48; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__50() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("hole"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__51() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__50; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__52() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("_"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__53() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("app"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__54() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__6; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__53; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__55() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("throw"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__56() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__57() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__56; -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_Elab_Command_elabMacroRulesAux___closed__58() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__59() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("MonadExcept"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__60() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__59; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__61() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__62() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__63() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__50() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__62; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__49; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__64() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__51() { _start: { lean_object* x_1; @@ -1422,22 +1286,22 @@ x_1 = lean_mk_string("Lean.Macro.Exception.unsupportedSyntax"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__65() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__52() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__64; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__51; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__66() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__53() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__64; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__51; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__65; +x_3 = l_Lean_Elab_Command_elabMacroRulesAux___closed__52; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1445,7 +1309,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__67() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__54() { _start: { lean_object* x_1; @@ -1453,17 +1317,17 @@ x_1 = lean_mk_string("Exception"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__68() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__55() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__67; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__54; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__69() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__56() { _start: { lean_object* x_1; @@ -1471,50 +1335,50 @@ x_1 = lean_mk_string("unsupportedSyntax"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__70() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__57() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__68; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__56; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__71() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__58() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__70; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__57; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__72() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__59() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__71; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__58; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__73() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__60() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(7u); +x_1 = lean_unsigned_to_nat(8u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__74() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__61() { _start: { lean_object* x_1; lean_object* x_2; @@ -1523,24 +1387,24 @@ x_2 = l_Array_append___rarg(x_1, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__75() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__62() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__74; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; 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_Elab_Command_elabMacroRulesAux___closed__76() { +static lean_object* _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__63() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__75; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__62; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -1582,7 +1446,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_5, x_6, x_17); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_5, x_6, x_17); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -1600,7 +1464,7 @@ lean_dec(x_6); x_25 = !lean_is_exclusive(x_24); if (x_25 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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; 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_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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; 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; x_26 = lean_ctor_get(x_24, 0); x_27 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; lean_inc(x_19); @@ -1615,6 +1479,7 @@ lean_ctor_set(x_30, 1, x_29); x_31 = lean_mk_syntax_ident(x_3); x_32 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; x_33 = lean_array_push(x_32, x_30); +lean_inc(x_31); x_34 = lean_array_push(x_33, x_31); x_35 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; x_36 = lean_alloc_ctor(1, 2, 0); @@ -1649,17 +1514,17 @@ x_53 = lean_array_push(x_41, x_52); x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_43); lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +x_55 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; lean_inc(x_19); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_19); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; +x_57 = l_Lean_Elab_Command_elabMacroRulesAux___closed__23; lean_inc(x_22); lean_inc(x_26); x_58 = l_Lean_addMacroScope(x_26, x_57, x_22); x_59 = lean_box(0); -x_60 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +x_60 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; lean_inc(x_19); x_61 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_61, 0, x_19); @@ -1667,515 +1532,426 @@ lean_ctor_set(x_61, 1, x_60); lean_ctor_set(x_61, 2, x_58); lean_ctor_set(x_61, 3, x_59); x_62 = lean_array_push(x_32, x_61); -x_63 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; -x_64 = lean_array_push(x_62, x_63); -x_65 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; +x_63 = lean_array_push(x_62, x_31); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_43); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; lean_inc(x_19); -x_68 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_68, 0, x_19); -lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_Elab_Command_elabMacroRulesAux___closed__38; +x_66 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_66, 0, x_19); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; lean_inc(x_22); lean_inc(x_26); -x_70 = l_Lean_addMacroScope(x_26, x_69, x_22); -x_71 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; -x_72 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; +x_68 = l_Lean_addMacroScope(x_26, x_67, x_22); +x_69 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; +x_70 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; lean_inc(x_19); -x_73 = lean_alloc_ctor(3, 4, 0); +x_71 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_71, 0, x_19); +lean_ctor_set(x_71, 1, x_69); +lean_ctor_set(x_71, 2, x_68); +lean_ctor_set(x_71, 3, x_70); +x_72 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; +lean_inc(x_19); +x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_19); -lean_ctor_set(x_73, 1, x_71); -lean_ctor_set(x_73, 2, x_70); -lean_ctor_set(x_73, 3, x_72); -x_74 = lean_array_push(x_32, x_68); -x_75 = lean_array_push(x_74, x_73); -x_76 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_75); -x_78 = lean_array_push(x_41, x_77); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_43); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; +lean_inc(x_19); +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_19); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_77 = l_Array_append___rarg(x_76, x_16); +x_78 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_19); +x_79 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_79, 0, x_19); lean_ctor_set(x_79, 1, x_78); -x_80 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_81 = lean_array_push(x_80, x_79); -x_82 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -x_84 = l_Lean_Elab_Command_elabMacroRulesAux___closed__45; +x_80 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; lean_inc(x_19); -x_85 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_85, 0, x_19); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_Elab_Command_elabMacroRulesAux___closed__46; +x_81 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_81, 0, x_19); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_array_push(x_41, x_81); +x_83 = l_Lean_Elab_Command_elabMacroRulesAux___closed__38; +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_82); +x_85 = lean_array_push(x_41, x_84); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_43); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; lean_inc(x_19); -x_87 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_87, 0, x_19); -lean_ctor_set(x_87, 1, x_86); -x_88 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; -x_89 = l_Array_append___rarg(x_88, x_16); -x_90 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; -lean_inc(x_19); -x_91 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_91, 0, x_19); -lean_ctor_set(x_91, 1, x_90); -x_92 = l_Lean_Elab_Command_elabMacroRulesAux___closed__52; -lean_inc(x_19); -x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_19); -lean_ctor_set(x_93, 1, x_92); -x_94 = lean_array_push(x_41, x_93); -x_95 = l_Lean_Elab_Command_elabMacroRulesAux___closed__51; -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_41, x_96); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_43); -lean_ctor_set(x_98, 1, x_97); -x_99 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; -lean_inc(x_19); -x_100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_100, 0, x_19); -lean_ctor_set(x_100, 1, x_99); -x_101 = l_Lean_Elab_Command_elabMacroRulesAux___closed__58; +x_88 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_88, 0, x_19); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_Elab_Command_elabMacroRulesAux___closed__45; lean_inc(x_22); lean_inc(x_26); -x_102 = l_Lean_addMacroScope(x_26, x_101, x_22); -x_103 = l_Lean_Elab_Command_elabMacroRulesAux___closed__57; -x_104 = l_Lean_Elab_Command_elabMacroRulesAux___closed__63; +x_90 = l_Lean_addMacroScope(x_26, x_89, x_22); +x_91 = l_Lean_Elab_Command_elabMacroRulesAux___closed__44; +x_92 = l_Lean_Elab_Command_elabMacroRulesAux___closed__50; lean_inc(x_19); -x_105 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_105, 0, x_19); -lean_ctor_set(x_105, 1, x_103); -lean_ctor_set(x_105, 2, x_102); -lean_ctor_set(x_105, 3, x_104); -x_106 = l_Lean_Elab_Command_elabMacroRulesAux___closed__70; -x_107 = l_Lean_addMacroScope(x_26, x_106, x_22); -x_108 = l_Lean_Elab_Command_elabMacroRulesAux___closed__66; -x_109 = l_Lean_Elab_Command_elabMacroRulesAux___closed__72; -x_110 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_110, 0, x_19); -lean_ctor_set(x_110, 1, x_108); -lean_ctor_set(x_110, 2, x_107); -lean_ctor_set(x_110, 3, x_109); -x_111 = lean_array_push(x_41, x_110); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_43); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_array_push(x_32, x_105); -x_114 = lean_array_push(x_113, x_112); -x_115 = l_Lean_Elab_Command_elabMacroRulesAux___closed__54; +x_93 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_93, 0, x_19); +lean_ctor_set(x_93, 1, x_91); +lean_ctor_set(x_93, 2, x_90); +lean_ctor_set(x_93, 3, x_92); +x_94 = l_Lean_Elab_Command_elabMacroRulesAux___closed__57; +x_95 = l_Lean_addMacroScope(x_26, x_94, x_22); +x_96 = l_Lean_Elab_Command_elabMacroRulesAux___closed__53; +x_97 = l_Lean_Elab_Command_elabMacroRulesAux___closed__59; +x_98 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_98, 0, x_19); +lean_ctor_set(x_98, 1, x_96); +lean_ctor_set(x_98, 2, x_95); +lean_ctor_set(x_98, 3, x_97); +x_99 = lean_array_push(x_41, x_98); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_43); +lean_ctor_set(x_100, 1, x_99); +x_101 = lean_array_push(x_32, x_93); +x_102 = lean_array_push(x_101, x_100); +x_103 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_105 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; +x_106 = lean_array_push(x_105, x_79); +x_107 = lean_array_push(x_106, x_86); +x_108 = lean_array_push(x_107, x_88); +x_109 = lean_array_push(x_108, x_104); +x_110 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8; +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_109); +x_112 = lean_array_push(x_77, x_111); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_43); +lean_ctor_set(x_113, 1, x_112); +x_114 = lean_array_push(x_41, x_113); +x_115 = l_Lean_Elab_Command_elabMacroRulesAux___closed__36; 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 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; -x_118 = lean_array_push(x_117, x_91); -x_119 = lean_array_push(x_118, x_98); -x_120 = lean_array_push(x_119, x_100); -x_121 = lean_array_push(x_120, x_116); -x_122 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8; -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_89, x_123); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_43); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_array_push(x_41, x_125); -x_127 = l_Lean_Elab_Command_elabMacroRulesAux___closed__49; -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_32, x_87); -x_130 = lean_array_push(x_129, x_128); -x_131 = l_Lean_Elab_Command_elabMacroRulesAux___closed__47; -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_130); -x_133 = lean_array_push(x_47, x_85); -x_134 = lean_array_push(x_133, x_132); -x_135 = lean_array_push(x_134, x_63); -x_136 = l_Lean_Elab_Command_elabMacroRulesAux___closed__44; -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_135); -x_138 = l_Lean_Elab_Command_elabMacroRulesAux___closed__73; -x_139 = lean_array_push(x_138, x_56); -x_140 = lean_array_push(x_139, x_66); -x_141 = lean_array_push(x_140, x_83); -x_142 = lean_array_push(x_141, x_137); -x_143 = lean_array_push(x_142, x_63); -x_144 = lean_array_push(x_143, x_63); -x_145 = lean_array_push(x_144, x_63); -x_146 = l_Lean_Elab_Command_elabMacroRulesAux___closed__23; -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_145); +x_117 = lean_array_push(x_32, x_75); +x_118 = lean_array_push(x_117, x_116); +x_119 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); if (lean_obj_tag(x_1) == 0) { -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; -x_148 = l_Lean_Elab_Command_elabMacroRulesAux___closed__76; -x_149 = lean_array_push(x_148, x_54); -x_150 = lean_array_push(x_149, x_63); -x_151 = lean_array_push(x_150, x_63); -x_152 = lean_array_push(x_151, x_63); -x_153 = lean_array_push(x_152, x_63); -x_154 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_153); -x_156 = lean_array_push(x_32, x_155); -x_157 = lean_array_push(x_156, x_147); -x_158 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -lean_ctor_set(x_24, 0, x_159); +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; +x_121 = l_Lean_Elab_Command_elabMacroRulesAux___closed__63; +x_122 = lean_array_push(x_121, x_54); +x_123 = lean_array_push(x_122, x_56); +x_124 = lean_array_push(x_123, x_64); +x_125 = lean_array_push(x_124, x_66); +x_126 = lean_array_push(x_125, x_71); +x_127 = lean_array_push(x_126, x_73); +x_128 = lean_array_push(x_127, x_120); +x_129 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_128); +lean_ctor_set(x_24, 0, x_130); return x_24; } else { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_160 = lean_ctor_get(x_1, 0); -lean_inc(x_160); +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; +x_131 = lean_ctor_get(x_1, 0); +lean_inc(x_131); lean_dec(x_1); -x_161 = lean_array_push(x_41, x_160); -x_162 = l_Array_append___rarg(x_88, x_161); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_43); -lean_ctor_set(x_163, 1, x_162); -x_164 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_165 = lean_array_push(x_164, x_163); -x_166 = lean_array_push(x_165, x_54); -x_167 = lean_array_push(x_166, x_63); -x_168 = lean_array_push(x_167, x_63); -x_169 = lean_array_push(x_168, x_63); -x_170 = lean_array_push(x_169, x_63); -x_171 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; -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 = lean_array_push(x_32, x_172); -x_174 = lean_array_push(x_173, x_147); -x_175 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_174); -lean_ctor_set(x_24, 0, x_176); +x_132 = lean_array_push(x_41, x_131); +x_133 = l_Array_append___rarg(x_76, x_132); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_43); +lean_ctor_set(x_134, 1, x_133); +x_135 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_136 = lean_array_push(x_135, x_134); +x_137 = lean_array_push(x_136, x_54); +x_138 = lean_array_push(x_137, x_56); +x_139 = lean_array_push(x_138, x_64); +x_140 = lean_array_push(x_139, x_66); +x_141 = lean_array_push(x_140, x_71); +x_142 = lean_array_push(x_141, x_73); +x_143 = lean_array_push(x_142, x_120); +x_144 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_143); +lean_ctor_set(x_24, 0, x_145); return x_24; } } else { -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; 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; -x_177 = lean_ctor_get(x_24, 0); -x_178 = lean_ctor_get(x_24, 1); -lean_inc(x_178); -lean_inc(x_177); +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; 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; 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; +x_146 = lean_ctor_get(x_24, 0); +x_147 = lean_ctor_get(x_24, 1); +lean_inc(x_147); +lean_inc(x_146); lean_dec(x_24); -x_179 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +x_148 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; lean_inc(x_19); -x_180 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_180, 0, x_19); -lean_ctor_set(x_180, 1, x_179); -x_181 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; +x_149 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_149, 0, x_19); +lean_ctor_set(x_149, 1, x_148); +x_150 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; lean_inc(x_19); -x_182 = lean_alloc_ctor(2, 2, 0); +x_151 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_151, 0, x_19); +lean_ctor_set(x_151, 1, x_150); +x_152 = lean_mk_syntax_ident(x_3); +x_153 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +x_154 = lean_array_push(x_153, x_151); +lean_inc(x_152); +x_155 = lean_array_push(x_154, x_152); +x_156 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; +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_153, x_2); +x_159 = lean_array_push(x_158, x_157); +x_160 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_159); +x_162 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_163 = lean_array_push(x_162, x_161); +x_164 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_163); +x_166 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_inc(x_19); +x_167 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_167, 0, x_19); +lean_ctor_set(x_167, 1, x_166); +x_168 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_169 = lean_array_push(x_168, x_149); +x_170 = lean_array_push(x_169, x_165); +x_171 = lean_array_push(x_170, x_167); +x_172 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_171); +x_174 = lean_array_push(x_162, x_173); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_164); +lean_ctor_set(x_175, 1, x_174); +x_176 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +lean_inc(x_19); +x_177 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_177, 0, x_19); +lean_ctor_set(x_177, 1, x_176); +x_178 = l_Lean_Elab_Command_elabMacroRulesAux___closed__23; +lean_inc(x_22); +lean_inc(x_146); +x_179 = l_Lean_addMacroScope(x_146, x_178, x_22); +x_180 = lean_box(0); +x_181 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +lean_inc(x_19); +x_182 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_182, 0, x_19); lean_ctor_set(x_182, 1, x_181); -x_183 = lean_mk_syntax_ident(x_3); -x_184 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -x_185 = lean_array_push(x_184, x_182); -x_186 = lean_array_push(x_185, x_183); -x_187 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; -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 = lean_array_push(x_184, x_2); -x_190 = lean_array_push(x_189, x_188); -x_191 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_182, 2, x_179); +lean_ctor_set(x_182, 3, x_180); +x_183 = lean_array_push(x_153, x_182); +x_184 = lean_array_push(x_183, x_152); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_164); +lean_ctor_set(x_185, 1, x_184); +x_186 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; +lean_inc(x_19); +x_187 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_187, 0, x_19); +lean_ctor_set(x_187, 1, x_186); +x_188 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +lean_inc(x_22); +lean_inc(x_146); +x_189 = l_Lean_addMacroScope(x_146, x_188, x_22); +x_190 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; +x_191 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; +lean_inc(x_19); +x_192 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_192, 0, x_19); lean_ctor_set(x_192, 1, x_190); -x_193 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_194 = lean_array_push(x_193, x_192); -x_195 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_194); -x_197 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_ctor_set(x_192, 2, x_189); +lean_ctor_set(x_192, 3, x_191); +x_193 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; lean_inc(x_19); -x_198 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_198, 0, x_19); -lean_ctor_set(x_198, 1, x_197); -x_199 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_200 = lean_array_push(x_199, x_180); -x_201 = lean_array_push(x_200, x_196); -x_202 = lean_array_push(x_201, x_198); -x_203 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; -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_193, x_204); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_195); -lean_ctor_set(x_206, 1, x_205); -x_207 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +x_194 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_194, 0, x_19); +lean_ctor_set(x_194, 1, x_193); +x_195 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; lean_inc(x_19); -x_208 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_208, 0, x_19); -lean_ctor_set(x_208, 1, x_207); -x_209 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; +x_196 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_196, 0, x_19); +lean_ctor_set(x_196, 1, x_195); +x_197 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_198 = l_Array_append___rarg(x_197, x_16); +x_199 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; +lean_inc(x_19); +x_200 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_200, 0, x_19); +lean_ctor_set(x_200, 1, x_199); +x_201 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; +lean_inc(x_19); +x_202 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_202, 0, x_19); +lean_ctor_set(x_202, 1, x_201); +x_203 = lean_array_push(x_162, x_202); +x_204 = l_Lean_Elab_Command_elabMacroRulesAux___closed__38; +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_204); +lean_ctor_set(x_205, 1, x_203); +x_206 = lean_array_push(x_162, x_205); +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_164); +lean_ctor_set(x_207, 1, x_206); +x_208 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; +lean_inc(x_19); +x_209 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_209, 0, x_19); +lean_ctor_set(x_209, 1, x_208); +x_210 = l_Lean_Elab_Command_elabMacroRulesAux___closed__45; lean_inc(x_22); -lean_inc(x_177); -x_210 = l_Lean_addMacroScope(x_177, x_209, x_22); -x_211 = lean_box(0); -x_212 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +lean_inc(x_146); +x_211 = l_Lean_addMacroScope(x_146, x_210, x_22); +x_212 = l_Lean_Elab_Command_elabMacroRulesAux___closed__44; +x_213 = l_Lean_Elab_Command_elabMacroRulesAux___closed__50; lean_inc(x_19); -x_213 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_213, 0, x_19); -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_184, x_213); -x_215 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; -x_216 = lean_array_push(x_214, x_215); -x_217 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; -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_Lean_Elab_Command_elabMacroRulesAux___closed__34; -lean_inc(x_19); -x_220 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_220, 0, x_19); -lean_ctor_set(x_220, 1, x_219); -x_221 = l_Lean_Elab_Command_elabMacroRulesAux___closed__38; -lean_inc(x_22); -lean_inc(x_177); -x_222 = l_Lean_addMacroScope(x_177, x_221, x_22); -x_223 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +x_214 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_214, 0, x_19); +lean_ctor_set(x_214, 1, x_212); +lean_ctor_set(x_214, 2, x_211); +lean_ctor_set(x_214, 3, x_213); +x_215 = l_Lean_Elab_Command_elabMacroRulesAux___closed__57; +x_216 = l_Lean_addMacroScope(x_146, x_215, x_22); +x_217 = l_Lean_Elab_Command_elabMacroRulesAux___closed__53; +x_218 = l_Lean_Elab_Command_elabMacroRulesAux___closed__59; +x_219 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_219, 0, x_19); +lean_ctor_set(x_219, 1, x_217); +lean_ctor_set(x_219, 2, x_216); +lean_ctor_set(x_219, 3, x_218); +x_220 = lean_array_push(x_162, x_219); +x_221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_221, 0, x_164); +lean_ctor_set(x_221, 1, x_220); +x_222 = lean_array_push(x_153, x_214); +x_223 = lean_array_push(x_222, x_221); x_224 = l_Lean_Elab_Command_elabMacroRulesAux___closed__41; -lean_inc(x_19); -x_225 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_225, 0, x_19); +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_224); lean_ctor_set(x_225, 1, x_223); -lean_ctor_set(x_225, 2, x_222); -lean_ctor_set(x_225, 3, x_224); -x_226 = lean_array_push(x_184, x_220); -x_227 = lean_array_push(x_226, x_225); -x_228 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_227); -x_230 = lean_array_push(x_193, x_229); -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_195); -lean_ctor_set(x_231, 1, x_230); -x_232 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_233 = lean_array_push(x_232, x_231); -x_234 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; -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_Elab_Command_elabMacroRulesAux___closed__45; -lean_inc(x_19); -x_237 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_237, 0, x_19); -lean_ctor_set(x_237, 1, x_236); -x_238 = l_Lean_Elab_Command_elabMacroRulesAux___closed__46; -lean_inc(x_19); -x_239 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_239, 0, x_19); -lean_ctor_set(x_239, 1, x_238); -x_240 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; -x_241 = l_Array_append___rarg(x_240, x_16); -x_242 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1; -lean_inc(x_19); -x_243 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_243, 0, x_19); -lean_ctor_set(x_243, 1, x_242); -x_244 = l_Lean_Elab_Command_elabMacroRulesAux___closed__52; -lean_inc(x_19); -x_245 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_245, 0, x_19); -lean_ctor_set(x_245, 1, x_244); -x_246 = lean_array_push(x_193, x_245); -x_247 = l_Lean_Elab_Command_elabMacroRulesAux___closed__51; -x_248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_248, 0, x_247); -lean_ctor_set(x_248, 1, x_246); -x_249 = lean_array_push(x_193, x_248); -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_195); -lean_ctor_set(x_250, 1, x_249); -x_251 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; -lean_inc(x_19); -x_252 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_252, 0, x_19); -lean_ctor_set(x_252, 1, x_251); -x_253 = l_Lean_Elab_Command_elabMacroRulesAux___closed__58; -lean_inc(x_22); -lean_inc(x_177); -x_254 = l_Lean_addMacroScope(x_177, x_253, x_22); -x_255 = l_Lean_Elab_Command_elabMacroRulesAux___closed__57; -x_256 = l_Lean_Elab_Command_elabMacroRulesAux___closed__63; -lean_inc(x_19); -x_257 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_257, 0, x_19); -lean_ctor_set(x_257, 1, x_255); -lean_ctor_set(x_257, 2, x_254); -lean_ctor_set(x_257, 3, x_256); -x_258 = l_Lean_Elab_Command_elabMacroRulesAux___closed__70; -x_259 = l_Lean_addMacroScope(x_177, x_258, x_22); -x_260 = l_Lean_Elab_Command_elabMacroRulesAux___closed__66; -x_261 = l_Lean_Elab_Command_elabMacroRulesAux___closed__72; -x_262 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_262, 0, x_19); -lean_ctor_set(x_262, 1, x_260); -lean_ctor_set(x_262, 2, x_259); -lean_ctor_set(x_262, 3, x_261); -x_263 = lean_array_push(x_193, x_262); -x_264 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_264, 0, x_195); -lean_ctor_set(x_264, 1, x_263); -x_265 = lean_array_push(x_184, x_257); -x_266 = lean_array_push(x_265, x_264); -x_267 = l_Lean_Elab_Command_elabMacroRulesAux___closed__54; -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_267); -lean_ctor_set(x_268, 1, x_266); -x_269 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; -x_270 = lean_array_push(x_269, x_243); -x_271 = lean_array_push(x_270, x_250); -x_272 = lean_array_push(x_271, x_252); -x_273 = lean_array_push(x_272, x_268); -x_274 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8; -x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_274); -lean_ctor_set(x_275, 1, x_273); -x_276 = lean_array_push(x_241, x_275); -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_195); -lean_ctor_set(x_277, 1, x_276); -x_278 = lean_array_push(x_193, x_277); -x_279 = l_Lean_Elab_Command_elabMacroRulesAux___closed__49; -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_184, x_239); -x_282 = lean_array_push(x_281, x_280); -x_283 = l_Lean_Elab_Command_elabMacroRulesAux___closed__47; -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_283); -lean_ctor_set(x_284, 1, x_282); -x_285 = lean_array_push(x_199, x_237); -x_286 = lean_array_push(x_285, x_284); -x_287 = lean_array_push(x_286, x_215); -x_288 = l_Lean_Elab_Command_elabMacroRulesAux___closed__44; -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 = l_Lean_Elab_Command_elabMacroRulesAux___closed__73; -x_291 = lean_array_push(x_290, x_208); -x_292 = lean_array_push(x_291, x_218); -x_293 = lean_array_push(x_292, x_235); -x_294 = lean_array_push(x_293, x_289); -x_295 = lean_array_push(x_294, x_215); -x_296 = lean_array_push(x_295, x_215); -x_297 = lean_array_push(x_296, x_215); -x_298 = l_Lean_Elab_Command_elabMacroRulesAux___closed__23; -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_226 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__7; +x_227 = lean_array_push(x_226, x_200); +x_228 = lean_array_push(x_227, x_207); +x_229 = lean_array_push(x_228, x_209); +x_230 = lean_array_push(x_229, x_225); +x_231 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__8; +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_198, x_232); +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_164); +lean_ctor_set(x_234, 1, x_233); +x_235 = lean_array_push(x_162, x_234); +x_236 = l_Lean_Elab_Command_elabMacroRulesAux___closed__36; +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_153, x_196); +x_239 = lean_array_push(x_238, x_237); +x_240 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; +x_241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_239); if (lean_obj_tag(x_1) == 0) { -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; -x_300 = l_Lean_Elab_Command_elabMacroRulesAux___closed__76; -x_301 = lean_array_push(x_300, x_206); -x_302 = lean_array_push(x_301, x_215); -x_303 = lean_array_push(x_302, x_215); -x_304 = lean_array_push(x_303, x_215); -x_305 = lean_array_push(x_304, x_215); -x_306 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; -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_array_push(x_184, x_307); -x_309 = lean_array_push(x_308, x_299); -x_310 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_311 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_311, 0, x_310); -lean_ctor_set(x_311, 1, x_309); -x_312 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_312, 0, x_311); -lean_ctor_set(x_312, 1, x_178); -return x_312; +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; +x_242 = l_Lean_Elab_Command_elabMacroRulesAux___closed__63; +x_243 = lean_array_push(x_242, x_175); +x_244 = lean_array_push(x_243, x_177); +x_245 = lean_array_push(x_244, x_185); +x_246 = lean_array_push(x_245, x_187); +x_247 = lean_array_push(x_246, x_192); +x_248 = lean_array_push(x_247, x_194); +x_249 = lean_array_push(x_248, x_241); +x_250 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +x_251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_249); +x_252 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_252, 0, x_251); +lean_ctor_set(x_252, 1, x_147); +return x_252; } else { -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; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_313 = lean_ctor_get(x_1, 0); -lean_inc(x_313); +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; +x_253 = lean_ctor_get(x_1, 0); +lean_inc(x_253); lean_dec(x_1); -x_314 = lean_array_push(x_193, x_313); -x_315 = l_Array_append___rarg(x_240, x_314); -x_316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_316, 0, x_195); -lean_ctor_set(x_316, 1, x_315); -x_317 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_318 = lean_array_push(x_317, x_316); -x_319 = lean_array_push(x_318, x_206); -x_320 = lean_array_push(x_319, x_215); -x_321 = lean_array_push(x_320, x_215); -x_322 = lean_array_push(x_321, x_215); -x_323 = lean_array_push(x_322, x_215); -x_324 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; -x_325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_325, 0, x_324); -lean_ctor_set(x_325, 1, x_323); -x_326 = lean_array_push(x_184, x_325); -x_327 = lean_array_push(x_326, x_299); -x_328 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; -x_329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_329, 0, x_328); -lean_ctor_set(x_329, 1, x_327); -x_330 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_330, 0, x_329); -lean_ctor_set(x_330, 1, x_178); -return x_330; +x_254 = lean_array_push(x_162, x_253); +x_255 = l_Array_append___rarg(x_197, x_254); +x_256 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_256, 0, x_164); +lean_ctor_set(x_256, 1, x_255); +x_257 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_258 = lean_array_push(x_257, x_256); +x_259 = lean_array_push(x_258, x_175); +x_260 = lean_array_push(x_259, x_177); +x_261 = lean_array_push(x_260, x_185); +x_262 = lean_array_push(x_261, x_187); +x_263 = lean_array_push(x_262, x_192); +x_264 = lean_array_push(x_263, x_194); +x_265 = lean_array_push(x_264, x_241); +x_266 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +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_alloc_ctor(0, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_147); +return x_268; } } } else { -uint8_t x_331; +uint8_t x_269; lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_331 = !lean_is_exclusive(x_15); -if (x_331 == 0) +x_269 = !lean_is_exclusive(x_15); +if (x_269 == 0) { return x_15; } else { -lean_object* x_332; lean_object* x_333; lean_object* x_334; -x_332 = lean_ctor_get(x_15, 0); -x_333 = lean_ctor_get(x_15, 1); -lean_inc(x_333); -lean_inc(x_332); +lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_270 = lean_ctor_get(x_15, 0); +x_271 = lean_ctor_get(x_15, 1); +lean_inc(x_271); +lean_inc(x_270); lean_dec(x_15); -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; +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; } } } @@ -2282,7 +2058,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1(lean_obj _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 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; -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_7, x_8, x_9); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_7, x_8, x_9); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); @@ -2384,7 +2160,7 @@ if (lean_obj_tag(x_34) == 0) { lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_dec(x_11); -x_35 = l_Lean_Elab_Command_elabMacroRulesAux___closed__75; +x_35 = l_Lean_Elab_Command_elabMacroRulesAux___closed__62; x_36 = lean_array_push(x_33, x_35); x_37 = lean_array_push(x_36, x_26); x_38 = lean_alloc_ctor(1, 2, 0); @@ -2415,7 +2191,7 @@ lean_inc(x_11); x_44 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_44, 0, x_11); lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_Elab_Command_elabMacroRulesAux___closed__45; +x_45 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; lean_inc(x_11); x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_11); @@ -2485,842 +2261,735 @@ x_1 = lean_mk_string("basicFun"); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacroRules___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_EXPORT lean_object* l_Lean_Elab_Command_elabMacroRules___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_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_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__5; +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(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__5; lean_inc(x_2); -x_14 = lean_name_mk_string(x_2, x_13); -x_15 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1; -lean_inc(x_14); -x_16 = lean_name_mk_string(x_14, x_15); -lean_inc(x_12); -x_17 = l_Lean_Syntax_isOfKind(x_12, x_16); -lean_dec(x_16); -if (x_17 == 0) +x_13 = lean_name_mk_string(x_2, x_12); +x_14 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__1; +lean_inc(x_13); +x_15 = lean_name_mk_string(x_13, x_14); +lean_inc(x_11); +x_16 = l_Lean_Syntax_isOfKind(x_11, x_15); +lean_dec(x_15); +if (x_16 == 0) { -lean_object* x_18; -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); +lean_object* x_17; +lean_dec(x_13); +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_5); +lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_18 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); -return x_18; +x_17 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_9); +return x_17; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_unsigned_to_nat(3u); -x_20 = l_Lean_Syntax_getArg(x_1, x_19); -x_21 = l_Lean_nullKind; -x_22 = lean_unsigned_to_nat(0u); -lean_inc(x_20); -x_23 = l_Lean_Syntax_isNodeOf(x_20, x_21, x_22); -if (x_23 == 0) +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_unsigned_to_nat(3u); +x_19 = l_Lean_Syntax_getArg(x_1, x_18); +x_20 = l_Lean_nullKind; +x_21 = lean_unsigned_to_nat(0u); +lean_inc(x_19); +x_22 = l_Lean_Syntax_isNodeOf(x_19, x_20, x_21); +if (x_22 == 0) { -lean_object* x_24; uint8_t x_25; -lean_dec(x_5); -x_24 = lean_unsigned_to_nat(5u); -lean_inc(x_20); -x_25 = l_Lean_Syntax_isNodeOf(x_20, x_21, x_24); -if (x_25 == 0) +lean_object* x_23; uint8_t x_24; +lean_dec(x_4); +x_23 = lean_unsigned_to_nat(5u); +lean_inc(x_19); +x_24 = l_Lean_Syntax_isNodeOf(x_19, x_20, x_23); +if (x_24 == 0) { -lean_object* x_26; -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); +lean_object* x_25; +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_4); +lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -x_26 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); -return x_26; +x_25 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_9); +return x_25; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_27 = l_Lean_Syntax_getArg(x_20, x_19); -lean_dec(x_20); -x_28 = lean_unsigned_to_nat(4u); -x_29 = l_Lean_Syntax_getArg(x_1, x_28); -x_30 = l_Lean_Elab_Command_elabMacroRulesAux___closed__48; -lean_inc(x_14); -x_31 = lean_name_mk_string(x_14, x_30); -lean_inc(x_29); -x_32 = l_Lean_Syntax_isOfKind(x_29, x_31); -lean_dec(x_31); -if (x_32 == 0) +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_26 = l_Lean_Syntax_getArg(x_19, x_18); +lean_dec(x_19); +x_27 = lean_unsigned_to_nat(4u); +x_28 = l_Lean_Syntax_getArg(x_1, x_27); +x_29 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +lean_inc(x_13); +x_30 = lean_name_mk_string(x_13, x_29); +lean_inc(x_28); +x_31 = l_Lean_Syntax_isOfKind(x_28, x_30); +lean_dec(x_30); +if (x_31 == 0) { -lean_object* x_33; -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_9); +lean_object* x_32; +lean_dec(x_28); +lean_dec(x_26); +lean_dec(x_13); +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_4); +lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -x_33 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); -return x_33; +x_32 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_9); +return x_32; } else { -lean_object* x_34; uint8_t x_35; -x_34 = l_Lean_Syntax_getArg(x_29, x_22); -lean_dec(x_29); -lean_inc(x_34); -x_35 = l_Lean_Syntax_isNodeOf(x_34, x_21, x_11); -if (x_35 == 0) +lean_object* x_33; uint8_t x_34; +x_33 = l_Lean_Syntax_getArg(x_28, x_21); +lean_dec(x_28); +lean_inc(x_33); +x_34 = l_Lean_Syntax_isNodeOf(x_33, x_20, x_10); +if (x_34 == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_14); -lean_dec(x_4); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_13); lean_dec(x_3); lean_dec(x_2); -x_36 = l_Lean_Syntax_getArgs(x_34); -lean_dec(x_34); -x_37 = l_Lean_Syntax_getId(x_27); -lean_dec(x_27); -lean_inc(x_9); +x_35 = l_Lean_Syntax_getArgs(x_33); +lean_dec(x_33); +x_36 = l_Lean_Syntax_getId(x_26); +lean_dec(x_26); lean_inc(x_8); -x_38 = l_Lean_Elab_Command_resolveSyntaxKind(x_37, x_8, x_9, x_10); -if (lean_obj_tag(x_38) == 0) +lean_inc(x_7); +x_37 = l_Lean_Elab_Command_resolveSyntaxKind(x_36, x_7, x_8, x_9); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_38, 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_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_elabMacroRulesAux(x_7, x_12, x_39, x_36, x_8, x_9, x_40); -return x_41; +lean_dec(x_37); +x_40 = l_Lean_Elab_Command_elabMacroRulesAux(x_6, x_11, x_38, x_35, x_7, x_8, x_39); +return x_40; } else { -uint8_t x_42; -lean_dec(x_36); -lean_dec(x_12); -lean_dec(x_9); +uint8_t x_41; +lean_dec(x_35); +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); -x_42 = !lean_is_exclusive(x_38); -if (x_42 == 0) +lean_dec(x_6); +x_41 = !lean_is_exclusive(x_37); +if (x_41 == 0) { -return x_38; +return x_37; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_38, 0); -x_44 = lean_ctor_get(x_38, 1); -lean_inc(x_44); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_37, 0); +x_43 = lean_ctor_get(x_37, 1); lean_inc(x_43); -lean_dec(x_38); -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_inc(x_42); +lean_dec(x_37); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_46 = l_Lean_Syntax_getArg(x_34, x_22); -x_47 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__7; -lean_inc(x_14); -x_48 = lean_name_mk_string(x_14, x_47); -lean_inc(x_46); -x_49 = l_Lean_Syntax_isOfKind(x_46, x_48); -lean_dec(x_48); -if (x_49 == 0) +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_45 = l_Lean_Syntax_getArg(x_33, x_21); +x_46 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__7; +lean_inc(x_13); +x_47 = lean_name_mk_string(x_13, x_46); +lean_inc(x_45); +x_48 = l_Lean_Syntax_isOfKind(x_45, x_47); +lean_dec(x_47); +if (x_48 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_46); -lean_dec(x_14); -lean_dec(x_4); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_45); +lean_dec(x_13); lean_dec(x_3); lean_dec(x_2); -x_50 = l_Lean_Syntax_getArgs(x_34); -lean_dec(x_34); -x_51 = l_Lean_Syntax_getId(x_27); -lean_dec(x_27); -lean_inc(x_9); +x_49 = l_Lean_Syntax_getArgs(x_33); +lean_dec(x_33); +x_50 = l_Lean_Syntax_getId(x_26); +lean_dec(x_26); lean_inc(x_8); -x_52 = l_Lean_Elab_Command_resolveSyntaxKind(x_51, x_8, x_9, x_10); -if (lean_obj_tag(x_52) == 0) +lean_inc(x_7); +x_51 = l_Lean_Elab_Command_resolveSyntaxKind(x_50, x_7, x_8, x_9); +if (lean_obj_tag(x_51) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_52, 0); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_55 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_53, x_50, x_8, x_9, x_54); -return x_55; +lean_dec(x_51); +x_54 = l_Lean_Elab_Command_elabMacroRulesAux(x_6, x_11, x_52, x_49, x_7, x_8, x_53); +return x_54; } else { -uint8_t x_56; -lean_dec(x_50); -lean_dec(x_12); -lean_dec(x_9); +uint8_t x_55; +lean_dec(x_49); +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); -x_56 = !lean_is_exclusive(x_52); -if (x_56 == 0) +lean_dec(x_6); +x_55 = !lean_is_exclusive(x_51); +if (x_55 == 0) { -return x_52; +return x_51; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_52, 0); -x_58 = lean_ctor_get(x_52, 1); -lean_inc(x_58); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_51, 0); +x_57 = lean_ctor_get(x_51, 1); lean_inc(x_57); -lean_dec(x_52); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_inc(x_56); +lean_dec(x_51); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } else { -lean_object* x_60; uint8_t x_61; -x_60 = l_Lean_Syntax_getArg(x_46, x_11); -lean_inc(x_60); -x_61 = l_Lean_Syntax_isNodeOf(x_60, x_21, x_11); -if (x_61 == 0) +lean_object* x_59; uint8_t x_60; +x_59 = l_Lean_Syntax_getArg(x_45, x_10); +lean_inc(x_59); +x_60 = l_Lean_Syntax_isNodeOf(x_59, x_20, x_10); +if (x_60 == 0) { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -lean_dec(x_60); -lean_dec(x_46); -lean_dec(x_14); -lean_dec(x_4); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_dec(x_59); +lean_dec(x_45); +lean_dec(x_13); lean_dec(x_3); lean_dec(x_2); -x_62 = l_Lean_Syntax_getArgs(x_34); -lean_dec(x_34); -x_63 = l_Lean_Syntax_getId(x_27); -lean_dec(x_27); -lean_inc(x_9); +x_61 = l_Lean_Syntax_getArgs(x_33); +lean_dec(x_33); +x_62 = l_Lean_Syntax_getId(x_26); +lean_dec(x_26); lean_inc(x_8); -x_64 = l_Lean_Elab_Command_resolveSyntaxKind(x_63, x_8, x_9, x_10); -if (lean_obj_tag(x_64) == 0) +lean_inc(x_7); +x_63 = l_Lean_Elab_Command_resolveSyntaxKind(x_62, x_7, x_8, x_9); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_64, 0); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_65, x_62, x_8, x_9, x_66); -return x_67; +lean_dec(x_63); +x_66 = l_Lean_Elab_Command_elabMacroRulesAux(x_6, x_11, x_64, x_61, x_7, x_8, x_65); +return x_66; } else { -uint8_t x_68; -lean_dec(x_62); -lean_dec(x_12); -lean_dec(x_9); +uint8_t x_67; +lean_dec(x_61); +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); -x_68 = !lean_is_exclusive(x_64); -if (x_68 == 0) +lean_dec(x_6); +x_67 = !lean_is_exclusive(x_63); +if (x_67 == 0) { -return x_64; +return x_63; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_64, 0); -x_70 = lean_ctor_get(x_64, 1); -lean_inc(x_70); +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_63, 0); +x_69 = lean_ctor_get(x_63, 1); lean_inc(x_69); -lean_dec(x_64); -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_inc(x_68); +lean_dec(x_63); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; } } } else { -lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_72 = l_Lean_Syntax_getArg(x_60, x_22); -lean_dec(x_60); -x_73 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; -lean_inc(x_72); -x_74 = l_Lean_Syntax_isOfKind(x_72, x_73); -if (x_74 == 0) +lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_71 = l_Lean_Syntax_getArg(x_59, x_21); +lean_dec(x_59); +x_72 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__3; +lean_inc(x_71); +x_73 = l_Lean_Syntax_isOfKind(x_71, x_72); +if (x_73 == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; -lean_dec(x_72); -lean_dec(x_46); -lean_dec(x_14); -lean_dec(x_4); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_71); +lean_dec(x_45); +lean_dec(x_13); lean_dec(x_3); lean_dec(x_2); -x_75 = l_Lean_Syntax_getArgs(x_34); -lean_dec(x_34); -x_76 = l_Lean_Syntax_getId(x_27); -lean_dec(x_27); -lean_inc(x_9); +x_74 = l_Lean_Syntax_getArgs(x_33); +lean_dec(x_33); +x_75 = l_Lean_Syntax_getId(x_26); +lean_dec(x_26); lean_inc(x_8); -x_77 = l_Lean_Elab_Command_resolveSyntaxKind(x_76, x_8, x_9, x_10); -if (lean_obj_tag(x_77) == 0) +lean_inc(x_7); +x_76 = l_Lean_Elab_Command_resolveSyntaxKind(x_75, x_7, x_8, x_9); +if (lean_obj_tag(x_76) == 0) { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_77, 0); +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = l_Lean_Elab_Command_elabMacroRulesAux(x_7, x_12, x_78, x_75, x_8, x_9, x_79); -return x_80; +lean_dec(x_76); +x_79 = l_Lean_Elab_Command_elabMacroRulesAux(x_6, x_11, x_77, x_74, x_7, x_8, x_78); +return x_79; } else { -uint8_t x_81; -lean_dec(x_75); -lean_dec(x_12); -lean_dec(x_9); +uint8_t x_80; +lean_dec(x_74); +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); -x_81 = !lean_is_exclusive(x_77); -if (x_81 == 0) +lean_dec(x_6); +x_80 = !lean_is_exclusive(x_76); +if (x_80 == 0) { -return x_77; +return x_76; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_77, 0); -x_83 = lean_ctor_get(x_77, 1); -lean_inc(x_83); +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_76, 0); +x_82 = lean_ctor_get(x_76, 1); lean_inc(x_82); -lean_dec(x_77); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -return x_84; +lean_inc(x_81); +lean_dec(x_76); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } else { -lean_object* x_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; uint8_t x_93; -lean_dec(x_34); -x_85 = l_Lean_Syntax_getArg(x_46, x_19); -lean_dec(x_46); -x_86 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_8, x_9, x_10); -x_87 = lean_ctor_get(x_86, 0); +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; uint8_t x_92; +lean_dec(x_33); +x_84 = l_Lean_Syntax_getArg(x_45, x_18); +lean_dec(x_45); +x_85 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_7, x_8, x_9); +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_88); +lean_dec(x_85); +x_88 = l_Lean_Elab_Command_getCurrMacroScope(x_7, x_8, x_87); +lean_dec(x_7); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); +x_91 = l_Lean_Elab_Command_getMainModule___rarg(x_8, x_90); lean_dec(x_8); -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -lean_dec(x_89); -x_92 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_91); -lean_dec(x_9); -x_93 = !lean_is_exclusive(x_92); -if (x_93 == 0) +x_92 = !lean_is_exclusive(x_91); +if (x_92 == 0) { -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; 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; 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; -x_94 = lean_ctor_get(x_92, 0); -x_95 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; +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; 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; lean_object* x_167; +x_93 = lean_ctor_get(x_91, 0); +x_94 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; lean_inc(x_3); -x_96 = lean_name_mk_string(x_3, x_95); -x_97 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; -lean_inc(x_3); -x_98 = lean_name_mk_string(x_3, x_97); -x_99 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; -lean_inc(x_14); -x_100 = lean_name_mk_string(x_14, x_99); -x_101 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; -lean_inc(x_87); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_87); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; -lean_inc(x_14); -x_104 = lean_name_mk_string(x_14, x_103); -x_105 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_106 = lean_name_mk_string(x_2, x_105); -x_107 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; -x_108 = lean_name_mk_string(x_106, x_107); -lean_inc(x_87); -x_109 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_109, 0, x_87); -lean_ctor_set(x_109, 1, x_107); -x_110 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -x_111 = lean_array_push(x_110, x_109); -x_112 = lean_array_push(x_111, x_27); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_108); -lean_ctor_set(x_113, 1, x_112); -x_114 = lean_array_push(x_110, x_12); -x_115 = lean_array_push(x_114, x_113); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_104); -lean_ctor_set(x_116, 1, x_115); -x_117 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_118 = lean_array_push(x_117, x_116); -x_119 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -x_121 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -lean_inc(x_87); -x_122 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_122, 0, x_87); -lean_ctor_set(x_122, 1, x_121); -x_123 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_124 = lean_array_push(x_123, x_102); -x_125 = lean_array_push(x_124, x_120); -x_126 = lean_array_push(x_125, x_122); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_100); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_117, x_127); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_119); -lean_ctor_set(x_129, 1, x_128); -x_130 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; -lean_inc(x_3); -x_131 = lean_name_mk_string(x_3, x_130); -lean_inc(x_87); -x_132 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_132, 0, x_87); -lean_ctor_set(x_132, 1, x_130); -x_133 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -lean_inc(x_3); -x_134 = lean_name_mk_string(x_3, x_133); -x_135 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; -lean_inc(x_90); -lean_inc(x_94); -x_136 = l_Lean_addMacroScope(x_94, x_135, x_90); -x_137 = lean_box(0); -x_138 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; -lean_inc(x_87); -x_139 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_139, 0, x_87); +x_95 = lean_name_mk_string(x_3, x_94); +x_96 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; +x_97 = lean_name_mk_string(x_95, x_96); +x_98 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +x_99 = lean_name_mk_string(x_97, x_98); +x_100 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +lean_inc(x_13); +x_101 = lean_name_mk_string(x_13, x_100); +x_102 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +lean_inc(x_86); +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_86); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; +lean_inc(x_13); +x_105 = lean_name_mk_string(x_13, x_104); +x_106 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_107 = lean_name_mk_string(x_2, x_106); +x_108 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; +x_109 = lean_name_mk_string(x_107, x_108); +lean_inc(x_86); +x_110 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_110, 0, x_86); +lean_ctor_set(x_110, 1, x_108); +x_111 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +x_112 = lean_array_push(x_111, x_110); +lean_inc(x_26); +x_113 = lean_array_push(x_112, x_26); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_109); +lean_ctor_set(x_114, 1, x_113); +x_115 = lean_array_push(x_111, x_11); +x_116 = lean_array_push(x_115, x_114); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_105); +lean_ctor_set(x_117, 1, x_116); +x_118 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_119 = lean_array_push(x_118, x_117); +x_120 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; +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 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_inc(x_86); +x_123 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_123, 0, x_86); +lean_ctor_set(x_123, 1, x_122); +x_124 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_125 = lean_array_push(x_124, x_103); +x_126 = lean_array_push(x_125, x_121); +x_127 = lean_array_push(x_126, x_123); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_101); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_array_push(x_118, x_128); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_120); +lean_ctor_set(x_130, 1, x_129); +lean_inc(x_86); +x_131 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_131, 0, x_86); +lean_ctor_set(x_131, 1, x_98); +x_132 = l_Lean_Elab_Command_elabMacroRulesAux___closed__23; +lean_inc(x_89); +lean_inc(x_93); +x_133 = l_Lean_addMacroScope(x_93, x_132, x_89); +x_134 = lean_box(0); +x_135 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +lean_inc(x_86); +x_136 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_136, 0, x_86); +lean_ctor_set(x_136, 1, x_135); +lean_ctor_set(x_136, 2, x_133); +lean_ctor_set(x_136, 3, x_134); +x_137 = lean_array_push(x_111, x_136); +x_138 = lean_array_push(x_137, x_26); +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_120); lean_ctor_set(x_139, 1, x_138); -lean_ctor_set(x_139, 2, x_136); -lean_ctor_set(x_139, 3, x_137); -x_140 = lean_array_push(x_110, x_139); -x_141 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; -x_142 = lean_array_push(x_140, x_141); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_134); -lean_ctor_set(x_143, 1, x_142); -x_144 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_3); +x_140 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; +lean_inc(x_86); +x_141 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_141, 0, x_86); +lean_ctor_set(x_141, 1, x_140); +x_142 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +x_143 = l_Lean_addMacroScope(x_93, x_142, x_89); +x_144 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; x_145 = lean_name_mk_string(x_3, x_144); -x_146 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; -lean_inc(x_14); -x_147 = lean_name_mk_string(x_14, x_146); -x_148 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; -lean_inc(x_87); -x_149 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_149, 0, x_87); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_145); +lean_ctor_set(x_146, 1, x_134); +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_134); +x_148 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; +lean_inc(x_86); +x_149 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_149, 0, x_86); lean_ctor_set(x_149, 1, x_148); -x_150 = l_Lean_Elab_Command_elabMacroRulesAux___closed__38; -x_151 = l_Lean_addMacroScope(x_94, x_150, x_90); -x_152 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; -x_153 = lean_name_mk_string(x_4, x_152); -x_154 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_137); -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_137); -x_156 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; -lean_inc(x_87); -x_157 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_157, 0, x_87); -lean_ctor_set(x_157, 1, x_156); -lean_ctor_set(x_157, 2, x_151); -lean_ctor_set(x_157, 3, x_155); -x_158 = lean_array_push(x_110, x_149); -x_159 = lean_array_push(x_158, x_157); -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_147); +lean_ctor_set(x_149, 2, x_143); +lean_ctor_set(x_149, 3, x_147); +x_150 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; +lean_inc(x_86); +x_151 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_151, 0, x_86); +lean_ctor_set(x_151, 1, x_150); +x_152 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; +lean_inc(x_13); +x_153 = lean_name_mk_string(x_13, x_152); +lean_inc(x_86); +x_154 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_154, 0, x_86); +lean_ctor_set(x_154, 1, x_152); +x_155 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; +x_156 = lean_name_mk_string(x_13, x_155); +x_157 = lean_array_push(x_118, x_71); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_120); +lean_ctor_set(x_158, 1, x_157); +x_159 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; +x_160 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_160, 0, x_86); lean_ctor_set(x_160, 1, x_159); -x_161 = lean_array_push(x_117, x_160); -x_162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_162, 0, x_119); -lean_ctor_set(x_162, 1, x_161); -x_163 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_164 = lean_array_push(x_163, x_162); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_145); -lean_ctor_set(x_165, 1, x_164); -x_166 = l_Lean_Elab_Command_elabMacroRulesAux___closed__43; -x_167 = lean_name_mk_string(x_3, x_166); -x_168 = l_Lean_Elab_Command_elabMacroRulesAux___closed__45; -lean_inc(x_87); -x_169 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_169, 0, x_87); -lean_ctor_set(x_169, 1, x_168); -x_170 = l_Lean_Elab_Command_elabMacroRulesAux___closed__46; -lean_inc(x_14); -x_171 = lean_name_mk_string(x_14, x_170); -lean_inc(x_87); -x_172 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_172, 0, x_87); -lean_ctor_set(x_172, 1, x_170); -x_173 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; -x_174 = lean_name_mk_string(x_14, x_173); -x_175 = lean_array_push(x_117, x_72); +x_161 = lean_array_push(x_124, x_158); +x_162 = lean_array_push(x_161, x_160); +x_163 = lean_array_push(x_162, x_84); +x_164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_164, 0, x_156); +lean_ctor_set(x_164, 1, x_163); +x_165 = lean_array_push(x_111, x_154); +x_166 = lean_array_push(x_165, x_164); +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_153); +lean_ctor_set(x_167, 1, x_166); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_168 = l_Lean_Elab_Command_elabMacroRulesAux___closed__63; +x_169 = lean_array_push(x_168, x_130); +x_170 = lean_array_push(x_169, x_131); +x_171 = lean_array_push(x_170, x_139); +x_172 = lean_array_push(x_171, x_141); +x_173 = lean_array_push(x_172, x_149); +x_174 = lean_array_push(x_173, x_151); +x_175 = lean_array_push(x_174, x_167); x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_119); +lean_ctor_set(x_176, 0, x_99); lean_ctor_set(x_176, 1, x_175); -x_177 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; -x_178 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_178, 0, x_87); -lean_ctor_set(x_178, 1, x_177); -x_179 = lean_array_push(x_123, x_176); -x_180 = lean_array_push(x_179, x_178); -x_181 = lean_array_push(x_180, x_85); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_174); -lean_ctor_set(x_182, 1, x_181); -x_183 = lean_array_push(x_110, x_172); -x_184 = lean_array_push(x_183, x_182); -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_171); -lean_ctor_set(x_185, 1, x_184); -x_186 = lean_array_push(x_123, x_169); -x_187 = lean_array_push(x_186, x_185); -x_188 = lean_array_push(x_187, x_141); -x_189 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_189, 0, x_167); -lean_ctor_set(x_189, 1, x_188); -x_190 = l_Lean_Elab_Command_elabMacroRulesAux___closed__73; -x_191 = lean_array_push(x_190, x_132); -x_192 = lean_array_push(x_191, x_143); -x_193 = lean_array_push(x_192, x_165); -x_194 = lean_array_push(x_193, x_189); -x_195 = lean_array_push(x_194, x_141); -x_196 = lean_array_push(x_195, x_141); -x_197 = lean_array_push(x_196, x_141); -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_131); -lean_ctor_set(x_198, 1, x_197); -if (lean_obj_tag(x_7) == 0) -{ -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; -x_199 = l_Lean_Elab_Command_elabMacroRulesAux___closed__76; -x_200 = lean_array_push(x_199, x_129); -x_201 = lean_array_push(x_200, x_141); -x_202 = lean_array_push(x_201, x_141); -x_203 = lean_array_push(x_202, x_141); -x_204 = lean_array_push(x_203, x_141); -x_205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_205, 0, x_98); -lean_ctor_set(x_205, 1, x_204); -x_206 = lean_array_push(x_110, x_205); -x_207 = lean_array_push(x_206, x_198); -x_208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_208, 0, x_96); -lean_ctor_set(x_208, 1, x_207); -lean_ctor_set(x_92, 0, x_208); -return x_92; +lean_ctor_set(x_91, 0, x_176); +return x_91; } else { -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; -x_209 = lean_ctor_get(x_7, 0); -lean_inc(x_209); -lean_dec(x_7); -x_210 = lean_array_push(x_117, x_209); -x_211 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; -x_212 = l_Array_append___rarg(x_211, x_210); -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_119); -lean_ctor_set(x_213, 1, x_212); -x_214 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_215 = lean_array_push(x_214, x_213); -x_216 = lean_array_push(x_215, x_129); -x_217 = lean_array_push(x_216, x_141); -x_218 = lean_array_push(x_217, x_141); -x_219 = lean_array_push(x_218, x_141); -x_220 = lean_array_push(x_219, x_141); +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; +x_177 = lean_ctor_get(x_6, 0); +lean_inc(x_177); +lean_dec(x_6); +x_178 = lean_array_push(x_118, x_177); +x_179 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_180 = l_Array_append___rarg(x_179, x_178); +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_120); +lean_ctor_set(x_181, 1, x_180); +x_182 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_183 = lean_array_push(x_182, x_181); +x_184 = lean_array_push(x_183, x_130); +x_185 = lean_array_push(x_184, x_131); +x_186 = lean_array_push(x_185, x_139); +x_187 = lean_array_push(x_186, x_141); +x_188 = lean_array_push(x_187, x_149); +x_189 = lean_array_push(x_188, x_151); +x_190 = lean_array_push(x_189, x_167); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_99); +lean_ctor_set(x_191, 1, x_190); +lean_ctor_set(x_91, 0, x_191); +return x_91; +} +} +else +{ +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; 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; +x_192 = lean_ctor_get(x_91, 0); +x_193 = lean_ctor_get(x_91, 1); +lean_inc(x_193); +lean_inc(x_192); +lean_dec(x_91); +x_194 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; +lean_inc(x_3); +x_195 = lean_name_mk_string(x_3, x_194); +x_196 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; +x_197 = lean_name_mk_string(x_195, x_196); +x_198 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +x_199 = lean_name_mk_string(x_197, x_198); +x_200 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +lean_inc(x_13); +x_201 = lean_name_mk_string(x_13, x_200); +x_202 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +lean_inc(x_86); +x_203 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_203, 0, x_86); +lean_ctor_set(x_203, 1, x_202); +x_204 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; +lean_inc(x_13); +x_205 = lean_name_mk_string(x_13, x_204); +x_206 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; +x_207 = lean_name_mk_string(x_2, x_206); +x_208 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; +x_209 = lean_name_mk_string(x_207, x_208); +lean_inc(x_86); +x_210 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_210, 0, x_86); +lean_ctor_set(x_210, 1, x_208); +x_211 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +x_212 = lean_array_push(x_211, x_210); +lean_inc(x_26); +x_213 = lean_array_push(x_212, x_26); +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_209); +lean_ctor_set(x_214, 1, x_213); +x_215 = lean_array_push(x_211, x_11); +x_216 = lean_array_push(x_215, x_214); +x_217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_217, 0, x_205); +lean_ctor_set(x_217, 1, x_216); +x_218 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_219 = lean_array_push(x_218, x_217); +x_220 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_98); -lean_ctor_set(x_221, 1, x_220); -x_222 = lean_array_push(x_110, x_221); -x_223 = lean_array_push(x_222, x_198); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_96); -lean_ctor_set(x_224, 1, x_223); -lean_ctor_set(x_92, 0, x_224); -return x_92; -} -} -else -{ -lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; 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; 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; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_225 = lean_ctor_get(x_92, 0); -x_226 = lean_ctor_get(x_92, 1); -lean_inc(x_226); -lean_inc(x_225); -lean_dec(x_92); -x_227 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; -lean_inc(x_3); -x_228 = lean_name_mk_string(x_3, x_227); -x_229 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; -lean_inc(x_3); -x_230 = lean_name_mk_string(x_3, x_229); -x_231 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; -lean_inc(x_14); -x_232 = lean_name_mk_string(x_14, x_231); -x_233 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; -lean_inc(x_87); -x_234 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_234, 0, x_87); -lean_ctor_set(x_234, 1, x_233); -x_235 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; -lean_inc(x_14); -x_236 = lean_name_mk_string(x_14, x_235); -x_237 = l_Lean_Elab_Command_elabMacroRulesAux___closed__12; -x_238 = lean_name_mk_string(x_2, x_237); -x_239 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; -x_240 = lean_name_mk_string(x_238, x_239); -lean_inc(x_87); +lean_ctor_set(x_221, 0, x_220); +lean_ctor_set(x_221, 1, x_219); +x_222 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +lean_inc(x_86); +x_223 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_223, 0, x_86); +lean_ctor_set(x_223, 1, x_222); +x_224 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; +x_225 = lean_array_push(x_224, x_203); +x_226 = lean_array_push(x_225, x_221); +x_227 = lean_array_push(x_226, x_223); +x_228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_228, 0, x_201); +lean_ctor_set(x_228, 1, x_227); +x_229 = lean_array_push(x_218, x_228); +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_220); +lean_ctor_set(x_230, 1, x_229); +lean_inc(x_86); +x_231 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_231, 0, x_86); +lean_ctor_set(x_231, 1, x_198); +x_232 = l_Lean_Elab_Command_elabMacroRulesAux___closed__23; +lean_inc(x_89); +lean_inc(x_192); +x_233 = l_Lean_addMacroScope(x_192, x_232, x_89); +x_234 = lean_box(0); +x_235 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; +lean_inc(x_86); +x_236 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_236, 0, x_86); +lean_ctor_set(x_236, 1, x_235); +lean_ctor_set(x_236, 2, x_233); +lean_ctor_set(x_236, 3, x_234); +x_237 = lean_array_push(x_211, x_236); +x_238 = lean_array_push(x_237, x_26); +x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_239, 0, x_220); +lean_ctor_set(x_239, 1, x_238); +x_240 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; +lean_inc(x_86); x_241 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_241, 0, x_87); -lean_ctor_set(x_241, 1, x_239); -x_242 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -x_243 = lean_array_push(x_242, x_241); -x_244 = lean_array_push(x_243, x_27); -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_240); -lean_ctor_set(x_245, 1, x_244); -x_246 = lean_array_push(x_242, x_12); -x_247 = lean_array_push(x_246, x_245); -x_248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_248, 0, x_236); -lean_ctor_set(x_248, 1, x_247); -x_249 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -x_250 = lean_array_push(x_249, x_248); -x_251 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__3; -x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_250); -x_253 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -lean_inc(x_87); +lean_ctor_set(x_241, 0, x_86); +lean_ctor_set(x_241, 1, x_240); +x_242 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +x_243 = l_Lean_addMacroScope(x_192, x_242, x_89); +x_244 = l_Lean_Elab_Command_elabMacroRulesAux___closed__25; +x_245 = lean_name_mk_string(x_3, x_244); +x_246 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_234); +x_247 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_234); +x_248 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; +lean_inc(x_86); +x_249 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_249, 0, x_86); +lean_ctor_set(x_249, 1, x_248); +lean_ctor_set(x_249, 2, x_243); +lean_ctor_set(x_249, 3, x_247); +x_250 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; +lean_inc(x_86); +x_251 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_251, 0, x_86); +lean_ctor_set(x_251, 1, x_250); +x_252 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; +lean_inc(x_13); +x_253 = lean_name_mk_string(x_13, x_252); +lean_inc(x_86); x_254 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_254, 0, x_87); -lean_ctor_set(x_254, 1, x_253); -x_255 = l_Lean_Elab_Command_elabMacroRulesAux___closed__19; -x_256 = lean_array_push(x_255, x_234); -x_257 = lean_array_push(x_256, x_252); -x_258 = lean_array_push(x_257, x_254); -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_232); -lean_ctor_set(x_259, 1, x_258); -x_260 = lean_array_push(x_249, x_259); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_251); -lean_ctor_set(x_261, 1, x_260); -x_262 = l_Lean_Elab_Command_elabMacroRulesAux___closed__22; -lean_inc(x_3); -x_263 = lean_name_mk_string(x_3, x_262); -lean_inc(x_87); -x_264 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_264, 0, x_87); -lean_ctor_set(x_264, 1, x_262); -x_265 = l_Lean_Elab_Command_elabMacroRulesAux___closed__24; -lean_inc(x_3); -x_266 = lean_name_mk_string(x_3, x_265); -x_267 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; -lean_inc(x_90); -lean_inc(x_225); -x_268 = l_Lean_addMacroScope(x_225, x_267, x_90); -x_269 = lean_box(0); -x_270 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; -lean_inc(x_87); -x_271 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_271, 0, x_87); -lean_ctor_set(x_271, 1, x_270); -lean_ctor_set(x_271, 2, x_268); -lean_ctor_set(x_271, 3, x_269); -x_272 = lean_array_push(x_242, x_271); -x_273 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; -x_274 = lean_array_push(x_272, x_273); -x_275 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_275, 0, x_266); -lean_ctor_set(x_275, 1, x_274); -x_276 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; -lean_inc(x_3); -x_277 = lean_name_mk_string(x_3, x_276); -x_278 = l_Lean_Elab_Command_elabMacroRulesAux___closed__32; -lean_inc(x_14); -x_279 = lean_name_mk_string(x_14, x_278); -x_280 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; -lean_inc(x_87); -x_281 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_281, 0, x_87); -lean_ctor_set(x_281, 1, x_280); -x_282 = l_Lean_Elab_Command_elabMacroRulesAux___closed__38; -x_283 = l_Lean_addMacroScope(x_225, x_282, x_90); -x_284 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; -x_285 = lean_name_mk_string(x_4, x_284); -x_286 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_269); -x_287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_269); -x_288 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; -lean_inc(x_87); -x_289 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_289, 0, x_87); -lean_ctor_set(x_289, 1, x_288); -lean_ctor_set(x_289, 2, x_283); -lean_ctor_set(x_289, 3, x_287); -x_290 = lean_array_push(x_242, x_281); -x_291 = lean_array_push(x_290, x_289); +lean_ctor_set(x_254, 0, x_86); +lean_ctor_set(x_254, 1, x_252); +x_255 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; +x_256 = lean_name_mk_string(x_13, x_255); +x_257 = lean_array_push(x_218, x_71); +x_258 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_258, 0, x_220); +lean_ctor_set(x_258, 1, x_257); +x_259 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; +x_260 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_260, 0, x_86); +lean_ctor_set(x_260, 1, x_259); +x_261 = lean_array_push(x_224, x_258); +x_262 = lean_array_push(x_261, x_260); +x_263 = lean_array_push(x_262, x_84); +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_256); +lean_ctor_set(x_264, 1, x_263); +x_265 = lean_array_push(x_211, x_254); +x_266 = lean_array_push(x_265, x_264); +x_267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_267, 0, x_253); +lean_ctor_set(x_267, 1, x_266); +if (lean_obj_tag(x_6) == 0) +{ +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; +x_268 = l_Lean_Elab_Command_elabMacroRulesAux___closed__63; +x_269 = lean_array_push(x_268, x_230); +x_270 = lean_array_push(x_269, x_231); +x_271 = lean_array_push(x_270, x_239); +x_272 = lean_array_push(x_271, x_241); +x_273 = lean_array_push(x_272, x_249); +x_274 = lean_array_push(x_273, x_251); +x_275 = lean_array_push(x_274, x_267); +x_276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_276, 0, x_199); +lean_ctor_set(x_276, 1, x_275); +x_277 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_277, 0, x_276); +lean_ctor_set(x_277, 1, x_193); +return x_277; +} +else +{ +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; +x_278 = lean_ctor_get(x_6, 0); +lean_inc(x_278); +lean_dec(x_6); +x_279 = lean_array_push(x_218, x_278); +x_280 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; +x_281 = l_Array_append___rarg(x_280, x_279); +x_282 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_282, 0, x_220); +lean_ctor_set(x_282, 1, x_281); +x_283 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_284 = lean_array_push(x_283, x_282); +x_285 = lean_array_push(x_284, x_230); +x_286 = lean_array_push(x_285, x_231); +x_287 = lean_array_push(x_286, x_239); +x_288 = lean_array_push(x_287, x_241); +x_289 = lean_array_push(x_288, x_249); +x_290 = lean_array_push(x_289, x_251); +x_291 = lean_array_push(x_290, x_267); x_292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_292, 0, x_279); +lean_ctor_set(x_292, 0, x_199); lean_ctor_set(x_292, 1, x_291); -x_293 = lean_array_push(x_249, x_292); -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_251); -lean_ctor_set(x_294, 1, x_293); -x_295 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_296 = lean_array_push(x_295, x_294); -x_297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_297, 0, x_277); -lean_ctor_set(x_297, 1, x_296); -x_298 = l_Lean_Elab_Command_elabMacroRulesAux___closed__43; -x_299 = lean_name_mk_string(x_3, x_298); -x_300 = l_Lean_Elab_Command_elabMacroRulesAux___closed__45; -lean_inc(x_87); -x_301 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_301, 0, x_87); -lean_ctor_set(x_301, 1, x_300); -x_302 = l_Lean_Elab_Command_elabMacroRulesAux___closed__46; -lean_inc(x_14); -x_303 = lean_name_mk_string(x_14, x_302); -lean_inc(x_87); -x_304 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_304, 0, x_87); -lean_ctor_set(x_304, 1, x_302); -x_305 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; -x_306 = lean_name_mk_string(x_14, x_305); -x_307 = lean_array_push(x_249, x_72); -x_308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_308, 0, x_251); -lean_ctor_set(x_308, 1, x_307); -x_309 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__6; -x_310 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_310, 0, x_87); -lean_ctor_set(x_310, 1, x_309); -x_311 = lean_array_push(x_255, x_308); -x_312 = lean_array_push(x_311, x_310); -x_313 = lean_array_push(x_312, x_85); -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_306); -lean_ctor_set(x_314, 1, x_313); -x_315 = lean_array_push(x_242, x_304); -x_316 = lean_array_push(x_315, x_314); -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_303); -lean_ctor_set(x_317, 1, x_316); -x_318 = lean_array_push(x_255, x_301); -x_319 = lean_array_push(x_318, x_317); -x_320 = lean_array_push(x_319, x_273); -x_321 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_321, 0, x_299); -lean_ctor_set(x_321, 1, x_320); -x_322 = l_Lean_Elab_Command_elabMacroRulesAux___closed__73; -x_323 = lean_array_push(x_322, x_264); -x_324 = lean_array_push(x_323, x_275); -x_325 = lean_array_push(x_324, x_297); -x_326 = lean_array_push(x_325, x_321); -x_327 = lean_array_push(x_326, x_273); -x_328 = lean_array_push(x_327, x_273); -x_329 = lean_array_push(x_328, x_273); -x_330 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_330, 0, x_263); -lean_ctor_set(x_330, 1, x_329); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_331; lean_object* x_332; 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; -x_331 = l_Lean_Elab_Command_elabMacroRulesAux___closed__76; -x_332 = lean_array_push(x_331, x_261); -x_333 = lean_array_push(x_332, x_273); -x_334 = lean_array_push(x_333, x_273); -x_335 = lean_array_push(x_334, x_273); -x_336 = lean_array_push(x_335, x_273); -x_337 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_337, 0, x_230); -lean_ctor_set(x_337, 1, x_336); -x_338 = lean_array_push(x_242, x_337); -x_339 = lean_array_push(x_338, x_330); -x_340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_340, 0, x_228); -lean_ctor_set(x_340, 1, x_339); -x_341 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_341, 0, x_340); -lean_ctor_set(x_341, 1, x_226); -return x_341; -} -else -{ -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; -x_342 = lean_ctor_get(x_7, 0); -lean_inc(x_342); -lean_dec(x_7); -x_343 = lean_array_push(x_249, x_342); -x_344 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__4; -x_345 = l_Array_append___rarg(x_344, x_343); -x_346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_346, 0, x_251); -lean_ctor_set(x_346, 1, x_345); -x_347 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_348 = lean_array_push(x_347, x_346); -x_349 = lean_array_push(x_348, x_261); -x_350 = lean_array_push(x_349, x_273); -x_351 = lean_array_push(x_350, x_273); -x_352 = lean_array_push(x_351, x_273); -x_353 = lean_array_push(x_352, x_273); -x_354 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_354, 0, x_230); -lean_ctor_set(x_354, 1, x_353); -x_355 = lean_array_push(x_242, x_354); -x_356 = lean_array_push(x_355, x_330); -x_357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_357, 0, x_228); -lean_ctor_set(x_357, 1, x_356); -x_358 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_358, 0, x_357); -lean_ctor_set(x_358, 1, x_226); -return x_358; +x_293 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_293, 0, x_292); +lean_ctor_set(x_293, 1, x_193); +return x_293; } } } @@ -3332,45 +3001,44 @@ return x_358; } else { -lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; uint8_t x_363; -lean_dec(x_20); -lean_dec(x_4); +lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; +lean_dec(x_19); lean_dec(x_3); lean_dec(x_2); -x_359 = lean_unsigned_to_nat(4u); -x_360 = l_Lean_Syntax_getArg(x_1, x_359); -x_361 = l_Lean_Elab_Command_elabMacroRulesAux___closed__48; -x_362 = lean_name_mk_string(x_14, x_361); -lean_inc(x_360); -x_363 = l_Lean_Syntax_isOfKind(x_360, x_362); -if (x_363 == 0) +x_294 = lean_unsigned_to_nat(4u); +x_295 = l_Lean_Syntax_getArg(x_1, x_294); +x_296 = l_Lean_Elab_Command_elabMacroRulesAux___closed__35; +x_297 = lean_name_mk_string(x_13, x_296); +lean_inc(x_295); +x_298 = l_Lean_Syntax_isOfKind(x_295, x_297); +if (x_298 == 0) { -lean_object* x_364; -lean_dec(x_362); -lean_dec(x_360); -lean_dec(x_12); -lean_dec(x_9); +lean_object* x_299; +lean_dec(x_297); +lean_dec(x_295); +lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_5); -x_364 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_10); -return x_364; +lean_dec(x_6); +lean_dec(x_4); +x_299 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg(x_9); +return x_299; } else { -lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; -x_365 = l_Lean_Syntax_getArg(x_360, x_22); -lean_dec(x_360); -x_366 = l_Lean_Syntax_getArgs(x_365); -lean_dec(x_365); -x_367 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules___lambda__1___boxed), 9, 4); -lean_closure_set(x_367, 0, x_362); -lean_closure_set(x_367, 1, x_12); -lean_closure_set(x_367, 2, x_5); -lean_closure_set(x_367, 3, x_7); -x_368 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; -x_369 = l_Lean_Elab_Command_expandNoKindMacroRulesAux(x_366, x_368, x_367, x_8, x_9, x_10); -return x_369; +lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; +x_300 = l_Lean_Syntax_getArg(x_295, x_21); +lean_dec(x_295); +x_301 = l_Lean_Syntax_getArgs(x_300); +lean_dec(x_300); +x_302 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules___lambda__1___boxed), 9, 4); +lean_closure_set(x_302, 0, x_297); +lean_closure_set(x_302, 1, x_11); +lean_closure_set(x_302, 2, x_4); +lean_closure_set(x_302, 3, x_6); +x_303 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +x_304 = l_Lean_Elab_Command_expandNoKindMacroRulesAux(x_301, x_303, x_302, x_7, x_8, x_9); +return x_304; } } } @@ -3380,8 +3048,8 @@ static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___close _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4; +x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3389,17 +3057,27 @@ return x_3; static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("docComment"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; +x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("docComment"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__2; +x_1 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; +x_2 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3408,7 +3086,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__3(lean_obj _start: { lean_object* x_5; uint8_t x_6; -x_5 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; +x_5 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__2; lean_inc(x_1); x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) @@ -3448,7 +3126,7 @@ else lean_object* x_15; lean_object* x_16; uint8_t x_17; x_15 = l_Lean_Syntax_getArg(x_9, x_8); lean_dec(x_9); -x_16 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3; +x_16 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__4; lean_inc(x_15); x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); if (x_17 == 0) @@ -3463,31 +3141,29 @@ return x_18; } 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_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_19 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_19, 0, x_15); x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4; -x_21 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -x_23 = lean_box(0); -x_24 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_20, x_21, x_22, x_5, x_23, x_19, x_2, x_3, x_4); +x_21 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_22 = lean_box(0); +x_23 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_20, x_21, x_5, x_22, x_19, x_2, x_3, x_4); lean_dec(x_1); -return x_24; +return x_23; } } } else { -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_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_9); -x_25 = lean_box(0); -x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4; -x_27 = l_Lean_Elab_Command_elabMacroRulesAux___closed__2; -x_28 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -x_29 = lean_box(0); -x_30 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_26, x_27, x_28, x_5, x_29, x_25, x_2, x_3, x_4); +x_24 = lean_box(0); +x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__4; +x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_25, x_26, x_5, x_27, x_24, x_2, x_3, x_4); lean_dec(x_1); -return x_30; +return x_28; } } } @@ -3519,63 +3195,35 @@ lean_dec(x_7); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacroRules___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_11; -x_11 = l_Lean_Elab_Command_elabMacroRules___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_6); +lean_object* x_10; +x_10 = l_Lean_Elab_Command_elabMacroRules___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_5); lean_dec(x_1); -return x_11; +return x_10; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string("Elab"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___closed__2; -x_2 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2; -x_2 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__4() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string("elabMacroRules"); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__5() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3; -x_2 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__4; +x_1 = l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__6() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3() { _start: { lean_object* x_1; @@ -3588,15 +3236,16 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_Command_commandElabAttribute; -x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__1; -x_4 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__5; -x_5 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__6; +x_3 = l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Elab_Syntax(lean_object*); +lean_object* initialize_Lean_Elab_AuxDef(lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_MacroRules(lean_object* w) { lean_object * res; @@ -3608,6 +3257,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Syntax(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_AuxDef(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg___closed__1 = _init_l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__1___rarg___closed__1); l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___lambda__2___closed__1(); @@ -3780,32 +3432,6 @@ l_Lean_Elab_Command_elabMacroRulesAux___closed__62 = _init_l_Lean_Elab_Command_e lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__62); l_Lean_Elab_Command_elabMacroRulesAux___closed__63 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__63(); lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__63); -l_Lean_Elab_Command_elabMacroRulesAux___closed__64 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__64(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__64); -l_Lean_Elab_Command_elabMacroRulesAux___closed__65 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__65(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__65); -l_Lean_Elab_Command_elabMacroRulesAux___closed__66 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__66(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__66); -l_Lean_Elab_Command_elabMacroRulesAux___closed__67 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__67(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__67); -l_Lean_Elab_Command_elabMacroRulesAux___closed__68 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__68(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__68); -l_Lean_Elab_Command_elabMacroRulesAux___closed__69 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__69(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__69); -l_Lean_Elab_Command_elabMacroRulesAux___closed__70 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__70(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__70); -l_Lean_Elab_Command_elabMacroRulesAux___closed__71 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__71(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__71); -l_Lean_Elab_Command_elabMacroRulesAux___closed__72 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__72(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__72); -l_Lean_Elab_Command_elabMacroRulesAux___closed__73 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__73(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__73); -l_Lean_Elab_Command_elabMacroRulesAux___closed__74 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__74(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__74); -l_Lean_Elab_Command_elabMacroRulesAux___closed__75 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__75(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__75); -l_Lean_Elab_Command_elabMacroRulesAux___closed__76 = _init_l_Lean_Elab_Command_elabMacroRulesAux___closed__76(); -lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___closed__76); l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1 = _init_l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Command_elabMacroRulesAux___boxed__const__1); l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1(); @@ -3832,6 +3458,8 @@ l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__2 = _init_l_Lean_Elab_C lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__2); l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3(); lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__3); +l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__4 = _init_l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___lambda__3___closed__4); l_Lean_Elab_Command_elabMacroRules___closed__1 = _init_l_Lean_Elab_Command_elabMacroRules___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabMacroRules___closed__1); l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1(); @@ -3840,12 +3468,6 @@ l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2 = _init_l___regBuilt lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__2); l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__3); -l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__4); -l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__5); -l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__6 = _init_l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__6(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__6); res = l___regBuiltin_Lean_Elab_Command_elabMacroRules(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Elab/Notation.c b/stage0/stdlib/Lean/Elab/Notation.c index 485f6b25bf..03f738d70b 100644 --- a/stage0/stdlib/Lean/Elab/Notation.c +++ b/stage0/stdlib/Lean/Elab/Notation.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.Notation -// Imports: Init Lean.Elab.Syntax +// Imports: Init Lean.Elab.Syntax Lean.Elab.AuxDef #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -28,20 +28,17 @@ static lean_object* l_Lean_Elab_Command_expandNotation___closed__2; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__46; lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__86; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__25; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Macro_getCurrNamespace(lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__91; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__78; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__3; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux(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*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__93; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__36; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__80; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__6; @@ -49,7 +46,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandNotation___lambda__1___boxed( lean_object* l_Lean_SourceInfo_fromRef(lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__62; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__54; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__84; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__33; uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); @@ -58,12 +54,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandNotation___lambda__2(lean_obj static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__26; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__79; uint8_t lean_name_eq(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__95; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__77; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__66; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__56; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__85; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__35; static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__39; @@ -91,12 +85,10 @@ static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__57; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__4; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__3; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__27; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__4; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__45; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__9; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__67; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__40; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__83; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__21; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__38; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__70; @@ -105,7 +97,6 @@ static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__65; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__39; LEAN_EXPORT lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__94; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation(lean_object*); static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__1; @@ -154,7 +145,6 @@ static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__12; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__18; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__15; static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__92; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__3(size_t, size_t, lean_object*); lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__4(lean_object*, size_t, size_t, lean_object*); @@ -168,7 +158,6 @@ size_t lean_usize_of_nat(lean_object*); static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__14; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__28; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__90; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__5; LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); @@ -183,16 +172,13 @@ static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__38; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__21; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__4; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__89; extern lean_object* l_Lean_Elab_macroAttribute; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__44; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__37; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__41; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__13; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__88; static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__87; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Macro_resolveGlobalName(lean_object*, lean_object*, lean_object*); @@ -223,7 +209,6 @@ static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___close uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__10; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__32; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__81; static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__15; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__71; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__7; @@ -239,7 +224,6 @@ static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__51; static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__69; -static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__25; @@ -247,7 +231,6 @@ static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__11; static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__9; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__61; LEAN_EXPORT lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Command_expandNotation___closed__6; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__19; LEAN_EXPORT lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4___boxed(lean_object*, lean_object*, lean_object*); @@ -262,7 +245,6 @@ static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__37; LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandNotation(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__42; -static lean_object* l_Lean_Elab_Command_mkSimpleDelab___closed__82; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__1; static lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__8; static lean_object* l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__6; @@ -905,7 +887,7 @@ static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string("declaration"); +x_1 = lean_mk_string("Elab"); return x_1; } } @@ -913,7 +895,7 @@ static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2; x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -922,22 +904,32 @@ return x_3; static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__7() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("declModifiers"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_2 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__8() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("aux_def"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__9() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__9() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__10() { _start: { lean_object* x_1; @@ -945,17 +937,17 @@ x_1 = lean_mk_string("null"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__10() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__11() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -964,19 +956,19 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__12() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; 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_Elab_Command_mkSimpleDelab___closed__13() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__14() { _start: { lean_object* x_1; @@ -984,17 +976,17 @@ x_1 = lean_mk_string("attributes"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__14() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__15() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__16() { _start: { lean_object* x_1; @@ -1002,7 +994,7 @@ x_1 = lean_mk_string("@["); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__16() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__17() { _start: { lean_object* x_1; @@ -1010,17 +1002,17 @@ x_1 = lean_mk_string("attrInstance"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__17() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__18() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__19() { _start: { lean_object* x_1; @@ -1028,17 +1020,17 @@ x_1 = lean_mk_string("Attr"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__19() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__4; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__19; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__20() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__21() { _start: { lean_object* x_1; @@ -1046,17 +1038,17 @@ x_1 = lean_mk_string("simple"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__21() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__19; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__20; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__20; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__22() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__23() { _start: { lean_object* x_1; @@ -1064,22 +1056,22 @@ x_1 = lean_mk_string("appUnexpander"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__23() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__23; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__24() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__23; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_mkSimpleDelab___closed__23; +x_3 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1087,17 +1079,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__25() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__23; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__26() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__27() { _start: { lean_object* x_1; @@ -1105,7 +1097,7 @@ x_1 = lean_mk_string("]"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__27() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -1114,66 +1106,60 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__28() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(6u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__29() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("unexpand"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__30() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("def"); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__31() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -x_3 = lean_name_mk_string(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_Elab_Command_mkSimpleDelab___closed__29; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; +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_Elab_Command_mkSimpleDelab___closed__32() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("declId"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__33() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string(":"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__34() { _start: { lean_object* x_1; -x_1 = lean_mk_string("unexpand"); +x_1 = lean_mk_string("Lean.PrettyPrinter.Unexpander"); return x_1; } } @@ -1203,93 +1189,94 @@ return x_4; static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__37() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__34; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("PrettyPrinter"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__38() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("optDeclSig"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__39() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__38; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("Unexpander"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__40() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("typeSpec"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__38; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_1 = lean_box(0); x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; -x_3 = lean_name_mk_string(x_1, x_2); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__42() { _start: { -lean_object* x_1; -x_1 = lean_mk_string(":"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__43() { _start: { lean_object* x_1; -x_1 = lean_mk_string("Lean.PrettyPrinter.Unexpander"); +x_1 = lean_mk_string(":="); return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__44() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("fun"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__45() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; -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; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__46() { _start: { lean_object* x_1; -x_1 = lean_mk_string("PrettyPrinter"); +x_1 = lean_mk_string("matchAlts"); return x_1; } } @@ -1297,7 +1284,7 @@ static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__47() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__46; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1307,7 +1294,7 @@ static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__48() { _start: { lean_object* x_1; -x_1 = lean_mk_string("Unexpander"); +x_1 = lean_mk_string("matchAlt"); return x_1; } } @@ -1315,7 +1302,7 @@ static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__49() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__48; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1324,34 +1311,26 @@ return x_3; static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__50() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -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; +lean_object* x_1; +x_1 = lean_mk_string("|"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__51() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("quot"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__52() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_3 = lean_array_push(x_1, x_2); +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -1359,43 +1338,41 @@ static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__53() { _start: { lean_object* x_1; -x_1 = lean_mk_string("declValEqns"); +x_1 = lean_mk_string("`("); return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__54() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("antiquot"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__55() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("matchAltsWhereDecls"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__56() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("$"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__57() { _start: { lean_object* x_1; -x_1 = lean_mk_string("matchAlts"); +x_1 = lean_mk_string("antiquotNestedExpr"); return x_1; } } @@ -1403,7 +1380,7 @@ static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__58() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_1 = lean_box(0); x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__57; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -1413,77 +1390,76 @@ static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__59() { _start: { lean_object* x_1; -x_1 = lean_mk_string("matchAlt"); +x_1 = lean_mk_string("("); return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__60() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("hole"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__61() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("|"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__62() { _start: { lean_object* x_1; -x_1 = lean_mk_string("quot"); +x_1 = lean_mk_string("_"); return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__63() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string(")"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__64() { _start: { lean_object* x_1; -x_1 = lean_mk_string("`("); +x_1 = lean_mk_string("antiquotName"); return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__65() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("antiquot"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__66() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(4u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__67() { _start: { lean_object* x_1; -x_1 = lean_mk_string("$"); +x_1 = lean_mk_string("=>"); return x_1; } } @@ -1491,13 +1467,36 @@ static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__68() { _start: { lean_object* x_1; -x_1 = lean_mk_string("antiquotNestedExpr"); +x_1 = lean_mk_string("throw"); return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__69() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__70() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; +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_Elab_Command_mkSimpleDelab___closed__71() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; @@ -1505,54 +1504,44 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__70() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("("); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__71() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("hole"); -return x_1; -} -} static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__72() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("MonadExcept"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__73() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("_"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__74() { _start: { -lean_object* x_1; -x_1 = lean_mk_string(")"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__68; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__75() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("antiquotName"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__76() { @@ -1561,121 +1550,13 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__75; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__77() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(4u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__78() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("=>"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__79() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("throw"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__80() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__79; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__81() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__79; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; -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_Elab_Command_mkSimpleDelab___closed__82() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__79; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__83() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("MonadExcept"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__84() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__83; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__85() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__84; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__79; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__86() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__85; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__87() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__86; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__88() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__77() { _start: { lean_object* x_1; @@ -1683,66 +1564,32 @@ x_1 = lean_mk_string("paren"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__89() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__78() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__88; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__90() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__79() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(7u); +x_1 = lean_unsigned_to_nat(8u); x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__91() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("declValSimple"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__92() { +static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__80() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__6; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__91; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__93() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(":="); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__94() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("fun"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___closed__95() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__2; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -x_3 = lean_name_mk_string(x_1, x_2); +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__79; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_3 = lean_array_push(x_1, x_2); return x_3; } } @@ -1845,24 +1692,24 @@ x_29 = lean_ctor_get(x_27, 0); x_30 = !lean_is_exclusive(x_29); if (x_30 == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 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; 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; 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_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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; 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; 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; x_31 = lean_ctor_get(x_29, 0); x_32 = lean_ctor_get(x_5, 2); lean_inc(x_32); x_33 = lean_ctor_get(x_5, 1); lean_inc(x_33); lean_dec(x_5); -x_34 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +x_34 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; lean_inc(x_31); x_35 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_35, 0, x_31); lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +x_36 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; lean_inc(x_32); lean_inc(x_33); x_37 = l_Lean_addMacroScope(x_33, x_36, x_32); x_38 = lean_box(0); -x_39 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; +x_39 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; lean_inc(x_31); x_40 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_40, 0, x_31); @@ -1871,21 +1718,22 @@ lean_ctor_set(x_40, 2, x_37); lean_ctor_set(x_40, 3, x_38); x_41 = lean_mk_syntax_ident(x_26); x_42 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_41); x_43 = lean_array_push(x_42, x_41); -x_44 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_44 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; x_45 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_45, 0, x_44); lean_ctor_set(x_45, 1, x_43); x_46 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; x_47 = lean_array_push(x_46, x_40); x_48 = lean_array_push(x_47, x_45); -x_49 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_49 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); x_51 = lean_array_push(x_46, x_1); x_52 = lean_array_push(x_51, x_50); -x_53 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_53 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_53); lean_ctor_set(x_54, 1, x_52); @@ -1893,16 +1741,16 @@ x_55 = lean_array_push(x_42, x_54); x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_44); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +x_57 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; lean_inc(x_31); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_31); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_59 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; x_60 = lean_array_push(x_59, x_35); x_61 = lean_array_push(x_60, x_56); x_62 = lean_array_push(x_61, x_58); -x_63 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_63 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; x_64 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_64, 0, x_63); lean_ctor_set(x_64, 1, x_62); @@ -1910,5529 +1758,4994 @@ x_65 = lean_array_push(x_42, x_64); x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_44); lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_68 = lean_array_push(x_67, x_66); -x_69 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_70 = lean_array_push(x_68, x_69); -x_71 = lean_array_push(x_70, x_69); -x_72 = lean_array_push(x_71, x_69); -x_73 = lean_array_push(x_72, x_69); -x_74 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_67 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_31); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_31); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_32); +lean_inc(x_33); +x_70 = l_Lean_addMacroScope(x_33, x_69, x_32); +x_71 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_31); +x_72 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_72, 0, x_31); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set(x_72, 2, x_70); +lean_ctor_set(x_72, 3, x_38); +x_73 = lean_array_push(x_46, x_72); +x_74 = lean_array_push(x_73, x_41); 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_Elab_Command_mkSimpleDelab___closed__30; +lean_ctor_set(x_75, 0, x_44); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; lean_inc(x_31); x_77 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_77, 0, x_31); lean_ctor_set(x_77, 1, x_76); -x_78 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; +x_78 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; lean_inc(x_32); lean_inc(x_33); x_79 = l_Lean_addMacroScope(x_33, x_78, x_32); x_80 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_81 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; lean_inc(x_31); -x_81 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_81, 0, x_31); -lean_ctor_set(x_81, 1, x_80); -lean_ctor_set(x_81, 2, x_79); -lean_ctor_set(x_81, 3, x_38); -x_82 = lean_array_push(x_46, x_81); -x_83 = lean_array_push(x_82, x_69); -x_84 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; -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 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +x_82 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_82, 0, x_31); +lean_ctor_set(x_82, 1, x_80); +lean_ctor_set(x_82, 2, x_79); +lean_ctor_set(x_82, 3, x_81); +x_83 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; lean_inc(x_31); -x_87 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_87, 0, x_31); -lean_ctor_set(x_87, 1, x_86); -x_88 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_32); -lean_inc(x_33); -x_89 = l_Lean_addMacroScope(x_33, x_88, x_32); -x_90 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_91 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; +x_84 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_84, 0, x_31); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; lean_inc(x_31); -x_92 = lean_alloc_ctor(3, 4, 0); +x_86 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_86, 0, x_31); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_31); +x_88 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_88, 0, x_31); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_31); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_31); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_31); +x_92 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_92, 0, x_31); -lean_ctor_set(x_92, 1, x_90); -lean_ctor_set(x_92, 2, x_89); -lean_ctor_set(x_92, 3, x_91); -x_93 = lean_array_push(x_46, x_87); -lean_inc(x_93); -x_94 = lean_array_push(x_93, x_92); -x_95 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_31); +x_94 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_94, 0, x_31); +lean_ctor_set(x_94, 1, x_93); +x_95 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_31); +x_96 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_96, 0, x_31); +lean_ctor_set(x_96, 1, x_95); x_97 = lean_array_push(x_42, x_96); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_44); -lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_100 = lean_array_push(x_99, x_98); -x_101 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_103 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_98 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; lean_inc(x_31); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_31); -lean_ctor_set(x_104, 1, x_103); -x_105 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_31); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_31); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +x_101 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_101, 0, x_31); +lean_ctor_set(x_101, 1, x_100); +x_102 = lean_array_push(x_59, x_94); +lean_inc(x_99); +lean_inc(x_102); +x_103 = lean_array_push(x_102, x_99); +lean_inc(x_101); +x_104 = lean_array_push(x_103, x_101); +x_105 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +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 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; lean_inc(x_31); x_108 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_108, 0, x_31); lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_31); -x_110 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_110, 0, x_31); -lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_31); -x_112 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_112, 0, x_31); -lean_ctor_set(x_112, 1, x_111); -x_113 = lean_array_push(x_42, x_112); -x_114 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -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 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_31); -x_117 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_117, 0, x_31); -lean_ctor_set(x_117, 1, x_116); -x_118 = lean_array_push(x_59, x_110); -lean_inc(x_115); -lean_inc(x_118); -x_119 = lean_array_push(x_118, x_115); -lean_inc(x_117); -x_120 = lean_array_push(x_119, x_117); -x_121 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -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___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_31); -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_31); -lean_ctor_set(x_124, 1, x_123); -x_125 = lean_array_push(x_93, x_124); -x_126 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +lean_inc(x_77); +x_109 = lean_array_push(x_46, x_77); +x_110 = lean_array_push(x_109, x_108); +x_111 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_110); +x_113 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_114 = lean_array_push(x_113, x_92); +x_115 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_116 = lean_array_push(x_114, x_115); +x_117 = lean_array_push(x_116, x_106); +x_118 = lean_array_push(x_117, x_112); +x_119 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +x_120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_118); +x_121 = lean_array_push(x_59, x_90); +lean_inc(x_121); +x_122 = lean_array_push(x_121, x_120); +lean_inc(x_101); +x_123 = lean_array_push(x_122, x_101); +x_124 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = lean_array_push(x_42, x_125); x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_126); -lean_ctor_set(x_127, 1, x_125); -x_128 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_129 = lean_array_push(x_128, x_108); -x_130 = lean_array_push(x_129, x_69); -x_131 = lean_array_push(x_130, x_122); -x_132 = lean_array_push(x_131, x_127); -x_133 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -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_59, x_106); -lean_inc(x_135); -x_136 = lean_array_push(x_135, x_134); -lean_inc(x_117); -x_137 = lean_array_push(x_136, x_117); -x_138 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -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_42, x_139); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_44); -lean_ctor_set(x_141, 1, x_140); -x_142 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +lean_ctor_set(x_127, 0, x_44); +lean_ctor_set(x_127, 1, x_126); +x_128 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; lean_inc(x_31); -x_143 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_143, 0, x_31); -lean_ctor_set(x_143, 1, x_142); -x_144 = lean_array_push(x_135, x_3); -lean_inc(x_117); -x_145 = lean_array_push(x_144, x_117); -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_138); -lean_ctor_set(x_146, 1, x_145); -x_147 = lean_array_push(x_128, x_104); -lean_inc(x_147); -x_148 = lean_array_push(x_147, x_141); -lean_inc(x_143); -x_149 = lean_array_push(x_148, x_143); -x_150 = lean_array_push(x_149, x_146); -x_151 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_150); -x_153 = lean_array_push(x_42, x_115); +x_129 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_129, 0, x_31); +lean_ctor_set(x_129, 1, x_128); +x_130 = lean_array_push(x_121, x_3); +lean_inc(x_101); +x_131 = lean_array_push(x_130, x_101); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_124); +lean_ctor_set(x_132, 1, x_131); +x_133 = lean_array_push(x_113, x_88); +lean_inc(x_133); +x_134 = lean_array_push(x_133, x_127); +lean_inc(x_129); +x_135 = lean_array_push(x_134, x_129); +x_136 = lean_array_push(x_135, x_132); +x_137 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_136); +x_139 = lean_array_push(x_42, x_99); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_44); +lean_ctor_set(x_140, 1, x_139); +x_141 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_142 = l_Lean_addMacroScope(x_33, x_141, x_32); +x_143 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_144 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_145 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_145, 0, x_31); +lean_ctor_set(x_145, 1, x_143); +lean_ctor_set(x_145, 2, x_142); +lean_ctor_set(x_145, 3, x_144); +x_146 = lean_array_push(x_102, x_115); +x_147 = lean_array_push(x_146, x_101); +x_148 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +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_42, x_149); +x_151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_151, 0, x_44); +lean_ctor_set(x_151, 1, x_150); +x_152 = lean_array_push(x_46, x_145); +x_153 = lean_array_push(x_152, x_151); x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_44); +lean_ctor_set(x_154, 0, x_7); lean_ctor_set(x_154, 1, x_153); -x_155 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_156 = l_Lean_addMacroScope(x_33, x_155, x_32); -x_157 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_158 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_159 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_159, 0, x_31); -lean_ctor_set(x_159, 1, x_157); -lean_ctor_set(x_159, 2, x_156); -lean_ctor_set(x_159, 3, x_158); -x_160 = lean_array_push(x_118, x_69); -x_161 = lean_array_push(x_160, x_117); -x_162 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -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_array_push(x_42, x_163); -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_44); -lean_ctor_set(x_165, 1, x_164); -x_166 = lean_array_push(x_46, x_159); -x_167 = lean_array_push(x_166, x_165); +x_155 = lean_array_push(x_133, x_140); +x_156 = lean_array_push(x_155, x_129); +x_157 = lean_array_push(x_156, x_154); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_137); +lean_ctor_set(x_158, 1, x_157); +x_159 = lean_array_push(x_46, x_138); +x_160 = lean_array_push(x_159, x_158); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_44); +lean_ctor_set(x_161, 1, x_160); +x_162 = lean_array_push(x_42, x_161); +x_163 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +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_46, x_86); +x_166 = lean_array_push(x_165, x_164); +x_167 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_7); -lean_ctor_set(x_168, 1, x_167); -x_169 = lean_array_push(x_147, x_154); -x_170 = lean_array_push(x_169, x_143); -x_171 = lean_array_push(x_170, x_168); -x_172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_172, 0, x_151); -lean_ctor_set(x_172, 1, x_171); -x_173 = lean_array_push(x_46, x_152); -x_174 = lean_array_push(x_173, x_172); -x_175 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_175, 0, x_44); -lean_ctor_set(x_175, 1, x_174); -x_176 = lean_array_push(x_42, x_175); -x_177 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +lean_ctor_set(x_168, 0, x_167); +lean_ctor_set(x_168, 1, x_166); +x_169 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_170 = lean_array_push(x_169, x_66); +x_171 = lean_array_push(x_170, x_68); +x_172 = lean_array_push(x_171, x_75); +x_173 = lean_array_push(x_172, x_77); +x_174 = lean_array_push(x_173, x_82); +x_175 = lean_array_push(x_174, x_84); +x_176 = lean_array_push(x_175, x_168); +x_177 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; x_178 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_178, 0, x_177); lean_ctor_set(x_178, 1, x_176); -x_179 = lean_array_push(x_46, x_178); -x_180 = lean_array_push(x_179, x_69); -x_181 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; -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_42, x_182); -x_184 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_183); -x_186 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_187 = lean_array_push(x_186, x_77); -x_188 = lean_array_push(x_187, x_85); -x_189 = lean_array_push(x_188, x_102); -x_190 = lean_array_push(x_189, x_185); -x_191 = lean_array_push(x_190, x_69); -x_192 = lean_array_push(x_191, x_69); -x_193 = lean_array_push(x_192, x_69); -x_194 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -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_46, x_75); -x_197 = lean_array_push(x_196, x_195); -x_198 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_197); -lean_ctor_set(x_29, 0, x_199); +lean_ctor_set(x_29, 0, x_178); return x_27; } 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; 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; 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; lean_object* x_322; lean_object* x_323; lean_object* x_324; 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; lean_object* x_332; 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; -x_200 = lean_ctor_get(x_29, 0); -lean_inc(x_200); +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; 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; 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; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; +x_179 = lean_ctor_get(x_29, 0); +lean_inc(x_179); lean_dec(x_29); -x_201 = lean_ctor_get(x_5, 2); -lean_inc(x_201); -x_202 = lean_ctor_get(x_5, 1); -lean_inc(x_202); +x_180 = lean_ctor_get(x_5, 2); +lean_inc(x_180); +x_181 = lean_ctor_get(x_5, 1); +lean_inc(x_181); lean_dec(x_5); -x_203 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_200); -x_204 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_204, 0, x_200); +x_182 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_179); +x_183 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_183, 0, x_179); +lean_ctor_set(x_183, 1, x_182); +x_184 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_180); +lean_inc(x_181); +x_185 = l_Lean_addMacroScope(x_181, x_184, x_180); +x_186 = lean_box(0); +x_187 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_179); +x_188 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_188, 0, x_179); +lean_ctor_set(x_188, 1, x_187); +lean_ctor_set(x_188, 2, x_185); +lean_ctor_set(x_188, 3, x_186); +x_189 = lean_mk_syntax_ident(x_26); +x_190 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_189); +x_191 = lean_array_push(x_190, x_189); +x_192 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_192); +lean_ctor_set(x_193, 1, x_191); +x_194 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_195 = lean_array_push(x_194, x_188); +x_196 = lean_array_push(x_195, x_193); +x_197 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_196); +x_199 = lean_array_push(x_194, x_1); +x_200 = lean_array_push(x_199, x_198); +x_201 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_200); +x_203 = lean_array_push(x_190, x_202); +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_192); lean_ctor_set(x_204, 1, x_203); -x_205 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_201); -lean_inc(x_202); -x_206 = l_Lean_addMacroScope(x_202, x_205, x_201); -x_207 = lean_box(0); -x_208 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_200); -x_209 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_209, 0, x_200); -lean_ctor_set(x_209, 1, x_208); -lean_ctor_set(x_209, 2, x_206); -lean_ctor_set(x_209, 3, x_207); -x_210 = lean_mk_syntax_ident(x_26); -x_211 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_212 = lean_array_push(x_211, x_210); -x_213 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_205 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_179); +x_206 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_206, 0, x_179); +lean_ctor_set(x_206, 1, x_205); +x_207 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_208 = lean_array_push(x_207, x_183); +x_209 = lean_array_push(x_208, x_204); +x_210 = lean_array_push(x_209, x_206); +x_211 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_210); +x_213 = lean_array_push(x_190, x_212); x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_212); -x_215 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_216 = lean_array_push(x_215, x_209); -x_217 = lean_array_push(x_216, x_214); -x_218 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; -x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_218); -lean_ctor_set(x_219, 1, x_217); -x_220 = lean_array_push(x_215, x_1); -x_221 = lean_array_push(x_220, x_219); -x_222 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +lean_ctor_set(x_214, 0, x_192); +lean_ctor_set(x_214, 1, x_213); +x_215 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_179); +x_216 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_216, 0, x_179); +lean_ctor_set(x_216, 1, x_215); +x_217 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_180); +lean_inc(x_181); +x_218 = l_Lean_addMacroScope(x_181, x_217, x_180); +x_219 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_179); +x_220 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_220, 0, x_179); +lean_ctor_set(x_220, 1, x_219); +lean_ctor_set(x_220, 2, x_218); +lean_ctor_set(x_220, 3, x_186); +x_221 = lean_array_push(x_194, x_220); +x_222 = lean_array_push(x_221, x_189); x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_221); -x_224 = lean_array_push(x_211, x_223); -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_213); +lean_ctor_set(x_223, 0, x_192); +lean_ctor_set(x_223, 1, x_222); +x_224 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_179); +x_225 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_225, 0, x_179); lean_ctor_set(x_225, 1, x_224); -x_226 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_200); -x_227 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_227, 0, x_200); -lean_ctor_set(x_227, 1, x_226); -x_228 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_229 = lean_array_push(x_228, x_204); -x_230 = lean_array_push(x_229, x_225); -x_231 = lean_array_push(x_230, x_227); -x_232 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_231); -x_234 = lean_array_push(x_211, x_233); -x_235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_235, 0, x_213); -lean_ctor_set(x_235, 1, x_234); -x_236 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_237 = lean_array_push(x_236, x_235); -x_238 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_239 = lean_array_push(x_237, x_238); -x_240 = lean_array_push(x_239, x_238); -x_241 = lean_array_push(x_240, x_238); -x_242 = lean_array_push(x_241, x_238); -x_243 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -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_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_200); -x_246 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_246, 0, x_200); -lean_ctor_set(x_246, 1, x_245); -x_247 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_201); -lean_inc(x_202); -x_248 = l_Lean_addMacroScope(x_202, x_247, x_201); -x_249 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_200); -x_250 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_250, 0, x_200); -lean_ctor_set(x_250, 1, x_249); -lean_ctor_set(x_250, 2, x_248); -lean_ctor_set(x_250, 3, x_207); -x_251 = lean_array_push(x_215, x_250); -x_252 = lean_array_push(x_251, x_238); -x_253 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_226 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_180); +lean_inc(x_181); +x_227 = l_Lean_addMacroScope(x_181, x_226, x_180); +x_228 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_229 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_179); +x_230 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_230, 0, x_179); +lean_ctor_set(x_230, 1, x_228); +lean_ctor_set(x_230, 2, x_227); +lean_ctor_set(x_230, 3, x_229); +x_231 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_179); +x_232 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_232, 0, x_179); +lean_ctor_set(x_232, 1, x_231); +x_233 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_179); +x_234 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_234, 0, x_179); +lean_ctor_set(x_234, 1, x_233); +x_235 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_179); +x_236 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_236, 0, x_179); +lean_ctor_set(x_236, 1, x_235); +x_237 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_179); +x_238 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_238, 0, x_179); +lean_ctor_set(x_238, 1, x_237); +x_239 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_179); +x_240 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_240, 0, x_179); +lean_ctor_set(x_240, 1, x_239); +x_241 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_179); +x_242 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_242, 0, x_179); +lean_ctor_set(x_242, 1, x_241); +x_243 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_179); +x_244 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_244, 0, x_179); +lean_ctor_set(x_244, 1, x_243); +x_245 = lean_array_push(x_190, x_244); +x_246 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_247 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_245); +x_248 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_179); +x_249 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_249, 0, x_179); +lean_ctor_set(x_249, 1, x_248); +x_250 = lean_array_push(x_207, x_242); +lean_inc(x_247); +lean_inc(x_250); +x_251 = lean_array_push(x_250, x_247); +lean_inc(x_249); +x_252 = lean_array_push(x_251, x_249); +x_253 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; x_254 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_254, 0, x_253); lean_ctor_set(x_254, 1, x_252); -x_255 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_200); +x_255 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_179); x_256 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_256, 0, x_200); +lean_ctor_set(x_256, 0, x_179); lean_ctor_set(x_256, 1, x_255); -x_257 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_201); -lean_inc(x_202); -x_258 = l_Lean_addMacroScope(x_202, x_257, x_201); -x_259 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_260 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_200); -x_261 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_261, 0, x_200); -lean_ctor_set(x_261, 1, x_259); -lean_ctor_set(x_261, 2, x_258); -lean_ctor_set(x_261, 3, x_260); -x_262 = lean_array_push(x_215, x_256); -lean_inc(x_262); -x_263 = lean_array_push(x_262, x_261); -x_264 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -x_266 = lean_array_push(x_211, x_265); -x_267 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_267, 0, x_213); -lean_ctor_set(x_267, 1, x_266); -x_268 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_269 = lean_array_push(x_268, x_267); -x_270 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -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 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_200); -x_273 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_273, 0, x_200); -lean_ctor_set(x_273, 1, x_272); -x_274 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_200); -x_275 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_275, 0, x_200); +lean_inc(x_225); +x_257 = lean_array_push(x_194, x_225); +x_258 = lean_array_push(x_257, x_256); +x_259 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +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 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_262 = lean_array_push(x_261, x_240); +x_263 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_264 = lean_array_push(x_262, x_263); +x_265 = lean_array_push(x_264, x_254); +x_266 = lean_array_push(x_265, x_260); +x_267 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_266); +x_269 = lean_array_push(x_207, x_238); +lean_inc(x_269); +x_270 = lean_array_push(x_269, x_268); +lean_inc(x_249); +x_271 = lean_array_push(x_270, x_249); +x_272 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +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_190, x_273); +x_275 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_275, 0, x_192); lean_ctor_set(x_275, 1, x_274); x_276 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_200); +lean_inc(x_179); x_277 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_277, 0, x_200); +lean_ctor_set(x_277, 0, x_179); lean_ctor_set(x_277, 1, x_276); -x_278 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_200); -x_279 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_279, 0, x_200); -lean_ctor_set(x_279, 1, x_278); -x_280 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_200); -x_281 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_281, 0, x_200); -lean_ctor_set(x_281, 1, x_280); -x_282 = lean_array_push(x_211, x_281); -x_283 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_283); -lean_ctor_set(x_284, 1, x_282); -x_285 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_200); -x_286 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_286, 0, x_200); -lean_ctor_set(x_286, 1, x_285); -x_287 = lean_array_push(x_228, x_279); -lean_inc(x_284); -lean_inc(x_287); -x_288 = lean_array_push(x_287, x_284); -lean_inc(x_286); -x_289 = lean_array_push(x_288, x_286); -x_290 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_289); -x_292 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_200); -x_293 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_293, 0, x_200); -lean_ctor_set(x_293, 1, x_292); -x_294 = lean_array_push(x_262, x_293); -x_295 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_295); -lean_ctor_set(x_296, 1, x_294); -x_297 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_298 = lean_array_push(x_297, x_277); -x_299 = lean_array_push(x_298, x_238); -x_300 = lean_array_push(x_299, x_291); -x_301 = lean_array_push(x_300, x_296); -x_302 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_302); -lean_ctor_set(x_303, 1, x_301); -x_304 = lean_array_push(x_228, x_275); -lean_inc(x_304); -x_305 = lean_array_push(x_304, x_303); -lean_inc(x_286); -x_306 = lean_array_push(x_305, x_286); -x_307 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -x_308 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_308, 0, x_307); -lean_ctor_set(x_308, 1, x_306); -x_309 = lean_array_push(x_211, x_308); -x_310 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_310, 0, x_213); -lean_ctor_set(x_310, 1, x_309); -x_311 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_200); -x_312 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_312, 0, x_200); -lean_ctor_set(x_312, 1, x_311); -x_313 = lean_array_push(x_304, x_3); -lean_inc(x_286); -x_314 = lean_array_push(x_313, x_286); -x_315 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_315, 0, x_307); -lean_ctor_set(x_315, 1, x_314); -x_316 = lean_array_push(x_297, x_273); -lean_inc(x_316); -x_317 = lean_array_push(x_316, x_310); -lean_inc(x_312); -x_318 = lean_array_push(x_317, x_312); -x_319 = lean_array_push(x_318, x_315); -x_320 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_321 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_321, 0, x_320); -lean_ctor_set(x_321, 1, x_319); -x_322 = lean_array_push(x_211, x_284); -x_323 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_323, 0, x_213); -lean_ctor_set(x_323, 1, x_322); -x_324 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_325 = l_Lean_addMacroScope(x_202, x_324, x_201); -x_326 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_327 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_328 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_328, 0, x_200); -lean_ctor_set(x_328, 1, x_326); -lean_ctor_set(x_328, 2, x_325); -lean_ctor_set(x_328, 3, x_327); -x_329 = lean_array_push(x_287, x_238); -x_330 = lean_array_push(x_329, x_286); -x_331 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_332 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_332, 0, x_331); -lean_ctor_set(x_332, 1, x_330); -x_333 = lean_array_push(x_211, x_332); -x_334 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_334, 0, x_213); -lean_ctor_set(x_334, 1, x_333); -x_335 = lean_array_push(x_215, x_328); -x_336 = lean_array_push(x_335, x_334); -x_337 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_337, 0, x_7); -lean_ctor_set(x_337, 1, x_336); -x_338 = lean_array_push(x_316, x_323); -x_339 = lean_array_push(x_338, x_312); -x_340 = lean_array_push(x_339, x_337); -x_341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_341, 0, x_320); -lean_ctor_set(x_341, 1, x_340); -x_342 = lean_array_push(x_215, x_321); -x_343 = lean_array_push(x_342, x_341); -x_344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_344, 0, x_213); -lean_ctor_set(x_344, 1, x_343); -x_345 = lean_array_push(x_211, x_344); -x_346 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; -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_215, x_347); -x_349 = lean_array_push(x_348, x_238); -x_350 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; -x_351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_351, 0, x_350); -lean_ctor_set(x_351, 1, x_349); -x_352 = lean_array_push(x_211, x_351); -x_353 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; -x_354 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_354, 0, x_353); -lean_ctor_set(x_354, 1, x_352); -x_355 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_356 = lean_array_push(x_355, x_246); -x_357 = lean_array_push(x_356, x_254); -x_358 = lean_array_push(x_357, x_271); -x_359 = lean_array_push(x_358, x_354); -x_360 = lean_array_push(x_359, x_238); -x_361 = lean_array_push(x_360, x_238); -x_362 = lean_array_push(x_361, x_238); -x_363 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_364 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_364, 0, x_363); -lean_ctor_set(x_364, 1, x_362); -x_365 = lean_array_push(x_215, x_244); -x_366 = lean_array_push(x_365, x_364); -x_367 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -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_alloc_ctor(1, 1, 0); -lean_ctor_set(x_369, 0, x_368); -lean_ctor_set(x_27, 0, x_369); +x_278 = lean_array_push(x_269, x_3); +lean_inc(x_249); +x_279 = lean_array_push(x_278, x_249); +x_280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_280, 0, x_272); +lean_ctor_set(x_280, 1, x_279); +x_281 = lean_array_push(x_261, x_236); +lean_inc(x_281); +x_282 = lean_array_push(x_281, x_275); +lean_inc(x_277); +x_283 = lean_array_push(x_282, x_277); +x_284 = lean_array_push(x_283, x_280); +x_285 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +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_array_push(x_190, x_247); +x_288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_288, 0, x_192); +lean_ctor_set(x_288, 1, x_287); +x_289 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_290 = l_Lean_addMacroScope(x_181, x_289, x_180); +x_291 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_292 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_293 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_293, 0, x_179); +lean_ctor_set(x_293, 1, x_291); +lean_ctor_set(x_293, 2, x_290); +lean_ctor_set(x_293, 3, x_292); +x_294 = lean_array_push(x_250, x_263); +x_295 = lean_array_push(x_294, x_249); +x_296 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +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_190, x_297); +x_299 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_299, 0, x_192); +lean_ctor_set(x_299, 1, x_298); +x_300 = lean_array_push(x_194, x_293); +x_301 = lean_array_push(x_300, x_299); +x_302 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_302, 0, x_7); +lean_ctor_set(x_302, 1, x_301); +x_303 = lean_array_push(x_281, x_288); +x_304 = lean_array_push(x_303, x_277); +x_305 = lean_array_push(x_304, x_302); +x_306 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_306, 0, x_285); +lean_ctor_set(x_306, 1, x_305); +x_307 = lean_array_push(x_194, x_286); +x_308 = lean_array_push(x_307, x_306); +x_309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_309, 0, x_192); +lean_ctor_set(x_309, 1, x_308); +x_310 = lean_array_push(x_190, x_309); +x_311 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_312 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_312, 0, x_311); +lean_ctor_set(x_312, 1, x_310); +x_313 = lean_array_push(x_194, x_234); +x_314 = lean_array_push(x_313, x_312); +x_315 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_316, 0, x_315); +lean_ctor_set(x_316, 1, x_314); +x_317 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_318 = lean_array_push(x_317, x_214); +x_319 = lean_array_push(x_318, x_216); +x_320 = lean_array_push(x_319, x_223); +x_321 = lean_array_push(x_320, x_225); +x_322 = lean_array_push(x_321, x_230); +x_323 = lean_array_push(x_322, x_232); +x_324 = lean_array_push(x_323, x_316); +x_325 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_326, 0, x_325); +lean_ctor_set(x_326, 1, x_324); +x_327 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_327, 0, x_326); +lean_ctor_set(x_27, 0, x_327); return x_27; } } else { -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; 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; 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_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; 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; 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; -x_370 = lean_ctor_get(x_27, 0); -x_371 = lean_ctor_get(x_27, 1); -lean_inc(x_371); -lean_inc(x_370); +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; 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; 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; 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_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; 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; +x_328 = lean_ctor_get(x_27, 0); +x_329 = lean_ctor_get(x_27, 1); +lean_inc(x_329); +lean_inc(x_328); lean_dec(x_27); -x_372 = lean_ctor_get(x_370, 0); -lean_inc(x_372); -if (lean_is_exclusive(x_370)) { - lean_ctor_release(x_370, 0); - x_373 = x_370; +x_330 = lean_ctor_get(x_328, 0); +lean_inc(x_330); +if (lean_is_exclusive(x_328)) { + lean_ctor_release(x_328, 0); + x_331 = x_328; } else { - lean_dec_ref(x_370); - x_373 = lean_box(0); + lean_dec_ref(x_328); + x_331 = lean_box(0); } -x_374 = lean_ctor_get(x_5, 2); -lean_inc(x_374); -x_375 = lean_ctor_get(x_5, 1); -lean_inc(x_375); +x_332 = lean_ctor_get(x_5, 2); +lean_inc(x_332); +x_333 = lean_ctor_get(x_5, 1); +lean_inc(x_333); lean_dec(x_5); -x_376 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_372); +x_334 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_330); +x_335 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_335, 0, x_330); +lean_ctor_set(x_335, 1, x_334); +x_336 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_332); +lean_inc(x_333); +x_337 = l_Lean_addMacroScope(x_333, x_336, x_332); +x_338 = lean_box(0); +x_339 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_330); +x_340 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_340, 0, x_330); +lean_ctor_set(x_340, 1, x_339); +lean_ctor_set(x_340, 2, x_337); +lean_ctor_set(x_340, 3, x_338); +x_341 = lean_mk_syntax_ident(x_26); +x_342 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_341); +x_343 = lean_array_push(x_342, x_341); +x_344 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_345 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_345, 0, x_344); +lean_ctor_set(x_345, 1, x_343); +x_346 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_347 = lean_array_push(x_346, x_340); +x_348 = lean_array_push(x_347, x_345); +x_349 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_350 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_350, 0, x_349); +lean_ctor_set(x_350, 1, x_348); +x_351 = lean_array_push(x_346, x_1); +x_352 = lean_array_push(x_351, x_350); +x_353 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_354, 0, x_353); +lean_ctor_set(x_354, 1, x_352); +x_355 = lean_array_push(x_342, x_354); +x_356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_356, 0, x_344); +lean_ctor_set(x_356, 1, x_355); +x_357 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_330); +x_358 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_358, 0, x_330); +lean_ctor_set(x_358, 1, x_357); +x_359 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_360 = lean_array_push(x_359, x_335); +x_361 = lean_array_push(x_360, x_356); +x_362 = lean_array_push(x_361, x_358); +x_363 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +x_364 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_364, 0, x_363); +lean_ctor_set(x_364, 1, x_362); +x_365 = lean_array_push(x_342, x_364); +x_366 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_366, 0, x_344); +lean_ctor_set(x_366, 1, x_365); +x_367 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_330); +x_368 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_368, 0, x_330); +lean_ctor_set(x_368, 1, x_367); +x_369 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_332); +lean_inc(x_333); +x_370 = l_Lean_addMacroScope(x_333, x_369, x_332); +x_371 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_330); +x_372 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_372, 0, x_330); +lean_ctor_set(x_372, 1, x_371); +lean_ctor_set(x_372, 2, x_370); +lean_ctor_set(x_372, 3, x_338); +x_373 = lean_array_push(x_346, x_372); +x_374 = lean_array_push(x_373, x_341); +x_375 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_375, 0, x_344); +lean_ctor_set(x_375, 1, x_374); +x_376 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_330); x_377 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_377, 0, x_372); +lean_ctor_set(x_377, 0, x_330); lean_ctor_set(x_377, 1, x_376); -x_378 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_374); -lean_inc(x_375); -x_379 = l_Lean_addMacroScope(x_375, x_378, x_374); -x_380 = lean_box(0); -x_381 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_372); +x_378 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_332); +lean_inc(x_333); +x_379 = l_Lean_addMacroScope(x_333, x_378, x_332); +x_380 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_381 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_330); x_382 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_382, 0, x_372); -lean_ctor_set(x_382, 1, x_381); +lean_ctor_set(x_382, 0, x_330); +lean_ctor_set(x_382, 1, x_380); lean_ctor_set(x_382, 2, x_379); -lean_ctor_set(x_382, 3, x_380); -x_383 = lean_mk_syntax_ident(x_26); -x_384 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_385 = lean_array_push(x_384, x_383); -x_386 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_387, 0, x_386); -lean_ctor_set(x_387, 1, x_385); -x_388 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_389 = lean_array_push(x_388, x_382); -x_390 = lean_array_push(x_389, x_387); -x_391 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; -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_388, x_1); -x_394 = lean_array_push(x_393, x_392); -x_395 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -x_396 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_396, 0, x_395); -lean_ctor_set(x_396, 1, x_394); -x_397 = lean_array_push(x_384, x_396); -x_398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_398, 0, x_386); -lean_ctor_set(x_398, 1, x_397); -x_399 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_372); -x_400 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_400, 0, x_372); -lean_ctor_set(x_400, 1, x_399); -x_401 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_402 = lean_array_push(x_401, x_377); -x_403 = lean_array_push(x_402, x_398); -x_404 = lean_array_push(x_403, x_400); -x_405 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +lean_ctor_set(x_382, 3, x_381); +x_383 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_330); +x_384 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_384, 0, x_330); +lean_ctor_set(x_384, 1, x_383); +x_385 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_330); +x_386 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_386, 0, x_330); +lean_ctor_set(x_386, 1, x_385); +x_387 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_330); +x_388 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_388, 0, x_330); +lean_ctor_set(x_388, 1, x_387); +x_389 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_330); +x_390 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_390, 0, x_330); +lean_ctor_set(x_390, 1, x_389); +x_391 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_330); +x_392 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_392, 0, x_330); +lean_ctor_set(x_392, 1, x_391); +x_393 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_330); +x_394 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_394, 0, x_330); +lean_ctor_set(x_394, 1, x_393); +x_395 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_330); +x_396 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_396, 0, x_330); +lean_ctor_set(x_396, 1, x_395); +x_397 = lean_array_push(x_342, x_396); +x_398 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_399 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_399, 0, x_398); +lean_ctor_set(x_399, 1, x_397); +x_400 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_330); +x_401 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_401, 0, x_330); +lean_ctor_set(x_401, 1, x_400); +x_402 = lean_array_push(x_359, x_394); +lean_inc(x_399); +lean_inc(x_402); +x_403 = lean_array_push(x_402, x_399); +lean_inc(x_401); +x_404 = lean_array_push(x_403, x_401); +x_405 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; x_406 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_406, 0, x_405); lean_ctor_set(x_406, 1, x_404); -x_407 = lean_array_push(x_384, x_406); -x_408 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_408, 0, x_386); +x_407 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_330); +x_408 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_408, 0, x_330); lean_ctor_set(x_408, 1, x_407); -x_409 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; +lean_inc(x_377); +x_409 = lean_array_push(x_346, x_377); x_410 = lean_array_push(x_409, x_408); -x_411 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_412 = lean_array_push(x_410, x_411); -x_413 = lean_array_push(x_412, x_411); -x_414 = lean_array_push(x_413, x_411); -x_415 = lean_array_push(x_414, x_411); -x_416 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -x_417 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_417, 0, x_416); -lean_ctor_set(x_417, 1, x_415); -x_418 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_372); -x_419 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_419, 0, x_372); -lean_ctor_set(x_419, 1, x_418); -x_420 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_374); -lean_inc(x_375); -x_421 = l_Lean_addMacroScope(x_375, x_420, x_374); -x_422 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_372); -x_423 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_423, 0, x_372); -lean_ctor_set(x_423, 1, x_422); -lean_ctor_set(x_423, 2, x_421); -lean_ctor_set(x_423, 3, x_380); -x_424 = lean_array_push(x_388, x_423); -x_425 = lean_array_push(x_424, x_411); -x_426 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_411 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_412, 0, x_411); +lean_ctor_set(x_412, 1, x_410); +x_413 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_414 = lean_array_push(x_413, x_392); +x_415 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_416 = lean_array_push(x_414, x_415); +x_417 = lean_array_push(x_416, x_406); +x_418 = lean_array_push(x_417, x_412); +x_419 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +x_420 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_420, 0, x_419); +lean_ctor_set(x_420, 1, x_418); +x_421 = lean_array_push(x_359, x_390); +lean_inc(x_421); +x_422 = lean_array_push(x_421, x_420); +lean_inc(x_401); +x_423 = lean_array_push(x_422, x_401); +x_424 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +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_342, x_425); x_427 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_427, 0, x_426); -lean_ctor_set(x_427, 1, x_425); -x_428 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_372); +lean_ctor_set(x_427, 0, x_344); +lean_ctor_set(x_427, 1, x_426); +x_428 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_330); x_429 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_429, 0, x_372); +lean_ctor_set(x_429, 0, x_330); lean_ctor_set(x_429, 1, x_428); -x_430 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_374); -lean_inc(x_375); -x_431 = l_Lean_addMacroScope(x_375, x_430, x_374); -x_432 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_433 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_372); -x_434 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_434, 0, x_372); -lean_ctor_set(x_434, 1, x_432); -lean_ctor_set(x_434, 2, x_431); -lean_ctor_set(x_434, 3, x_433); -x_435 = lean_array_push(x_388, x_429); -lean_inc(x_435); -x_436 = lean_array_push(x_435, x_434); -x_437 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_430 = lean_array_push(x_421, x_3); +lean_inc(x_401); +x_431 = lean_array_push(x_430, x_401); +x_432 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_432, 0, x_424); +lean_ctor_set(x_432, 1, x_431); +x_433 = lean_array_push(x_413, x_388); +lean_inc(x_433); +x_434 = lean_array_push(x_433, x_427); +lean_inc(x_429); +x_435 = lean_array_push(x_434, x_429); +x_436 = lean_array_push(x_435, x_432); +x_437 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; x_438 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_438, 0, x_437); lean_ctor_set(x_438, 1, x_436); -x_439 = lean_array_push(x_384, x_438); +x_439 = lean_array_push(x_342, x_399); x_440 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_440, 0, x_386); +lean_ctor_set(x_440, 0, x_344); lean_ctor_set(x_440, 1, x_439); -x_441 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_442 = lean_array_push(x_441, x_440); -x_443 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_444, 0, x_443); -lean_ctor_set(x_444, 1, x_442); -x_445 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_372); -x_446 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_446, 0, x_372); -lean_ctor_set(x_446, 1, x_445); -x_447 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_372); -x_448 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_448, 0, x_372); -lean_ctor_set(x_448, 1, x_447); -x_449 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_372); -x_450 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_450, 0, x_372); -lean_ctor_set(x_450, 1, x_449); -x_451 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_372); -x_452 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_452, 0, x_372); -lean_ctor_set(x_452, 1, x_451); -x_453 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_372); -x_454 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_454, 0, x_372); +x_441 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_442 = l_Lean_addMacroScope(x_333, x_441, x_332); +x_443 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_444 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_445 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_445, 0, x_330); +lean_ctor_set(x_445, 1, x_443); +lean_ctor_set(x_445, 2, x_442); +lean_ctor_set(x_445, 3, x_444); +x_446 = lean_array_push(x_402, x_415); +x_447 = lean_array_push(x_446, x_401); +x_448 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_449, 0, x_448); +lean_ctor_set(x_449, 1, x_447); +x_450 = lean_array_push(x_342, x_449); +x_451 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_451, 0, x_344); +lean_ctor_set(x_451, 1, x_450); +x_452 = lean_array_push(x_346, x_445); +x_453 = lean_array_push(x_452, x_451); +x_454 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_454, 0, x_7); lean_ctor_set(x_454, 1, x_453); -x_455 = lean_array_push(x_384, x_454); -x_456 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_457 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_457, 0, x_456); -lean_ctor_set(x_457, 1, x_455); -x_458 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_372); -x_459 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_459, 0, x_372); -lean_ctor_set(x_459, 1, x_458); -x_460 = lean_array_push(x_401, x_452); -lean_inc(x_457); -lean_inc(x_460); -x_461 = lean_array_push(x_460, x_457); -lean_inc(x_459); -x_462 = lean_array_push(x_461, x_459); -x_463 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; +x_455 = lean_array_push(x_433, x_440); +x_456 = lean_array_push(x_455, x_429); +x_457 = lean_array_push(x_456, x_454); +x_458 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_458, 0, x_437); +lean_ctor_set(x_458, 1, x_457); +x_459 = lean_array_push(x_346, x_438); +x_460 = lean_array_push(x_459, x_458); +x_461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_461, 0, x_344); +lean_ctor_set(x_461, 1, x_460); +x_462 = lean_array_push(x_342, x_461); +x_463 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; x_464 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_464, 0, x_463); lean_ctor_set(x_464, 1, x_462); -x_465 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_372); -x_466 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_466, 0, x_372); -lean_ctor_set(x_466, 1, x_465); -x_467 = lean_array_push(x_435, x_466); -x_468 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; -x_469 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_469, 0, x_468); -lean_ctor_set(x_469, 1, x_467); -x_470 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_471 = lean_array_push(x_470, x_450); -x_472 = lean_array_push(x_471, x_411); -x_473 = lean_array_push(x_472, x_464); -x_474 = lean_array_push(x_473, x_469); -x_475 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_476 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_476, 0, x_475); -lean_ctor_set(x_476, 1, x_474); -x_477 = lean_array_push(x_401, x_448); -lean_inc(x_477); -x_478 = lean_array_push(x_477, x_476); -lean_inc(x_459); -x_479 = lean_array_push(x_478, x_459); -x_480 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -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_384, x_481); -x_483 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_483, 0, x_386); -lean_ctor_set(x_483, 1, x_482); -x_484 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_372); -x_485 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_485, 0, x_372); -lean_ctor_set(x_485, 1, x_484); -x_486 = lean_array_push(x_477, x_3); -lean_inc(x_459); -x_487 = lean_array_push(x_486, x_459); -x_488 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_488, 0, x_480); -lean_ctor_set(x_488, 1, x_487); -x_489 = lean_array_push(x_470, x_446); -lean_inc(x_489); -x_490 = lean_array_push(x_489, x_483); -lean_inc(x_485); -x_491 = lean_array_push(x_490, x_485); -x_492 = lean_array_push(x_491, x_488); -x_493 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_494 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_494, 0, x_493); -lean_ctor_set(x_494, 1, x_492); -x_495 = lean_array_push(x_384, x_457); -x_496 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_496, 0, x_386); -lean_ctor_set(x_496, 1, x_495); -x_497 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_498 = l_Lean_addMacroScope(x_375, x_497, x_374); -x_499 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_500 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_501 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_501, 0, x_372); -lean_ctor_set(x_501, 1, x_499); -lean_ctor_set(x_501, 2, x_498); -lean_ctor_set(x_501, 3, x_500); -x_502 = lean_array_push(x_460, x_411); -x_503 = lean_array_push(x_502, x_459); -x_504 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_505 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_505, 0, x_504); -lean_ctor_set(x_505, 1, x_503); -x_506 = lean_array_push(x_384, x_505); -x_507 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_507, 0, x_386); -lean_ctor_set(x_507, 1, x_506); -x_508 = lean_array_push(x_388, x_501); -x_509 = lean_array_push(x_508, x_507); -x_510 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_510, 0, x_7); -lean_ctor_set(x_510, 1, x_509); -x_511 = lean_array_push(x_489, x_496); -x_512 = lean_array_push(x_511, x_485); -x_513 = lean_array_push(x_512, x_510); -x_514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_514, 0, x_493); -lean_ctor_set(x_514, 1, x_513); -x_515 = lean_array_push(x_388, x_494); -x_516 = lean_array_push(x_515, x_514); -x_517 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_517, 0, x_386); -lean_ctor_set(x_517, 1, x_516); -x_518 = lean_array_push(x_384, x_517); -x_519 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; -x_520 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_520, 0, x_519); -lean_ctor_set(x_520, 1, x_518); -x_521 = lean_array_push(x_388, x_520); -x_522 = lean_array_push(x_521, x_411); -x_523 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; -x_524 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_524, 0, x_523); -lean_ctor_set(x_524, 1, x_522); -x_525 = lean_array_push(x_384, x_524); -x_526 = l_Lean_Elab_Command_mkSimpleDelab___closed__54; -x_527 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_527, 0, x_526); -lean_ctor_set(x_527, 1, x_525); -x_528 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_529 = lean_array_push(x_528, x_419); -x_530 = lean_array_push(x_529, x_427); -x_531 = lean_array_push(x_530, x_444); -x_532 = lean_array_push(x_531, x_527); -x_533 = lean_array_push(x_532, x_411); -x_534 = lean_array_push(x_533, x_411); -x_535 = lean_array_push(x_534, x_411); -x_536 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_537 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_537, 0, x_536); -lean_ctor_set(x_537, 1, x_535); -x_538 = lean_array_push(x_388, x_417); -x_539 = lean_array_push(x_538, x_537); -x_540 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_541 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_541, 0, x_540); -lean_ctor_set(x_541, 1, x_539); -if (lean_is_scalar(x_373)) { - x_542 = lean_alloc_ctor(1, 1, 0); +x_465 = lean_array_push(x_346, x_386); +x_466 = lean_array_push(x_465, x_464); +x_467 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_468 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_468, 0, x_467); +lean_ctor_set(x_468, 1, x_466); +x_469 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_470 = lean_array_push(x_469, x_366); +x_471 = lean_array_push(x_470, x_368); +x_472 = lean_array_push(x_471, x_375); +x_473 = lean_array_push(x_472, x_377); +x_474 = lean_array_push(x_473, x_382); +x_475 = lean_array_push(x_474, x_384); +x_476 = lean_array_push(x_475, x_468); +x_477 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_478 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_478, 0, x_477); +lean_ctor_set(x_478, 1, x_476); +if (lean_is_scalar(x_331)) { + x_479 = lean_alloc_ctor(1, 1, 0); } else { - x_542 = x_373; + x_479 = x_331; } -lean_ctor_set(x_542, 0, x_541); -x_543 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_543, 0, x_542); -lean_ctor_set(x_543, 1, x_371); -return x_543; +lean_ctor_set(x_479, 0, x_478); +x_480 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_480, 0, x_479); +lean_ctor_set(x_480, 1, x_329); +return x_480; } } else { -uint8_t x_544; +uint8_t x_481; lean_dec(x_24); lean_dec(x_22); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_544 = !lean_is_exclusive(x_14); -if (x_544 == 0) +x_481 = !lean_is_exclusive(x_14); +if (x_481 == 0) { -lean_object* x_545; lean_object* x_546; -x_545 = lean_ctor_get(x_14, 0); -lean_dec(x_545); -x_546 = lean_box(0); -lean_ctor_set(x_14, 0, x_546); +lean_object* x_482; lean_object* x_483; +x_482 = lean_ctor_get(x_14, 0); +lean_dec(x_482); +x_483 = lean_box(0); +lean_ctor_set(x_14, 0, x_483); return x_14; } else { -lean_object* x_547; lean_object* x_548; lean_object* x_549; -x_547 = lean_ctor_get(x_14, 1); -lean_inc(x_547); +lean_object* x_484; lean_object* x_485; lean_object* x_486; +x_484 = lean_ctor_get(x_14, 1); +lean_inc(x_484); lean_dec(x_14); -x_548 = lean_box(0); -x_549 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_549, 0, x_548); -lean_ctor_set(x_549, 1, x_547); -return x_549; +x_485 = lean_box(0); +x_486 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_486, 0, x_485); +lean_ctor_set(x_486, 1, x_484); +return x_486; } } } else { -uint8_t x_550; +uint8_t x_487; lean_dec(x_23); lean_dec(x_22); lean_dec(x_15); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_550 = !lean_is_exclusive(x_14); -if (x_550 == 0) +x_487 = !lean_is_exclusive(x_14); +if (x_487 == 0) { -lean_object* x_551; lean_object* x_552; -x_551 = lean_ctor_get(x_14, 0); -lean_dec(x_551); -x_552 = lean_box(0); -lean_ctor_set(x_14, 0, x_552); +lean_object* x_488; lean_object* x_489; +x_488 = lean_ctor_get(x_14, 0); +lean_dec(x_488); +x_489 = lean_box(0); +lean_ctor_set(x_14, 0, x_489); return x_14; } else { -lean_object* x_553; lean_object* x_554; lean_object* x_555; -x_553 = lean_ctor_get(x_14, 1); -lean_inc(x_553); +lean_object* x_490; lean_object* x_491; lean_object* x_492; +x_490 = lean_ctor_get(x_14, 1); +lean_inc(x_490); lean_dec(x_14); -x_554 = lean_box(0); -x_555 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_555, 0, x_554); -lean_ctor_set(x_555, 1, x_553); -return x_555; +x_491 = lean_box(0); +x_492 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_492, 0, x_491); +lean_ctor_set(x_492, 1, x_490); +return x_492; } } } } else { -uint8_t x_556; +uint8_t x_493; lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_556 = !lean_is_exclusive(x_14); -if (x_556 == 0) +x_493 = !lean_is_exclusive(x_14); +if (x_493 == 0) { return x_14; } else { -lean_object* x_557; lean_object* x_558; lean_object* x_559; -x_557 = lean_ctor_get(x_14, 0); -x_558 = lean_ctor_get(x_14, 1); -lean_inc(x_558); -lean_inc(x_557); +lean_object* x_494; lean_object* x_495; lean_object* x_496; +x_494 = lean_ctor_get(x_14, 0); +x_495 = lean_ctor_get(x_14, 1); +lean_inc(x_495); +lean_inc(x_494); lean_dec(x_14); -x_559 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_559, 0, x_557); -lean_ctor_set(x_559, 1, x_558); -return x_559; +x_496 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_496, 0, x_494); +lean_ctor_set(x_496, 1, x_495); +return x_496; } } } } else { -lean_object* x_560; lean_object* x_561; lean_object* x_562; uint8_t x_563; -x_560 = lean_unsigned_to_nat(0u); -x_561 = l_Lean_Syntax_getArg(x_4, x_560); -x_562 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2; -lean_inc(x_561); -x_563 = l_Lean_Syntax_isOfKind(x_561, x_562); -if (x_563 == 0) +lean_object* x_497; lean_object* x_498; lean_object* x_499; uint8_t x_500; +x_497 = lean_unsigned_to_nat(0u); +x_498 = l_Lean_Syntax_getArg(x_4, x_497); +x_499 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2; +lean_inc(x_498); +x_500 = l_Lean_Syntax_isOfKind(x_498, x_499); +if (x_500 == 0) { -lean_object* x_564; lean_object* x_565; -lean_dec(x_561); +lean_object* x_501; lean_object* x_502; +lean_dec(x_498); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_564 = lean_box(0); -x_565 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_565, 0, x_564); -lean_ctor_set(x_565, 1, x_6); -return x_565; +x_501 = lean_box(0); +x_502 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_502, 0, x_501); +lean_ctor_set(x_502, 1, x_6); +return x_502; } else { -lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; -x_566 = lean_unsigned_to_nat(1u); -x_567 = l_Lean_Syntax_getArg(x_4, x_566); +lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; +x_503 = lean_unsigned_to_nat(1u); +x_504 = l_Lean_Syntax_getArg(x_4, x_503); lean_dec(x_4); -x_568 = l_Lean_Syntax_getArgs(x_567); -lean_dec(x_567); -x_569 = l_Lean_Syntax_getId(x_561); -lean_dec(x_561); +x_505 = l_Lean_Syntax_getArgs(x_504); +lean_dec(x_504); +x_506 = l_Lean_Syntax_getId(x_498); +lean_dec(x_498); lean_inc(x_5); -x_570 = l_Lean_Macro_resolveGlobalName(x_569, x_5, x_6); -if (lean_obj_tag(x_570) == 0) +x_507 = l_Lean_Macro_resolveGlobalName(x_506, x_5, x_6); +if (lean_obj_tag(x_507) == 0) { -lean_object* x_571; -x_571 = lean_ctor_get(x_570, 0); -lean_inc(x_571); -if (lean_obj_tag(x_571) == 0) +lean_object* x_508; +x_508 = lean_ctor_get(x_507, 0); +lean_inc(x_508); +if (lean_obj_tag(x_508) == 0) { -uint8_t x_572; -lean_dec(x_568); +uint8_t x_509; +lean_dec(x_505); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_572 = !lean_is_exclusive(x_570); -if (x_572 == 0) +x_509 = !lean_is_exclusive(x_507); +if (x_509 == 0) { -lean_object* x_573; lean_object* x_574; -x_573 = lean_ctor_get(x_570, 0); -lean_dec(x_573); -x_574 = lean_box(0); -lean_ctor_set(x_570, 0, x_574); -return x_570; +lean_object* x_510; lean_object* x_511; +x_510 = lean_ctor_get(x_507, 0); +lean_dec(x_510); +x_511 = lean_box(0); +lean_ctor_set(x_507, 0, x_511); +return x_507; } else { -lean_object* x_575; lean_object* x_576; lean_object* x_577; -x_575 = lean_ctor_get(x_570, 1); -lean_inc(x_575); -lean_dec(x_570); -x_576 = lean_box(0); -x_577 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_577, 0, x_576); -lean_ctor_set(x_577, 1, x_575); -return x_577; +lean_object* x_512; lean_object* x_513; lean_object* x_514; +x_512 = lean_ctor_get(x_507, 1); +lean_inc(x_512); +lean_dec(x_507); +x_513 = lean_box(0); +x_514 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_514, 0, x_513); +lean_ctor_set(x_514, 1, x_512); +return x_514; } } else { -lean_object* x_578; lean_object* x_579; -x_578 = lean_ctor_get(x_571, 0); -lean_inc(x_578); -x_579 = lean_ctor_get(x_578, 1); -lean_inc(x_579); -if (lean_obj_tag(x_579) == 0) +lean_object* x_515; lean_object* x_516; +x_515 = lean_ctor_get(x_508, 0); +lean_inc(x_515); +x_516 = lean_ctor_get(x_515, 1); +lean_inc(x_516); +if (lean_obj_tag(x_516) == 0) { -lean_object* x_580; -x_580 = lean_ctor_get(x_571, 1); -lean_inc(x_580); -lean_dec(x_571); -if (lean_obj_tag(x_580) == 0) +lean_object* x_517; +x_517 = lean_ctor_get(x_508, 1); +lean_inc(x_517); +lean_dec(x_508); +if (lean_obj_tag(x_517) == 0) { -uint8_t x_581; -x_581 = !lean_is_exclusive(x_570); -if (x_581 == 0) +uint8_t x_518; +x_518 = !lean_is_exclusive(x_507); +if (x_518 == 0) { -lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; uint8_t x_586; -x_582 = lean_ctor_get(x_570, 1); -x_583 = lean_ctor_get(x_570, 0); -lean_dec(x_583); -x_584 = lean_ctor_get(x_578, 0); -lean_inc(x_584); -lean_dec(x_578); -x_585 = lean_array_get_size(x_568); -x_586 = lean_nat_dec_lt(x_560, x_585); -if (x_586 == 0) +lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; uint8_t x_523; +x_519 = lean_ctor_get(x_507, 1); +x_520 = lean_ctor_get(x_507, 0); +lean_dec(x_520); +x_521 = lean_ctor_get(x_515, 0); +lean_inc(x_521); +lean_dec(x_515); +x_522 = lean_array_get_size(x_505); +x_523 = lean_nat_dec_lt(x_497, x_522); +if (x_523 == 0) { -uint8_t x_587; -lean_dec(x_585); -x_587 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_568, x_560); -if (x_587 == 0) +uint8_t x_524; +lean_dec(x_522); +x_524 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_505, x_497); +if (x_524 == 0) { -lean_object* x_588; -lean_dec(x_584); -lean_dec(x_568); +lean_object* x_525; +lean_dec(x_521); +lean_dec(x_505); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_588 = lean_box(0); -lean_ctor_set(x_570, 0, x_588); -return x_570; +x_525 = lean_box(0); +lean_ctor_set(x_507, 0, x_525); +return x_507; } else { -lean_object* x_589; uint8_t x_590; -lean_free_object(x_570); +lean_object* x_526; uint8_t x_527; +lean_free_object(x_507); lean_inc(x_5); -x_589 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_582); -x_590 = !lean_is_exclusive(x_589); -if (x_590 == 0) +x_526 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_519); +x_527 = !lean_is_exclusive(x_526); +if (x_527 == 0) { -lean_object* x_591; uint8_t x_592; -x_591 = lean_ctor_get(x_589, 0); -x_592 = !lean_is_exclusive(x_591); -if (x_592 == 0) +lean_object* x_528; uint8_t x_529; +x_528 = lean_ctor_get(x_526, 0); +x_529 = !lean_is_exclusive(x_528); +if (x_529 == 0) { -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_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; 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; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; 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_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; -x_593 = lean_ctor_get(x_591, 0); -x_594 = lean_ctor_get(x_5, 2); -lean_inc(x_594); -x_595 = lean_ctor_get(x_5, 1); -lean_inc(x_595); +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; 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_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; 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; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; +x_530 = lean_ctor_get(x_528, 0); +x_531 = lean_ctor_get(x_5, 2); +lean_inc(x_531); +x_532 = lean_ctor_get(x_5, 1); +lean_inc(x_532); lean_dec(x_5); -x_596 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_593); -x_597 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_597, 0, x_593); -lean_ctor_set(x_597, 1, x_596); -x_598 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_594); -lean_inc(x_595); -x_599 = l_Lean_addMacroScope(x_595, x_598, x_594); -x_600 = lean_box(0); -x_601 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_593); -x_602 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_602, 0, x_593); -lean_ctor_set(x_602, 1, x_601); -lean_ctor_set(x_602, 2, x_599); -lean_ctor_set(x_602, 3, x_600); -x_603 = lean_mk_syntax_ident(x_584); -x_604 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_605 = lean_array_push(x_604, x_603); -x_606 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_607 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_607, 0, x_606); -lean_ctor_set(x_607, 1, x_605); -x_608 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_609 = lean_array_push(x_608, x_602); -x_610 = lean_array_push(x_609, x_607); -x_611 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; -x_612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_612, 0, x_611); -lean_ctor_set(x_612, 1, x_610); -x_613 = lean_array_push(x_608, x_1); -x_614 = lean_array_push(x_613, x_612); -x_615 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -x_616 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_616, 0, x_615); -lean_ctor_set(x_616, 1, x_614); -x_617 = lean_array_push(x_604, x_616); -x_618 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_618, 0, x_606); -lean_ctor_set(x_618, 1, x_617); -x_619 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_593); -x_620 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_620, 0, x_593); -lean_ctor_set(x_620, 1, x_619); -x_621 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_622 = lean_array_push(x_621, x_597); -x_623 = lean_array_push(x_622, x_618); -x_624 = lean_array_push(x_623, x_620); -x_625 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; -x_626 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_626, 0, x_625); -lean_ctor_set(x_626, 1, x_624); -x_627 = lean_array_push(x_604, x_626); -x_628 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_628, 0, x_606); -lean_ctor_set(x_628, 1, x_627); -x_629 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_630 = lean_array_push(x_629, x_628); -x_631 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_632 = lean_array_push(x_630, x_631); -x_633 = lean_array_push(x_632, x_631); -x_634 = lean_array_push(x_633, x_631); -x_635 = lean_array_push(x_634, x_631); -x_636 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_533 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_530); +x_534 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_534, 0, x_530); +lean_ctor_set(x_534, 1, x_533); +x_535 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_531); +lean_inc(x_532); +x_536 = l_Lean_addMacroScope(x_532, x_535, x_531); +x_537 = lean_box(0); +x_538 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_530); +x_539 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_539, 0, x_530); +lean_ctor_set(x_539, 1, x_538); +lean_ctor_set(x_539, 2, x_536); +lean_ctor_set(x_539, 3, x_537); +x_540 = lean_mk_syntax_ident(x_521); +x_541 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_540); +x_542 = lean_array_push(x_541, x_540); +x_543 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_544 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_544, 0, x_543); +lean_ctor_set(x_544, 1, x_542); +x_545 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_546 = lean_array_push(x_545, x_539); +x_547 = lean_array_push(x_546, x_544); +x_548 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_549 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_549, 0, x_548); +lean_ctor_set(x_549, 1, x_547); +x_550 = lean_array_push(x_545, x_1); +x_551 = lean_array_push(x_550, x_549); +x_552 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +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_541, x_553); +x_555 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_555, 0, x_543); +lean_ctor_set(x_555, 1, x_554); +x_556 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_530); +x_557 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_557, 0, x_530); +lean_ctor_set(x_557, 1, x_556); +x_558 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_559 = lean_array_push(x_558, x_534); +x_560 = lean_array_push(x_559, x_555); +x_561 = lean_array_push(x_560, x_557); +x_562 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +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_541, x_563); +x_565 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_565, 0, x_543); +lean_ctor_set(x_565, 1, x_564); +x_566 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_530); +x_567 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_567, 0, x_530); +lean_ctor_set(x_567, 1, x_566); +x_568 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_531); +lean_inc(x_532); +x_569 = l_Lean_addMacroScope(x_532, x_568, x_531); +x_570 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_530); +x_571 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_571, 0, x_530); +lean_ctor_set(x_571, 1, x_570); +lean_ctor_set(x_571, 2, x_569); +lean_ctor_set(x_571, 3, x_537); +x_572 = lean_array_push(x_545, x_571); +x_573 = lean_array_push(x_572, x_540); +x_574 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_574, 0, x_543); +lean_ctor_set(x_574, 1, x_573); +x_575 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_530); +x_576 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_576, 0, x_530); +lean_ctor_set(x_576, 1, x_575); +x_577 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_531); +lean_inc(x_532); +x_578 = l_Lean_addMacroScope(x_532, x_577, x_531); +x_579 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_580 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_530); +x_581 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_581, 0, x_530); +lean_ctor_set(x_581, 1, x_579); +lean_ctor_set(x_581, 2, x_578); +lean_ctor_set(x_581, 3, x_580); +x_582 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_530); +x_583 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_583, 0, x_530); +lean_ctor_set(x_583, 1, x_582); +x_584 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_530); +x_585 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_585, 0, x_530); +lean_ctor_set(x_585, 1, x_584); +x_586 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_530); +x_587 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_587, 0, x_530); +lean_ctor_set(x_587, 1, x_586); +x_588 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_530); +x_589 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_589, 0, x_530); +lean_ctor_set(x_589, 1, x_588); +x_590 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_530); +x_591 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_591, 0, x_530); +lean_ctor_set(x_591, 1, x_590); +x_592 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_530); +x_593 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_593, 0, x_530); +lean_ctor_set(x_593, 1, x_592); +x_594 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_530); +x_595 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_595, 0, x_530); +lean_ctor_set(x_595, 1, x_594); +x_596 = lean_array_push(x_541, x_595); +x_597 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_598 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_598, 0, x_597); +lean_ctor_set(x_598, 1, x_596); +x_599 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_530); +x_600 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_600, 0, x_530); +lean_ctor_set(x_600, 1, x_599); +x_601 = lean_array_push(x_558, x_593); +lean_inc(x_598); +lean_inc(x_601); +x_602 = lean_array_push(x_601, x_598); +lean_inc(x_600); +x_603 = lean_array_push(x_602, x_600); +x_604 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_605 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_605, 0, x_604); +lean_ctor_set(x_605, 1, x_603); +x_606 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_530); +x_607 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_607, 0, x_530); +lean_ctor_set(x_607, 1, x_606); +lean_inc(x_576); +x_608 = lean_array_push(x_545, x_576); +x_609 = lean_array_push(x_608, x_607); +x_610 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +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 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_613 = lean_array_push(x_612, x_591); +x_614 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_615 = lean_array_push(x_613, x_614); +x_616 = lean_array_push(x_615, x_605); +x_617 = lean_array_push(x_616, x_611); +x_618 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +x_619 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_619, 0, x_618); +lean_ctor_set(x_619, 1, x_617); +x_620 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_621 = l_Array_append___rarg(x_620, x_505); +x_622 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_622, 0, x_543); +lean_ctor_set(x_622, 1, x_621); +x_623 = lean_array_push(x_545, x_619); +x_624 = lean_array_push(x_623, x_622); +x_625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_625, 0, x_7); +lean_ctor_set(x_625, 1, x_624); +x_626 = lean_array_push(x_558, x_589); +lean_inc(x_626); +x_627 = lean_array_push(x_626, x_625); +lean_inc(x_600); +x_628 = lean_array_push(x_627, x_600); +x_629 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_630 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_630, 0, x_629); +lean_ctor_set(x_630, 1, x_628); +x_631 = lean_array_push(x_541, x_630); +x_632 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_632, 0, x_543); +lean_ctor_set(x_632, 1, x_631); +x_633 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_530); +x_634 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_634, 0, x_530); +lean_ctor_set(x_634, 1, x_633); +x_635 = lean_array_push(x_626, x_3); +lean_inc(x_600); +x_636 = lean_array_push(x_635, x_600); x_637 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_637, 0, x_636); -lean_ctor_set(x_637, 1, x_635); -x_638 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_593); -x_639 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_639, 0, x_593); -lean_ctor_set(x_639, 1, x_638); -x_640 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_594); -lean_inc(x_595); -x_641 = l_Lean_addMacroScope(x_595, x_640, x_594); -x_642 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_593); -x_643 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_643, 0, x_593); -lean_ctor_set(x_643, 1, x_642); -lean_ctor_set(x_643, 2, x_641); -lean_ctor_set(x_643, 3, x_600); -x_644 = lean_array_push(x_608, x_643); -x_645 = lean_array_push(x_644, x_631); -x_646 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; -x_647 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_647, 0, x_646); -lean_ctor_set(x_647, 1, x_645); -x_648 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_593); -x_649 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_649, 0, x_593); -lean_ctor_set(x_649, 1, x_648); -x_650 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_594); -lean_inc(x_595); -x_651 = l_Lean_addMacroScope(x_595, x_650, x_594); -x_652 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_653 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_593); -x_654 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_654, 0, x_593); +lean_ctor_set(x_637, 0, x_629); +lean_ctor_set(x_637, 1, x_636); +x_638 = lean_array_push(x_612, x_587); +lean_inc(x_638); +x_639 = lean_array_push(x_638, x_632); +lean_inc(x_634); +x_640 = lean_array_push(x_639, x_634); +x_641 = lean_array_push(x_640, x_637); +x_642 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_643 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_643, 0, x_642); +lean_ctor_set(x_643, 1, x_641); +x_644 = lean_array_push(x_541, x_598); +x_645 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_645, 0, x_543); +lean_ctor_set(x_645, 1, x_644); +x_646 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_647 = l_Lean_addMacroScope(x_532, x_646, x_531); +x_648 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_649 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_650 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_650, 0, x_530); +lean_ctor_set(x_650, 1, x_648); +lean_ctor_set(x_650, 2, x_647); +lean_ctor_set(x_650, 3, x_649); +x_651 = lean_array_push(x_601, x_614); +x_652 = lean_array_push(x_651, x_600); +x_653 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_654 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_654, 0, x_653); lean_ctor_set(x_654, 1, x_652); -lean_ctor_set(x_654, 2, x_651); -lean_ctor_set(x_654, 3, x_653); -x_655 = lean_array_push(x_608, x_649); -lean_inc(x_655); -x_656 = lean_array_push(x_655, x_654); -x_657 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; -x_658 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_658, 0, x_657); -lean_ctor_set(x_658, 1, x_656); -x_659 = lean_array_push(x_604, x_658); -x_660 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_660, 0, x_606); -lean_ctor_set(x_660, 1, x_659); -x_661 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_662 = lean_array_push(x_661, x_660); -x_663 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_664 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_664, 0, x_663); -lean_ctor_set(x_664, 1, x_662); -x_665 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; -lean_inc(x_593); -x_666 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_666, 0, x_593); +x_655 = lean_array_push(x_541, x_654); +x_656 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_656, 0, x_543); +lean_ctor_set(x_656, 1, x_655); +x_657 = lean_array_push(x_545, x_650); +x_658 = lean_array_push(x_657, x_656); +x_659 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_659, 0, x_7); +lean_ctor_set(x_659, 1, x_658); +x_660 = lean_array_push(x_638, x_645); +x_661 = lean_array_push(x_660, x_634); +x_662 = lean_array_push(x_661, x_659); +x_663 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_663, 0, x_642); +lean_ctor_set(x_663, 1, x_662); +x_664 = lean_array_push(x_545, x_643); +x_665 = lean_array_push(x_664, x_663); +x_666 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_666, 0, x_543); lean_ctor_set(x_666, 1, x_665); -x_667 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -lean_inc(x_593); -x_668 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_668, 0, x_593); -lean_ctor_set(x_668, 1, x_667); -x_669 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_593); -x_670 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_670, 0, x_593); -lean_ctor_set(x_670, 1, x_669); -x_671 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_593); -x_672 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_672, 0, x_593); -lean_ctor_set(x_672, 1, x_671); -x_673 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_593); -x_674 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_674, 0, x_593); -lean_ctor_set(x_674, 1, x_673); -x_675 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_593); -x_676 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_676, 0, x_593); -lean_ctor_set(x_676, 1, x_675); -x_677 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_593); -x_678 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_678, 0, x_593); -lean_ctor_set(x_678, 1, x_677); -x_679 = lean_array_push(x_604, x_678); -x_680 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_681 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_681, 0, x_680); -lean_ctor_set(x_681, 1, x_679); -x_682 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_593); -x_683 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_683, 0, x_593); -lean_ctor_set(x_683, 1, x_682); -x_684 = lean_array_push(x_621, x_676); -lean_inc(x_681); +x_667 = lean_array_push(x_541, x_666); +x_668 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_669 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_669, 0, x_668); +lean_ctor_set(x_669, 1, x_667); +x_670 = lean_array_push(x_545, x_585); +x_671 = lean_array_push(x_670, x_669); +x_672 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_673 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_673, 0, x_672); +lean_ctor_set(x_673, 1, x_671); +x_674 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_675 = lean_array_push(x_674, x_565); +x_676 = lean_array_push(x_675, x_567); +x_677 = lean_array_push(x_676, x_574); +x_678 = lean_array_push(x_677, x_576); +x_679 = lean_array_push(x_678, x_581); +x_680 = lean_array_push(x_679, x_583); +x_681 = lean_array_push(x_680, x_673); +x_682 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_683 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_683, 0, x_682); +lean_ctor_set(x_683, 1, x_681); +lean_ctor_set(x_528, 0, x_683); +return x_526; +} +else +{ +lean_object* x_684; lean_object* x_685; 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_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; +x_684 = lean_ctor_get(x_528, 0); lean_inc(x_684); -x_685 = lean_array_push(x_684, x_681); -lean_inc(x_683); -x_686 = lean_array_push(x_685, x_683); -x_687 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_688 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_688, 0, x_687); -lean_ctor_set(x_688, 1, x_686); -x_689 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_593); -x_690 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_690, 0, x_593); -lean_ctor_set(x_690, 1, x_689); -x_691 = lean_array_push(x_655, x_690); -x_692 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; -x_693 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_693, 0, x_692); -lean_ctor_set(x_693, 1, x_691); -x_694 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_695 = lean_array_push(x_694, x_674); -x_696 = lean_array_push(x_695, x_631); -x_697 = lean_array_push(x_696, x_688); -x_698 = lean_array_push(x_697, x_693); -x_699 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_700 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_700, 0, x_699); -lean_ctor_set(x_700, 1, x_698); -x_701 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_702 = l_Array_append___rarg(x_701, x_568); +lean_dec(x_528); +x_685 = lean_ctor_get(x_5, 2); +lean_inc(x_685); +x_686 = lean_ctor_get(x_5, 1); +lean_inc(x_686); +lean_dec(x_5); +x_687 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_684); +x_688 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_688, 0, x_684); +lean_ctor_set(x_688, 1, x_687); +x_689 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_685); +lean_inc(x_686); +x_690 = l_Lean_addMacroScope(x_686, x_689, x_685); +x_691 = lean_box(0); +x_692 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_684); +x_693 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_693, 0, x_684); +lean_ctor_set(x_693, 1, x_692); +lean_ctor_set(x_693, 2, x_690); +lean_ctor_set(x_693, 3, x_691); +x_694 = lean_mk_syntax_ident(x_521); +x_695 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_694); +x_696 = lean_array_push(x_695, x_694); +x_697 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_698 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_698, 0, x_697); +lean_ctor_set(x_698, 1, x_696); +x_699 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_700 = lean_array_push(x_699, x_693); +x_701 = lean_array_push(x_700, x_698); +x_702 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; x_703 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_703, 0, x_606); -lean_ctor_set(x_703, 1, x_702); -x_704 = lean_array_push(x_608, x_700); +lean_ctor_set(x_703, 0, x_702); +lean_ctor_set(x_703, 1, x_701); +x_704 = lean_array_push(x_699, x_1); x_705 = lean_array_push(x_704, x_703); -x_706 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_706, 0, x_7); -lean_ctor_set(x_706, 1, x_705); -x_707 = lean_array_push(x_621, x_672); -lean_inc(x_707); -x_708 = lean_array_push(x_707, x_706); -lean_inc(x_683); -x_709 = lean_array_push(x_708, x_683); -x_710 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -x_711 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_711, 0, x_710); -lean_ctor_set(x_711, 1, x_709); -x_712 = lean_array_push(x_604, x_711); -x_713 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_713, 0, x_606); -lean_ctor_set(x_713, 1, x_712); -x_714 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_593); -x_715 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_715, 0, x_593); -lean_ctor_set(x_715, 1, x_714); -x_716 = lean_array_push(x_707, x_3); -lean_inc(x_683); -x_717 = lean_array_push(x_716, x_683); -x_718 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_718, 0, x_710); -lean_ctor_set(x_718, 1, x_717); -x_719 = lean_array_push(x_694, x_670); -lean_inc(x_719); -x_720 = lean_array_push(x_719, x_713); -lean_inc(x_715); -x_721 = lean_array_push(x_720, x_715); -x_722 = lean_array_push(x_721, x_718); -x_723 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_724 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_724, 0, x_723); -lean_ctor_set(x_724, 1, x_722); -x_725 = lean_array_push(x_604, x_681); -x_726 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_726, 0, x_606); -lean_ctor_set(x_726, 1, x_725); -x_727 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_728 = l_Lean_addMacroScope(x_595, x_727, x_594); -x_729 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_730 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_731 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_731, 0, x_593); -lean_ctor_set(x_731, 1, x_729); -lean_ctor_set(x_731, 2, x_728); -lean_ctor_set(x_731, 3, x_730); -x_732 = lean_array_push(x_684, x_631); -x_733 = lean_array_push(x_732, x_683); -x_734 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_735 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_735, 0, x_734); +x_706 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_707 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_707, 0, x_706); +lean_ctor_set(x_707, 1, x_705); +x_708 = lean_array_push(x_695, x_707); +x_709 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_709, 0, x_697); +lean_ctor_set(x_709, 1, x_708); +x_710 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_684); +x_711 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_711, 0, x_684); +lean_ctor_set(x_711, 1, x_710); +x_712 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_713 = lean_array_push(x_712, x_688); +x_714 = lean_array_push(x_713, x_709); +x_715 = lean_array_push(x_714, x_711); +x_716 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +x_717 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_717, 0, x_716); +lean_ctor_set(x_717, 1, x_715); +x_718 = lean_array_push(x_695, x_717); +x_719 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_719, 0, x_697); +lean_ctor_set(x_719, 1, x_718); +x_720 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_684); +x_721 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_721, 0, x_684); +lean_ctor_set(x_721, 1, x_720); +x_722 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_685); +lean_inc(x_686); +x_723 = l_Lean_addMacroScope(x_686, x_722, x_685); +x_724 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_684); +x_725 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_725, 0, x_684); +lean_ctor_set(x_725, 1, x_724); +lean_ctor_set(x_725, 2, x_723); +lean_ctor_set(x_725, 3, x_691); +x_726 = lean_array_push(x_699, x_725); +x_727 = lean_array_push(x_726, x_694); +x_728 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_728, 0, x_697); +lean_ctor_set(x_728, 1, x_727); +x_729 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_684); +x_730 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_730, 0, x_684); +lean_ctor_set(x_730, 1, x_729); +x_731 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_685); +lean_inc(x_686); +x_732 = l_Lean_addMacroScope(x_686, x_731, x_685); +x_733 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_734 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_684); +x_735 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_735, 0, x_684); lean_ctor_set(x_735, 1, x_733); -x_736 = lean_array_push(x_604, x_735); -x_737 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_737, 0, x_606); +lean_ctor_set(x_735, 2, x_732); +lean_ctor_set(x_735, 3, x_734); +x_736 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_684); +x_737 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_737, 0, x_684); lean_ctor_set(x_737, 1, x_736); -x_738 = lean_array_push(x_608, x_731); -x_739 = lean_array_push(x_738, x_737); -x_740 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_740, 0, x_7); -lean_ctor_set(x_740, 1, x_739); -x_741 = lean_array_push(x_719, x_726); -x_742 = lean_array_push(x_741, x_715); -x_743 = lean_array_push(x_742, x_740); -x_744 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_744, 0, x_723); -lean_ctor_set(x_744, 1, x_743); -x_745 = lean_array_push(x_608, x_724); -x_746 = lean_array_push(x_745, x_744); -x_747 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_747, 0, x_606); +x_738 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_684); +x_739 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_739, 0, x_684); +lean_ctor_set(x_739, 1, x_738); +x_740 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_684); +x_741 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_741, 0, x_684); +lean_ctor_set(x_741, 1, x_740); +x_742 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_684); +x_743 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_743, 0, x_684); +lean_ctor_set(x_743, 1, x_742); +x_744 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_684); +x_745 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_745, 0, x_684); +lean_ctor_set(x_745, 1, x_744); +x_746 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_684); +x_747 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_747, 0, x_684); lean_ctor_set(x_747, 1, x_746); -x_748 = lean_array_push(x_604, x_747); -x_749 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; -x_750 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_750, 0, x_749); -lean_ctor_set(x_750, 1, x_748); -x_751 = lean_array_push(x_608, x_668); -x_752 = lean_array_push(x_751, x_750); -x_753 = l_Lean_Elab_Command_mkSimpleDelab___closed__95; -x_754 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_754, 0, x_753); -lean_ctor_set(x_754, 1, x_752); -x_755 = lean_array_push(x_621, x_666); -x_756 = lean_array_push(x_755, x_754); -x_757 = lean_array_push(x_756, x_631); -x_758 = l_Lean_Elab_Command_mkSimpleDelab___closed__92; +x_748 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_684); +x_749 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_749, 0, x_684); +lean_ctor_set(x_749, 1, x_748); +x_750 = lean_array_push(x_695, x_749); +x_751 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_752 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_752, 0, x_751); +lean_ctor_set(x_752, 1, x_750); +x_753 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_684); +x_754 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_754, 0, x_684); +lean_ctor_set(x_754, 1, x_753); +x_755 = lean_array_push(x_712, x_747); +lean_inc(x_752); +lean_inc(x_755); +x_756 = lean_array_push(x_755, x_752); +lean_inc(x_754); +x_757 = lean_array_push(x_756, x_754); +x_758 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; x_759 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_759, 0, x_758); lean_ctor_set(x_759, 1, x_757); -x_760 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_761 = lean_array_push(x_760, x_639); -x_762 = lean_array_push(x_761, x_647); -x_763 = lean_array_push(x_762, x_664); -x_764 = lean_array_push(x_763, x_759); -x_765 = lean_array_push(x_764, x_631); -x_766 = lean_array_push(x_765, x_631); -x_767 = lean_array_push(x_766, x_631); -x_768 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_769 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_769, 0, x_768); -lean_ctor_set(x_769, 1, x_767); -x_770 = lean_array_push(x_608, x_637); -x_771 = lean_array_push(x_770, x_769); -x_772 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; +x_760 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_684); +x_761 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_761, 0, x_684); +lean_ctor_set(x_761, 1, x_760); +lean_inc(x_730); +x_762 = lean_array_push(x_699, x_730); +x_763 = lean_array_push(x_762, x_761); +x_764 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_765 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_765, 0, x_764); +lean_ctor_set(x_765, 1, x_763); +x_766 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_767 = lean_array_push(x_766, x_745); +x_768 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_769 = lean_array_push(x_767, x_768); +x_770 = lean_array_push(x_769, x_759); +x_771 = lean_array_push(x_770, x_765); +x_772 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; x_773 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_773, 0, x_772); lean_ctor_set(x_773, 1, x_771); -lean_ctor_set(x_591, 0, x_773); -return x_589; -} -else -{ -lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; -x_774 = lean_ctor_get(x_591, 0); -lean_inc(x_774); -lean_dec(x_591); -x_775 = lean_ctor_get(x_5, 2); -lean_inc(x_775); -x_776 = lean_ctor_get(x_5, 1); -lean_inc(x_776); -lean_dec(x_5); -x_777 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_774); -x_778 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_778, 0, x_774); -lean_ctor_set(x_778, 1, x_777); -x_779 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_775); -lean_inc(x_776); -x_780 = l_Lean_addMacroScope(x_776, x_779, x_775); -x_781 = lean_box(0); -x_782 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_774); -x_783 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_783, 0, x_774); -lean_ctor_set(x_783, 1, x_782); -lean_ctor_set(x_783, 2, x_780); -lean_ctor_set(x_783, 3, x_781); -x_784 = lean_mk_syntax_ident(x_584); -x_785 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_786 = lean_array_push(x_785, x_784); -x_787 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_788 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_788, 0, x_787); -lean_ctor_set(x_788, 1, x_786); -x_789 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_790 = lean_array_push(x_789, x_783); -x_791 = lean_array_push(x_790, x_788); -x_792 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; -x_793 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_793, 0, x_792); -lean_ctor_set(x_793, 1, x_791); -x_794 = lean_array_push(x_789, x_1); -x_795 = lean_array_push(x_794, x_793); -x_796 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +x_774 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_775 = l_Array_append___rarg(x_774, x_505); +x_776 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_776, 0, x_697); +lean_ctor_set(x_776, 1, x_775); +x_777 = lean_array_push(x_699, x_773); +x_778 = lean_array_push(x_777, x_776); +x_779 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_779, 0, x_7); +lean_ctor_set(x_779, 1, x_778); +x_780 = lean_array_push(x_712, x_743); +lean_inc(x_780); +x_781 = lean_array_push(x_780, x_779); +lean_inc(x_754); +x_782 = lean_array_push(x_781, x_754); +x_783 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_784 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_784, 0, x_783); +lean_ctor_set(x_784, 1, x_782); +x_785 = lean_array_push(x_695, x_784); +x_786 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_786, 0, x_697); +lean_ctor_set(x_786, 1, x_785); +x_787 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_684); +x_788 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_788, 0, x_684); +lean_ctor_set(x_788, 1, x_787); +x_789 = lean_array_push(x_780, x_3); +lean_inc(x_754); +x_790 = lean_array_push(x_789, x_754); +x_791 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_791, 0, x_783); +lean_ctor_set(x_791, 1, x_790); +x_792 = lean_array_push(x_766, x_741); +lean_inc(x_792); +x_793 = lean_array_push(x_792, x_786); +lean_inc(x_788); +x_794 = lean_array_push(x_793, x_788); +x_795 = lean_array_push(x_794, x_791); +x_796 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; x_797 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_797, 0, x_796); lean_ctor_set(x_797, 1, x_795); -x_798 = lean_array_push(x_785, x_797); +x_798 = lean_array_push(x_695, x_752); x_799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_799, 0, x_787); +lean_ctor_set(x_799, 0, x_697); lean_ctor_set(x_799, 1, x_798); -x_800 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_774); -x_801 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_801, 0, x_774); -lean_ctor_set(x_801, 1, x_800); -x_802 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_803 = lean_array_push(x_802, x_778); -x_804 = lean_array_push(x_803, x_799); -x_805 = lean_array_push(x_804, x_801); -x_806 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; -x_807 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_807, 0, x_806); -lean_ctor_set(x_807, 1, x_805); -x_808 = lean_array_push(x_785, x_807); -x_809 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_809, 0, x_787); -lean_ctor_set(x_809, 1, x_808); -x_810 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_811 = lean_array_push(x_810, x_809); -x_812 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_813 = lean_array_push(x_811, x_812); -x_814 = lean_array_push(x_813, x_812); -x_815 = lean_array_push(x_814, x_812); -x_816 = lean_array_push(x_815, x_812); -x_817 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -x_818 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_818, 0, x_817); -lean_ctor_set(x_818, 1, x_816); -x_819 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_774); -x_820 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_820, 0, x_774); +x_800 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_801 = l_Lean_addMacroScope(x_686, x_800, x_685); +x_802 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_803 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_804 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_804, 0, x_684); +lean_ctor_set(x_804, 1, x_802); +lean_ctor_set(x_804, 2, x_801); +lean_ctor_set(x_804, 3, x_803); +x_805 = lean_array_push(x_755, x_768); +x_806 = lean_array_push(x_805, x_754); +x_807 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_808 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_808, 0, x_807); +lean_ctor_set(x_808, 1, x_806); +x_809 = lean_array_push(x_695, x_808); +x_810 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_810, 0, x_697); +lean_ctor_set(x_810, 1, x_809); +x_811 = lean_array_push(x_699, x_804); +x_812 = lean_array_push(x_811, x_810); +x_813 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_813, 0, x_7); +lean_ctor_set(x_813, 1, x_812); +x_814 = lean_array_push(x_792, x_799); +x_815 = lean_array_push(x_814, x_788); +x_816 = lean_array_push(x_815, x_813); +x_817 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_817, 0, x_796); +lean_ctor_set(x_817, 1, x_816); +x_818 = lean_array_push(x_699, x_797); +x_819 = lean_array_push(x_818, x_817); +x_820 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_820, 0, x_697); lean_ctor_set(x_820, 1, x_819); -x_821 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_775); -lean_inc(x_776); -x_822 = l_Lean_addMacroScope(x_776, x_821, x_775); -x_823 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_774); -x_824 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_824, 0, x_774); -lean_ctor_set(x_824, 1, x_823); -lean_ctor_set(x_824, 2, x_822); -lean_ctor_set(x_824, 3, x_781); -x_825 = lean_array_push(x_789, x_824); -x_826 = lean_array_push(x_825, x_812); -x_827 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; -x_828 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_828, 0, x_827); -lean_ctor_set(x_828, 1, x_826); -x_829 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_774); -x_830 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_830, 0, x_774); -lean_ctor_set(x_830, 1, x_829); -x_831 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_775); -lean_inc(x_776); -x_832 = l_Lean_addMacroScope(x_776, x_831, x_775); -x_833 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_834 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_774); -x_835 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_835, 0, x_774); -lean_ctor_set(x_835, 1, x_833); -lean_ctor_set(x_835, 2, x_832); -lean_ctor_set(x_835, 3, x_834); -x_836 = lean_array_push(x_789, x_830); -lean_inc(x_836); -x_837 = lean_array_push(x_836, x_835); -x_838 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; -x_839 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_839, 0, x_838); -lean_ctor_set(x_839, 1, x_837); -x_840 = lean_array_push(x_785, x_839); -x_841 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_841, 0, x_787); -lean_ctor_set(x_841, 1, x_840); -x_842 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_843 = lean_array_push(x_842, x_841); -x_844 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_845 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_845, 0, x_844); -lean_ctor_set(x_845, 1, x_843); -x_846 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; -lean_inc(x_774); -x_847 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_847, 0, x_774); -lean_ctor_set(x_847, 1, x_846); -x_848 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -lean_inc(x_774); -x_849 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_849, 0, x_774); -lean_ctor_set(x_849, 1, x_848); -x_850 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_774); -x_851 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_851, 0, x_774); +x_821 = lean_array_push(x_695, x_820); +x_822 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_823 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_823, 0, x_822); +lean_ctor_set(x_823, 1, x_821); +x_824 = lean_array_push(x_699, x_739); +x_825 = lean_array_push(x_824, x_823); +x_826 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_827 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_827, 0, x_826); +lean_ctor_set(x_827, 1, x_825); +x_828 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_829 = lean_array_push(x_828, x_719); +x_830 = lean_array_push(x_829, x_721); +x_831 = lean_array_push(x_830, x_728); +x_832 = lean_array_push(x_831, x_730); +x_833 = lean_array_push(x_832, x_735); +x_834 = lean_array_push(x_833, x_737); +x_835 = lean_array_push(x_834, x_827); +x_836 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_837 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_837, 0, x_836); +lean_ctor_set(x_837, 1, x_835); +x_838 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_838, 0, x_837); +lean_ctor_set(x_526, 0, x_838); +return x_526; +} +} +else +{ +lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; +x_839 = lean_ctor_get(x_526, 0); +x_840 = lean_ctor_get(x_526, 1); +lean_inc(x_840); +lean_inc(x_839); +lean_dec(x_526); +x_841 = lean_ctor_get(x_839, 0); +lean_inc(x_841); +if (lean_is_exclusive(x_839)) { + lean_ctor_release(x_839, 0); + x_842 = x_839; +} else { + lean_dec_ref(x_839); + x_842 = lean_box(0); +} +x_843 = lean_ctor_get(x_5, 2); +lean_inc(x_843); +x_844 = lean_ctor_get(x_5, 1); +lean_inc(x_844); +lean_dec(x_5); +x_845 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_841); +x_846 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_846, 0, x_841); +lean_ctor_set(x_846, 1, x_845); +x_847 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_843); +lean_inc(x_844); +x_848 = l_Lean_addMacroScope(x_844, x_847, x_843); +x_849 = lean_box(0); +x_850 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_841); +x_851 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_851, 0, x_841); lean_ctor_set(x_851, 1, x_850); -x_852 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_774); -x_853 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_853, 0, x_774); -lean_ctor_set(x_853, 1, x_852); -x_854 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_774); -x_855 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_855, 0, x_774); -lean_ctor_set(x_855, 1, x_854); -x_856 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_774); -x_857 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_857, 0, x_774); -lean_ctor_set(x_857, 1, x_856); -x_858 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_774); -x_859 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_859, 0, x_774); -lean_ctor_set(x_859, 1, x_858); -x_860 = lean_array_push(x_785, x_859); -x_861 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_862 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_862, 0, x_861); -lean_ctor_set(x_862, 1, x_860); -x_863 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_774); -x_864 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_864, 0, x_774); -lean_ctor_set(x_864, 1, x_863); -x_865 = lean_array_push(x_802, x_857); -lean_inc(x_862); -lean_inc(x_865); -x_866 = lean_array_push(x_865, x_862); -lean_inc(x_864); -x_867 = lean_array_push(x_866, x_864); -x_868 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_869 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_869, 0, x_868); -lean_ctor_set(x_869, 1, x_867); -x_870 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_774); -x_871 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_871, 0, x_774); -lean_ctor_set(x_871, 1, x_870); -x_872 = lean_array_push(x_836, x_871); -x_873 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; -x_874 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_874, 0, x_873); -lean_ctor_set(x_874, 1, x_872); -x_875 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_876 = lean_array_push(x_875, x_855); -x_877 = lean_array_push(x_876, x_812); -x_878 = lean_array_push(x_877, x_869); -x_879 = lean_array_push(x_878, x_874); -x_880 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_881 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_881, 0, x_880); -lean_ctor_set(x_881, 1, x_879); -x_882 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_883 = l_Array_append___rarg(x_882, x_568); -x_884 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_884, 0, x_787); -lean_ctor_set(x_884, 1, x_883); -x_885 = lean_array_push(x_789, x_881); -x_886 = lean_array_push(x_885, x_884); -x_887 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_887, 0, x_7); -lean_ctor_set(x_887, 1, x_886); -x_888 = lean_array_push(x_802, x_853); -lean_inc(x_888); -x_889 = lean_array_push(x_888, x_887); -lean_inc(x_864); -x_890 = lean_array_push(x_889, x_864); -x_891 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -x_892 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_892, 0, x_891); -lean_ctor_set(x_892, 1, x_890); -x_893 = lean_array_push(x_785, x_892); -x_894 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_894, 0, x_787); -lean_ctor_set(x_894, 1, x_893); -x_895 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_774); -x_896 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_896, 0, x_774); -lean_ctor_set(x_896, 1, x_895); -x_897 = lean_array_push(x_888, x_3); -lean_inc(x_864); -x_898 = lean_array_push(x_897, x_864); -x_899 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_899, 0, x_891); +lean_ctor_set(x_851, 2, x_848); +lean_ctor_set(x_851, 3, x_849); +x_852 = lean_mk_syntax_ident(x_521); +x_853 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_852); +x_854 = lean_array_push(x_853, x_852); +x_855 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_856 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_856, 0, x_855); +lean_ctor_set(x_856, 1, x_854); +x_857 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_858 = lean_array_push(x_857, x_851); +x_859 = lean_array_push(x_858, x_856); +x_860 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_861 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_861, 0, x_860); +lean_ctor_set(x_861, 1, x_859); +x_862 = lean_array_push(x_857, x_1); +x_863 = lean_array_push(x_862, x_861); +x_864 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_865 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_865, 0, x_864); +lean_ctor_set(x_865, 1, x_863); +x_866 = lean_array_push(x_853, x_865); +x_867 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_867, 0, x_855); +lean_ctor_set(x_867, 1, x_866); +x_868 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_841); +x_869 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_869, 0, x_841); +lean_ctor_set(x_869, 1, x_868); +x_870 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_871 = lean_array_push(x_870, x_846); +x_872 = lean_array_push(x_871, x_867); +x_873 = lean_array_push(x_872, x_869); +x_874 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +x_875 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_875, 0, x_874); +lean_ctor_set(x_875, 1, x_873); +x_876 = lean_array_push(x_853, x_875); +x_877 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_877, 0, x_855); +lean_ctor_set(x_877, 1, x_876); +x_878 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_841); +x_879 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_879, 0, x_841); +lean_ctor_set(x_879, 1, x_878); +x_880 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_843); +lean_inc(x_844); +x_881 = l_Lean_addMacroScope(x_844, x_880, x_843); +x_882 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_841); +x_883 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_883, 0, x_841); +lean_ctor_set(x_883, 1, x_882); +lean_ctor_set(x_883, 2, x_881); +lean_ctor_set(x_883, 3, x_849); +x_884 = lean_array_push(x_857, x_883); +x_885 = lean_array_push(x_884, x_852); +x_886 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_886, 0, x_855); +lean_ctor_set(x_886, 1, x_885); +x_887 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_841); +x_888 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_888, 0, x_841); +lean_ctor_set(x_888, 1, x_887); +x_889 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_843); +lean_inc(x_844); +x_890 = l_Lean_addMacroScope(x_844, x_889, x_843); +x_891 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_892 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_841); +x_893 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_893, 0, x_841); +lean_ctor_set(x_893, 1, x_891); +lean_ctor_set(x_893, 2, x_890); +lean_ctor_set(x_893, 3, x_892); +x_894 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_841); +x_895 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_895, 0, x_841); +lean_ctor_set(x_895, 1, x_894); +x_896 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_841); +x_897 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_897, 0, x_841); +lean_ctor_set(x_897, 1, x_896); +x_898 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_841); +x_899 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_899, 0, x_841); lean_ctor_set(x_899, 1, x_898); -x_900 = lean_array_push(x_875, x_851); -lean_inc(x_900); -x_901 = lean_array_push(x_900, x_894); -lean_inc(x_896); -x_902 = lean_array_push(x_901, x_896); -x_903 = lean_array_push(x_902, x_899); -x_904 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_905 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_905, 0, x_904); -lean_ctor_set(x_905, 1, x_903); -x_906 = lean_array_push(x_785, x_862); -x_907 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_907, 0, x_787); +x_900 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_841); +x_901 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_901, 0, x_841); +lean_ctor_set(x_901, 1, x_900); +x_902 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_841); +x_903 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_903, 0, x_841); +lean_ctor_set(x_903, 1, x_902); +x_904 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_841); +x_905 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_905, 0, x_841); +lean_ctor_set(x_905, 1, x_904); +x_906 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_841); +x_907 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_907, 0, x_841); lean_ctor_set(x_907, 1, x_906); -x_908 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_909 = l_Lean_addMacroScope(x_776, x_908, x_775); -x_910 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_911 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_912 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_912, 0, x_774); -lean_ctor_set(x_912, 1, x_910); -lean_ctor_set(x_912, 2, x_909); -lean_ctor_set(x_912, 3, x_911); -x_913 = lean_array_push(x_865, x_812); -x_914 = lean_array_push(x_913, x_864); -x_915 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_916 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_916, 0, x_915); -lean_ctor_set(x_916, 1, x_914); -x_917 = lean_array_push(x_785, x_916); -x_918 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_918, 0, x_787); -lean_ctor_set(x_918, 1, x_917); -x_919 = lean_array_push(x_789, x_912); -x_920 = lean_array_push(x_919, x_918); -x_921 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_921, 0, x_7); -lean_ctor_set(x_921, 1, x_920); -x_922 = lean_array_push(x_900, x_907); -x_923 = lean_array_push(x_922, x_896); -x_924 = lean_array_push(x_923, x_921); -x_925 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_925, 0, x_904); -lean_ctor_set(x_925, 1, x_924); -x_926 = lean_array_push(x_789, x_905); -x_927 = lean_array_push(x_926, x_925); -x_928 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_928, 0, x_787); -lean_ctor_set(x_928, 1, x_927); -x_929 = lean_array_push(x_785, x_928); -x_930 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_908 = lean_array_push(x_853, x_907); +x_909 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_910 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_910, 0, x_909); +lean_ctor_set(x_910, 1, x_908); +x_911 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_841); +x_912 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_912, 0, x_841); +lean_ctor_set(x_912, 1, x_911); +x_913 = lean_array_push(x_870, x_905); +lean_inc(x_910); +lean_inc(x_913); +x_914 = lean_array_push(x_913, x_910); +lean_inc(x_912); +x_915 = lean_array_push(x_914, x_912); +x_916 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_917 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_917, 0, x_916); +lean_ctor_set(x_917, 1, x_915); +x_918 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_841); +x_919 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_919, 0, x_841); +lean_ctor_set(x_919, 1, x_918); +lean_inc(x_888); +x_920 = lean_array_push(x_857, x_888); +x_921 = lean_array_push(x_920, x_919); +x_922 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_923 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_923, 0, x_922); +lean_ctor_set(x_923, 1, x_921); +x_924 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_925 = lean_array_push(x_924, x_903); +x_926 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_927 = lean_array_push(x_925, x_926); +x_928 = lean_array_push(x_927, x_917); +x_929 = lean_array_push(x_928, x_923); +x_930 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; x_931 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_931, 0, x_930); lean_ctor_set(x_931, 1, x_929); -x_932 = lean_array_push(x_789, x_849); -x_933 = lean_array_push(x_932, x_931); -x_934 = l_Lean_Elab_Command_mkSimpleDelab___closed__95; -x_935 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_935, 0, x_934); -lean_ctor_set(x_935, 1, x_933); -x_936 = lean_array_push(x_802, x_847); -x_937 = lean_array_push(x_936, x_935); -x_938 = lean_array_push(x_937, x_812); -x_939 = l_Lean_Elab_Command_mkSimpleDelab___closed__92; -x_940 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_940, 0, x_939); -lean_ctor_set(x_940, 1, x_938); -x_941 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_942 = lean_array_push(x_941, x_820); -x_943 = lean_array_push(x_942, x_828); -x_944 = lean_array_push(x_943, x_845); -x_945 = lean_array_push(x_944, x_940); -x_946 = lean_array_push(x_945, x_812); -x_947 = lean_array_push(x_946, x_812); -x_948 = lean_array_push(x_947, x_812); -x_949 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_950 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_950, 0, x_949); -lean_ctor_set(x_950, 1, x_948); -x_951 = lean_array_push(x_789, x_818); -x_952 = lean_array_push(x_951, x_950); -x_953 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_954 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_954, 0, x_953); -lean_ctor_set(x_954, 1, x_952); -x_955 = lean_alloc_ctor(1, 1, 0); +x_932 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_933 = l_Array_append___rarg(x_932, x_505); +x_934 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_934, 0, x_855); +lean_ctor_set(x_934, 1, x_933); +x_935 = lean_array_push(x_857, x_931); +x_936 = lean_array_push(x_935, x_934); +x_937 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_937, 0, x_7); +lean_ctor_set(x_937, 1, x_936); +x_938 = lean_array_push(x_870, x_901); +lean_inc(x_938); +x_939 = lean_array_push(x_938, x_937); +lean_inc(x_912); +x_940 = lean_array_push(x_939, x_912); +x_941 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_942 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_942, 0, x_941); +lean_ctor_set(x_942, 1, x_940); +x_943 = lean_array_push(x_853, x_942); +x_944 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_944, 0, x_855); +lean_ctor_set(x_944, 1, x_943); +x_945 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_841); +x_946 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_946, 0, x_841); +lean_ctor_set(x_946, 1, x_945); +x_947 = lean_array_push(x_938, x_3); +lean_inc(x_912); +x_948 = lean_array_push(x_947, x_912); +x_949 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_949, 0, x_941); +lean_ctor_set(x_949, 1, x_948); +x_950 = lean_array_push(x_924, x_899); +lean_inc(x_950); +x_951 = lean_array_push(x_950, x_944); +lean_inc(x_946); +x_952 = lean_array_push(x_951, x_946); +x_953 = lean_array_push(x_952, x_949); +x_954 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_955 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_955, 0, x_954); -lean_ctor_set(x_589, 0, x_955); -return x_589; +lean_ctor_set(x_955, 1, x_953); +x_956 = lean_array_push(x_853, x_910); +x_957 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_957, 0, x_855); +lean_ctor_set(x_957, 1, x_956); +x_958 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_959 = l_Lean_addMacroScope(x_844, x_958, x_843); +x_960 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_961 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_962 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_962, 0, x_841); +lean_ctor_set(x_962, 1, x_960); +lean_ctor_set(x_962, 2, x_959); +lean_ctor_set(x_962, 3, x_961); +x_963 = lean_array_push(x_913, x_926); +x_964 = lean_array_push(x_963, x_912); +x_965 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_966 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_966, 0, x_965); +lean_ctor_set(x_966, 1, x_964); +x_967 = lean_array_push(x_853, x_966); +x_968 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_968, 0, x_855); +lean_ctor_set(x_968, 1, x_967); +x_969 = lean_array_push(x_857, x_962); +x_970 = lean_array_push(x_969, x_968); +x_971 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_971, 0, x_7); +lean_ctor_set(x_971, 1, x_970); +x_972 = lean_array_push(x_950, x_957); +x_973 = lean_array_push(x_972, x_946); +x_974 = lean_array_push(x_973, x_971); +x_975 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_975, 0, x_954); +lean_ctor_set(x_975, 1, x_974); +x_976 = lean_array_push(x_857, x_955); +x_977 = lean_array_push(x_976, x_975); +x_978 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_978, 0, x_855); +lean_ctor_set(x_978, 1, x_977); +x_979 = lean_array_push(x_853, x_978); +x_980 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_981 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_981, 0, x_980); +lean_ctor_set(x_981, 1, x_979); +x_982 = lean_array_push(x_857, x_897); +x_983 = lean_array_push(x_982, x_981); +x_984 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_985 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_985, 0, x_984); +lean_ctor_set(x_985, 1, x_983); +x_986 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_987 = lean_array_push(x_986, x_877); +x_988 = lean_array_push(x_987, x_879); +x_989 = lean_array_push(x_988, x_886); +x_990 = lean_array_push(x_989, x_888); +x_991 = lean_array_push(x_990, x_893); +x_992 = lean_array_push(x_991, x_895); +x_993 = lean_array_push(x_992, x_985); +x_994 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_995 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_995, 0, x_994); +lean_ctor_set(x_995, 1, x_993); +if (lean_is_scalar(x_842)) { + x_996 = lean_alloc_ctor(1, 1, 0); +} else { + x_996 = x_842; +} +lean_ctor_set(x_996, 0, x_995); +x_997 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_997, 0, x_996); +lean_ctor_set(x_997, 1, x_840); +return x_997; +} } } else { -lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; -x_956 = lean_ctor_get(x_589, 0); -x_957 = lean_ctor_get(x_589, 1); -lean_inc(x_957); -lean_inc(x_956); -lean_dec(x_589); -x_958 = lean_ctor_get(x_956, 0); -lean_inc(x_958); -if (lean_is_exclusive(x_956)) { - lean_ctor_release(x_956, 0); - x_959 = x_956; -} else { - lean_dec_ref(x_956); - x_959 = lean_box(0); -} -x_960 = lean_ctor_get(x_5, 2); -lean_inc(x_960); -x_961 = lean_ctor_get(x_5, 1); -lean_inc(x_961); +uint8_t x_998; +x_998 = lean_nat_dec_le(x_522, x_522); +if (x_998 == 0) +{ +uint8_t x_999; +lean_dec(x_522); +x_999 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_505, x_497); +if (x_999 == 0) +{ +lean_object* x_1000; +lean_dec(x_521); +lean_dec(x_505); lean_dec(x_5); -x_962 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_958); -x_963 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_963, 0, x_958); -lean_ctor_set(x_963, 1, x_962); -x_964 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_960); -lean_inc(x_961); -x_965 = l_Lean_addMacroScope(x_961, x_964, x_960); -x_966 = lean_box(0); -x_967 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_958); -x_968 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_968, 0, x_958); -lean_ctor_set(x_968, 1, x_967); -lean_ctor_set(x_968, 2, x_965); -lean_ctor_set(x_968, 3, x_966); -x_969 = lean_mk_syntax_ident(x_584); -x_970 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_971 = lean_array_push(x_970, x_969); -x_972 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_973 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_973, 0, x_972); -lean_ctor_set(x_973, 1, x_971); -x_974 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_975 = lean_array_push(x_974, x_968); -x_976 = lean_array_push(x_975, x_973); -x_977 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; -x_978 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_978, 0, x_977); -lean_ctor_set(x_978, 1, x_976); -x_979 = lean_array_push(x_974, x_1); -x_980 = lean_array_push(x_979, x_978); -x_981 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -x_982 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_982, 0, x_981); -lean_ctor_set(x_982, 1, x_980); -x_983 = lean_array_push(x_970, x_982); -x_984 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_984, 0, x_972); -lean_ctor_set(x_984, 1, x_983); -x_985 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_958); -x_986 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_986, 0, x_958); -lean_ctor_set(x_986, 1, x_985); -x_987 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_988 = lean_array_push(x_987, x_963); -x_989 = lean_array_push(x_988, x_984); -x_990 = lean_array_push(x_989, x_986); -x_991 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; -x_992 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_992, 0, x_991); -lean_ctor_set(x_992, 1, x_990); -x_993 = lean_array_push(x_970, x_992); -x_994 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_994, 0, x_972); -lean_ctor_set(x_994, 1, x_993); -x_995 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_996 = lean_array_push(x_995, x_994); -x_997 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_998 = lean_array_push(x_996, x_997); -x_999 = lean_array_push(x_998, x_997); -x_1000 = lean_array_push(x_999, x_997); -x_1001 = lean_array_push(x_1000, x_997); -x_1002 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -x_1003 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1003, 0, x_1002); -lean_ctor_set(x_1003, 1, x_1001); -x_1004 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_958); -x_1005 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1005, 0, x_958); -lean_ctor_set(x_1005, 1, x_1004); -x_1006 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_960); -lean_inc(x_961); -x_1007 = l_Lean_addMacroScope(x_961, x_1006, x_960); -x_1008 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_958); -x_1009 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1009, 0, x_958); +lean_dec(x_3); +lean_dec(x_1); +x_1000 = lean_box(0); +lean_ctor_set(x_507, 0, x_1000); +return x_507; +} +else +{ +lean_object* x_1001; uint8_t x_1002; +lean_free_object(x_507); +lean_inc(x_5); +x_1001 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_519); +x_1002 = !lean_is_exclusive(x_1001); +if (x_1002 == 0) +{ +lean_object* x_1003; uint8_t x_1004; +x_1003 = lean_ctor_get(x_1001, 0); +x_1004 = !lean_is_exclusive(x_1003); +if (x_1004 == 0) +{ +lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; +x_1005 = lean_ctor_get(x_1003, 0); +x_1006 = lean_ctor_get(x_5, 2); +lean_inc(x_1006); +x_1007 = lean_ctor_get(x_5, 1); +lean_inc(x_1007); +lean_dec(x_5); +x_1008 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_1005); +x_1009 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1009, 0, x_1005); lean_ctor_set(x_1009, 1, x_1008); -lean_ctor_set(x_1009, 2, x_1007); -lean_ctor_set(x_1009, 3, x_966); -x_1010 = lean_array_push(x_974, x_1009); -x_1011 = lean_array_push(x_1010, x_997); -x_1012 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; -x_1013 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1013, 0, x_1012); -lean_ctor_set(x_1013, 1, x_1011); -x_1014 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_958); -x_1015 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1015, 0, x_958); -lean_ctor_set(x_1015, 1, x_1014); -x_1016 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_960); -lean_inc(x_961); -x_1017 = l_Lean_addMacroScope(x_961, x_1016, x_960); -x_1018 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_1019 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_958); -x_1020 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1020, 0, x_958); -lean_ctor_set(x_1020, 1, x_1018); -lean_ctor_set(x_1020, 2, x_1017); -lean_ctor_set(x_1020, 3, x_1019); -x_1021 = lean_array_push(x_974, x_1015); -lean_inc(x_1021); -x_1022 = lean_array_push(x_1021, x_1020); -x_1023 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +x_1010 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_1006); +lean_inc(x_1007); +x_1011 = l_Lean_addMacroScope(x_1007, x_1010, x_1006); +x_1012 = lean_box(0); +x_1013 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_1005); +x_1014 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1014, 0, x_1005); +lean_ctor_set(x_1014, 1, x_1013); +lean_ctor_set(x_1014, 2, x_1011); +lean_ctor_set(x_1014, 3, x_1012); +x_1015 = lean_mk_syntax_ident(x_521); +x_1016 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_1015); +x_1017 = lean_array_push(x_1016, x_1015); +x_1018 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1019 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1019, 0, x_1018); +lean_ctor_set(x_1019, 1, x_1017); +x_1020 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1021 = lean_array_push(x_1020, x_1014); +x_1022 = lean_array_push(x_1021, x_1019); +x_1023 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; x_1024 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1024, 0, x_1023); lean_ctor_set(x_1024, 1, x_1022); -x_1025 = lean_array_push(x_970, x_1024); -x_1026 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1026, 0, x_972); -lean_ctor_set(x_1026, 1, x_1025); -x_1027 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_1028 = lean_array_push(x_1027, x_1026); -x_1029 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; +x_1025 = lean_array_push(x_1020, x_1); +x_1026 = lean_array_push(x_1025, x_1024); +x_1027 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_1028 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1028, 0, x_1027); +lean_ctor_set(x_1028, 1, x_1026); +x_1029 = lean_array_push(x_1016, x_1028); x_1030 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1030, 0, x_1029); -lean_ctor_set(x_1030, 1, x_1028); -x_1031 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; -lean_inc(x_958); +lean_ctor_set(x_1030, 0, x_1018); +lean_ctor_set(x_1030, 1, x_1029); +x_1031 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_1005); x_1032 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1032, 0, x_958); +lean_ctor_set(x_1032, 0, x_1005); lean_ctor_set(x_1032, 1, x_1031); -x_1033 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -lean_inc(x_958); -x_1034 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1034, 0, x_958); -lean_ctor_set(x_1034, 1, x_1033); -x_1035 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_958); -x_1036 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1036, 0, x_958); -lean_ctor_set(x_1036, 1, x_1035); -x_1037 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_958); -x_1038 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1038, 0, x_958); -lean_ctor_set(x_1038, 1, x_1037); -x_1039 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_958); -x_1040 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1040, 0, x_958); +x_1033 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_1034 = lean_array_push(x_1033, x_1009); +x_1035 = lean_array_push(x_1034, x_1030); +x_1036 = lean_array_push(x_1035, x_1032); +x_1037 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +x_1038 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1038, 0, x_1037); +lean_ctor_set(x_1038, 1, x_1036); +x_1039 = lean_array_push(x_1016, x_1038); +x_1040 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1040, 0, x_1018); lean_ctor_set(x_1040, 1, x_1039); -x_1041 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_958); +x_1041 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1005); x_1042 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1042, 0, x_958); +lean_ctor_set(x_1042, 0, x_1005); lean_ctor_set(x_1042, 1, x_1041); -x_1043 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_958); -x_1044 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1044, 0, x_958); -lean_ctor_set(x_1044, 1, x_1043); -x_1045 = lean_array_push(x_970, x_1044); -x_1046 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_1047 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1047, 0, x_1046); -lean_ctor_set(x_1047, 1, x_1045); -x_1048 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_958); -x_1049 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1049, 0, x_958); +x_1043 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_1006); +lean_inc(x_1007); +x_1044 = l_Lean_addMacroScope(x_1007, x_1043, x_1006); +x_1045 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_1005); +x_1046 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1046, 0, x_1005); +lean_ctor_set(x_1046, 1, x_1045); +lean_ctor_set(x_1046, 2, x_1044); +lean_ctor_set(x_1046, 3, x_1012); +x_1047 = lean_array_push(x_1020, x_1046); +x_1048 = lean_array_push(x_1047, x_1015); +x_1049 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1049, 0, x_1018); lean_ctor_set(x_1049, 1, x_1048); -x_1050 = lean_array_push(x_987, x_1042); -lean_inc(x_1047); -lean_inc(x_1050); -x_1051 = lean_array_push(x_1050, x_1047); -lean_inc(x_1049); -x_1052 = lean_array_push(x_1051, x_1049); -x_1053 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_1054 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1054, 0, x_1053); -lean_ctor_set(x_1054, 1, x_1052); -x_1055 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_958); -x_1056 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1056, 0, x_958); -lean_ctor_set(x_1056, 1, x_1055); -x_1057 = lean_array_push(x_1021, x_1056); -x_1058 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; -x_1059 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1059, 0, x_1058); -lean_ctor_set(x_1059, 1, x_1057); -x_1060 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_1061 = lean_array_push(x_1060, x_1040); -x_1062 = lean_array_push(x_1061, x_997); -x_1063 = lean_array_push(x_1062, x_1054); -x_1064 = lean_array_push(x_1063, x_1059); -x_1065 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_1066 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1066, 0, x_1065); -lean_ctor_set(x_1066, 1, x_1064); -x_1067 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1068 = l_Array_append___rarg(x_1067, x_568); -x_1069 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1069, 0, x_972); -lean_ctor_set(x_1069, 1, x_1068); -x_1070 = lean_array_push(x_974, x_1066); -x_1071 = lean_array_push(x_1070, x_1069); -x_1072 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1072, 0, x_7); -lean_ctor_set(x_1072, 1, x_1071); -x_1073 = lean_array_push(x_987, x_1038); +x_1050 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_1005); +x_1051 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1051, 0, x_1005); +lean_ctor_set(x_1051, 1, x_1050); +x_1052 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_1006); +lean_inc(x_1007); +x_1053 = l_Lean_addMacroScope(x_1007, x_1052, x_1006); +x_1054 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_1055 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_1005); +x_1056 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1056, 0, x_1005); +lean_ctor_set(x_1056, 1, x_1054); +lean_ctor_set(x_1056, 2, x_1053); +lean_ctor_set(x_1056, 3, x_1055); +x_1057 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_1005); +x_1058 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1058, 0, x_1005); +lean_ctor_set(x_1058, 1, x_1057); +x_1059 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_1005); +x_1060 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1060, 0, x_1005); +lean_ctor_set(x_1060, 1, x_1059); +x_1061 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_1005); +x_1062 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1062, 0, x_1005); +lean_ctor_set(x_1062, 1, x_1061); +x_1063 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_1005); +x_1064 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1064, 0, x_1005); +lean_ctor_set(x_1064, 1, x_1063); +x_1065 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_1005); +x_1066 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1066, 0, x_1005); +lean_ctor_set(x_1066, 1, x_1065); +x_1067 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_1005); +x_1068 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1068, 0, x_1005); +lean_ctor_set(x_1068, 1, x_1067); +x_1069 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_1005); +x_1070 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1070, 0, x_1005); +lean_ctor_set(x_1070, 1, x_1069); +x_1071 = lean_array_push(x_1016, x_1070); +x_1072 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1073 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1073, 0, x_1072); +lean_ctor_set(x_1073, 1, x_1071); +x_1074 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_1005); +x_1075 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1075, 0, x_1005); +lean_ctor_set(x_1075, 1, x_1074); +x_1076 = lean_array_push(x_1033, x_1068); lean_inc(x_1073); -x_1074 = lean_array_push(x_1073, x_1072); -lean_inc(x_1049); -x_1075 = lean_array_push(x_1074, x_1049); -x_1076 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -x_1077 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1077, 0, x_1076); -lean_ctor_set(x_1077, 1, x_1075); -x_1078 = lean_array_push(x_970, x_1077); -x_1079 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1079, 0, x_972); -lean_ctor_set(x_1079, 1, x_1078); -x_1080 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_958); -x_1081 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1081, 0, x_958); -lean_ctor_set(x_1081, 1, x_1080); -x_1082 = lean_array_push(x_1073, x_3); -lean_inc(x_1049); -x_1083 = lean_array_push(x_1082, x_1049); -x_1084 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1084, 0, x_1076); -lean_ctor_set(x_1084, 1, x_1083); -x_1085 = lean_array_push(x_1060, x_1036); -lean_inc(x_1085); -x_1086 = lean_array_push(x_1085, x_1079); -lean_inc(x_1081); -x_1087 = lean_array_push(x_1086, x_1081); -x_1088 = lean_array_push(x_1087, x_1084); -x_1089 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_1090 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1090, 0, x_1089); -lean_ctor_set(x_1090, 1, x_1088); -x_1091 = lean_array_push(x_970, x_1047); -x_1092 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1092, 0, x_972); -lean_ctor_set(x_1092, 1, x_1091); -x_1093 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_1094 = l_Lean_addMacroScope(x_961, x_1093, x_960); -x_1095 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_1096 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_1097 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1097, 0, x_958); -lean_ctor_set(x_1097, 1, x_1095); -lean_ctor_set(x_1097, 2, x_1094); -lean_ctor_set(x_1097, 3, x_1096); -x_1098 = lean_array_push(x_1050, x_997); -x_1099 = lean_array_push(x_1098, x_1049); -x_1100 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_1101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1101, 0, x_1100); -lean_ctor_set(x_1101, 1, x_1099); -x_1102 = lean_array_push(x_970, x_1101); -x_1103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1103, 0, x_972); -lean_ctor_set(x_1103, 1, x_1102); -x_1104 = lean_array_push(x_974, x_1097); -x_1105 = lean_array_push(x_1104, x_1103); -x_1106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1106, 0, x_7); -lean_ctor_set(x_1106, 1, x_1105); -x_1107 = lean_array_push(x_1085, x_1092); -x_1108 = lean_array_push(x_1107, x_1081); -x_1109 = lean_array_push(x_1108, x_1106); -x_1110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1110, 0, x_1089); -lean_ctor_set(x_1110, 1, x_1109); -x_1111 = lean_array_push(x_974, x_1090); -x_1112 = lean_array_push(x_1111, x_1110); -x_1113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1113, 0, x_972); -lean_ctor_set(x_1113, 1, x_1112); -x_1114 = lean_array_push(x_970, x_1113); -x_1115 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; -x_1116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1116, 0, x_1115); -lean_ctor_set(x_1116, 1, x_1114); -x_1117 = lean_array_push(x_974, x_1034); -x_1118 = lean_array_push(x_1117, x_1116); -x_1119 = l_Lean_Elab_Command_mkSimpleDelab___closed__95; +lean_inc(x_1076); +x_1077 = lean_array_push(x_1076, x_1073); +lean_inc(x_1075); +x_1078 = lean_array_push(x_1077, x_1075); +x_1079 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_1080 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1080, 0, x_1079); +lean_ctor_set(x_1080, 1, x_1078); +x_1081 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_1005); +x_1082 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1082, 0, x_1005); +lean_ctor_set(x_1082, 1, x_1081); +lean_inc(x_1051); +x_1083 = lean_array_push(x_1020, x_1051); +x_1084 = lean_array_push(x_1083, x_1082); +x_1085 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_1086 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1086, 0, x_1085); +lean_ctor_set(x_1086, 1, x_1084); +x_1087 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_1088 = lean_array_push(x_1087, x_1066); +x_1089 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_1090 = lean_array_push(x_1088, x_1089); +x_1091 = lean_array_push(x_1090, x_1080); +x_1092 = lean_array_push(x_1091, x_1086); +x_1093 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +x_1094 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1094, 0, x_1093); +lean_ctor_set(x_1094, 1, x_1092); +x_1095 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_1096 = l_Array_append___rarg(x_1095, x_505); +x_1097 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1097, 0, x_1018); +lean_ctor_set(x_1097, 1, x_1096); +x_1098 = lean_array_push(x_1020, x_1094); +x_1099 = lean_array_push(x_1098, x_1097); +x_1100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1100, 0, x_7); +lean_ctor_set(x_1100, 1, x_1099); +x_1101 = lean_array_push(x_1033, x_1064); +lean_inc(x_1101); +x_1102 = lean_array_push(x_1101, x_1100); +lean_inc(x_1075); +x_1103 = lean_array_push(x_1102, x_1075); +x_1104 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_1105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1105, 0, x_1104); +lean_ctor_set(x_1105, 1, x_1103); +x_1106 = lean_array_push(x_1016, x_1105); +x_1107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1107, 0, x_1018); +lean_ctor_set(x_1107, 1, x_1106); +x_1108 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_1005); +x_1109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1109, 0, x_1005); +lean_ctor_set(x_1109, 1, x_1108); +x_1110 = lean_array_push(x_1101, x_3); +lean_inc(x_1075); +x_1111 = lean_array_push(x_1110, x_1075); +x_1112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1112, 0, x_1104); +lean_ctor_set(x_1112, 1, x_1111); +x_1113 = lean_array_push(x_1087, x_1062); +lean_inc(x_1113); +x_1114 = lean_array_push(x_1113, x_1107); +lean_inc(x_1109); +x_1115 = lean_array_push(x_1114, x_1109); +x_1116 = lean_array_push(x_1115, x_1112); +x_1117 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_1118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1118, 0, x_1117); +lean_ctor_set(x_1118, 1, x_1116); +x_1119 = lean_array_push(x_1016, x_1073); x_1120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1120, 0, x_1119); -lean_ctor_set(x_1120, 1, x_1118); -x_1121 = lean_array_push(x_987, x_1032); -x_1122 = lean_array_push(x_1121, x_1120); -x_1123 = lean_array_push(x_1122, x_997); -x_1124 = l_Lean_Elab_Command_mkSimpleDelab___closed__92; -x_1125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1125, 0, x_1124); +lean_ctor_set(x_1120, 0, x_1018); +lean_ctor_set(x_1120, 1, x_1119); +x_1121 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_1122 = l_Lean_addMacroScope(x_1007, x_1121, x_1006); +x_1123 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_1124 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1125 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1125, 0, x_1005); lean_ctor_set(x_1125, 1, x_1123); -x_1126 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_1127 = lean_array_push(x_1126, x_1005); -x_1128 = lean_array_push(x_1127, x_1013); -x_1129 = lean_array_push(x_1128, x_1030); -x_1130 = lean_array_push(x_1129, x_1125); -x_1131 = lean_array_push(x_1130, x_997); -x_1132 = lean_array_push(x_1131, x_997); -x_1133 = lean_array_push(x_1132, x_997); -x_1134 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_1135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1135, 0, x_1134); -lean_ctor_set(x_1135, 1, x_1133); -x_1136 = lean_array_push(x_974, x_1003); -x_1137 = lean_array_push(x_1136, x_1135); -x_1138 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_1139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1139, 0, x_1138); -lean_ctor_set(x_1139, 1, x_1137); -if (lean_is_scalar(x_959)) { - x_1140 = lean_alloc_ctor(1, 1, 0); -} else { - x_1140 = x_959; -} -lean_ctor_set(x_1140, 0, x_1139); -x_1141 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1141, 0, x_1140); -lean_ctor_set(x_1141, 1, x_957); -return x_1141; -} -} +lean_ctor_set(x_1125, 2, x_1122); +lean_ctor_set(x_1125, 3, x_1124); +x_1126 = lean_array_push(x_1076, x_1089); +x_1127 = lean_array_push(x_1126, x_1075); +x_1128 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_1129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1129, 0, x_1128); +lean_ctor_set(x_1129, 1, x_1127); +x_1130 = lean_array_push(x_1016, x_1129); +x_1131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1131, 0, x_1018); +lean_ctor_set(x_1131, 1, x_1130); +x_1132 = lean_array_push(x_1020, x_1125); +x_1133 = lean_array_push(x_1132, x_1131); +x_1134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1134, 0, x_7); +lean_ctor_set(x_1134, 1, x_1133); +x_1135 = lean_array_push(x_1113, x_1120); +x_1136 = lean_array_push(x_1135, x_1109); +x_1137 = lean_array_push(x_1136, x_1134); +x_1138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1138, 0, x_1117); +lean_ctor_set(x_1138, 1, x_1137); +x_1139 = lean_array_push(x_1020, x_1118); +x_1140 = lean_array_push(x_1139, x_1138); +x_1141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1141, 0, x_1018); +lean_ctor_set(x_1141, 1, x_1140); +x_1142 = lean_array_push(x_1016, x_1141); +x_1143 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_1144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1144, 0, x_1143); +lean_ctor_set(x_1144, 1, x_1142); +x_1145 = lean_array_push(x_1020, x_1060); +x_1146 = lean_array_push(x_1145, x_1144); +x_1147 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_1148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1148, 0, x_1147); +lean_ctor_set(x_1148, 1, x_1146); +x_1149 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_1150 = lean_array_push(x_1149, x_1040); +x_1151 = lean_array_push(x_1150, x_1042); +x_1152 = lean_array_push(x_1151, x_1049); +x_1153 = lean_array_push(x_1152, x_1051); +x_1154 = lean_array_push(x_1153, x_1056); +x_1155 = lean_array_push(x_1154, x_1058); +x_1156 = lean_array_push(x_1155, x_1148); +x_1157 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_1158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1158, 0, x_1157); +lean_ctor_set(x_1158, 1, x_1156); +lean_ctor_set(x_1003, 0, x_1158); +return x_1001; } else { -uint8_t x_1142; -x_1142 = lean_nat_dec_le(x_585, x_585); -if (x_1142 == 0) -{ -uint8_t x_1143; -lean_dec(x_585); -x_1143 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_568, x_560); -if (x_1143 == 0) -{ -lean_object* x_1144; -lean_dec(x_584); -lean_dec(x_568); +lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; +x_1159 = lean_ctor_get(x_1003, 0); +lean_inc(x_1159); +lean_dec(x_1003); +x_1160 = lean_ctor_get(x_5, 2); +lean_inc(x_1160); +x_1161 = lean_ctor_get(x_5, 1); +lean_inc(x_1161); lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1144 = lean_box(0); -lean_ctor_set(x_570, 0, x_1144); -return x_570; -} -else -{ -lean_object* x_1145; uint8_t x_1146; -lean_free_object(x_570); -lean_inc(x_5); -x_1145 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_582); -x_1146 = !lean_is_exclusive(x_1145); -if (x_1146 == 0) -{ -lean_object* x_1147; uint8_t x_1148; -x_1147 = lean_ctor_get(x_1145, 0); -x_1148 = !lean_is_exclusive(x_1147); -if (x_1148 == 0) -{ -lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; -x_1149 = lean_ctor_get(x_1147, 0); -x_1150 = lean_ctor_get(x_5, 2); -lean_inc(x_1150); -x_1151 = lean_ctor_get(x_5, 1); -lean_inc(x_1151); -lean_dec(x_5); -x_1152 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1149); -x_1153 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1153, 0, x_1149); -lean_ctor_set(x_1153, 1, x_1152); -x_1154 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_1150); -lean_inc(x_1151); -x_1155 = l_Lean_addMacroScope(x_1151, x_1154, x_1150); -x_1156 = lean_box(0); -x_1157 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_1149); -x_1158 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1158, 0, x_1149); -lean_ctor_set(x_1158, 1, x_1157); -lean_ctor_set(x_1158, 2, x_1155); -lean_ctor_set(x_1158, 3, x_1156); -x_1159 = lean_mk_syntax_ident(x_584); -x_1160 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_1161 = lean_array_push(x_1160, x_1159); -x_1162 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_1163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1163, 0, x_1162); -lean_ctor_set(x_1163, 1, x_1161); -x_1164 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_1165 = lean_array_push(x_1164, x_1158); -x_1166 = lean_array_push(x_1165, x_1163); -x_1167 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; -x_1168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1168, 0, x_1167); -lean_ctor_set(x_1168, 1, x_1166); -x_1169 = lean_array_push(x_1164, x_1); -x_1170 = lean_array_push(x_1169, x_1168); -x_1171 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -x_1172 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1172, 0, x_1171); -lean_ctor_set(x_1172, 1, x_1170); -x_1173 = lean_array_push(x_1160, x_1172); -x_1174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1174, 0, x_1162); -lean_ctor_set(x_1174, 1, x_1173); -x_1175 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_1149); -x_1176 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1176, 0, x_1149); -lean_ctor_set(x_1176, 1, x_1175); -x_1177 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_1178 = lean_array_push(x_1177, x_1153); -x_1179 = lean_array_push(x_1178, x_1174); -x_1180 = lean_array_push(x_1179, x_1176); -x_1181 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +x_1162 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_1159); +x_1163 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1163, 0, x_1159); +lean_ctor_set(x_1163, 1, x_1162); +x_1164 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_1160); +lean_inc(x_1161); +x_1165 = l_Lean_addMacroScope(x_1161, x_1164, x_1160); +x_1166 = lean_box(0); +x_1167 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_1159); +x_1168 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1168, 0, x_1159); +lean_ctor_set(x_1168, 1, x_1167); +lean_ctor_set(x_1168, 2, x_1165); +lean_ctor_set(x_1168, 3, x_1166); +x_1169 = lean_mk_syntax_ident(x_521); +x_1170 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_1169); +x_1171 = lean_array_push(x_1170, x_1169); +x_1172 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1173, 0, x_1172); +lean_ctor_set(x_1173, 1, x_1171); +x_1174 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1175 = lean_array_push(x_1174, x_1168); +x_1176 = lean_array_push(x_1175, x_1173); +x_1177 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_1178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1178, 0, x_1177); +lean_ctor_set(x_1178, 1, x_1176); +x_1179 = lean_array_push(x_1174, x_1); +x_1180 = lean_array_push(x_1179, x_1178); +x_1181 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; x_1182 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1182, 0, x_1181); lean_ctor_set(x_1182, 1, x_1180); -x_1183 = lean_array_push(x_1160, x_1182); +x_1183 = lean_array_push(x_1170, x_1182); x_1184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1184, 0, x_1162); +lean_ctor_set(x_1184, 0, x_1172); lean_ctor_set(x_1184, 1, x_1183); -x_1185 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_1186 = lean_array_push(x_1185, x_1184); -x_1187 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_1188 = lean_array_push(x_1186, x_1187); -x_1189 = lean_array_push(x_1188, x_1187); -x_1190 = lean_array_push(x_1189, x_1187); -x_1191 = lean_array_push(x_1190, x_1187); -x_1192 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -x_1193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1193, 0, x_1192); -lean_ctor_set(x_1193, 1, x_1191); -x_1194 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_1149); -x_1195 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1195, 0, x_1149); -lean_ctor_set(x_1195, 1, x_1194); -x_1196 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_1150); -lean_inc(x_1151); -x_1197 = l_Lean_addMacroScope(x_1151, x_1196, x_1150); -x_1198 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_1149); -x_1199 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1199, 0, x_1149); -lean_ctor_set(x_1199, 1, x_1198); -lean_ctor_set(x_1199, 2, x_1197); -lean_ctor_set(x_1199, 3, x_1156); -x_1200 = lean_array_push(x_1164, x_1199); -x_1201 = lean_array_push(x_1200, x_1187); -x_1202 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +x_1185 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_1159); +x_1186 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1186, 0, x_1159); +lean_ctor_set(x_1186, 1, x_1185); +x_1187 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_1188 = lean_array_push(x_1187, x_1163); +x_1189 = lean_array_push(x_1188, x_1184); +x_1190 = lean_array_push(x_1189, x_1186); +x_1191 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +x_1192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1192, 0, x_1191); +lean_ctor_set(x_1192, 1, x_1190); +x_1193 = lean_array_push(x_1170, x_1192); +x_1194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1194, 0, x_1172); +lean_ctor_set(x_1194, 1, x_1193); +x_1195 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1159); +x_1196 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1196, 0, x_1159); +lean_ctor_set(x_1196, 1, x_1195); +x_1197 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_1160); +lean_inc(x_1161); +x_1198 = l_Lean_addMacroScope(x_1161, x_1197, x_1160); +x_1199 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_1159); +x_1200 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1200, 0, x_1159); +lean_ctor_set(x_1200, 1, x_1199); +lean_ctor_set(x_1200, 2, x_1198); +lean_ctor_set(x_1200, 3, x_1166); +x_1201 = lean_array_push(x_1174, x_1200); +x_1202 = lean_array_push(x_1201, x_1169); x_1203 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1203, 0, x_1202); -lean_ctor_set(x_1203, 1, x_1201); -x_1204 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_1149); +lean_ctor_set(x_1203, 0, x_1172); +lean_ctor_set(x_1203, 1, x_1202); +x_1204 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_1159); x_1205 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1205, 0, x_1149); +lean_ctor_set(x_1205, 0, x_1159); lean_ctor_set(x_1205, 1, x_1204); -x_1206 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_1150); -lean_inc(x_1151); -x_1207 = l_Lean_addMacroScope(x_1151, x_1206, x_1150); -x_1208 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_1209 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_1149); +x_1206 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_1160); +lean_inc(x_1161); +x_1207 = l_Lean_addMacroScope(x_1161, x_1206, x_1160); +x_1208 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_1209 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_1159); x_1210 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1210, 0, x_1149); +lean_ctor_set(x_1210, 0, x_1159); lean_ctor_set(x_1210, 1, x_1208); lean_ctor_set(x_1210, 2, x_1207); lean_ctor_set(x_1210, 3, x_1209); -x_1211 = lean_array_push(x_1164, x_1205); -lean_inc(x_1211); -x_1212 = lean_array_push(x_1211, x_1210); -x_1213 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; -x_1214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1214, 0, x_1213); -lean_ctor_set(x_1214, 1, x_1212); -x_1215 = lean_array_push(x_1160, x_1214); -x_1216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1216, 0, x_1162); +x_1211 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_1159); +x_1212 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1212, 0, x_1159); +lean_ctor_set(x_1212, 1, x_1211); +x_1213 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_1159); +x_1214 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1214, 0, x_1159); +lean_ctor_set(x_1214, 1, x_1213); +x_1215 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_1159); +x_1216 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1216, 0, x_1159); lean_ctor_set(x_1216, 1, x_1215); -x_1217 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_1218 = lean_array_push(x_1217, x_1216); -x_1219 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_1220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1220, 0, x_1219); -lean_ctor_set(x_1220, 1, x_1218); -x_1221 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; -lean_inc(x_1149); +x_1217 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_1159); +x_1218 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1218, 0, x_1159); +lean_ctor_set(x_1218, 1, x_1217); +x_1219 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_1159); +x_1220 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1220, 0, x_1159); +lean_ctor_set(x_1220, 1, x_1219); +x_1221 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_1159); x_1222 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1222, 0, x_1149); +lean_ctor_set(x_1222, 0, x_1159); lean_ctor_set(x_1222, 1, x_1221); -x_1223 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -lean_inc(x_1149); +x_1223 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_1159); x_1224 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1224, 0, x_1149); +lean_ctor_set(x_1224, 0, x_1159); lean_ctor_set(x_1224, 1, x_1223); -x_1225 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_1149); -x_1226 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1226, 0, x_1149); -lean_ctor_set(x_1226, 1, x_1225); -x_1227 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_1149); -x_1228 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1228, 0, x_1149); -lean_ctor_set(x_1228, 1, x_1227); -x_1229 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_1149); -x_1230 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1230, 0, x_1149); -lean_ctor_set(x_1230, 1, x_1229); -x_1231 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_1149); -x_1232 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1232, 0, x_1149); -lean_ctor_set(x_1232, 1, x_1231); -x_1233 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_1149); -x_1234 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1234, 0, x_1149); -lean_ctor_set(x_1234, 1, x_1233); -x_1235 = lean_array_push(x_1160, x_1234); -x_1236 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_1237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1237, 0, x_1236); -lean_ctor_set(x_1237, 1, x_1235); -x_1238 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_1149); -x_1239 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1239, 0, x_1149); -lean_ctor_set(x_1239, 1, x_1238); -x_1240 = lean_array_push(x_1177, x_1232); -lean_inc(x_1237); -lean_inc(x_1240); -x_1241 = lean_array_push(x_1240, x_1237); -lean_inc(x_1239); -x_1242 = lean_array_push(x_1241, x_1239); -x_1243 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_1244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1244, 0, x_1243); -lean_ctor_set(x_1244, 1, x_1242); -x_1245 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_1149); -x_1246 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1246, 0, x_1149); -lean_ctor_set(x_1246, 1, x_1245); -x_1247 = lean_array_push(x_1211, x_1246); -x_1248 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; -x_1249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1249, 0, x_1248); -lean_ctor_set(x_1249, 1, x_1247); -x_1250 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_1251 = lean_array_push(x_1250, x_1230); -x_1252 = lean_array_push(x_1251, x_1187); -x_1253 = lean_array_push(x_1252, x_1244); -x_1254 = lean_array_push(x_1253, x_1249); -x_1255 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_1256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1256, 0, x_1255); -lean_ctor_set(x_1256, 1, x_1254); -x_1257 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1258 = l_Array_append___rarg(x_1257, x_568); +x_1225 = lean_array_push(x_1170, x_1224); +x_1226 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1227, 0, x_1226); +lean_ctor_set(x_1227, 1, x_1225); +x_1228 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_1159); +x_1229 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1229, 0, x_1159); +lean_ctor_set(x_1229, 1, x_1228); +x_1230 = lean_array_push(x_1187, x_1222); +lean_inc(x_1227); +lean_inc(x_1230); +x_1231 = lean_array_push(x_1230, x_1227); +lean_inc(x_1229); +x_1232 = lean_array_push(x_1231, x_1229); +x_1233 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_1234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1234, 0, x_1233); +lean_ctor_set(x_1234, 1, x_1232); +x_1235 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_1159); +x_1236 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1236, 0, x_1159); +lean_ctor_set(x_1236, 1, x_1235); +lean_inc(x_1205); +x_1237 = lean_array_push(x_1174, x_1205); +x_1238 = lean_array_push(x_1237, x_1236); +x_1239 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_1240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1240, 0, x_1239); +lean_ctor_set(x_1240, 1, x_1238); +x_1241 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_1242 = lean_array_push(x_1241, x_1220); +x_1243 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_1244 = lean_array_push(x_1242, x_1243); +x_1245 = lean_array_push(x_1244, x_1234); +x_1246 = lean_array_push(x_1245, x_1240); +x_1247 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +x_1248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1248, 0, x_1247); +lean_ctor_set(x_1248, 1, x_1246); +x_1249 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_1250 = l_Array_append___rarg(x_1249, x_505); +x_1251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1251, 0, x_1172); +lean_ctor_set(x_1251, 1, x_1250); +x_1252 = lean_array_push(x_1174, x_1248); +x_1253 = lean_array_push(x_1252, x_1251); +x_1254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1254, 0, x_7); +lean_ctor_set(x_1254, 1, x_1253); +x_1255 = lean_array_push(x_1187, x_1218); +lean_inc(x_1255); +x_1256 = lean_array_push(x_1255, x_1254); +lean_inc(x_1229); +x_1257 = lean_array_push(x_1256, x_1229); +x_1258 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; x_1259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1259, 0, x_1162); -lean_ctor_set(x_1259, 1, x_1258); -x_1260 = lean_array_push(x_1164, x_1256); -x_1261 = lean_array_push(x_1260, x_1259); -x_1262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1262, 0, x_7); -lean_ctor_set(x_1262, 1, x_1261); -x_1263 = lean_array_push(x_1177, x_1228); +lean_ctor_set(x_1259, 0, x_1258); +lean_ctor_set(x_1259, 1, x_1257); +x_1260 = lean_array_push(x_1170, x_1259); +x_1261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1261, 0, x_1172); +lean_ctor_set(x_1261, 1, x_1260); +x_1262 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_1159); +x_1263 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1263, 0, x_1159); +lean_ctor_set(x_1263, 1, x_1262); +x_1264 = lean_array_push(x_1255, x_3); +lean_inc(x_1229); +x_1265 = lean_array_push(x_1264, x_1229); +x_1266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1266, 0, x_1258); +lean_ctor_set(x_1266, 1, x_1265); +x_1267 = lean_array_push(x_1241, x_1216); +lean_inc(x_1267); +x_1268 = lean_array_push(x_1267, x_1261); lean_inc(x_1263); -x_1264 = lean_array_push(x_1263, x_1262); -lean_inc(x_1239); -x_1265 = lean_array_push(x_1264, x_1239); -x_1266 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -x_1267 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1267, 0, x_1266); -lean_ctor_set(x_1267, 1, x_1265); -x_1268 = lean_array_push(x_1160, x_1267); -x_1269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1269, 0, x_1162); -lean_ctor_set(x_1269, 1, x_1268); -x_1270 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_1149); -x_1271 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1271, 0, x_1149); -lean_ctor_set(x_1271, 1, x_1270); -x_1272 = lean_array_push(x_1263, x_3); -lean_inc(x_1239); -x_1273 = lean_array_push(x_1272, x_1239); +x_1269 = lean_array_push(x_1268, x_1263); +x_1270 = lean_array_push(x_1269, x_1266); +x_1271 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_1272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1272, 0, x_1271); +lean_ctor_set(x_1272, 1, x_1270); +x_1273 = lean_array_push(x_1170, x_1227); x_1274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1274, 0, x_1266); +lean_ctor_set(x_1274, 0, x_1172); lean_ctor_set(x_1274, 1, x_1273); -x_1275 = lean_array_push(x_1250, x_1226); -lean_inc(x_1275); -x_1276 = lean_array_push(x_1275, x_1269); -lean_inc(x_1271); -x_1277 = lean_array_push(x_1276, x_1271); -x_1278 = lean_array_push(x_1277, x_1274); -x_1279 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_1280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1280, 0, x_1279); -lean_ctor_set(x_1280, 1, x_1278); -x_1281 = lean_array_push(x_1160, x_1237); -x_1282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1282, 0, x_1162); -lean_ctor_set(x_1282, 1, x_1281); -x_1283 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_1284 = l_Lean_addMacroScope(x_1151, x_1283, x_1150); -x_1285 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_1286 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_1287 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1287, 0, x_1149); -lean_ctor_set(x_1287, 1, x_1285); -lean_ctor_set(x_1287, 2, x_1284); -lean_ctor_set(x_1287, 3, x_1286); -x_1288 = lean_array_push(x_1240, x_1187); -x_1289 = lean_array_push(x_1288, x_1239); -x_1290 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_1291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1291, 0, x_1290); -lean_ctor_set(x_1291, 1, x_1289); -x_1292 = lean_array_push(x_1160, x_1291); -x_1293 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1293, 0, x_1162); -lean_ctor_set(x_1293, 1, x_1292); -x_1294 = lean_array_push(x_1164, x_1287); -x_1295 = lean_array_push(x_1294, x_1293); -x_1296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1296, 0, x_7); -lean_ctor_set(x_1296, 1, x_1295); -x_1297 = lean_array_push(x_1275, x_1282); -x_1298 = lean_array_push(x_1297, x_1271); -x_1299 = lean_array_push(x_1298, x_1296); -x_1300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1300, 0, x_1279); -lean_ctor_set(x_1300, 1, x_1299); -x_1301 = lean_array_push(x_1164, x_1280); -x_1302 = lean_array_push(x_1301, x_1300); -x_1303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1303, 0, x_1162); -lean_ctor_set(x_1303, 1, x_1302); -x_1304 = lean_array_push(x_1160, x_1303); -x_1305 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; -x_1306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1306, 0, x_1305); -lean_ctor_set(x_1306, 1, x_1304); -x_1307 = lean_array_push(x_1164, x_1224); -x_1308 = lean_array_push(x_1307, x_1306); -x_1309 = l_Lean_Elab_Command_mkSimpleDelab___closed__95; -x_1310 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1310, 0, x_1309); -lean_ctor_set(x_1310, 1, x_1308); -x_1311 = lean_array_push(x_1177, x_1222); -x_1312 = lean_array_push(x_1311, x_1310); -x_1313 = lean_array_push(x_1312, x_1187); -x_1314 = l_Lean_Elab_Command_mkSimpleDelab___closed__92; -x_1315 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1315, 0, x_1314); -lean_ctor_set(x_1315, 1, x_1313); -x_1316 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_1317 = lean_array_push(x_1316, x_1195); -x_1318 = lean_array_push(x_1317, x_1203); -x_1319 = lean_array_push(x_1318, x_1220); -x_1320 = lean_array_push(x_1319, x_1315); -x_1321 = lean_array_push(x_1320, x_1187); -x_1322 = lean_array_push(x_1321, x_1187); -x_1323 = lean_array_push(x_1322, x_1187); -x_1324 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_1325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1325, 0, x_1324); -lean_ctor_set(x_1325, 1, x_1323); -x_1326 = lean_array_push(x_1164, x_1193); -x_1327 = lean_array_push(x_1326, x_1325); -x_1328 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_1329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1329, 0, x_1328); -lean_ctor_set(x_1329, 1, x_1327); -lean_ctor_set(x_1147, 0, x_1329); -return x_1145; +x_1275 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_1276 = l_Lean_addMacroScope(x_1161, x_1275, x_1160); +x_1277 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_1278 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1279 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1279, 0, x_1159); +lean_ctor_set(x_1279, 1, x_1277); +lean_ctor_set(x_1279, 2, x_1276); +lean_ctor_set(x_1279, 3, x_1278); +x_1280 = lean_array_push(x_1230, x_1243); +x_1281 = lean_array_push(x_1280, x_1229); +x_1282 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_1283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1283, 0, x_1282); +lean_ctor_set(x_1283, 1, x_1281); +x_1284 = lean_array_push(x_1170, x_1283); +x_1285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1285, 0, x_1172); +lean_ctor_set(x_1285, 1, x_1284); +x_1286 = lean_array_push(x_1174, x_1279); +x_1287 = lean_array_push(x_1286, x_1285); +x_1288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1288, 0, x_7); +lean_ctor_set(x_1288, 1, x_1287); +x_1289 = lean_array_push(x_1267, x_1274); +x_1290 = lean_array_push(x_1289, x_1263); +x_1291 = lean_array_push(x_1290, x_1288); +x_1292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1292, 0, x_1271); +lean_ctor_set(x_1292, 1, x_1291); +x_1293 = lean_array_push(x_1174, x_1272); +x_1294 = lean_array_push(x_1293, x_1292); +x_1295 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1295, 0, x_1172); +lean_ctor_set(x_1295, 1, x_1294); +x_1296 = lean_array_push(x_1170, x_1295); +x_1297 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_1298 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1298, 0, x_1297); +lean_ctor_set(x_1298, 1, x_1296); +x_1299 = lean_array_push(x_1174, x_1214); +x_1300 = lean_array_push(x_1299, x_1298); +x_1301 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_1302 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1302, 0, x_1301); +lean_ctor_set(x_1302, 1, x_1300); +x_1303 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_1304 = lean_array_push(x_1303, x_1194); +x_1305 = lean_array_push(x_1304, x_1196); +x_1306 = lean_array_push(x_1305, x_1203); +x_1307 = lean_array_push(x_1306, x_1205); +x_1308 = lean_array_push(x_1307, x_1210); +x_1309 = lean_array_push(x_1308, x_1212); +x_1310 = lean_array_push(x_1309, x_1302); +x_1311 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_1312 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1312, 0, x_1311); +lean_ctor_set(x_1312, 1, x_1310); +x_1313 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1313, 0, x_1312); +lean_ctor_set(x_1001, 0, x_1313); +return x_1001; +} } else { -lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; -x_1330 = lean_ctor_get(x_1147, 0); -lean_inc(x_1330); -lean_dec(x_1147); -x_1331 = lean_ctor_get(x_5, 2); -lean_inc(x_1331); -x_1332 = lean_ctor_get(x_5, 1); -lean_inc(x_1332); +lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; +x_1314 = lean_ctor_get(x_1001, 0); +x_1315 = lean_ctor_get(x_1001, 1); +lean_inc(x_1315); +lean_inc(x_1314); +lean_dec(x_1001); +x_1316 = lean_ctor_get(x_1314, 0); +lean_inc(x_1316); +if (lean_is_exclusive(x_1314)) { + lean_ctor_release(x_1314, 0); + x_1317 = x_1314; +} else { + lean_dec_ref(x_1314); + x_1317 = lean_box(0); +} +x_1318 = lean_ctor_get(x_5, 2); +lean_inc(x_1318); +x_1319 = lean_ctor_get(x_5, 1); +lean_inc(x_1319); lean_dec(x_5); -x_1333 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1330); -x_1334 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1334, 0, x_1330); -lean_ctor_set(x_1334, 1, x_1333); -x_1335 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_1331); -lean_inc(x_1332); -x_1336 = l_Lean_addMacroScope(x_1332, x_1335, x_1331); -x_1337 = lean_box(0); -x_1338 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_1330); -x_1339 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1339, 0, x_1330); -lean_ctor_set(x_1339, 1, x_1338); -lean_ctor_set(x_1339, 2, x_1336); -lean_ctor_set(x_1339, 3, x_1337); -x_1340 = lean_mk_syntax_ident(x_584); -x_1341 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_1342 = lean_array_push(x_1341, x_1340); -x_1343 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_1344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1344, 0, x_1343); -lean_ctor_set(x_1344, 1, x_1342); -x_1345 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_1346 = lean_array_push(x_1345, x_1339); -x_1347 = lean_array_push(x_1346, x_1344); -x_1348 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; -x_1349 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1349, 0, x_1348); -lean_ctor_set(x_1349, 1, x_1347); -x_1350 = lean_array_push(x_1345, x_1); -x_1351 = lean_array_push(x_1350, x_1349); -x_1352 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -x_1353 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1353, 0, x_1352); -lean_ctor_set(x_1353, 1, x_1351); -x_1354 = lean_array_push(x_1341, x_1353); -x_1355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1355, 0, x_1343); -lean_ctor_set(x_1355, 1, x_1354); -x_1356 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_1330); -x_1357 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1357, 0, x_1330); -lean_ctor_set(x_1357, 1, x_1356); -x_1358 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_1359 = lean_array_push(x_1358, x_1334); -x_1360 = lean_array_push(x_1359, x_1355); -x_1361 = lean_array_push(x_1360, x_1357); -x_1362 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; -x_1363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1363, 0, x_1362); -lean_ctor_set(x_1363, 1, x_1361); -x_1364 = lean_array_push(x_1341, x_1363); -x_1365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1365, 0, x_1343); -lean_ctor_set(x_1365, 1, x_1364); -x_1366 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_1367 = lean_array_push(x_1366, x_1365); -x_1368 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_1369 = lean_array_push(x_1367, x_1368); -x_1370 = lean_array_push(x_1369, x_1368); -x_1371 = lean_array_push(x_1370, x_1368); -x_1372 = lean_array_push(x_1371, x_1368); -x_1373 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -x_1374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1374, 0, x_1373); -lean_ctor_set(x_1374, 1, x_1372); -x_1375 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_1330); +x_1320 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_1316); +x_1321 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1321, 0, x_1316); +lean_ctor_set(x_1321, 1, x_1320); +x_1322 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_1318); +lean_inc(x_1319); +x_1323 = l_Lean_addMacroScope(x_1319, x_1322, x_1318); +x_1324 = lean_box(0); +x_1325 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_1316); +x_1326 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1326, 0, x_1316); +lean_ctor_set(x_1326, 1, x_1325); +lean_ctor_set(x_1326, 2, x_1323); +lean_ctor_set(x_1326, 3, x_1324); +x_1327 = lean_mk_syntax_ident(x_521); +x_1328 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_1327); +x_1329 = lean_array_push(x_1328, x_1327); +x_1330 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1331, 0, x_1330); +lean_ctor_set(x_1331, 1, x_1329); +x_1332 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1333 = lean_array_push(x_1332, x_1326); +x_1334 = lean_array_push(x_1333, x_1331); +x_1335 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_1336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1336, 0, x_1335); +lean_ctor_set(x_1336, 1, x_1334); +x_1337 = lean_array_push(x_1332, x_1); +x_1338 = lean_array_push(x_1337, x_1336); +x_1339 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_1340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1340, 0, x_1339); +lean_ctor_set(x_1340, 1, x_1338); +x_1341 = lean_array_push(x_1328, x_1340); +x_1342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1342, 0, x_1330); +lean_ctor_set(x_1342, 1, x_1341); +x_1343 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_1316); +x_1344 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1344, 0, x_1316); +lean_ctor_set(x_1344, 1, x_1343); +x_1345 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_1346 = lean_array_push(x_1345, x_1321); +x_1347 = lean_array_push(x_1346, x_1342); +x_1348 = lean_array_push(x_1347, x_1344); +x_1349 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +x_1350 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1350, 0, x_1349); +lean_ctor_set(x_1350, 1, x_1348); +x_1351 = lean_array_push(x_1328, x_1350); +x_1352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1352, 0, x_1330); +lean_ctor_set(x_1352, 1, x_1351); +x_1353 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1316); +x_1354 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1354, 0, x_1316); +lean_ctor_set(x_1354, 1, x_1353); +x_1355 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_1318); +lean_inc(x_1319); +x_1356 = l_Lean_addMacroScope(x_1319, x_1355, x_1318); +x_1357 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_1316); +x_1358 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1358, 0, x_1316); +lean_ctor_set(x_1358, 1, x_1357); +lean_ctor_set(x_1358, 2, x_1356); +lean_ctor_set(x_1358, 3, x_1324); +x_1359 = lean_array_push(x_1332, x_1358); +x_1360 = lean_array_push(x_1359, x_1327); +x_1361 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1361, 0, x_1330); +lean_ctor_set(x_1361, 1, x_1360); +x_1362 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_1316); +x_1363 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1363, 0, x_1316); +lean_ctor_set(x_1363, 1, x_1362); +x_1364 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_1318); +lean_inc(x_1319); +x_1365 = l_Lean_addMacroScope(x_1319, x_1364, x_1318); +x_1366 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_1367 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_1316); +x_1368 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1368, 0, x_1316); +lean_ctor_set(x_1368, 1, x_1366); +lean_ctor_set(x_1368, 2, x_1365); +lean_ctor_set(x_1368, 3, x_1367); +x_1369 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_1316); +x_1370 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1370, 0, x_1316); +lean_ctor_set(x_1370, 1, x_1369); +x_1371 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_1316); +x_1372 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1372, 0, x_1316); +lean_ctor_set(x_1372, 1, x_1371); +x_1373 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_1316); +x_1374 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1374, 0, x_1316); +lean_ctor_set(x_1374, 1, x_1373); +x_1375 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_1316); x_1376 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1376, 0, x_1330); +lean_ctor_set(x_1376, 0, x_1316); lean_ctor_set(x_1376, 1, x_1375); -x_1377 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_1331); -lean_inc(x_1332); -x_1378 = l_Lean_addMacroScope(x_1332, x_1377, x_1331); -x_1379 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_1330); -x_1380 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1380, 0, x_1330); +x_1377 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_1316); +x_1378 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1378, 0, x_1316); +lean_ctor_set(x_1378, 1, x_1377); +x_1379 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_1316); +x_1380 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1380, 0, x_1316); lean_ctor_set(x_1380, 1, x_1379); -lean_ctor_set(x_1380, 2, x_1378); -lean_ctor_set(x_1380, 3, x_1337); -x_1381 = lean_array_push(x_1345, x_1380); -x_1382 = lean_array_push(x_1381, x_1368); -x_1383 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; -x_1384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1384, 0, x_1383); -lean_ctor_set(x_1384, 1, x_1382); -x_1385 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_1330); -x_1386 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1386, 0, x_1330); -lean_ctor_set(x_1386, 1, x_1385); -x_1387 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_1331); -lean_inc(x_1332); -x_1388 = l_Lean_addMacroScope(x_1332, x_1387, x_1331); -x_1389 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_1390 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_1330); -x_1391 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1391, 0, x_1330); -lean_ctor_set(x_1391, 1, x_1389); -lean_ctor_set(x_1391, 2, x_1388); -lean_ctor_set(x_1391, 3, x_1390); -x_1392 = lean_array_push(x_1345, x_1386); -lean_inc(x_1392); -x_1393 = lean_array_push(x_1392, x_1391); -x_1394 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; -x_1395 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1395, 0, x_1394); -lean_ctor_set(x_1395, 1, x_1393); -x_1396 = lean_array_push(x_1341, x_1395); -x_1397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1397, 0, x_1343); -lean_ctor_set(x_1397, 1, x_1396); -x_1398 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_1399 = lean_array_push(x_1398, x_1397); -x_1400 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_1401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1401, 0, x_1400); -lean_ctor_set(x_1401, 1, x_1399); -x_1402 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; -lean_inc(x_1330); -x_1403 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1403, 0, x_1330); -lean_ctor_set(x_1403, 1, x_1402); -x_1404 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -lean_inc(x_1330); -x_1405 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1405, 0, x_1330); -lean_ctor_set(x_1405, 1, x_1404); -x_1406 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_1330); -x_1407 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1407, 0, x_1330); -lean_ctor_set(x_1407, 1, x_1406); -x_1408 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_1330); -x_1409 = lean_alloc_ctor(2, 2, 0); +x_1381 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_1316); +x_1382 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1382, 0, x_1316); +lean_ctor_set(x_1382, 1, x_1381); +x_1383 = lean_array_push(x_1328, x_1382); +x_1384 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1385 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1385, 0, x_1384); +lean_ctor_set(x_1385, 1, x_1383); +x_1386 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_1316); +x_1387 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1387, 0, x_1316); +lean_ctor_set(x_1387, 1, x_1386); +x_1388 = lean_array_push(x_1345, x_1380); +lean_inc(x_1385); +lean_inc(x_1388); +x_1389 = lean_array_push(x_1388, x_1385); +lean_inc(x_1387); +x_1390 = lean_array_push(x_1389, x_1387); +x_1391 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_1392 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1392, 0, x_1391); +lean_ctor_set(x_1392, 1, x_1390); +x_1393 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_1316); +x_1394 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1394, 0, x_1316); +lean_ctor_set(x_1394, 1, x_1393); +lean_inc(x_1363); +x_1395 = lean_array_push(x_1332, x_1363); +x_1396 = lean_array_push(x_1395, x_1394); +x_1397 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_1398 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1398, 0, x_1397); +lean_ctor_set(x_1398, 1, x_1396); +x_1399 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_1400 = lean_array_push(x_1399, x_1378); +x_1401 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_1402 = lean_array_push(x_1400, x_1401); +x_1403 = lean_array_push(x_1402, x_1392); +x_1404 = lean_array_push(x_1403, x_1398); +x_1405 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +x_1406 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1406, 0, x_1405); +lean_ctor_set(x_1406, 1, x_1404); +x_1407 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_1408 = l_Array_append___rarg(x_1407, x_505); +x_1409 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1409, 0, x_1330); lean_ctor_set(x_1409, 1, x_1408); -x_1410 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_1330); -x_1411 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1411, 0, x_1330); -lean_ctor_set(x_1411, 1, x_1410); -x_1412 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_1330); -x_1413 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1413, 0, x_1330); -lean_ctor_set(x_1413, 1, x_1412); -x_1414 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_1330); -x_1415 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1415, 0, x_1330); -lean_ctor_set(x_1415, 1, x_1414); -x_1416 = lean_array_push(x_1341, x_1415); -x_1417 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_1418 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1418, 0, x_1417); -lean_ctor_set(x_1418, 1, x_1416); -x_1419 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_1330); -x_1420 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1420, 0, x_1330); -lean_ctor_set(x_1420, 1, x_1419); -x_1421 = lean_array_push(x_1358, x_1413); -lean_inc(x_1418); +x_1410 = lean_array_push(x_1332, x_1406); +x_1411 = lean_array_push(x_1410, x_1409); +x_1412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1412, 0, x_7); +lean_ctor_set(x_1412, 1, x_1411); +x_1413 = lean_array_push(x_1345, x_1376); +lean_inc(x_1413); +x_1414 = lean_array_push(x_1413, x_1412); +lean_inc(x_1387); +x_1415 = lean_array_push(x_1414, x_1387); +x_1416 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_1417 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1417, 0, x_1416); +lean_ctor_set(x_1417, 1, x_1415); +x_1418 = lean_array_push(x_1328, x_1417); +x_1419 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1419, 0, x_1330); +lean_ctor_set(x_1419, 1, x_1418); +x_1420 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_1316); +x_1421 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1421, 0, x_1316); +lean_ctor_set(x_1421, 1, x_1420); +x_1422 = lean_array_push(x_1413, x_3); +lean_inc(x_1387); +x_1423 = lean_array_push(x_1422, x_1387); +x_1424 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1424, 0, x_1416); +lean_ctor_set(x_1424, 1, x_1423); +x_1425 = lean_array_push(x_1399, x_1374); +lean_inc(x_1425); +x_1426 = lean_array_push(x_1425, x_1419); lean_inc(x_1421); -x_1422 = lean_array_push(x_1421, x_1418); -lean_inc(x_1420); -x_1423 = lean_array_push(x_1422, x_1420); -x_1424 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_1425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1425, 0, x_1424); -lean_ctor_set(x_1425, 1, x_1423); -x_1426 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_1330); -x_1427 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1427, 0, x_1330); -lean_ctor_set(x_1427, 1, x_1426); -x_1428 = lean_array_push(x_1392, x_1427); -x_1429 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1427 = lean_array_push(x_1426, x_1421); +x_1428 = lean_array_push(x_1427, x_1424); +x_1429 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; x_1430 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1430, 0, x_1429); lean_ctor_set(x_1430, 1, x_1428); -x_1431 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_1432 = lean_array_push(x_1431, x_1411); -x_1433 = lean_array_push(x_1432, x_1368); -x_1434 = lean_array_push(x_1433, x_1425); -x_1435 = lean_array_push(x_1434, x_1430); -x_1436 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_1437 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1437, 0, x_1436); +x_1431 = lean_array_push(x_1328, x_1385); +x_1432 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1432, 0, x_1330); +lean_ctor_set(x_1432, 1, x_1431); +x_1433 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_1434 = l_Lean_addMacroScope(x_1319, x_1433, x_1318); +x_1435 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_1436 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1437 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1437, 0, x_1316); lean_ctor_set(x_1437, 1, x_1435); -x_1438 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1439 = l_Array_append___rarg(x_1438, x_568); -x_1440 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1440, 0, x_1343); -lean_ctor_set(x_1440, 1, x_1439); -x_1441 = lean_array_push(x_1345, x_1437); -x_1442 = lean_array_push(x_1441, x_1440); +lean_ctor_set(x_1437, 2, x_1434); +lean_ctor_set(x_1437, 3, x_1436); +x_1438 = lean_array_push(x_1388, x_1401); +x_1439 = lean_array_push(x_1438, x_1387); +x_1440 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_1441 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1441, 0, x_1440); +lean_ctor_set(x_1441, 1, x_1439); +x_1442 = lean_array_push(x_1328, x_1441); x_1443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1443, 0, x_7); +lean_ctor_set(x_1443, 0, x_1330); lean_ctor_set(x_1443, 1, x_1442); -x_1444 = lean_array_push(x_1358, x_1409); -lean_inc(x_1444); +x_1444 = lean_array_push(x_1332, x_1437); x_1445 = lean_array_push(x_1444, x_1443); -lean_inc(x_1420); -x_1446 = lean_array_push(x_1445, x_1420); -x_1447 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -x_1448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1448, 0, x_1447); -lean_ctor_set(x_1448, 1, x_1446); -x_1449 = lean_array_push(x_1341, x_1448); +x_1446 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1446, 0, x_7); +lean_ctor_set(x_1446, 1, x_1445); +x_1447 = lean_array_push(x_1425, x_1432); +x_1448 = lean_array_push(x_1447, x_1421); +x_1449 = lean_array_push(x_1448, x_1446); x_1450 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1450, 0, x_1343); +lean_ctor_set(x_1450, 0, x_1429); lean_ctor_set(x_1450, 1, x_1449); -x_1451 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_1330); -x_1452 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1452, 0, x_1330); -lean_ctor_set(x_1452, 1, x_1451); -x_1453 = lean_array_push(x_1444, x_3); -lean_inc(x_1420); -x_1454 = lean_array_push(x_1453, x_1420); -x_1455 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1455, 0, x_1447); -lean_ctor_set(x_1455, 1, x_1454); -x_1456 = lean_array_push(x_1431, x_1407); -lean_inc(x_1456); -x_1457 = lean_array_push(x_1456, x_1450); -lean_inc(x_1452); -x_1458 = lean_array_push(x_1457, x_1452); -x_1459 = lean_array_push(x_1458, x_1455); -x_1460 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_1461 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1461, 0, x_1460); -lean_ctor_set(x_1461, 1, x_1459); -x_1462 = lean_array_push(x_1341, x_1418); -x_1463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1463, 0, x_1343); -lean_ctor_set(x_1463, 1, x_1462); -x_1464 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_1465 = l_Lean_addMacroScope(x_1332, x_1464, x_1331); -x_1466 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_1467 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_1468 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1468, 0, x_1330); -lean_ctor_set(x_1468, 1, x_1466); -lean_ctor_set(x_1468, 2, x_1465); -lean_ctor_set(x_1468, 3, x_1467); -x_1469 = lean_array_push(x_1421, x_1368); -x_1470 = lean_array_push(x_1469, x_1420); -x_1471 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_1472 = lean_alloc_ctor(1, 2, 0); +x_1451 = lean_array_push(x_1332, x_1430); +x_1452 = lean_array_push(x_1451, x_1450); +x_1453 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1453, 0, x_1330); +lean_ctor_set(x_1453, 1, x_1452); +x_1454 = lean_array_push(x_1328, x_1453); +x_1455 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_1456 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1456, 0, x_1455); +lean_ctor_set(x_1456, 1, x_1454); +x_1457 = lean_array_push(x_1332, x_1372); +x_1458 = lean_array_push(x_1457, x_1456); +x_1459 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_1460 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1460, 0, x_1459); +lean_ctor_set(x_1460, 1, x_1458); +x_1461 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_1462 = lean_array_push(x_1461, x_1352); +x_1463 = lean_array_push(x_1462, x_1354); +x_1464 = lean_array_push(x_1463, x_1361); +x_1465 = lean_array_push(x_1464, x_1363); +x_1466 = lean_array_push(x_1465, x_1368); +x_1467 = lean_array_push(x_1466, x_1370); +x_1468 = lean_array_push(x_1467, x_1460); +x_1469 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_1470 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1470, 0, x_1469); +lean_ctor_set(x_1470, 1, x_1468); +if (lean_is_scalar(x_1317)) { + x_1471 = lean_alloc_ctor(1, 1, 0); +} else { + x_1471 = x_1317; +} +lean_ctor_set(x_1471, 0, x_1470); +x_1472 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_1472, 0, x_1471); -lean_ctor_set(x_1472, 1, x_1470); -x_1473 = lean_array_push(x_1341, x_1472); -x_1474 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1474, 0, x_1343); -lean_ctor_set(x_1474, 1, x_1473); -x_1475 = lean_array_push(x_1345, x_1468); -x_1476 = lean_array_push(x_1475, x_1474); -x_1477 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1477, 0, x_7); -lean_ctor_set(x_1477, 1, x_1476); -x_1478 = lean_array_push(x_1456, x_1463); -x_1479 = lean_array_push(x_1478, x_1452); -x_1480 = lean_array_push(x_1479, x_1477); -x_1481 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1481, 0, x_1460); -lean_ctor_set(x_1481, 1, x_1480); -x_1482 = lean_array_push(x_1345, x_1461); -x_1483 = lean_array_push(x_1482, x_1481); -x_1484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1484, 0, x_1343); -lean_ctor_set(x_1484, 1, x_1483); -x_1485 = lean_array_push(x_1341, x_1484); -x_1486 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; -x_1487 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1487, 0, x_1486); -lean_ctor_set(x_1487, 1, x_1485); -x_1488 = lean_array_push(x_1345, x_1405); -x_1489 = lean_array_push(x_1488, x_1487); -x_1490 = l_Lean_Elab_Command_mkSimpleDelab___closed__95; -x_1491 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1491, 0, x_1490); -lean_ctor_set(x_1491, 1, x_1489); -x_1492 = lean_array_push(x_1358, x_1403); -x_1493 = lean_array_push(x_1492, x_1491); -x_1494 = lean_array_push(x_1493, x_1368); -x_1495 = l_Lean_Elab_Command_mkSimpleDelab___closed__92; +lean_ctor_set(x_1472, 1, x_1315); +return x_1472; +} +} +} +else +{ +size_t x_1473; size_t x_1474; uint8_t x_1475; +x_1473 = 0; +x_1474 = lean_usize_of_nat(x_522); +lean_dec(x_522); +x_1475 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_505, x_1473, x_1474); +if (x_1475 == 0) +{ +uint8_t x_1476; +x_1476 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_505, x_497); +if (x_1476 == 0) +{ +lean_object* x_1477; +lean_dec(x_521); +lean_dec(x_505); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1477 = lean_box(0); +lean_ctor_set(x_507, 0, x_1477); +return x_507; +} +else +{ +lean_object* x_1478; uint8_t x_1479; +lean_free_object(x_507); +lean_inc(x_5); +x_1478 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_519); +x_1479 = !lean_is_exclusive(x_1478); +if (x_1479 == 0) +{ +lean_object* x_1480; uint8_t x_1481; +x_1480 = lean_ctor_get(x_1478, 0); +x_1481 = !lean_is_exclusive(x_1480); +if (x_1481 == 0) +{ +lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; +x_1482 = lean_ctor_get(x_1480, 0); +x_1483 = lean_ctor_get(x_5, 2); +lean_inc(x_1483); +x_1484 = lean_ctor_get(x_5, 1); +lean_inc(x_1484); +lean_dec(x_5); +x_1485 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_1482); +x_1486 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1486, 0, x_1482); +lean_ctor_set(x_1486, 1, x_1485); +x_1487 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_1483); +lean_inc(x_1484); +x_1488 = l_Lean_addMacroScope(x_1484, x_1487, x_1483); +x_1489 = lean_box(0); +x_1490 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_1482); +x_1491 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1491, 0, x_1482); +lean_ctor_set(x_1491, 1, x_1490); +lean_ctor_set(x_1491, 2, x_1488); +lean_ctor_set(x_1491, 3, x_1489); +x_1492 = lean_mk_syntax_ident(x_521); +x_1493 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_1492); +x_1494 = lean_array_push(x_1493, x_1492); +x_1495 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; x_1496 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1496, 0, x_1495); lean_ctor_set(x_1496, 1, x_1494); -x_1497 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_1498 = lean_array_push(x_1497, x_1376); -x_1499 = lean_array_push(x_1498, x_1384); -x_1500 = lean_array_push(x_1499, x_1401); -x_1501 = lean_array_push(x_1500, x_1496); -x_1502 = lean_array_push(x_1501, x_1368); -x_1503 = lean_array_push(x_1502, x_1368); -x_1504 = lean_array_push(x_1503, x_1368); -x_1505 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_1506 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1506, 0, x_1505); -lean_ctor_set(x_1506, 1, x_1504); -x_1507 = lean_array_push(x_1345, x_1374); -x_1508 = lean_array_push(x_1507, x_1506); -x_1509 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_1510 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1510, 0, x_1509); -lean_ctor_set(x_1510, 1, x_1508); -x_1511 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1511, 0, x_1510); -lean_ctor_set(x_1145, 0, x_1511); -return x_1145; -} -} -else -{ -lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; -x_1512 = lean_ctor_get(x_1145, 0); -x_1513 = lean_ctor_get(x_1145, 1); -lean_inc(x_1513); -lean_inc(x_1512); -lean_dec(x_1145); -x_1514 = lean_ctor_get(x_1512, 0); -lean_inc(x_1514); -if (lean_is_exclusive(x_1512)) { - lean_ctor_release(x_1512, 0); - x_1515 = x_1512; -} else { - lean_dec_ref(x_1512); - x_1515 = lean_box(0); -} -x_1516 = lean_ctor_get(x_5, 2); -lean_inc(x_1516); -x_1517 = lean_ctor_get(x_5, 1); -lean_inc(x_1517); -lean_dec(x_5); -x_1518 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1514); +x_1497 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1498 = lean_array_push(x_1497, x_1491); +x_1499 = lean_array_push(x_1498, x_1496); +x_1500 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_1501 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1501, 0, x_1500); +lean_ctor_set(x_1501, 1, x_1499); +x_1502 = lean_array_push(x_1497, x_1); +x_1503 = lean_array_push(x_1502, x_1501); +x_1504 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_1505 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1505, 0, x_1504); +lean_ctor_set(x_1505, 1, x_1503); +x_1506 = lean_array_push(x_1493, x_1505); +x_1507 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1507, 0, x_1495); +lean_ctor_set(x_1507, 1, x_1506); +x_1508 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_1482); +x_1509 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1509, 0, x_1482); +lean_ctor_set(x_1509, 1, x_1508); +x_1510 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_1511 = lean_array_push(x_1510, x_1486); +x_1512 = lean_array_push(x_1511, x_1507); +x_1513 = lean_array_push(x_1512, x_1509); +x_1514 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +x_1515 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1515, 0, x_1514); +lean_ctor_set(x_1515, 1, x_1513); +x_1516 = lean_array_push(x_1493, x_1515); +x_1517 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1517, 0, x_1495); +lean_ctor_set(x_1517, 1, x_1516); +x_1518 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1482); x_1519 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1519, 0, x_1514); +lean_ctor_set(x_1519, 0, x_1482); lean_ctor_set(x_1519, 1, x_1518); -x_1520 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_1516); -lean_inc(x_1517); -x_1521 = l_Lean_addMacroScope(x_1517, x_1520, x_1516); -x_1522 = lean_box(0); -x_1523 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_1514); -x_1524 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1524, 0, x_1514); -lean_ctor_set(x_1524, 1, x_1523); -lean_ctor_set(x_1524, 2, x_1521); -lean_ctor_set(x_1524, 3, x_1522); -x_1525 = lean_mk_syntax_ident(x_584); -x_1526 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_1527 = lean_array_push(x_1526, x_1525); -x_1528 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_1529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1529, 0, x_1528); -lean_ctor_set(x_1529, 1, x_1527); -x_1530 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_1531 = lean_array_push(x_1530, x_1524); -x_1532 = lean_array_push(x_1531, x_1529); -x_1533 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; -x_1534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1534, 0, x_1533); -lean_ctor_set(x_1534, 1, x_1532); -x_1535 = lean_array_push(x_1530, x_1); -x_1536 = lean_array_push(x_1535, x_1534); -x_1537 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -x_1538 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1538, 0, x_1537); -lean_ctor_set(x_1538, 1, x_1536); -x_1539 = lean_array_push(x_1526, x_1538); -x_1540 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1540, 0, x_1528); -lean_ctor_set(x_1540, 1, x_1539); -x_1541 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_1514); -x_1542 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1542, 0, x_1514); -lean_ctor_set(x_1542, 1, x_1541); -x_1543 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_1544 = lean_array_push(x_1543, x_1519); -x_1545 = lean_array_push(x_1544, x_1540); -x_1546 = lean_array_push(x_1545, x_1542); -x_1547 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; -x_1548 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1548, 0, x_1547); -lean_ctor_set(x_1548, 1, x_1546); -x_1549 = lean_array_push(x_1526, x_1548); +x_1520 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_1483); +lean_inc(x_1484); +x_1521 = l_Lean_addMacroScope(x_1484, x_1520, x_1483); +x_1522 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_1482); +x_1523 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1523, 0, x_1482); +lean_ctor_set(x_1523, 1, x_1522); +lean_ctor_set(x_1523, 2, x_1521); +lean_ctor_set(x_1523, 3, x_1489); +x_1524 = lean_array_push(x_1497, x_1523); +x_1525 = lean_array_push(x_1524, x_1492); +x_1526 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1526, 0, x_1495); +lean_ctor_set(x_1526, 1, x_1525); +x_1527 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_1482); +x_1528 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1528, 0, x_1482); +lean_ctor_set(x_1528, 1, x_1527); +x_1529 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_1483); +lean_inc(x_1484); +x_1530 = l_Lean_addMacroScope(x_1484, x_1529, x_1483); +x_1531 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_1532 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_1482); +x_1533 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1533, 0, x_1482); +lean_ctor_set(x_1533, 1, x_1531); +lean_ctor_set(x_1533, 2, x_1530); +lean_ctor_set(x_1533, 3, x_1532); +x_1534 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_1482); +x_1535 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1535, 0, x_1482); +lean_ctor_set(x_1535, 1, x_1534); +x_1536 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_1482); +x_1537 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1537, 0, x_1482); +lean_ctor_set(x_1537, 1, x_1536); +x_1538 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_1482); +x_1539 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1539, 0, x_1482); +lean_ctor_set(x_1539, 1, x_1538); +x_1540 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_1482); +x_1541 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1541, 0, x_1482); +lean_ctor_set(x_1541, 1, x_1540); +x_1542 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_1482); +x_1543 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1543, 0, x_1482); +lean_ctor_set(x_1543, 1, x_1542); +x_1544 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_1482); +x_1545 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1545, 0, x_1482); +lean_ctor_set(x_1545, 1, x_1544); +x_1546 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_1482); +x_1547 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1547, 0, x_1482); +lean_ctor_set(x_1547, 1, x_1546); +x_1548 = lean_array_push(x_1493, x_1547); +x_1549 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; x_1550 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1550, 0, x_1528); -lean_ctor_set(x_1550, 1, x_1549); -x_1551 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_1552 = lean_array_push(x_1551, x_1550); -x_1553 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_1554 = lean_array_push(x_1552, x_1553); -x_1555 = lean_array_push(x_1554, x_1553); -x_1556 = lean_array_push(x_1555, x_1553); -x_1557 = lean_array_push(x_1556, x_1553); -x_1558 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -x_1559 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1559, 0, x_1558); -lean_ctor_set(x_1559, 1, x_1557); -x_1560 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_1514); -x_1561 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1561, 0, x_1514); -lean_ctor_set(x_1561, 1, x_1560); -x_1562 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_1516); -lean_inc(x_1517); -x_1563 = l_Lean_addMacroScope(x_1517, x_1562, x_1516); -x_1564 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_1514); -x_1565 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1565, 0, x_1514); -lean_ctor_set(x_1565, 1, x_1564); -lean_ctor_set(x_1565, 2, x_1563); -lean_ctor_set(x_1565, 3, x_1522); -x_1566 = lean_array_push(x_1530, x_1565); -x_1567 = lean_array_push(x_1566, x_1553); -x_1568 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; -x_1569 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1569, 0, x_1568); -lean_ctor_set(x_1569, 1, x_1567); -x_1570 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_1514); -x_1571 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1571, 0, x_1514); -lean_ctor_set(x_1571, 1, x_1570); -x_1572 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_1516); -lean_inc(x_1517); -x_1573 = l_Lean_addMacroScope(x_1517, x_1572, x_1516); -x_1574 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_1575 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_1514); -x_1576 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1576, 0, x_1514); -lean_ctor_set(x_1576, 1, x_1574); -lean_ctor_set(x_1576, 2, x_1573); -lean_ctor_set(x_1576, 3, x_1575); -x_1577 = lean_array_push(x_1530, x_1571); -lean_inc(x_1577); -x_1578 = lean_array_push(x_1577, x_1576); -x_1579 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; -x_1580 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1580, 0, x_1579); -lean_ctor_set(x_1580, 1, x_1578); -x_1581 = lean_array_push(x_1526, x_1580); +lean_ctor_set(x_1550, 0, x_1549); +lean_ctor_set(x_1550, 1, x_1548); +x_1551 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_1482); +x_1552 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1552, 0, x_1482); +lean_ctor_set(x_1552, 1, x_1551); +x_1553 = lean_array_push(x_1510, x_1545); +lean_inc(x_1550); +lean_inc(x_1553); +x_1554 = lean_array_push(x_1553, x_1550); +lean_inc(x_1552); +x_1555 = lean_array_push(x_1554, x_1552); +x_1556 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_1557 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1557, 0, x_1556); +lean_ctor_set(x_1557, 1, x_1555); +x_1558 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_1482); +x_1559 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1559, 0, x_1482); +lean_ctor_set(x_1559, 1, x_1558); +lean_inc(x_1528); +x_1560 = lean_array_push(x_1497, x_1528); +x_1561 = lean_array_push(x_1560, x_1559); +x_1562 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_1563 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1563, 0, x_1562); +lean_ctor_set(x_1563, 1, x_1561); +x_1564 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_1565 = lean_array_push(x_1564, x_1543); +x_1566 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_1567 = lean_array_push(x_1565, x_1566); +x_1568 = lean_array_push(x_1567, x_1557); +x_1569 = lean_array_push(x_1568, x_1563); +x_1570 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +x_1571 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1571, 0, x_1570); +lean_ctor_set(x_1571, 1, x_1569); +x_1572 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_1573 = l_Array_append___rarg(x_1572, x_505); +x_1574 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1574, 0, x_1495); +lean_ctor_set(x_1574, 1, x_1573); +x_1575 = lean_array_push(x_1497, x_1571); +x_1576 = lean_array_push(x_1575, x_1574); +x_1577 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1577, 0, x_7); +lean_ctor_set(x_1577, 1, x_1576); +x_1578 = lean_array_push(x_1510, x_1541); +lean_inc(x_1578); +x_1579 = lean_array_push(x_1578, x_1577); +lean_inc(x_1552); +x_1580 = lean_array_push(x_1579, x_1552); +x_1581 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; x_1582 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1582, 0, x_1528); -lean_ctor_set(x_1582, 1, x_1581); -x_1583 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_1584 = lean_array_push(x_1583, x_1582); -x_1585 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_1586 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1586, 0, x_1585); -lean_ctor_set(x_1586, 1, x_1584); -x_1587 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; -lean_inc(x_1514); -x_1588 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1588, 0, x_1514); -lean_ctor_set(x_1588, 1, x_1587); -x_1589 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -lean_inc(x_1514); -x_1590 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1590, 0, x_1514); -lean_ctor_set(x_1590, 1, x_1589); -x_1591 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_1514); -x_1592 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1592, 0, x_1514); -lean_ctor_set(x_1592, 1, x_1591); -x_1593 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_1514); -x_1594 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1594, 0, x_1514); -lean_ctor_set(x_1594, 1, x_1593); -x_1595 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_1514); -x_1596 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1596, 0, x_1514); -lean_ctor_set(x_1596, 1, x_1595); -x_1597 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_1514); -x_1598 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1598, 0, x_1514); -lean_ctor_set(x_1598, 1, x_1597); -x_1599 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_1514); -x_1600 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1600, 0, x_1514); -lean_ctor_set(x_1600, 1, x_1599); -x_1601 = lean_array_push(x_1526, x_1600); -x_1602 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_1603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1603, 0, x_1602); -lean_ctor_set(x_1603, 1, x_1601); -x_1604 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_1514); -x_1605 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1605, 0, x_1514); -lean_ctor_set(x_1605, 1, x_1604); -x_1606 = lean_array_push(x_1543, x_1598); -lean_inc(x_1603); -lean_inc(x_1606); -x_1607 = lean_array_push(x_1606, x_1603); -lean_inc(x_1605); -x_1608 = lean_array_push(x_1607, x_1605); -x_1609 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_1610 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1610, 0, x_1609); -lean_ctor_set(x_1610, 1, x_1608); -x_1611 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_1514); -x_1612 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1612, 0, x_1514); -lean_ctor_set(x_1612, 1, x_1611); -x_1613 = lean_array_push(x_1577, x_1612); -x_1614 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +lean_ctor_set(x_1582, 0, x_1581); +lean_ctor_set(x_1582, 1, x_1580); +x_1583 = lean_array_push(x_1493, x_1582); +x_1584 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1584, 0, x_1495); +lean_ctor_set(x_1584, 1, x_1583); +x_1585 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_1482); +x_1586 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1586, 0, x_1482); +lean_ctor_set(x_1586, 1, x_1585); +x_1587 = lean_array_push(x_1578, x_3); +lean_inc(x_1552); +x_1588 = lean_array_push(x_1587, x_1552); +x_1589 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1589, 0, x_1581); +lean_ctor_set(x_1589, 1, x_1588); +x_1590 = lean_array_push(x_1564, x_1539); +lean_inc(x_1590); +x_1591 = lean_array_push(x_1590, x_1584); +lean_inc(x_1586); +x_1592 = lean_array_push(x_1591, x_1586); +x_1593 = lean_array_push(x_1592, x_1589); +x_1594 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_1595 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1595, 0, x_1594); +lean_ctor_set(x_1595, 1, x_1593); +x_1596 = lean_array_push(x_1493, x_1550); +x_1597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1597, 0, x_1495); +lean_ctor_set(x_1597, 1, x_1596); +x_1598 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_1599 = l_Lean_addMacroScope(x_1484, x_1598, x_1483); +x_1600 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_1601 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1602 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1602, 0, x_1482); +lean_ctor_set(x_1602, 1, x_1600); +lean_ctor_set(x_1602, 2, x_1599); +lean_ctor_set(x_1602, 3, x_1601); +x_1603 = lean_array_push(x_1553, x_1566); +x_1604 = lean_array_push(x_1603, x_1552); +x_1605 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_1606 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1606, 0, x_1605); +lean_ctor_set(x_1606, 1, x_1604); +x_1607 = lean_array_push(x_1493, x_1606); +x_1608 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1608, 0, x_1495); +lean_ctor_set(x_1608, 1, x_1607); +x_1609 = lean_array_push(x_1497, x_1602); +x_1610 = lean_array_push(x_1609, x_1608); +x_1611 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1611, 0, x_7); +lean_ctor_set(x_1611, 1, x_1610); +x_1612 = lean_array_push(x_1590, x_1597); +x_1613 = lean_array_push(x_1612, x_1586); +x_1614 = lean_array_push(x_1613, x_1611); x_1615 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1615, 0, x_1614); -lean_ctor_set(x_1615, 1, x_1613); -x_1616 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_1617 = lean_array_push(x_1616, x_1596); -x_1618 = lean_array_push(x_1617, x_1553); -x_1619 = lean_array_push(x_1618, x_1610); -x_1620 = lean_array_push(x_1619, x_1615); -x_1621 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_1622 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1622, 0, x_1621); -lean_ctor_set(x_1622, 1, x_1620); -x_1623 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1624 = l_Array_append___rarg(x_1623, x_568); +lean_ctor_set(x_1615, 0, x_1594); +lean_ctor_set(x_1615, 1, x_1614); +x_1616 = lean_array_push(x_1497, x_1595); +x_1617 = lean_array_push(x_1616, x_1615); +x_1618 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1618, 0, x_1495); +lean_ctor_set(x_1618, 1, x_1617); +x_1619 = lean_array_push(x_1493, x_1618); +x_1620 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_1621 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1621, 0, x_1620); +lean_ctor_set(x_1621, 1, x_1619); +x_1622 = lean_array_push(x_1497, x_1537); +x_1623 = lean_array_push(x_1622, x_1621); +x_1624 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; x_1625 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1625, 0, x_1528); -lean_ctor_set(x_1625, 1, x_1624); -x_1626 = lean_array_push(x_1530, x_1622); -x_1627 = lean_array_push(x_1626, x_1625); -x_1628 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1628, 0, x_7); -lean_ctor_set(x_1628, 1, x_1627); -x_1629 = lean_array_push(x_1543, x_1594); -lean_inc(x_1629); -x_1630 = lean_array_push(x_1629, x_1628); -lean_inc(x_1605); -x_1631 = lean_array_push(x_1630, x_1605); -x_1632 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -x_1633 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1633, 0, x_1632); -lean_ctor_set(x_1633, 1, x_1631); -x_1634 = lean_array_push(x_1526, x_1633); +lean_ctor_set(x_1625, 0, x_1624); +lean_ctor_set(x_1625, 1, x_1623); +x_1626 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_1627 = lean_array_push(x_1626, x_1517); +x_1628 = lean_array_push(x_1627, x_1519); +x_1629 = lean_array_push(x_1628, x_1526); +x_1630 = lean_array_push(x_1629, x_1528); +x_1631 = lean_array_push(x_1630, x_1533); +x_1632 = lean_array_push(x_1631, x_1535); +x_1633 = lean_array_push(x_1632, x_1625); +x_1634 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; x_1635 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1635, 0, x_1528); -lean_ctor_set(x_1635, 1, x_1634); -x_1636 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_1514); -x_1637 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1637, 0, x_1514); -lean_ctor_set(x_1637, 1, x_1636); -x_1638 = lean_array_push(x_1629, x_3); -lean_inc(x_1605); -x_1639 = lean_array_push(x_1638, x_1605); -x_1640 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1640, 0, x_1632); -lean_ctor_set(x_1640, 1, x_1639); -x_1641 = lean_array_push(x_1616, x_1592); -lean_inc(x_1641); -x_1642 = lean_array_push(x_1641, x_1635); +lean_ctor_set(x_1635, 0, x_1634); +lean_ctor_set(x_1635, 1, x_1633); +lean_ctor_set(x_1480, 0, x_1635); +return x_1478; +} +else +{ +lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; +x_1636 = lean_ctor_get(x_1480, 0); +lean_inc(x_1636); +lean_dec(x_1480); +x_1637 = lean_ctor_get(x_5, 2); lean_inc(x_1637); -x_1643 = lean_array_push(x_1642, x_1637); -x_1644 = lean_array_push(x_1643, x_1640); -x_1645 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_1646 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1646, 0, x_1645); -lean_ctor_set(x_1646, 1, x_1644); -x_1647 = lean_array_push(x_1526, x_1603); -x_1648 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1648, 0, x_1528); -lean_ctor_set(x_1648, 1, x_1647); -x_1649 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_1650 = l_Lean_addMacroScope(x_1517, x_1649, x_1516); -x_1651 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_1652 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_1653 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1653, 0, x_1514); -lean_ctor_set(x_1653, 1, x_1651); -lean_ctor_set(x_1653, 2, x_1650); -lean_ctor_set(x_1653, 3, x_1652); -x_1654 = lean_array_push(x_1606, x_1553); -x_1655 = lean_array_push(x_1654, x_1605); -x_1656 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_1657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1657, 0, x_1656); -lean_ctor_set(x_1657, 1, x_1655); -x_1658 = lean_array_push(x_1526, x_1657); +x_1638 = lean_ctor_get(x_5, 1); +lean_inc(x_1638); +lean_dec(x_5); +x_1639 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_1636); +x_1640 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1640, 0, x_1636); +lean_ctor_set(x_1640, 1, x_1639); +x_1641 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_1637); +lean_inc(x_1638); +x_1642 = l_Lean_addMacroScope(x_1638, x_1641, x_1637); +x_1643 = lean_box(0); +x_1644 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_1636); +x_1645 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1645, 0, x_1636); +lean_ctor_set(x_1645, 1, x_1644); +lean_ctor_set(x_1645, 2, x_1642); +lean_ctor_set(x_1645, 3, x_1643); +x_1646 = lean_mk_syntax_ident(x_521); +x_1647 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_1646); +x_1648 = lean_array_push(x_1647, x_1646); +x_1649 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1650 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1650, 0, x_1649); +lean_ctor_set(x_1650, 1, x_1648); +x_1651 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1652 = lean_array_push(x_1651, x_1645); +x_1653 = lean_array_push(x_1652, x_1650); +x_1654 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_1655 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1655, 0, x_1654); +lean_ctor_set(x_1655, 1, x_1653); +x_1656 = lean_array_push(x_1651, x_1); +x_1657 = lean_array_push(x_1656, x_1655); +x_1658 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; x_1659 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1659, 0, x_1528); -lean_ctor_set(x_1659, 1, x_1658); -x_1660 = lean_array_push(x_1530, x_1653); -x_1661 = lean_array_push(x_1660, x_1659); -x_1662 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1662, 0, x_7); -lean_ctor_set(x_1662, 1, x_1661); -x_1663 = lean_array_push(x_1641, x_1648); -x_1664 = lean_array_push(x_1663, x_1637); -x_1665 = lean_array_push(x_1664, x_1662); -x_1666 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1666, 0, x_1645); -lean_ctor_set(x_1666, 1, x_1665); -x_1667 = lean_array_push(x_1530, x_1646); -x_1668 = lean_array_push(x_1667, x_1666); +lean_ctor_set(x_1659, 0, x_1658); +lean_ctor_set(x_1659, 1, x_1657); +x_1660 = lean_array_push(x_1647, x_1659); +x_1661 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1661, 0, x_1649); +lean_ctor_set(x_1661, 1, x_1660); +x_1662 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_1636); +x_1663 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1663, 0, x_1636); +lean_ctor_set(x_1663, 1, x_1662); +x_1664 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_1665 = lean_array_push(x_1664, x_1640); +x_1666 = lean_array_push(x_1665, x_1661); +x_1667 = lean_array_push(x_1666, x_1663); +x_1668 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; x_1669 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1669, 0, x_1528); -lean_ctor_set(x_1669, 1, x_1668); -x_1670 = lean_array_push(x_1526, x_1669); -x_1671 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; -x_1672 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1672, 0, x_1671); -lean_ctor_set(x_1672, 1, x_1670); -x_1673 = lean_array_push(x_1530, x_1590); -x_1674 = lean_array_push(x_1673, x_1672); -x_1675 = l_Lean_Elab_Command_mkSimpleDelab___closed__95; -x_1676 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1676, 0, x_1675); -lean_ctor_set(x_1676, 1, x_1674); -x_1677 = lean_array_push(x_1543, x_1588); -x_1678 = lean_array_push(x_1677, x_1676); -x_1679 = lean_array_push(x_1678, x_1553); -x_1680 = l_Lean_Elab_Command_mkSimpleDelab___closed__92; -x_1681 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1681, 0, x_1680); -lean_ctor_set(x_1681, 1, x_1679); -x_1682 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_1683 = lean_array_push(x_1682, x_1561); -x_1684 = lean_array_push(x_1683, x_1569); -x_1685 = lean_array_push(x_1684, x_1586); -x_1686 = lean_array_push(x_1685, x_1681); -x_1687 = lean_array_push(x_1686, x_1553); -x_1688 = lean_array_push(x_1687, x_1553); -x_1689 = lean_array_push(x_1688, x_1553); -x_1690 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_1691 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1691, 0, x_1690); -lean_ctor_set(x_1691, 1, x_1689); -x_1692 = lean_array_push(x_1530, x_1559); -x_1693 = lean_array_push(x_1692, x_1691); -x_1694 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_1695 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1695, 0, x_1694); -lean_ctor_set(x_1695, 1, x_1693); -if (lean_is_scalar(x_1515)) { - x_1696 = lean_alloc_ctor(1, 1, 0); -} else { - x_1696 = x_1515; -} -lean_ctor_set(x_1696, 0, x_1695); -x_1697 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1697, 0, x_1696); -lean_ctor_set(x_1697, 1, x_1513); -return x_1697; -} -} -} -else -{ -size_t x_1698; size_t x_1699; uint8_t x_1700; -x_1698 = 0; -x_1699 = lean_usize_of_nat(x_585); -lean_dec(x_585); -x_1700 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_568, x_1698, x_1699); -if (x_1700 == 0) -{ -uint8_t x_1701; -x_1701 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_568, x_560); -if (x_1701 == 0) -{ -lean_object* x_1702; -lean_dec(x_584); -lean_dec(x_568); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1702 = lean_box(0); -lean_ctor_set(x_570, 0, x_1702); -return x_570; -} -else -{ -lean_object* x_1703; uint8_t x_1704; -lean_free_object(x_570); -lean_inc(x_5); -x_1703 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_582); -x_1704 = !lean_is_exclusive(x_1703); -if (x_1704 == 0) -{ -lean_object* x_1705; uint8_t x_1706; -x_1705 = lean_ctor_get(x_1703, 0); -x_1706 = !lean_is_exclusive(x_1705); -if (x_1706 == 0) -{ -lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; -x_1707 = lean_ctor_get(x_1705, 0); -x_1708 = lean_ctor_get(x_5, 2); -lean_inc(x_1708); -x_1709 = lean_ctor_get(x_5, 1); -lean_inc(x_1709); -lean_dec(x_5); -x_1710 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +lean_ctor_set(x_1669, 0, x_1668); +lean_ctor_set(x_1669, 1, x_1667); +x_1670 = lean_array_push(x_1647, x_1669); +x_1671 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1671, 0, x_1649); +lean_ctor_set(x_1671, 1, x_1670); +x_1672 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1636); +x_1673 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1673, 0, x_1636); +lean_ctor_set(x_1673, 1, x_1672); +x_1674 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_1637); +lean_inc(x_1638); +x_1675 = l_Lean_addMacroScope(x_1638, x_1674, x_1637); +x_1676 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_1636); +x_1677 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1677, 0, x_1636); +lean_ctor_set(x_1677, 1, x_1676); +lean_ctor_set(x_1677, 2, x_1675); +lean_ctor_set(x_1677, 3, x_1643); +x_1678 = lean_array_push(x_1651, x_1677); +x_1679 = lean_array_push(x_1678, x_1646); +x_1680 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1680, 0, x_1649); +lean_ctor_set(x_1680, 1, x_1679); +x_1681 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_1636); +x_1682 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1682, 0, x_1636); +lean_ctor_set(x_1682, 1, x_1681); +x_1683 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_1637); +lean_inc(x_1638); +x_1684 = l_Lean_addMacroScope(x_1638, x_1683, x_1637); +x_1685 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_1686 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_1636); +x_1687 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1687, 0, x_1636); +lean_ctor_set(x_1687, 1, x_1685); +lean_ctor_set(x_1687, 2, x_1684); +lean_ctor_set(x_1687, 3, x_1686); +x_1688 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_1636); +x_1689 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1689, 0, x_1636); +lean_ctor_set(x_1689, 1, x_1688); +x_1690 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_1636); +x_1691 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1691, 0, x_1636); +lean_ctor_set(x_1691, 1, x_1690); +x_1692 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_1636); +x_1693 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1693, 0, x_1636); +lean_ctor_set(x_1693, 1, x_1692); +x_1694 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_1636); +x_1695 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1695, 0, x_1636); +lean_ctor_set(x_1695, 1, x_1694); +x_1696 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_1636); +x_1697 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1697, 0, x_1636); +lean_ctor_set(x_1697, 1, x_1696); +x_1698 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_1636); +x_1699 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1699, 0, x_1636); +lean_ctor_set(x_1699, 1, x_1698); +x_1700 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_1636); +x_1701 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1701, 0, x_1636); +lean_ctor_set(x_1701, 1, x_1700); +x_1702 = lean_array_push(x_1647, x_1701); +x_1703 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1704 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1704, 0, x_1703); +lean_ctor_set(x_1704, 1, x_1702); +x_1705 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_1636); +x_1706 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1706, 0, x_1636); +lean_ctor_set(x_1706, 1, x_1705); +x_1707 = lean_array_push(x_1664, x_1699); +lean_inc(x_1704); lean_inc(x_1707); -x_1711 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1711, 0, x_1707); -lean_ctor_set(x_1711, 1, x_1710); -x_1712 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_1708); -lean_inc(x_1709); -x_1713 = l_Lean_addMacroScope(x_1709, x_1712, x_1708); -x_1714 = lean_box(0); -x_1715 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_1707); -x_1716 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1716, 0, x_1707); -lean_ctor_set(x_1716, 1, x_1715); -lean_ctor_set(x_1716, 2, x_1713); -lean_ctor_set(x_1716, 3, x_1714); -x_1717 = lean_mk_syntax_ident(x_584); -x_1718 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_1719 = lean_array_push(x_1718, x_1717); -x_1720 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_1721 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1721, 0, x_1720); -lean_ctor_set(x_1721, 1, x_1719); -x_1722 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_1723 = lean_array_push(x_1722, x_1716); -x_1724 = lean_array_push(x_1723, x_1721); -x_1725 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; -x_1726 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1726, 0, x_1725); -lean_ctor_set(x_1726, 1, x_1724); -x_1727 = lean_array_push(x_1722, x_1); -x_1728 = lean_array_push(x_1727, x_1726); -x_1729 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -x_1730 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1730, 0, x_1729); -lean_ctor_set(x_1730, 1, x_1728); -x_1731 = lean_array_push(x_1718, x_1730); -x_1732 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1732, 0, x_1720); -lean_ctor_set(x_1732, 1, x_1731); -x_1733 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_1707); -x_1734 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1734, 0, x_1707); -lean_ctor_set(x_1734, 1, x_1733); -x_1735 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_1736 = lean_array_push(x_1735, x_1711); -x_1737 = lean_array_push(x_1736, x_1732); -x_1738 = lean_array_push(x_1737, x_1734); -x_1739 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; -x_1740 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1740, 0, x_1739); -lean_ctor_set(x_1740, 1, x_1738); -x_1741 = lean_array_push(x_1718, x_1740); -x_1742 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1742, 0, x_1720); -lean_ctor_set(x_1742, 1, x_1741); -x_1743 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_1744 = lean_array_push(x_1743, x_1742); -x_1745 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_1746 = lean_array_push(x_1744, x_1745); -x_1747 = lean_array_push(x_1746, x_1745); -x_1748 = lean_array_push(x_1747, x_1745); -x_1749 = lean_array_push(x_1748, x_1745); -x_1750 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +x_1708 = lean_array_push(x_1707, x_1704); +lean_inc(x_1706); +x_1709 = lean_array_push(x_1708, x_1706); +x_1710 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_1711 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1711, 0, x_1710); +lean_ctor_set(x_1711, 1, x_1709); +x_1712 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_1636); +x_1713 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1713, 0, x_1636); +lean_ctor_set(x_1713, 1, x_1712); +lean_inc(x_1682); +x_1714 = lean_array_push(x_1651, x_1682); +x_1715 = lean_array_push(x_1714, x_1713); +x_1716 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_1717 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1717, 0, x_1716); +lean_ctor_set(x_1717, 1, x_1715); +x_1718 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_1719 = lean_array_push(x_1718, x_1697); +x_1720 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_1721 = lean_array_push(x_1719, x_1720); +x_1722 = lean_array_push(x_1721, x_1711); +x_1723 = lean_array_push(x_1722, x_1717); +x_1724 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +x_1725 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1725, 0, x_1724); +lean_ctor_set(x_1725, 1, x_1723); +x_1726 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_1727 = l_Array_append___rarg(x_1726, x_505); +x_1728 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1728, 0, x_1649); +lean_ctor_set(x_1728, 1, x_1727); +x_1729 = lean_array_push(x_1651, x_1725); +x_1730 = lean_array_push(x_1729, x_1728); +x_1731 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1731, 0, x_7); +lean_ctor_set(x_1731, 1, x_1730); +x_1732 = lean_array_push(x_1664, x_1695); +lean_inc(x_1732); +x_1733 = lean_array_push(x_1732, x_1731); +lean_inc(x_1706); +x_1734 = lean_array_push(x_1733, x_1706); +x_1735 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_1736 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1736, 0, x_1735); +lean_ctor_set(x_1736, 1, x_1734); +x_1737 = lean_array_push(x_1647, x_1736); +x_1738 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1738, 0, x_1649); +lean_ctor_set(x_1738, 1, x_1737); +x_1739 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_1636); +x_1740 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1740, 0, x_1636); +lean_ctor_set(x_1740, 1, x_1739); +x_1741 = lean_array_push(x_1732, x_3); +lean_inc(x_1706); +x_1742 = lean_array_push(x_1741, x_1706); +x_1743 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1743, 0, x_1735); +lean_ctor_set(x_1743, 1, x_1742); +x_1744 = lean_array_push(x_1718, x_1693); +lean_inc(x_1744); +x_1745 = lean_array_push(x_1744, x_1738); +lean_inc(x_1740); +x_1746 = lean_array_push(x_1745, x_1740); +x_1747 = lean_array_push(x_1746, x_1743); +x_1748 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_1749 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1749, 0, x_1748); +lean_ctor_set(x_1749, 1, x_1747); +x_1750 = lean_array_push(x_1647, x_1704); x_1751 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1751, 0, x_1750); -lean_ctor_set(x_1751, 1, x_1749); -x_1752 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_1707); -x_1753 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1753, 0, x_1707); -lean_ctor_set(x_1753, 1, x_1752); -x_1754 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_1708); -lean_inc(x_1709); -x_1755 = l_Lean_addMacroScope(x_1709, x_1754, x_1708); -x_1756 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_1707); -x_1757 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1757, 0, x_1707); -lean_ctor_set(x_1757, 1, x_1756); -lean_ctor_set(x_1757, 2, x_1755); -lean_ctor_set(x_1757, 3, x_1714); -x_1758 = lean_array_push(x_1722, x_1757); -x_1759 = lean_array_push(x_1758, x_1745); -x_1760 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; -x_1761 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1761, 0, x_1760); -lean_ctor_set(x_1761, 1, x_1759); -x_1762 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_1707); -x_1763 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1763, 0, x_1707); -lean_ctor_set(x_1763, 1, x_1762); -x_1764 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_1708); -lean_inc(x_1709); -x_1765 = l_Lean_addMacroScope(x_1709, x_1764, x_1708); -x_1766 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_1767 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_1707); -x_1768 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1768, 0, x_1707); -lean_ctor_set(x_1768, 1, x_1766); -lean_ctor_set(x_1768, 2, x_1765); -lean_ctor_set(x_1768, 3, x_1767); -x_1769 = lean_array_push(x_1722, x_1763); -lean_inc(x_1769); -x_1770 = lean_array_push(x_1769, x_1768); -x_1771 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; +lean_ctor_set(x_1751, 0, x_1649); +lean_ctor_set(x_1751, 1, x_1750); +x_1752 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_1753 = l_Lean_addMacroScope(x_1638, x_1752, x_1637); +x_1754 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_1755 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1756 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1756, 0, x_1636); +lean_ctor_set(x_1756, 1, x_1754); +lean_ctor_set(x_1756, 2, x_1753); +lean_ctor_set(x_1756, 3, x_1755); +x_1757 = lean_array_push(x_1707, x_1720); +x_1758 = lean_array_push(x_1757, x_1706); +x_1759 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_1760 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1760, 0, x_1759); +lean_ctor_set(x_1760, 1, x_1758); +x_1761 = lean_array_push(x_1647, x_1760); +x_1762 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1762, 0, x_1649); +lean_ctor_set(x_1762, 1, x_1761); +x_1763 = lean_array_push(x_1651, x_1756); +x_1764 = lean_array_push(x_1763, x_1762); +x_1765 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1765, 0, x_7); +lean_ctor_set(x_1765, 1, x_1764); +x_1766 = lean_array_push(x_1744, x_1751); +x_1767 = lean_array_push(x_1766, x_1740); +x_1768 = lean_array_push(x_1767, x_1765); +x_1769 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1769, 0, x_1748); +lean_ctor_set(x_1769, 1, x_1768); +x_1770 = lean_array_push(x_1651, x_1749); +x_1771 = lean_array_push(x_1770, x_1769); x_1772 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1772, 0, x_1771); -lean_ctor_set(x_1772, 1, x_1770); -x_1773 = lean_array_push(x_1718, x_1772); -x_1774 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1774, 0, x_1720); -lean_ctor_set(x_1774, 1, x_1773); -x_1775 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_1776 = lean_array_push(x_1775, x_1774); -x_1777 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_1778 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1778, 0, x_1777); -lean_ctor_set(x_1778, 1, x_1776); -x_1779 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; -lean_inc(x_1707); -x_1780 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1780, 0, x_1707); -lean_ctor_set(x_1780, 1, x_1779); -x_1781 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -lean_inc(x_1707); -x_1782 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1782, 0, x_1707); -lean_ctor_set(x_1782, 1, x_1781); -x_1783 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_1707); -x_1784 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1784, 0, x_1707); -lean_ctor_set(x_1784, 1, x_1783); -x_1785 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_1707); -x_1786 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1786, 0, x_1707); -lean_ctor_set(x_1786, 1, x_1785); -x_1787 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_1707); -x_1788 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1788, 0, x_1707); -lean_ctor_set(x_1788, 1, x_1787); -x_1789 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_1707); -x_1790 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1790, 0, x_1707); -lean_ctor_set(x_1790, 1, x_1789); -x_1791 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_1707); -x_1792 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1792, 0, x_1707); -lean_ctor_set(x_1792, 1, x_1791); -x_1793 = lean_array_push(x_1718, x_1792); -x_1794 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_1795 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1795, 0, x_1794); -lean_ctor_set(x_1795, 1, x_1793); -x_1796 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_1707); -x_1797 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1797, 0, x_1707); -lean_ctor_set(x_1797, 1, x_1796); -x_1798 = lean_array_push(x_1735, x_1790); +lean_ctor_set(x_1772, 0, x_1649); +lean_ctor_set(x_1772, 1, x_1771); +x_1773 = lean_array_push(x_1647, x_1772); +x_1774 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_1775 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1775, 0, x_1774); +lean_ctor_set(x_1775, 1, x_1773); +x_1776 = lean_array_push(x_1651, x_1691); +x_1777 = lean_array_push(x_1776, x_1775); +x_1778 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_1779 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1779, 0, x_1778); +lean_ctor_set(x_1779, 1, x_1777); +x_1780 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_1781 = lean_array_push(x_1780, x_1671); +x_1782 = lean_array_push(x_1781, x_1673); +x_1783 = lean_array_push(x_1782, x_1680); +x_1784 = lean_array_push(x_1783, x_1682); +x_1785 = lean_array_push(x_1784, x_1687); +x_1786 = lean_array_push(x_1785, x_1689); +x_1787 = lean_array_push(x_1786, x_1779); +x_1788 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_1789 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1789, 0, x_1788); +lean_ctor_set(x_1789, 1, x_1787); +x_1790 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1790, 0, x_1789); +lean_ctor_set(x_1478, 0, x_1790); +return x_1478; +} +} +else +{ +lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; +x_1791 = lean_ctor_get(x_1478, 0); +x_1792 = lean_ctor_get(x_1478, 1); +lean_inc(x_1792); +lean_inc(x_1791); +lean_dec(x_1478); +x_1793 = lean_ctor_get(x_1791, 0); +lean_inc(x_1793); +if (lean_is_exclusive(x_1791)) { + lean_ctor_release(x_1791, 0); + x_1794 = x_1791; +} else { + lean_dec_ref(x_1791); + x_1794 = lean_box(0); +} +x_1795 = lean_ctor_get(x_5, 2); lean_inc(x_1795); -lean_inc(x_1798); -x_1799 = lean_array_push(x_1798, x_1795); -lean_inc(x_1797); -x_1800 = lean_array_push(x_1799, x_1797); -x_1801 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_1802 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1802, 0, x_1801); -lean_ctor_set(x_1802, 1, x_1800); -x_1803 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_1707); -x_1804 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1804, 0, x_1707); -lean_ctor_set(x_1804, 1, x_1803); -x_1805 = lean_array_push(x_1769, x_1804); -x_1806 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; -x_1807 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1807, 0, x_1806); -lean_ctor_set(x_1807, 1, x_1805); -x_1808 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_1809 = lean_array_push(x_1808, x_1788); -x_1810 = lean_array_push(x_1809, x_1745); -x_1811 = lean_array_push(x_1810, x_1802); -x_1812 = lean_array_push(x_1811, x_1807); -x_1813 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_1814 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1814, 0, x_1813); -lean_ctor_set(x_1814, 1, x_1812); -x_1815 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1816 = l_Array_append___rarg(x_1815, x_568); +x_1796 = lean_ctor_get(x_5, 1); +lean_inc(x_1796); +lean_dec(x_5); +x_1797 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_1793); +x_1798 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1798, 0, x_1793); +lean_ctor_set(x_1798, 1, x_1797); +x_1799 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_1795); +lean_inc(x_1796); +x_1800 = l_Lean_addMacroScope(x_1796, x_1799, x_1795); +x_1801 = lean_box(0); +x_1802 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_1793); +x_1803 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1803, 0, x_1793); +lean_ctor_set(x_1803, 1, x_1802); +lean_ctor_set(x_1803, 2, x_1800); +lean_ctor_set(x_1803, 3, x_1801); +x_1804 = lean_mk_syntax_ident(x_521); +x_1805 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_1804); +x_1806 = lean_array_push(x_1805, x_1804); +x_1807 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1808 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1808, 0, x_1807); +lean_ctor_set(x_1808, 1, x_1806); +x_1809 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1810 = lean_array_push(x_1809, x_1803); +x_1811 = lean_array_push(x_1810, x_1808); +x_1812 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_1813 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1813, 0, x_1812); +lean_ctor_set(x_1813, 1, x_1811); +x_1814 = lean_array_push(x_1809, x_1); +x_1815 = lean_array_push(x_1814, x_1813); +x_1816 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; x_1817 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1817, 0, x_1720); -lean_ctor_set(x_1817, 1, x_1816); -x_1818 = lean_array_push(x_1722, x_1814); -x_1819 = lean_array_push(x_1818, x_1817); -x_1820 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1820, 0, x_7); -lean_ctor_set(x_1820, 1, x_1819); -x_1821 = lean_array_push(x_1735, x_1786); -lean_inc(x_1821); -x_1822 = lean_array_push(x_1821, x_1820); -lean_inc(x_1797); -x_1823 = lean_array_push(x_1822, x_1797); -x_1824 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -x_1825 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1825, 0, x_1824); -lean_ctor_set(x_1825, 1, x_1823); -x_1826 = lean_array_push(x_1718, x_1825); +lean_ctor_set(x_1817, 0, x_1816); +lean_ctor_set(x_1817, 1, x_1815); +x_1818 = lean_array_push(x_1805, x_1817); +x_1819 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1819, 0, x_1807); +lean_ctor_set(x_1819, 1, x_1818); +x_1820 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_1793); +x_1821 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1821, 0, x_1793); +lean_ctor_set(x_1821, 1, x_1820); +x_1822 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_1823 = lean_array_push(x_1822, x_1798); +x_1824 = lean_array_push(x_1823, x_1819); +x_1825 = lean_array_push(x_1824, x_1821); +x_1826 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; x_1827 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1827, 0, x_1720); -lean_ctor_set(x_1827, 1, x_1826); -x_1828 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_1707); -x_1829 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1829, 0, x_1707); +lean_ctor_set(x_1827, 0, x_1826); +lean_ctor_set(x_1827, 1, x_1825); +x_1828 = lean_array_push(x_1805, x_1827); +x_1829 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1829, 0, x_1807); lean_ctor_set(x_1829, 1, x_1828); -x_1830 = lean_array_push(x_1821, x_3); -lean_inc(x_1797); -x_1831 = lean_array_push(x_1830, x_1797); -x_1832 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1832, 0, x_1824); -lean_ctor_set(x_1832, 1, x_1831); -x_1833 = lean_array_push(x_1808, x_1784); -lean_inc(x_1833); -x_1834 = lean_array_push(x_1833, x_1827); -lean_inc(x_1829); -x_1835 = lean_array_push(x_1834, x_1829); -x_1836 = lean_array_push(x_1835, x_1832); -x_1837 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; +x_1830 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1793); +x_1831 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1831, 0, x_1793); +lean_ctor_set(x_1831, 1, x_1830); +x_1832 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_1795); +lean_inc(x_1796); +x_1833 = l_Lean_addMacroScope(x_1796, x_1832, x_1795); +x_1834 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_1793); +x_1835 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1835, 0, x_1793); +lean_ctor_set(x_1835, 1, x_1834); +lean_ctor_set(x_1835, 2, x_1833); +lean_ctor_set(x_1835, 3, x_1801); +x_1836 = lean_array_push(x_1809, x_1835); +x_1837 = lean_array_push(x_1836, x_1804); x_1838 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1838, 0, x_1837); -lean_ctor_set(x_1838, 1, x_1836); -x_1839 = lean_array_push(x_1718, x_1795); -x_1840 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1840, 0, x_1720); +lean_ctor_set(x_1838, 0, x_1807); +lean_ctor_set(x_1838, 1, x_1837); +x_1839 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_1793); +x_1840 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1840, 0, x_1793); lean_ctor_set(x_1840, 1, x_1839); -x_1841 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_1842 = l_Lean_addMacroScope(x_1709, x_1841, x_1708); -x_1843 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_1844 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; +x_1841 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_1795); +lean_inc(x_1796); +x_1842 = l_Lean_addMacroScope(x_1796, x_1841, x_1795); +x_1843 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_1844 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_1793); x_1845 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1845, 0, x_1707); +lean_ctor_set(x_1845, 0, x_1793); lean_ctor_set(x_1845, 1, x_1843); lean_ctor_set(x_1845, 2, x_1842); lean_ctor_set(x_1845, 3, x_1844); -x_1846 = lean_array_push(x_1798, x_1745); -x_1847 = lean_array_push(x_1846, x_1797); -x_1848 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_1849 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1849, 0, x_1848); -lean_ctor_set(x_1849, 1, x_1847); -x_1850 = lean_array_push(x_1718, x_1849); -x_1851 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1851, 0, x_1720); +x_1846 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_1793); +x_1847 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1847, 0, x_1793); +lean_ctor_set(x_1847, 1, x_1846); +x_1848 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_1793); +x_1849 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1849, 0, x_1793); +lean_ctor_set(x_1849, 1, x_1848); +x_1850 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_1793); +x_1851 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1851, 0, x_1793); lean_ctor_set(x_1851, 1, x_1850); -x_1852 = lean_array_push(x_1722, x_1845); -x_1853 = lean_array_push(x_1852, x_1851); -x_1854 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1854, 0, x_7); -lean_ctor_set(x_1854, 1, x_1853); -x_1855 = lean_array_push(x_1833, x_1840); -x_1856 = lean_array_push(x_1855, x_1829); -x_1857 = lean_array_push(x_1856, x_1854); -x_1858 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1858, 0, x_1837); -lean_ctor_set(x_1858, 1, x_1857); -x_1859 = lean_array_push(x_1722, x_1838); -x_1860 = lean_array_push(x_1859, x_1858); -x_1861 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1861, 0, x_1720); -lean_ctor_set(x_1861, 1, x_1860); -x_1862 = lean_array_push(x_1718, x_1861); -x_1863 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; -x_1864 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1864, 0, x_1863); -lean_ctor_set(x_1864, 1, x_1862); -x_1865 = lean_array_push(x_1722, x_1782); -x_1866 = lean_array_push(x_1865, x_1864); -x_1867 = l_Lean_Elab_Command_mkSimpleDelab___closed__95; -x_1868 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1868, 0, x_1867); -lean_ctor_set(x_1868, 1, x_1866); -x_1869 = lean_array_push(x_1735, x_1780); -x_1870 = lean_array_push(x_1869, x_1868); -x_1871 = lean_array_push(x_1870, x_1745); -x_1872 = l_Lean_Elab_Command_mkSimpleDelab___closed__92; -x_1873 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1873, 0, x_1872); -lean_ctor_set(x_1873, 1, x_1871); -x_1874 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_1875 = lean_array_push(x_1874, x_1753); -x_1876 = lean_array_push(x_1875, x_1761); -x_1877 = lean_array_push(x_1876, x_1778); -x_1878 = lean_array_push(x_1877, x_1873); -x_1879 = lean_array_push(x_1878, x_1745); -x_1880 = lean_array_push(x_1879, x_1745); -x_1881 = lean_array_push(x_1880, x_1745); -x_1882 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +x_1852 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_1793); +x_1853 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1853, 0, x_1793); +lean_ctor_set(x_1853, 1, x_1852); +x_1854 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_1793); +x_1855 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1855, 0, x_1793); +lean_ctor_set(x_1855, 1, x_1854); +x_1856 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_1793); +x_1857 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1857, 0, x_1793); +lean_ctor_set(x_1857, 1, x_1856); +x_1858 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_1793); +x_1859 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1859, 0, x_1793); +lean_ctor_set(x_1859, 1, x_1858); +x_1860 = lean_array_push(x_1805, x_1859); +x_1861 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_1862 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1862, 0, x_1861); +lean_ctor_set(x_1862, 1, x_1860); +x_1863 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_1793); +x_1864 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1864, 0, x_1793); +lean_ctor_set(x_1864, 1, x_1863); +x_1865 = lean_array_push(x_1822, x_1857); +lean_inc(x_1862); +lean_inc(x_1865); +x_1866 = lean_array_push(x_1865, x_1862); +lean_inc(x_1864); +x_1867 = lean_array_push(x_1866, x_1864); +x_1868 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_1869 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1869, 0, x_1868); +lean_ctor_set(x_1869, 1, x_1867); +x_1870 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_1793); +x_1871 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1871, 0, x_1793); +lean_ctor_set(x_1871, 1, x_1870); +lean_inc(x_1840); +x_1872 = lean_array_push(x_1809, x_1840); +x_1873 = lean_array_push(x_1872, x_1871); +x_1874 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_1875 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1875, 0, x_1874); +lean_ctor_set(x_1875, 1, x_1873); +x_1876 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_1877 = lean_array_push(x_1876, x_1855); +x_1878 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_1879 = lean_array_push(x_1877, x_1878); +x_1880 = lean_array_push(x_1879, x_1869); +x_1881 = lean_array_push(x_1880, x_1875); +x_1882 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; x_1883 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1883, 0, x_1882); lean_ctor_set(x_1883, 1, x_1881); -x_1884 = lean_array_push(x_1722, x_1751); -x_1885 = lean_array_push(x_1884, x_1883); -x_1886 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_1887 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1887, 0, x_1886); -lean_ctor_set(x_1887, 1, x_1885); -lean_ctor_set(x_1705, 0, x_1887); -return x_1703; -} -else -{ -lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; -x_1888 = lean_ctor_get(x_1705, 0); -lean_inc(x_1888); -lean_dec(x_1705); -x_1889 = lean_ctor_get(x_5, 2); -lean_inc(x_1889); -x_1890 = lean_ctor_get(x_5, 1); +x_1884 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_1885 = l_Array_append___rarg(x_1884, x_505); +x_1886 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1886, 0, x_1807); +lean_ctor_set(x_1886, 1, x_1885); +x_1887 = lean_array_push(x_1809, x_1883); +x_1888 = lean_array_push(x_1887, x_1886); +x_1889 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1889, 0, x_7); +lean_ctor_set(x_1889, 1, x_1888); +x_1890 = lean_array_push(x_1822, x_1853); lean_inc(x_1890); -lean_dec(x_5); -x_1891 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_1888); -x_1892 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1892, 0, x_1888); -lean_ctor_set(x_1892, 1, x_1891); -x_1893 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_1889); -lean_inc(x_1890); -x_1894 = l_Lean_addMacroScope(x_1890, x_1893, x_1889); -x_1895 = lean_box(0); -x_1896 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_1888); -x_1897 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1897, 0, x_1888); -lean_ctor_set(x_1897, 1, x_1896); -lean_ctor_set(x_1897, 2, x_1894); -lean_ctor_set(x_1897, 3, x_1895); -x_1898 = lean_mk_syntax_ident(x_584); -x_1899 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_1900 = lean_array_push(x_1899, x_1898); -x_1901 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_1902 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1902, 0, x_1901); -lean_ctor_set(x_1902, 1, x_1900); -x_1903 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_1904 = lean_array_push(x_1903, x_1897); -x_1905 = lean_array_push(x_1904, x_1902); -x_1906 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_1891 = lean_array_push(x_1890, x_1889); +lean_inc(x_1864); +x_1892 = lean_array_push(x_1891, x_1864); +x_1893 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_1894 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1894, 0, x_1893); +lean_ctor_set(x_1894, 1, x_1892); +x_1895 = lean_array_push(x_1805, x_1894); +x_1896 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1896, 0, x_1807); +lean_ctor_set(x_1896, 1, x_1895); +x_1897 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_1793); +x_1898 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1898, 0, x_1793); +lean_ctor_set(x_1898, 1, x_1897); +x_1899 = lean_array_push(x_1890, x_3); +lean_inc(x_1864); +x_1900 = lean_array_push(x_1899, x_1864); +x_1901 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1901, 0, x_1893); +lean_ctor_set(x_1901, 1, x_1900); +x_1902 = lean_array_push(x_1876, x_1851); +lean_inc(x_1902); +x_1903 = lean_array_push(x_1902, x_1896); +lean_inc(x_1898); +x_1904 = lean_array_push(x_1903, x_1898); +x_1905 = lean_array_push(x_1904, x_1901); +x_1906 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; x_1907 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1907, 0, x_1906); lean_ctor_set(x_1907, 1, x_1905); -x_1908 = lean_array_push(x_1903, x_1); -x_1909 = lean_array_push(x_1908, x_1907); -x_1910 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -x_1911 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1911, 0, x_1910); -lean_ctor_set(x_1911, 1, x_1909); -x_1912 = lean_array_push(x_1899, x_1911); -x_1913 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1913, 0, x_1901); -lean_ctor_set(x_1913, 1, x_1912); -x_1914 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_1888); -x_1915 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1915, 0, x_1888); -lean_ctor_set(x_1915, 1, x_1914); -x_1916 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_1917 = lean_array_push(x_1916, x_1892); -x_1918 = lean_array_push(x_1917, x_1913); -x_1919 = lean_array_push(x_1918, x_1915); -x_1920 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; -x_1921 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1921, 0, x_1920); -lean_ctor_set(x_1921, 1, x_1919); -x_1922 = lean_array_push(x_1899, x_1921); +x_1908 = lean_array_push(x_1805, x_1862); +x_1909 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1909, 0, x_1807); +lean_ctor_set(x_1909, 1, x_1908); +x_1910 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_1911 = l_Lean_addMacroScope(x_1796, x_1910, x_1795); +x_1912 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_1913 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_1914 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1914, 0, x_1793); +lean_ctor_set(x_1914, 1, x_1912); +lean_ctor_set(x_1914, 2, x_1911); +lean_ctor_set(x_1914, 3, x_1913); +x_1915 = lean_array_push(x_1865, x_1878); +x_1916 = lean_array_push(x_1915, x_1864); +x_1917 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_1918 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1918, 0, x_1917); +lean_ctor_set(x_1918, 1, x_1916); +x_1919 = lean_array_push(x_1805, x_1918); +x_1920 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1920, 0, x_1807); +lean_ctor_set(x_1920, 1, x_1919); +x_1921 = lean_array_push(x_1809, x_1914); +x_1922 = lean_array_push(x_1921, x_1920); x_1923 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1923, 0, x_1901); +lean_ctor_set(x_1923, 0, x_7); lean_ctor_set(x_1923, 1, x_1922); -x_1924 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_1925 = lean_array_push(x_1924, x_1923); -x_1926 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_1927 = lean_array_push(x_1925, x_1926); -x_1928 = lean_array_push(x_1927, x_1926); -x_1929 = lean_array_push(x_1928, x_1926); -x_1930 = lean_array_push(x_1929, x_1926); -x_1931 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -x_1932 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1932, 0, x_1931); -lean_ctor_set(x_1932, 1, x_1930); -x_1933 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_1888); -x_1934 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1934, 0, x_1888); -lean_ctor_set(x_1934, 1, x_1933); -x_1935 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_1889); -lean_inc(x_1890); -x_1936 = l_Lean_addMacroScope(x_1890, x_1935, x_1889); -x_1937 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_1888); -x_1938 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1938, 0, x_1888); -lean_ctor_set(x_1938, 1, x_1937); -lean_ctor_set(x_1938, 2, x_1936); -lean_ctor_set(x_1938, 3, x_1895); -x_1939 = lean_array_push(x_1903, x_1938); -x_1940 = lean_array_push(x_1939, x_1926); -x_1941 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; -x_1942 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1942, 0, x_1941); -lean_ctor_set(x_1942, 1, x_1940); -x_1943 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_1888); -x_1944 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1944, 0, x_1888); -lean_ctor_set(x_1944, 1, x_1943); -x_1945 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_1889); -lean_inc(x_1890); -x_1946 = l_Lean_addMacroScope(x_1890, x_1945, x_1889); -x_1947 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_1948 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_1888); -x_1949 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1949, 0, x_1888); -lean_ctor_set(x_1949, 1, x_1947); -lean_ctor_set(x_1949, 2, x_1946); -lean_ctor_set(x_1949, 3, x_1948); -x_1950 = lean_array_push(x_1903, x_1944); -lean_inc(x_1950); -x_1951 = lean_array_push(x_1950, x_1949); -x_1952 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; -x_1953 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1953, 0, x_1952); -lean_ctor_set(x_1953, 1, x_1951); -x_1954 = lean_array_push(x_1899, x_1953); -x_1955 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1955, 0, x_1901); -lean_ctor_set(x_1955, 1, x_1954); -x_1956 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_1957 = lean_array_push(x_1956, x_1955); -x_1958 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_1959 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1959, 0, x_1958); -lean_ctor_set(x_1959, 1, x_1957); -x_1960 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; -lean_inc(x_1888); -x_1961 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1961, 0, x_1888); -lean_ctor_set(x_1961, 1, x_1960); -x_1962 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -lean_inc(x_1888); -x_1963 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1963, 0, x_1888); -lean_ctor_set(x_1963, 1, x_1962); -x_1964 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_1888); -x_1965 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1965, 0, x_1888); -lean_ctor_set(x_1965, 1, x_1964); -x_1966 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_1888); -x_1967 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1967, 0, x_1888); -lean_ctor_set(x_1967, 1, x_1966); -x_1968 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_1888); -x_1969 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1969, 0, x_1888); -lean_ctor_set(x_1969, 1, x_1968); -x_1970 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_1888); -x_1971 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1971, 0, x_1888); -lean_ctor_set(x_1971, 1, x_1970); -x_1972 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_1888); -x_1973 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1973, 0, x_1888); -lean_ctor_set(x_1973, 1, x_1972); -x_1974 = lean_array_push(x_1899, x_1973); -x_1975 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_1976 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1976, 0, x_1975); -lean_ctor_set(x_1976, 1, x_1974); -x_1977 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_1888); -x_1978 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1978, 0, x_1888); -lean_ctor_set(x_1978, 1, x_1977); -x_1979 = lean_array_push(x_1916, x_1971); -lean_inc(x_1976); -lean_inc(x_1979); -x_1980 = lean_array_push(x_1979, x_1976); -lean_inc(x_1978); -x_1981 = lean_array_push(x_1980, x_1978); -x_1982 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_1983 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1983, 0, x_1982); -lean_ctor_set(x_1983, 1, x_1981); -x_1984 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_1888); -x_1985 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1985, 0, x_1888); -lean_ctor_set(x_1985, 1, x_1984); -x_1986 = lean_array_push(x_1950, x_1985); -x_1987 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; -x_1988 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1988, 0, x_1987); -lean_ctor_set(x_1988, 1, x_1986); -x_1989 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_1990 = lean_array_push(x_1989, x_1969); -x_1991 = lean_array_push(x_1990, x_1926); -x_1992 = lean_array_push(x_1991, x_1983); -x_1993 = lean_array_push(x_1992, x_1988); -x_1994 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_1995 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1995, 0, x_1994); -lean_ctor_set(x_1995, 1, x_1993); -x_1996 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_1997 = l_Array_append___rarg(x_1996, x_568); -x_1998 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1998, 0, x_1901); -lean_ctor_set(x_1998, 1, x_1997); -x_1999 = lean_array_push(x_1903, x_1995); -x_2000 = lean_array_push(x_1999, x_1998); -x_2001 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2001, 0, x_7); -lean_ctor_set(x_2001, 1, x_2000); -x_2002 = lean_array_push(x_1916, x_1967); -lean_inc(x_2002); -x_2003 = lean_array_push(x_2002, x_2001); -lean_inc(x_1978); -x_2004 = lean_array_push(x_2003, x_1978); -x_2005 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -x_2006 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2006, 0, x_2005); -lean_ctor_set(x_2006, 1, x_2004); -x_2007 = lean_array_push(x_1899, x_2006); -x_2008 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2008, 0, x_1901); -lean_ctor_set(x_2008, 1, x_2007); -x_2009 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_1888); -x_2010 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2010, 0, x_1888); -lean_ctor_set(x_2010, 1, x_2009); -x_2011 = lean_array_push(x_2002, x_3); -lean_inc(x_1978); -x_2012 = lean_array_push(x_2011, x_1978); -x_2013 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2013, 0, x_2005); -lean_ctor_set(x_2013, 1, x_2012); -x_2014 = lean_array_push(x_1989, x_1965); -lean_inc(x_2014); -x_2015 = lean_array_push(x_2014, x_2008); -lean_inc(x_2010); -x_2016 = lean_array_push(x_2015, x_2010); -x_2017 = lean_array_push(x_2016, x_2013); -x_2018 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_2019 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2019, 0, x_2018); -lean_ctor_set(x_2019, 1, x_2017); -x_2020 = lean_array_push(x_1899, x_1976); -x_2021 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2021, 0, x_1901); -lean_ctor_set(x_2021, 1, x_2020); -x_2022 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_2023 = l_Lean_addMacroScope(x_1890, x_2022, x_1889); -x_2024 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_2025 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_2026 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2026, 0, x_1888); -lean_ctor_set(x_2026, 1, x_2024); -lean_ctor_set(x_2026, 2, x_2023); -lean_ctor_set(x_2026, 3, x_2025); -x_2027 = lean_array_push(x_1979, x_1926); -x_2028 = lean_array_push(x_2027, x_1978); -x_2029 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_2030 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2030, 0, x_2029); -lean_ctor_set(x_2030, 1, x_2028); -x_2031 = lean_array_push(x_1899, x_2030); -x_2032 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2032, 0, x_1901); -lean_ctor_set(x_2032, 1, x_2031); -x_2033 = lean_array_push(x_1903, x_2026); -x_2034 = lean_array_push(x_2033, x_2032); -x_2035 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2035, 0, x_7); -lean_ctor_set(x_2035, 1, x_2034); -x_2036 = lean_array_push(x_2014, x_2021); -x_2037 = lean_array_push(x_2036, x_2010); -x_2038 = lean_array_push(x_2037, x_2035); -x_2039 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2039, 0, x_2018); -lean_ctor_set(x_2039, 1, x_2038); -x_2040 = lean_array_push(x_1903, x_2019); -x_2041 = lean_array_push(x_2040, x_2039); -x_2042 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2042, 0, x_1901); -lean_ctor_set(x_2042, 1, x_2041); -x_2043 = lean_array_push(x_1899, x_2042); -x_2044 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; -x_2045 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2045, 0, x_2044); -lean_ctor_set(x_2045, 1, x_2043); -x_2046 = lean_array_push(x_1903, x_1963); -x_2047 = lean_array_push(x_2046, x_2045); -x_2048 = l_Lean_Elab_Command_mkSimpleDelab___closed__95; -x_2049 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2049, 0, x_2048); -lean_ctor_set(x_2049, 1, x_2047); -x_2050 = lean_array_push(x_1916, x_1961); -x_2051 = lean_array_push(x_2050, x_2049); -x_2052 = lean_array_push(x_2051, x_1926); -x_2053 = l_Lean_Elab_Command_mkSimpleDelab___closed__92; -x_2054 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2054, 0, x_2053); -lean_ctor_set(x_2054, 1, x_2052); -x_2055 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_2056 = lean_array_push(x_2055, x_1934); -x_2057 = lean_array_push(x_2056, x_1942); -x_2058 = lean_array_push(x_2057, x_1959); -x_2059 = lean_array_push(x_2058, x_2054); -x_2060 = lean_array_push(x_2059, x_1926); -x_2061 = lean_array_push(x_2060, x_1926); -x_2062 = lean_array_push(x_2061, x_1926); -x_2063 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_2064 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2064, 0, x_2063); -lean_ctor_set(x_2064, 1, x_2062); -x_2065 = lean_array_push(x_1903, x_1932); -x_2066 = lean_array_push(x_2065, x_2064); -x_2067 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_2068 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2068, 0, x_2067); -lean_ctor_set(x_2068, 1, x_2066); -x_2069 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2069, 0, x_2068); -lean_ctor_set(x_1703, 0, x_2069); -return x_1703; +x_1924 = lean_array_push(x_1902, x_1909); +x_1925 = lean_array_push(x_1924, x_1898); +x_1926 = lean_array_push(x_1925, x_1923); +x_1927 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1927, 0, x_1906); +lean_ctor_set(x_1927, 1, x_1926); +x_1928 = lean_array_push(x_1809, x_1907); +x_1929 = lean_array_push(x_1928, x_1927); +x_1930 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1930, 0, x_1807); +lean_ctor_set(x_1930, 1, x_1929); +x_1931 = lean_array_push(x_1805, x_1930); +x_1932 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_1933 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1933, 0, x_1932); +lean_ctor_set(x_1933, 1, x_1931); +x_1934 = lean_array_push(x_1809, x_1849); +x_1935 = lean_array_push(x_1934, x_1933); +x_1936 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_1937 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1937, 0, x_1936); +lean_ctor_set(x_1937, 1, x_1935); +x_1938 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_1939 = lean_array_push(x_1938, x_1829); +x_1940 = lean_array_push(x_1939, x_1831); +x_1941 = lean_array_push(x_1940, x_1838); +x_1942 = lean_array_push(x_1941, x_1840); +x_1943 = lean_array_push(x_1942, x_1845); +x_1944 = lean_array_push(x_1943, x_1847); +x_1945 = lean_array_push(x_1944, x_1937); +x_1946 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_1947 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1947, 0, x_1946); +lean_ctor_set(x_1947, 1, x_1945); +if (lean_is_scalar(x_1794)) { + x_1948 = lean_alloc_ctor(1, 1, 0); +} else { + x_1948 = x_1794; +} +lean_ctor_set(x_1948, 0, x_1947); +x_1949 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1949, 0, x_1948); +lean_ctor_set(x_1949, 1, x_1792); +return x_1949; +} } } else { -lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; lean_object* x_2239; lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; -x_2070 = lean_ctor_get(x_1703, 0); -x_2071 = lean_ctor_get(x_1703, 1); -lean_inc(x_2071); -lean_inc(x_2070); -lean_dec(x_1703); -x_2072 = lean_ctor_get(x_2070, 0); -lean_inc(x_2072); -if (lean_is_exclusive(x_2070)) { - lean_ctor_release(x_2070, 0); - x_2073 = x_2070; -} else { - lean_dec_ref(x_2070); - x_2073 = lean_box(0); -} -x_2074 = lean_ctor_get(x_5, 2); -lean_inc(x_2074); -x_2075 = lean_ctor_get(x_5, 1); -lean_inc(x_2075); +lean_object* x_1950; +lean_dec(x_521); +lean_dec(x_505); lean_dec(x_5); -x_2076 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_2072); -x_2077 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2077, 0, x_2072); -lean_ctor_set(x_2077, 1, x_2076); -x_2078 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_2074); -lean_inc(x_2075); -x_2079 = l_Lean_addMacroScope(x_2075, x_2078, x_2074); -x_2080 = lean_box(0); -x_2081 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_2072); -x_2082 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2082, 0, x_2072); -lean_ctor_set(x_2082, 1, x_2081); -lean_ctor_set(x_2082, 2, x_2079); -lean_ctor_set(x_2082, 3, x_2080); -x_2083 = lean_mk_syntax_ident(x_584); -x_2084 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_2085 = lean_array_push(x_2084, x_2083); -x_2086 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +lean_dec(x_3); +lean_dec(x_1); +x_1950 = lean_box(0); +lean_ctor_set(x_507, 0, x_1950); +return x_507; +} +} +} +} +else +{ +lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; uint8_t x_1954; +x_1951 = lean_ctor_get(x_507, 1); +lean_inc(x_1951); +lean_dec(x_507); +x_1952 = lean_ctor_get(x_515, 0); +lean_inc(x_1952); +lean_dec(x_515); +x_1953 = lean_array_get_size(x_505); +x_1954 = lean_nat_dec_lt(x_497, x_1953); +if (x_1954 == 0) +{ +uint8_t x_1955; +lean_dec(x_1953); +x_1955 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_505, x_497); +if (x_1955 == 0) +{ +lean_object* x_1956; lean_object* x_1957; +lean_dec(x_1952); +lean_dec(x_505); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1956 = lean_box(0); +x_1957 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1957, 0, x_1956); +lean_ctor_set(x_1957, 1, x_1951); +return x_1957; +} +else +{ +lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; +lean_inc(x_5); +x_1958 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1951); +x_1959 = lean_ctor_get(x_1958, 0); +lean_inc(x_1959); +x_1960 = lean_ctor_get(x_1958, 1); +lean_inc(x_1960); +if (lean_is_exclusive(x_1958)) { + lean_ctor_release(x_1958, 0); + lean_ctor_release(x_1958, 1); + x_1961 = x_1958; +} else { + lean_dec_ref(x_1958); + x_1961 = lean_box(0); +} +x_1962 = lean_ctor_get(x_1959, 0); +lean_inc(x_1962); +if (lean_is_exclusive(x_1959)) { + lean_ctor_release(x_1959, 0); + x_1963 = x_1959; +} else { + lean_dec_ref(x_1959); + x_1963 = lean_box(0); +} +x_1964 = lean_ctor_get(x_5, 2); +lean_inc(x_1964); +x_1965 = lean_ctor_get(x_5, 1); +lean_inc(x_1965); +lean_dec(x_5); +x_1966 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_1962); +x_1967 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1967, 0, x_1962); +lean_ctor_set(x_1967, 1, x_1966); +x_1968 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_1964); +lean_inc(x_1965); +x_1969 = l_Lean_addMacroScope(x_1965, x_1968, x_1964); +x_1970 = lean_box(0); +x_1971 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_1962); +x_1972 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1972, 0, x_1962); +lean_ctor_set(x_1972, 1, x_1971); +lean_ctor_set(x_1972, 2, x_1969); +lean_ctor_set(x_1972, 3, x_1970); +x_1973 = lean_mk_syntax_ident(x_1952); +x_1974 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_1973); +x_1975 = lean_array_push(x_1974, x_1973); +x_1976 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1977 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1977, 0, x_1976); +lean_ctor_set(x_1977, 1, x_1975); +x_1978 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_1979 = lean_array_push(x_1978, x_1972); +x_1980 = lean_array_push(x_1979, x_1977); +x_1981 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_1982 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1982, 0, x_1981); +lean_ctor_set(x_1982, 1, x_1980); +x_1983 = lean_array_push(x_1978, x_1); +x_1984 = lean_array_push(x_1983, x_1982); +x_1985 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_1986 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1986, 0, x_1985); +lean_ctor_set(x_1986, 1, x_1984); +x_1987 = lean_array_push(x_1974, x_1986); +x_1988 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1988, 0, x_1976); +lean_ctor_set(x_1988, 1, x_1987); +x_1989 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_1962); +x_1990 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1990, 0, x_1962); +lean_ctor_set(x_1990, 1, x_1989); +x_1991 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_1992 = lean_array_push(x_1991, x_1967); +x_1993 = lean_array_push(x_1992, x_1988); +x_1994 = lean_array_push(x_1993, x_1990); +x_1995 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +x_1996 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1996, 0, x_1995); +lean_ctor_set(x_1996, 1, x_1994); +x_1997 = lean_array_push(x_1974, x_1996); +x_1998 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1998, 0, x_1976); +lean_ctor_set(x_1998, 1, x_1997); +x_1999 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_1962); +x_2000 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2000, 0, x_1962); +lean_ctor_set(x_2000, 1, x_1999); +x_2001 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_1964); +lean_inc(x_1965); +x_2002 = l_Lean_addMacroScope(x_1965, x_2001, x_1964); +x_2003 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_1962); +x_2004 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2004, 0, x_1962); +lean_ctor_set(x_2004, 1, x_2003); +lean_ctor_set(x_2004, 2, x_2002); +lean_ctor_set(x_2004, 3, x_1970); +x_2005 = lean_array_push(x_1978, x_2004); +x_2006 = lean_array_push(x_2005, x_1973); +x_2007 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2007, 0, x_1976); +lean_ctor_set(x_2007, 1, x_2006); +x_2008 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_1962); +x_2009 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2009, 0, x_1962); +lean_ctor_set(x_2009, 1, x_2008); +x_2010 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_1964); +lean_inc(x_1965); +x_2011 = l_Lean_addMacroScope(x_1965, x_2010, x_1964); +x_2012 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_2013 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_1962); +x_2014 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2014, 0, x_1962); +lean_ctor_set(x_2014, 1, x_2012); +lean_ctor_set(x_2014, 2, x_2011); +lean_ctor_set(x_2014, 3, x_2013); +x_2015 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_1962); +x_2016 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2016, 0, x_1962); +lean_ctor_set(x_2016, 1, x_2015); +x_2017 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_1962); +x_2018 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2018, 0, x_1962); +lean_ctor_set(x_2018, 1, x_2017); +x_2019 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_1962); +x_2020 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2020, 0, x_1962); +lean_ctor_set(x_2020, 1, x_2019); +x_2021 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_1962); +x_2022 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2022, 0, x_1962); +lean_ctor_set(x_2022, 1, x_2021); +x_2023 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_1962); +x_2024 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2024, 0, x_1962); +lean_ctor_set(x_2024, 1, x_2023); +x_2025 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_1962); +x_2026 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2026, 0, x_1962); +lean_ctor_set(x_2026, 1, x_2025); +x_2027 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_1962); +x_2028 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2028, 0, x_1962); +lean_ctor_set(x_2028, 1, x_2027); +x_2029 = lean_array_push(x_1974, x_2028); +x_2030 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_2031 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2031, 0, x_2030); +lean_ctor_set(x_2031, 1, x_2029); +x_2032 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_1962); +x_2033 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2033, 0, x_1962); +lean_ctor_set(x_2033, 1, x_2032); +x_2034 = lean_array_push(x_1991, x_2026); +lean_inc(x_2031); +lean_inc(x_2034); +x_2035 = lean_array_push(x_2034, x_2031); +lean_inc(x_2033); +x_2036 = lean_array_push(x_2035, x_2033); +x_2037 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_2038 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2038, 0, x_2037); +lean_ctor_set(x_2038, 1, x_2036); +x_2039 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_1962); +x_2040 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2040, 0, x_1962); +lean_ctor_set(x_2040, 1, x_2039); +lean_inc(x_2009); +x_2041 = lean_array_push(x_1978, x_2009); +x_2042 = lean_array_push(x_2041, x_2040); +x_2043 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_2044 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2044, 0, x_2043); +lean_ctor_set(x_2044, 1, x_2042); +x_2045 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_2046 = lean_array_push(x_2045, x_2024); +x_2047 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_2048 = lean_array_push(x_2046, x_2047); +x_2049 = lean_array_push(x_2048, x_2038); +x_2050 = lean_array_push(x_2049, x_2044); +x_2051 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +x_2052 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2052, 0, x_2051); +lean_ctor_set(x_2052, 1, x_2050); +x_2053 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_2054 = l_Array_append___rarg(x_2053, x_505); +x_2055 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2055, 0, x_1976); +lean_ctor_set(x_2055, 1, x_2054); +x_2056 = lean_array_push(x_1978, x_2052); +x_2057 = lean_array_push(x_2056, x_2055); +x_2058 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2058, 0, x_7); +lean_ctor_set(x_2058, 1, x_2057); +x_2059 = lean_array_push(x_1991, x_2022); +lean_inc(x_2059); +x_2060 = lean_array_push(x_2059, x_2058); +lean_inc(x_2033); +x_2061 = lean_array_push(x_2060, x_2033); +x_2062 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_2063 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2063, 0, x_2062); +lean_ctor_set(x_2063, 1, x_2061); +x_2064 = lean_array_push(x_1974, x_2063); +x_2065 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2065, 0, x_1976); +lean_ctor_set(x_2065, 1, x_2064); +x_2066 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_1962); +x_2067 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2067, 0, x_1962); +lean_ctor_set(x_2067, 1, x_2066); +x_2068 = lean_array_push(x_2059, x_3); +lean_inc(x_2033); +x_2069 = lean_array_push(x_2068, x_2033); +x_2070 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2070, 0, x_2062); +lean_ctor_set(x_2070, 1, x_2069); +x_2071 = lean_array_push(x_2045, x_2020); +lean_inc(x_2071); +x_2072 = lean_array_push(x_2071, x_2065); +lean_inc(x_2067); +x_2073 = lean_array_push(x_2072, x_2067); +x_2074 = lean_array_push(x_2073, x_2070); +x_2075 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_2076 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2076, 0, x_2075); +lean_ctor_set(x_2076, 1, x_2074); +x_2077 = lean_array_push(x_1974, x_2031); +x_2078 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2078, 0, x_1976); +lean_ctor_set(x_2078, 1, x_2077); +x_2079 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_2080 = l_Lean_addMacroScope(x_1965, x_2079, x_1964); +x_2081 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_2082 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_2083 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2083, 0, x_1962); +lean_ctor_set(x_2083, 1, x_2081); +lean_ctor_set(x_2083, 2, x_2080); +lean_ctor_set(x_2083, 3, x_2082); +x_2084 = lean_array_push(x_2034, x_2047); +x_2085 = lean_array_push(x_2084, x_2033); +x_2086 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; x_2087 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2087, 0, x_2086); lean_ctor_set(x_2087, 1, x_2085); -x_2088 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_2089 = lean_array_push(x_2088, x_2082); -x_2090 = lean_array_push(x_2089, x_2087); -x_2091 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; +x_2088 = lean_array_push(x_1974, x_2087); +x_2089 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2089, 0, x_1976); +lean_ctor_set(x_2089, 1, x_2088); +x_2090 = lean_array_push(x_1978, x_2083); +x_2091 = lean_array_push(x_2090, x_2089); x_2092 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2092, 0, x_2091); -lean_ctor_set(x_2092, 1, x_2090); -x_2093 = lean_array_push(x_2088, x_1); -x_2094 = lean_array_push(x_2093, x_2092); -x_2095 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; +lean_ctor_set(x_2092, 0, x_7); +lean_ctor_set(x_2092, 1, x_2091); +x_2093 = lean_array_push(x_2071, x_2078); +x_2094 = lean_array_push(x_2093, x_2067); +x_2095 = lean_array_push(x_2094, x_2092); x_2096 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2096, 0, x_2095); -lean_ctor_set(x_2096, 1, x_2094); -x_2097 = lean_array_push(x_2084, x_2096); -x_2098 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2098, 0, x_2086); -lean_ctor_set(x_2098, 1, x_2097); -x_2099 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_2072); -x_2100 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2100, 0, x_2072); -lean_ctor_set(x_2100, 1, x_2099); -x_2101 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_2102 = lean_array_push(x_2101, x_2077); -x_2103 = lean_array_push(x_2102, x_2098); -x_2104 = lean_array_push(x_2103, x_2100); -x_2105 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; +lean_ctor_set(x_2096, 0, x_2075); +lean_ctor_set(x_2096, 1, x_2095); +x_2097 = lean_array_push(x_1978, x_2076); +x_2098 = lean_array_push(x_2097, x_2096); +x_2099 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2099, 0, x_1976); +lean_ctor_set(x_2099, 1, x_2098); +x_2100 = lean_array_push(x_1974, x_2099); +x_2101 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_2102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2102, 0, x_2101); +lean_ctor_set(x_2102, 1, x_2100); +x_2103 = lean_array_push(x_1978, x_2018); +x_2104 = lean_array_push(x_2103, x_2102); +x_2105 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; x_2106 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2106, 0, x_2105); lean_ctor_set(x_2106, 1, x_2104); -x_2107 = lean_array_push(x_2084, x_2106); -x_2108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2108, 0, x_2086); -lean_ctor_set(x_2108, 1, x_2107); -x_2109 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_2110 = lean_array_push(x_2109, x_2108); -x_2111 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_2112 = lean_array_push(x_2110, x_2111); -x_2113 = lean_array_push(x_2112, x_2111); -x_2114 = lean_array_push(x_2113, x_2111); -x_2115 = lean_array_push(x_2114, x_2111); -x_2116 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -x_2117 = lean_alloc_ctor(1, 2, 0); +x_2107 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_2108 = lean_array_push(x_2107, x_1998); +x_2109 = lean_array_push(x_2108, x_2000); +x_2110 = lean_array_push(x_2109, x_2007); +x_2111 = lean_array_push(x_2110, x_2009); +x_2112 = lean_array_push(x_2111, x_2014); +x_2113 = lean_array_push(x_2112, x_2016); +x_2114 = lean_array_push(x_2113, x_2106); +x_2115 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_2116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2116, 0, x_2115); +lean_ctor_set(x_2116, 1, x_2114); +if (lean_is_scalar(x_1963)) { + x_2117 = lean_alloc_ctor(1, 1, 0); +} else { + x_2117 = x_1963; +} lean_ctor_set(x_2117, 0, x_2116); -lean_ctor_set(x_2117, 1, x_2115); -x_2118 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_2072); -x_2119 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2119, 0, x_2072); -lean_ctor_set(x_2119, 1, x_2118); -x_2120 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_2074); -lean_inc(x_2075); -x_2121 = l_Lean_addMacroScope(x_2075, x_2120, x_2074); -x_2122 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_2072); -x_2123 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2123, 0, x_2072); -lean_ctor_set(x_2123, 1, x_2122); -lean_ctor_set(x_2123, 2, x_2121); -lean_ctor_set(x_2123, 3, x_2080); -x_2124 = lean_array_push(x_2088, x_2123); -x_2125 = lean_array_push(x_2124, x_2111); -x_2126 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; -x_2127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2127, 0, x_2126); -lean_ctor_set(x_2127, 1, x_2125); -x_2128 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_2072); -x_2129 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2129, 0, x_2072); -lean_ctor_set(x_2129, 1, x_2128); -x_2130 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_2074); -lean_inc(x_2075); -x_2131 = l_Lean_addMacroScope(x_2075, x_2130, x_2074); -x_2132 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_2133 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_2072); -x_2134 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2134, 0, x_2072); -lean_ctor_set(x_2134, 1, x_2132); -lean_ctor_set(x_2134, 2, x_2131); -lean_ctor_set(x_2134, 3, x_2133); -x_2135 = lean_array_push(x_2088, x_2129); -lean_inc(x_2135); -x_2136 = lean_array_push(x_2135, x_2134); -x_2137 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; -x_2138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2138, 0, x_2137); -lean_ctor_set(x_2138, 1, x_2136); -x_2139 = lean_array_push(x_2084, x_2138); -x_2140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2140, 0, x_2086); -lean_ctor_set(x_2140, 1, x_2139); -x_2141 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_2142 = lean_array_push(x_2141, x_2140); -x_2143 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_2144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2144, 0, x_2143); -lean_ctor_set(x_2144, 1, x_2142); -x_2145 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; -lean_inc(x_2072); -x_2146 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2146, 0, x_2072); -lean_ctor_set(x_2146, 1, x_2145); -x_2147 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -lean_inc(x_2072); -x_2148 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2148, 0, x_2072); -lean_ctor_set(x_2148, 1, x_2147); -x_2149 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_2072); -x_2150 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2150, 0, x_2072); -lean_ctor_set(x_2150, 1, x_2149); -x_2151 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_2072); -x_2152 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2152, 0, x_2072); -lean_ctor_set(x_2152, 1, x_2151); -x_2153 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_2072); -x_2154 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2154, 0, x_2072); -lean_ctor_set(x_2154, 1, x_2153); -x_2155 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_2072); -x_2156 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2156, 0, x_2072); -lean_ctor_set(x_2156, 1, x_2155); -x_2157 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_2072); -x_2158 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2158, 0, x_2072); -lean_ctor_set(x_2158, 1, x_2157); -x_2159 = lean_array_push(x_2084, x_2158); -x_2160 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; +if (lean_is_scalar(x_1961)) { + x_2118 = lean_alloc_ctor(0, 2, 0); +} else { + x_2118 = x_1961; +} +lean_ctor_set(x_2118, 0, x_2117); +lean_ctor_set(x_2118, 1, x_1960); +return x_2118; +} +} +else +{ +uint8_t x_2119; +x_2119 = lean_nat_dec_le(x_1953, x_1953); +if (x_2119 == 0) +{ +uint8_t x_2120; +lean_dec(x_1953); +x_2120 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_505, x_497); +if (x_2120 == 0) +{ +lean_object* x_2121; lean_object* x_2122; +lean_dec(x_1952); +lean_dec(x_505); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2121 = lean_box(0); +x_2122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2122, 0, x_2121); +lean_ctor_set(x_2122, 1, x_1951); +return x_2122; +} +else +{ +lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; lean_object* x_2239; lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; +lean_inc(x_5); +x_2123 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1951); +x_2124 = lean_ctor_get(x_2123, 0); +lean_inc(x_2124); +x_2125 = lean_ctor_get(x_2123, 1); +lean_inc(x_2125); +if (lean_is_exclusive(x_2123)) { + lean_ctor_release(x_2123, 0); + lean_ctor_release(x_2123, 1); + x_2126 = x_2123; +} else { + lean_dec_ref(x_2123); + x_2126 = lean_box(0); +} +x_2127 = lean_ctor_get(x_2124, 0); +lean_inc(x_2127); +if (lean_is_exclusive(x_2124)) { + lean_ctor_release(x_2124, 0); + x_2128 = x_2124; +} else { + lean_dec_ref(x_2124); + x_2128 = lean_box(0); +} +x_2129 = lean_ctor_get(x_5, 2); +lean_inc(x_2129); +x_2130 = lean_ctor_get(x_5, 1); +lean_inc(x_2130); +lean_dec(x_5); +x_2131 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_2127); +x_2132 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2132, 0, x_2127); +lean_ctor_set(x_2132, 1, x_2131); +x_2133 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_2129); +lean_inc(x_2130); +x_2134 = l_Lean_addMacroScope(x_2130, x_2133, x_2129); +x_2135 = lean_box(0); +x_2136 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_2127); +x_2137 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2137, 0, x_2127); +lean_ctor_set(x_2137, 1, x_2136); +lean_ctor_set(x_2137, 2, x_2134); +lean_ctor_set(x_2137, 3, x_2135); +x_2138 = lean_mk_syntax_ident(x_1952); +x_2139 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_2138); +x_2140 = lean_array_push(x_2139, x_2138); +x_2141 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_2142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2142, 0, x_2141); +lean_ctor_set(x_2142, 1, x_2140); +x_2143 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_2144 = lean_array_push(x_2143, x_2137); +x_2145 = lean_array_push(x_2144, x_2142); +x_2146 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_2147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2147, 0, x_2146); +lean_ctor_set(x_2147, 1, x_2145); +x_2148 = lean_array_push(x_2143, x_1); +x_2149 = lean_array_push(x_2148, x_2147); +x_2150 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_2151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2151, 0, x_2150); +lean_ctor_set(x_2151, 1, x_2149); +x_2152 = lean_array_push(x_2139, x_2151); +x_2153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2153, 0, x_2141); +lean_ctor_set(x_2153, 1, x_2152); +x_2154 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_2127); +x_2155 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2155, 0, x_2127); +lean_ctor_set(x_2155, 1, x_2154); +x_2156 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_2157 = lean_array_push(x_2156, x_2132); +x_2158 = lean_array_push(x_2157, x_2153); +x_2159 = lean_array_push(x_2158, x_2155); +x_2160 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; x_2161 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2161, 0, x_2160); lean_ctor_set(x_2161, 1, x_2159); -x_2162 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_2072); -x_2163 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2163, 0, x_2072); +x_2162 = lean_array_push(x_2139, x_2161); +x_2163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2163, 0, x_2141); lean_ctor_set(x_2163, 1, x_2162); -x_2164 = lean_array_push(x_2101, x_2156); -lean_inc(x_2161); -lean_inc(x_2164); -x_2165 = lean_array_push(x_2164, x_2161); -lean_inc(x_2163); -x_2166 = lean_array_push(x_2165, x_2163); -x_2167 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_2168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2168, 0, x_2167); -lean_ctor_set(x_2168, 1, x_2166); -x_2169 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_2072); -x_2170 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2170, 0, x_2072); -lean_ctor_set(x_2170, 1, x_2169); -x_2171 = lean_array_push(x_2135, x_2170); -x_2172 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; -x_2173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2173, 0, x_2172); -lean_ctor_set(x_2173, 1, x_2171); -x_2174 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_2175 = lean_array_push(x_2174, x_2154); -x_2176 = lean_array_push(x_2175, x_2111); -x_2177 = lean_array_push(x_2176, x_2168); -x_2178 = lean_array_push(x_2177, x_2173); -x_2179 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_2180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2180, 0, x_2179); -lean_ctor_set(x_2180, 1, x_2178); -x_2181 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_2182 = l_Array_append___rarg(x_2181, x_568); -x_2183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2183, 0, x_2086); +x_2164 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_2127); +x_2165 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2165, 0, x_2127); +lean_ctor_set(x_2165, 1, x_2164); +x_2166 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_2129); +lean_inc(x_2130); +x_2167 = l_Lean_addMacroScope(x_2130, x_2166, x_2129); +x_2168 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_2127); +x_2169 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2169, 0, x_2127); +lean_ctor_set(x_2169, 1, x_2168); +lean_ctor_set(x_2169, 2, x_2167); +lean_ctor_set(x_2169, 3, x_2135); +x_2170 = lean_array_push(x_2143, x_2169); +x_2171 = lean_array_push(x_2170, x_2138); +x_2172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2172, 0, x_2141); +lean_ctor_set(x_2172, 1, x_2171); +x_2173 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_2127); +x_2174 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2174, 0, x_2127); +lean_ctor_set(x_2174, 1, x_2173); +x_2175 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_2129); +lean_inc(x_2130); +x_2176 = l_Lean_addMacroScope(x_2130, x_2175, x_2129); +x_2177 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_2178 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_2127); +x_2179 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2179, 0, x_2127); +lean_ctor_set(x_2179, 1, x_2177); +lean_ctor_set(x_2179, 2, x_2176); +lean_ctor_set(x_2179, 3, x_2178); +x_2180 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_2127); +x_2181 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2181, 0, x_2127); +lean_ctor_set(x_2181, 1, x_2180); +x_2182 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_2127); +x_2183 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2183, 0, x_2127); lean_ctor_set(x_2183, 1, x_2182); -x_2184 = lean_array_push(x_2088, x_2180); -x_2185 = lean_array_push(x_2184, x_2183); -x_2186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2186, 0, x_7); -lean_ctor_set(x_2186, 1, x_2185); -x_2187 = lean_array_push(x_2101, x_2152); -lean_inc(x_2187); -x_2188 = lean_array_push(x_2187, x_2186); -lean_inc(x_2163); -x_2189 = lean_array_push(x_2188, x_2163); -x_2190 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -x_2191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2191, 0, x_2190); -lean_ctor_set(x_2191, 1, x_2189); -x_2192 = lean_array_push(x_2084, x_2191); -x_2193 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2193, 0, x_2086); +x_2184 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_2127); +x_2185 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2185, 0, x_2127); +lean_ctor_set(x_2185, 1, x_2184); +x_2186 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_2127); +x_2187 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2187, 0, x_2127); +lean_ctor_set(x_2187, 1, x_2186); +x_2188 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_2127); +x_2189 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2189, 0, x_2127); +lean_ctor_set(x_2189, 1, x_2188); +x_2190 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_2127); +x_2191 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2191, 0, x_2127); +lean_ctor_set(x_2191, 1, x_2190); +x_2192 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_2127); +x_2193 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2193, 0, x_2127); lean_ctor_set(x_2193, 1, x_2192); -x_2194 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_2072); -x_2195 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2195, 0, x_2072); -lean_ctor_set(x_2195, 1, x_2194); -x_2196 = lean_array_push(x_2187, x_3); -lean_inc(x_2163); -x_2197 = lean_array_push(x_2196, x_2163); -x_2198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2198, 0, x_2190); +x_2194 = lean_array_push(x_2139, x_2193); +x_2195 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_2196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2196, 0, x_2195); +lean_ctor_set(x_2196, 1, x_2194); +x_2197 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_2127); +x_2198 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2198, 0, x_2127); lean_ctor_set(x_2198, 1, x_2197); -x_2199 = lean_array_push(x_2174, x_2150); +x_2199 = lean_array_push(x_2156, x_2191); +lean_inc(x_2196); lean_inc(x_2199); -x_2200 = lean_array_push(x_2199, x_2193); -lean_inc(x_2195); -x_2201 = lean_array_push(x_2200, x_2195); -x_2202 = lean_array_push(x_2201, x_2198); -x_2203 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_2204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2204, 0, x_2203); -lean_ctor_set(x_2204, 1, x_2202); -x_2205 = lean_array_push(x_2084, x_2161); -x_2206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2206, 0, x_2086); -lean_ctor_set(x_2206, 1, x_2205); -x_2207 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_2208 = l_Lean_addMacroScope(x_2075, x_2207, x_2074); -x_2209 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_2210 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_2211 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2211, 0, x_2072); -lean_ctor_set(x_2211, 1, x_2209); -lean_ctor_set(x_2211, 2, x_2208); -lean_ctor_set(x_2211, 3, x_2210); -x_2212 = lean_array_push(x_2164, x_2111); -x_2213 = lean_array_push(x_2212, x_2163); -x_2214 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_2215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2215, 0, x_2214); -lean_ctor_set(x_2215, 1, x_2213); -x_2216 = lean_array_push(x_2084, x_2215); +x_2200 = lean_array_push(x_2199, x_2196); +lean_inc(x_2198); +x_2201 = lean_array_push(x_2200, x_2198); +x_2202 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_2203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2203, 0, x_2202); +lean_ctor_set(x_2203, 1, x_2201); +x_2204 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_2127); +x_2205 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2205, 0, x_2127); +lean_ctor_set(x_2205, 1, x_2204); +lean_inc(x_2174); +x_2206 = lean_array_push(x_2143, x_2174); +x_2207 = lean_array_push(x_2206, x_2205); +x_2208 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; +x_2209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2209, 0, x_2208); +lean_ctor_set(x_2209, 1, x_2207); +x_2210 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_2211 = lean_array_push(x_2210, x_2189); +x_2212 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_2213 = lean_array_push(x_2211, x_2212); +x_2214 = lean_array_push(x_2213, x_2203); +x_2215 = lean_array_push(x_2214, x_2209); +x_2216 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; x_2217 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2217, 0, x_2086); -lean_ctor_set(x_2217, 1, x_2216); -x_2218 = lean_array_push(x_2088, x_2211); -x_2219 = lean_array_push(x_2218, x_2217); +lean_ctor_set(x_2217, 0, x_2216); +lean_ctor_set(x_2217, 1, x_2215); +x_2218 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_2219 = l_Array_append___rarg(x_2218, x_505); x_2220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2220, 0, x_7); +lean_ctor_set(x_2220, 0, x_2141); lean_ctor_set(x_2220, 1, x_2219); -x_2221 = lean_array_push(x_2199, x_2206); -x_2222 = lean_array_push(x_2221, x_2195); -x_2223 = lean_array_push(x_2222, x_2220); -x_2224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2224, 0, x_2203); -lean_ctor_set(x_2224, 1, x_2223); -x_2225 = lean_array_push(x_2088, x_2204); -x_2226 = lean_array_push(x_2225, x_2224); -x_2227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2227, 0, x_2086); -lean_ctor_set(x_2227, 1, x_2226); -x_2228 = lean_array_push(x_2084, x_2227); -x_2229 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_2221 = lean_array_push(x_2143, x_2217); +x_2222 = lean_array_push(x_2221, x_2220); +x_2223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2223, 0, x_7); +lean_ctor_set(x_2223, 1, x_2222); +x_2224 = lean_array_push(x_2156, x_2187); +lean_inc(x_2224); +x_2225 = lean_array_push(x_2224, x_2223); +lean_inc(x_2198); +x_2226 = lean_array_push(x_2225, x_2198); +x_2227 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_2228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2228, 0, x_2227); +lean_ctor_set(x_2228, 1, x_2226); +x_2229 = lean_array_push(x_2139, x_2228); x_2230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2230, 0, x_2229); -lean_ctor_set(x_2230, 1, x_2228); -x_2231 = lean_array_push(x_2088, x_2148); -x_2232 = lean_array_push(x_2231, x_2230); -x_2233 = l_Lean_Elab_Command_mkSimpleDelab___closed__95; -x_2234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2234, 0, x_2233); -lean_ctor_set(x_2234, 1, x_2232); -x_2235 = lean_array_push(x_2101, x_2146); -x_2236 = lean_array_push(x_2235, x_2234); -x_2237 = lean_array_push(x_2236, x_2111); -x_2238 = l_Lean_Elab_Command_mkSimpleDelab___closed__92; -x_2239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2239, 0, x_2238); -lean_ctor_set(x_2239, 1, x_2237); -x_2240 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_2241 = lean_array_push(x_2240, x_2119); -x_2242 = lean_array_push(x_2241, x_2127); -x_2243 = lean_array_push(x_2242, x_2144); -x_2244 = lean_array_push(x_2243, x_2239); -x_2245 = lean_array_push(x_2244, x_2111); -x_2246 = lean_array_push(x_2245, x_2111); -x_2247 = lean_array_push(x_2246, x_2111); -x_2248 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_2249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2249, 0, x_2248); -lean_ctor_set(x_2249, 1, x_2247); -x_2250 = lean_array_push(x_2088, x_2117); -x_2251 = lean_array_push(x_2250, x_2249); -x_2252 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_2253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2253, 0, x_2252); -lean_ctor_set(x_2253, 1, x_2251); -if (lean_is_scalar(x_2073)) { - x_2254 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2230, 0, x_2141); +lean_ctor_set(x_2230, 1, x_2229); +x_2231 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_2127); +x_2232 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2232, 0, x_2127); +lean_ctor_set(x_2232, 1, x_2231); +x_2233 = lean_array_push(x_2224, x_3); +lean_inc(x_2198); +x_2234 = lean_array_push(x_2233, x_2198); +x_2235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2235, 0, x_2227); +lean_ctor_set(x_2235, 1, x_2234); +x_2236 = lean_array_push(x_2210, x_2185); +lean_inc(x_2236); +x_2237 = lean_array_push(x_2236, x_2230); +lean_inc(x_2232); +x_2238 = lean_array_push(x_2237, x_2232); +x_2239 = lean_array_push(x_2238, x_2235); +x_2240 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_2241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2241, 0, x_2240); +lean_ctor_set(x_2241, 1, x_2239); +x_2242 = lean_array_push(x_2139, x_2196); +x_2243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2243, 0, x_2141); +lean_ctor_set(x_2243, 1, x_2242); +x_2244 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_2245 = l_Lean_addMacroScope(x_2130, x_2244, x_2129); +x_2246 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_2247 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_2248 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2248, 0, x_2127); +lean_ctor_set(x_2248, 1, x_2246); +lean_ctor_set(x_2248, 2, x_2245); +lean_ctor_set(x_2248, 3, x_2247); +x_2249 = lean_array_push(x_2199, x_2212); +x_2250 = lean_array_push(x_2249, x_2198); +x_2251 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_2252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2252, 0, x_2251); +lean_ctor_set(x_2252, 1, x_2250); +x_2253 = lean_array_push(x_2139, x_2252); +x_2254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2254, 0, x_2141); +lean_ctor_set(x_2254, 1, x_2253); +x_2255 = lean_array_push(x_2143, x_2248); +x_2256 = lean_array_push(x_2255, x_2254); +x_2257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2257, 0, x_7); +lean_ctor_set(x_2257, 1, x_2256); +x_2258 = lean_array_push(x_2236, x_2243); +x_2259 = lean_array_push(x_2258, x_2232); +x_2260 = lean_array_push(x_2259, x_2257); +x_2261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2261, 0, x_2240); +lean_ctor_set(x_2261, 1, x_2260); +x_2262 = lean_array_push(x_2143, x_2241); +x_2263 = lean_array_push(x_2262, x_2261); +x_2264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2264, 0, x_2141); +lean_ctor_set(x_2264, 1, x_2263); +x_2265 = lean_array_push(x_2139, x_2264); +x_2266 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_2267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2267, 0, x_2266); +lean_ctor_set(x_2267, 1, x_2265); +x_2268 = lean_array_push(x_2143, x_2183); +x_2269 = lean_array_push(x_2268, x_2267); +x_2270 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_2271 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2271, 0, x_2270); +lean_ctor_set(x_2271, 1, x_2269); +x_2272 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_2273 = lean_array_push(x_2272, x_2163); +x_2274 = lean_array_push(x_2273, x_2165); +x_2275 = lean_array_push(x_2274, x_2172); +x_2276 = lean_array_push(x_2275, x_2174); +x_2277 = lean_array_push(x_2276, x_2179); +x_2278 = lean_array_push(x_2277, x_2181); +x_2279 = lean_array_push(x_2278, x_2271); +x_2280 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_2281 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2281, 0, x_2280); +lean_ctor_set(x_2281, 1, x_2279); +if (lean_is_scalar(x_2128)) { + x_2282 = lean_alloc_ctor(1, 1, 0); } else { - x_2254 = x_2073; + x_2282 = x_2128; } -lean_ctor_set(x_2254, 0, x_2253); -x_2255 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2255, 0, x_2254); -lean_ctor_set(x_2255, 1, x_2071); -return x_2255; -} -} -} -else -{ -lean_object* x_2256; -lean_dec(x_584); -lean_dec(x_568); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2256 = lean_box(0); -lean_ctor_set(x_570, 0, x_2256); -return x_570; -} -} -} -} -else -{ -lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; uint8_t x_2260; -x_2257 = lean_ctor_get(x_570, 1); -lean_inc(x_2257); -lean_dec(x_570); -x_2258 = lean_ctor_get(x_578, 0); -lean_inc(x_2258); -lean_dec(x_578); -x_2259 = lean_array_get_size(x_568); -x_2260 = lean_nat_dec_lt(x_560, x_2259); -if (x_2260 == 0) -{ -uint8_t x_2261; -lean_dec(x_2259); -x_2261 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_568, x_560); -if (x_2261 == 0) -{ -lean_object* x_2262; lean_object* x_2263; -lean_dec(x_2258); -lean_dec(x_568); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2262 = lean_box(0); -x_2263 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2263, 0, x_2262); -lean_ctor_set(x_2263, 1, x_2257); -return x_2263; -} -else -{ -lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; lean_object* x_2418; lean_object* x_2419; lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; lean_object* x_2423; lean_object* x_2424; lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; lean_object* x_2437; lean_object* x_2438; lean_object* x_2439; lean_object* x_2440; lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; -lean_inc(x_5); -x_2264 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2257); -x_2265 = lean_ctor_get(x_2264, 0); -lean_inc(x_2265); -x_2266 = lean_ctor_get(x_2264, 1); -lean_inc(x_2266); -if (lean_is_exclusive(x_2264)) { - lean_ctor_release(x_2264, 0); - lean_ctor_release(x_2264, 1); - x_2267 = x_2264; +lean_ctor_set(x_2282, 0, x_2281); +if (lean_is_scalar(x_2126)) { + x_2283 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_2264); - x_2267 = lean_box(0); + x_2283 = x_2126; } -x_2268 = lean_ctor_get(x_2265, 0); -lean_inc(x_2268); -if (lean_is_exclusive(x_2265)) { - lean_ctor_release(x_2265, 0); - x_2269 = x_2265; -} else { - lean_dec_ref(x_2265); - x_2269 = lean_box(0); -} -x_2270 = lean_ctor_get(x_5, 2); -lean_inc(x_2270); -x_2271 = lean_ctor_get(x_5, 1); -lean_inc(x_2271); -lean_dec(x_5); -x_2272 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_2268); -x_2273 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2273, 0, x_2268); -lean_ctor_set(x_2273, 1, x_2272); -x_2274 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_2270); -lean_inc(x_2271); -x_2275 = l_Lean_addMacroScope(x_2271, x_2274, x_2270); -x_2276 = lean_box(0); -x_2277 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_2268); -x_2278 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2278, 0, x_2268); -lean_ctor_set(x_2278, 1, x_2277); -lean_ctor_set(x_2278, 2, x_2275); -lean_ctor_set(x_2278, 3, x_2276); -x_2279 = lean_mk_syntax_ident(x_2258); -x_2280 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_2281 = lean_array_push(x_2280, x_2279); -x_2282 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_2283 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2283, 0, x_2282); -lean_ctor_set(x_2283, 1, x_2281); -x_2284 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_2285 = lean_array_push(x_2284, x_2278); -x_2286 = lean_array_push(x_2285, x_2283); -x_2287 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; -x_2288 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2288, 0, x_2287); -lean_ctor_set(x_2288, 1, x_2286); -x_2289 = lean_array_push(x_2284, x_1); -x_2290 = lean_array_push(x_2289, x_2288); -x_2291 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -x_2292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2292, 0, x_2291); -lean_ctor_set(x_2292, 1, x_2290); -x_2293 = lean_array_push(x_2280, x_2292); -x_2294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2294, 0, x_2282); -lean_ctor_set(x_2294, 1, x_2293); -x_2295 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_2268); -x_2296 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2296, 0, x_2268); -lean_ctor_set(x_2296, 1, x_2295); -x_2297 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_2298 = lean_array_push(x_2297, x_2273); -x_2299 = lean_array_push(x_2298, x_2294); -x_2300 = lean_array_push(x_2299, x_2296); -x_2301 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; -x_2302 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2302, 0, x_2301); -lean_ctor_set(x_2302, 1, x_2300); -x_2303 = lean_array_push(x_2280, x_2302); -x_2304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2304, 0, x_2282); +lean_ctor_set(x_2283, 1, x_2125); +return x_2283; +} +} +else +{ +size_t x_2284; size_t x_2285; uint8_t x_2286; +x_2284 = 0; +x_2285 = lean_usize_of_nat(x_1953); +lean_dec(x_1953); +x_2286 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_505, x_2284, x_2285); +if (x_2286 == 0) +{ +uint8_t x_2287; +x_2287 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_505, x_497); +if (x_2287 == 0) +{ +lean_object* x_2288; lean_object* x_2289; +lean_dec(x_1952); +lean_dec(x_505); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2288 = lean_box(0); +x_2289 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2289, 0, x_2288); +lean_ctor_set(x_2289, 1, x_1951); +return x_2289; +} +else +{ +lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; lean_object* x_2418; lean_object* x_2419; lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; lean_object* x_2423; lean_object* x_2424; lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; lean_object* x_2437; lean_object* x_2438; lean_object* x_2439; lean_object* x_2440; lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; +lean_inc(x_5); +x_2290 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_1951); +x_2291 = lean_ctor_get(x_2290, 0); +lean_inc(x_2291); +x_2292 = lean_ctor_get(x_2290, 1); +lean_inc(x_2292); +if (lean_is_exclusive(x_2290)) { + lean_ctor_release(x_2290, 0); + lean_ctor_release(x_2290, 1); + x_2293 = x_2290; +} else { + lean_dec_ref(x_2290); + x_2293 = lean_box(0); +} +x_2294 = lean_ctor_get(x_2291, 0); +lean_inc(x_2294); +if (lean_is_exclusive(x_2291)) { + lean_ctor_release(x_2291, 0); + x_2295 = x_2291; +} else { + lean_dec_ref(x_2291); + x_2295 = lean_box(0); +} +x_2296 = lean_ctor_get(x_5, 2); +lean_inc(x_2296); +x_2297 = lean_ctor_get(x_5, 1); +lean_inc(x_2297); +lean_dec(x_5); +x_2298 = l_Lean_Elab_Command_mkSimpleDelab___closed__16; +lean_inc(x_2294); +x_2299 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2299, 0, x_2294); +lean_ctor_set(x_2299, 1, x_2298); +x_2300 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; +lean_inc(x_2296); +lean_inc(x_2297); +x_2301 = l_Lean_addMacroScope(x_2297, x_2300, x_2296); +x_2302 = lean_box(0); +x_2303 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; +lean_inc(x_2294); +x_2304 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2304, 0, x_2294); lean_ctor_set(x_2304, 1, x_2303); -x_2305 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_2306 = lean_array_push(x_2305, x_2304); -x_2307 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_2308 = lean_array_push(x_2306, x_2307); -x_2309 = lean_array_push(x_2308, x_2307); -x_2310 = lean_array_push(x_2309, x_2307); -x_2311 = lean_array_push(x_2310, x_2307); -x_2312 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -x_2313 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2313, 0, x_2312); -lean_ctor_set(x_2313, 1, x_2311); -x_2314 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_2268); -x_2315 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2315, 0, x_2268); -lean_ctor_set(x_2315, 1, x_2314); -x_2316 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_2270); -lean_inc(x_2271); -x_2317 = l_Lean_addMacroScope(x_2271, x_2316, x_2270); -x_2318 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_2268); -x_2319 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2319, 0, x_2268); -lean_ctor_set(x_2319, 1, x_2318); -lean_ctor_set(x_2319, 2, x_2317); -lean_ctor_set(x_2319, 3, x_2276); -x_2320 = lean_array_push(x_2284, x_2319); -x_2321 = lean_array_push(x_2320, x_2307); -x_2322 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; -x_2323 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2323, 0, x_2322); -lean_ctor_set(x_2323, 1, x_2321); -x_2324 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_2268); -x_2325 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2325, 0, x_2268); -lean_ctor_set(x_2325, 1, x_2324); -x_2326 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_2270); -lean_inc(x_2271); -x_2327 = l_Lean_addMacroScope(x_2271, x_2326, x_2270); -x_2328 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_2329 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_2268); -x_2330 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2330, 0, x_2268); -lean_ctor_set(x_2330, 1, x_2328); -lean_ctor_set(x_2330, 2, x_2327); -lean_ctor_set(x_2330, 3, x_2329); -x_2331 = lean_array_push(x_2284, x_2325); -lean_inc(x_2331); -x_2332 = lean_array_push(x_2331, x_2330); -x_2333 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; -x_2334 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2334, 0, x_2333); -lean_ctor_set(x_2334, 1, x_2332); -x_2335 = lean_array_push(x_2280, x_2334); -x_2336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2336, 0, x_2282); +lean_ctor_set(x_2304, 2, x_2301); +lean_ctor_set(x_2304, 3, x_2302); +x_2305 = lean_mk_syntax_ident(x_1952); +x_2306 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; +lean_inc(x_2305); +x_2307 = lean_array_push(x_2306, x_2305); +x_2308 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_2309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2309, 0, x_2308); +lean_ctor_set(x_2309, 1, x_2307); +x_2310 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; +x_2311 = lean_array_push(x_2310, x_2304); +x_2312 = lean_array_push(x_2311, x_2309); +x_2313 = l_Lean_Elab_Command_mkSimpleDelab___closed__22; +x_2314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2314, 0, x_2313); +lean_ctor_set(x_2314, 1, x_2312); +x_2315 = lean_array_push(x_2310, x_1); +x_2316 = lean_array_push(x_2315, x_2314); +x_2317 = l_Lean_Elab_Command_mkSimpleDelab___closed__18; +x_2318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2318, 0, x_2317); +lean_ctor_set(x_2318, 1, x_2316); +x_2319 = lean_array_push(x_2306, x_2318); +x_2320 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2320, 0, x_2308); +lean_ctor_set(x_2320, 1, x_2319); +x_2321 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +lean_inc(x_2294); +x_2322 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2322, 0, x_2294); +lean_ctor_set(x_2322, 1, x_2321); +x_2323 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; +x_2324 = lean_array_push(x_2323, x_2299); +x_2325 = lean_array_push(x_2324, x_2320); +x_2326 = lean_array_push(x_2325, x_2322); +x_2327 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; +x_2328 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2328, 0, x_2327); +lean_ctor_set(x_2328, 1, x_2326); +x_2329 = lean_array_push(x_2306, x_2328); +x_2330 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2330, 0, x_2308); +lean_ctor_set(x_2330, 1, x_2329); +x_2331 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; +lean_inc(x_2294); +x_2332 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2332, 0, x_2294); +lean_ctor_set(x_2332, 1, x_2331); +x_2333 = l_Lean_Elab_Command_mkSimpleDelab___closed__32; +lean_inc(x_2296); +lean_inc(x_2297); +x_2334 = l_Lean_addMacroScope(x_2297, x_2333, x_2296); +x_2335 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; +lean_inc(x_2294); +x_2336 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2336, 0, x_2294); lean_ctor_set(x_2336, 1, x_2335); -x_2337 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_2338 = lean_array_push(x_2337, x_2336); -x_2339 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_2340 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2340, 0, x_2339); -lean_ctor_set(x_2340, 1, x_2338); -x_2341 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; -lean_inc(x_2268); -x_2342 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2342, 0, x_2268); -lean_ctor_set(x_2342, 1, x_2341); -x_2343 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -lean_inc(x_2268); -x_2344 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2344, 0, x_2268); -lean_ctor_set(x_2344, 1, x_2343); -x_2345 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_2268); -x_2346 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2346, 0, x_2268); -lean_ctor_set(x_2346, 1, x_2345); -x_2347 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_2268); +lean_ctor_set(x_2336, 2, x_2334); +lean_ctor_set(x_2336, 3, x_2302); +x_2337 = lean_array_push(x_2310, x_2336); +x_2338 = lean_array_push(x_2337, x_2305); +x_2339 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2339, 0, x_2308); +lean_ctor_set(x_2339, 1, x_2338); +x_2340 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; +lean_inc(x_2294); +x_2341 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2341, 0, x_2294); +lean_ctor_set(x_2341, 1, x_2340); +x_2342 = l_Lean_Elab_Command_mkSimpleDelab___closed__40; +lean_inc(x_2296); +lean_inc(x_2297); +x_2343 = l_Lean_addMacroScope(x_2297, x_2342, x_2296); +x_2344 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; +x_2345 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +lean_inc(x_2294); +x_2346 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2346, 0, x_2294); +lean_ctor_set(x_2346, 1, x_2344); +lean_ctor_set(x_2346, 2, x_2343); +lean_ctor_set(x_2346, 3, x_2345); +x_2347 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; +lean_inc(x_2294); x_2348 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2348, 0, x_2268); +lean_ctor_set(x_2348, 0, x_2294); lean_ctor_set(x_2348, 1, x_2347); -x_2349 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_2268); +x_2349 = l_Lean_Elab_Command_mkSimpleDelab___closed__44; +lean_inc(x_2294); x_2350 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2350, 0, x_2268); +lean_ctor_set(x_2350, 0, x_2294); lean_ctor_set(x_2350, 1, x_2349); -x_2351 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_2268); +x_2351 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; +lean_inc(x_2294); x_2352 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2352, 0, x_2268); +lean_ctor_set(x_2352, 0, x_2294); lean_ctor_set(x_2352, 1, x_2351); -x_2353 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_2268); +x_2353 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; +lean_inc(x_2294); x_2354 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2354, 0, x_2268); +lean_ctor_set(x_2354, 0, x_2294); lean_ctor_set(x_2354, 1, x_2353); -x_2355 = lean_array_push(x_2280, x_2354); -x_2356 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_2357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2357, 0, x_2356); -lean_ctor_set(x_2357, 1, x_2355); -x_2358 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_2268); -x_2359 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2359, 0, x_2268); -lean_ctor_set(x_2359, 1, x_2358); -x_2360 = lean_array_push(x_2297, x_2352); -lean_inc(x_2357); -lean_inc(x_2360); -x_2361 = lean_array_push(x_2360, x_2357); -lean_inc(x_2359); -x_2362 = lean_array_push(x_2361, x_2359); -x_2363 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_2364 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2364, 0, x_2363); -lean_ctor_set(x_2364, 1, x_2362); -x_2365 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_2268); -x_2366 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2366, 0, x_2268); -lean_ctor_set(x_2366, 1, x_2365); -x_2367 = lean_array_push(x_2331, x_2366); -x_2368 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; -x_2369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2369, 0, x_2368); -lean_ctor_set(x_2369, 1, x_2367); -x_2370 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_2371 = lean_array_push(x_2370, x_2350); -x_2372 = lean_array_push(x_2371, x_2307); -x_2373 = lean_array_push(x_2372, x_2364); -x_2374 = lean_array_push(x_2373, x_2369); -x_2375 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_2355 = l_Lean_Elab_Command_mkSimpleDelab___closed__56; +lean_inc(x_2294); +x_2356 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2356, 0, x_2294); +lean_ctor_set(x_2356, 1, x_2355); +x_2357 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; +lean_inc(x_2294); +x_2358 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2358, 0, x_2294); +lean_ctor_set(x_2358, 1, x_2357); +x_2359 = l_Lean_Elab_Command_mkSimpleDelab___closed__62; +lean_inc(x_2294); +x_2360 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2360, 0, x_2294); +lean_ctor_set(x_2360, 1, x_2359); +x_2361 = lean_array_push(x_2306, x_2360); +x_2362 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_2363 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2363, 0, x_2362); +lean_ctor_set(x_2363, 1, x_2361); +x_2364 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +lean_inc(x_2294); +x_2365 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2365, 0, x_2294); +lean_ctor_set(x_2365, 1, x_2364); +x_2366 = lean_array_push(x_2323, x_2358); +lean_inc(x_2363); +lean_inc(x_2366); +x_2367 = lean_array_push(x_2366, x_2363); +lean_inc(x_2365); +x_2368 = lean_array_push(x_2367, x_2365); +x_2369 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_2370 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2370, 0, x_2369); +lean_ctor_set(x_2370, 1, x_2368); +x_2371 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; +lean_inc(x_2294); +x_2372 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2372, 0, x_2294); +lean_ctor_set(x_2372, 1, x_2371); +lean_inc(x_2341); +x_2373 = lean_array_push(x_2310, x_2341); +x_2374 = lean_array_push(x_2373, x_2372); +x_2375 = l_Lean_Elab_Command_mkSimpleDelab___closed__65; x_2376 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2376, 0, x_2375); lean_ctor_set(x_2376, 1, x_2374); -x_2377 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_2378 = l_Array_append___rarg(x_2377, x_568); -x_2379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2379, 0, x_2282); -lean_ctor_set(x_2379, 1, x_2378); -x_2380 = lean_array_push(x_2284, x_2376); -x_2381 = lean_array_push(x_2380, x_2379); -x_2382 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2382, 0, x_7); -lean_ctor_set(x_2382, 1, x_2381); -x_2383 = lean_array_push(x_2297, x_2348); -lean_inc(x_2383); -x_2384 = lean_array_push(x_2383, x_2382); -lean_inc(x_2359); -x_2385 = lean_array_push(x_2384, x_2359); -x_2386 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +x_2377 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; +x_2378 = lean_array_push(x_2377, x_2356); +x_2379 = l_Lean_Elab_Command_mkSimpleDelab___closed__13; +x_2380 = lean_array_push(x_2378, x_2379); +x_2381 = lean_array_push(x_2380, x_2370); +x_2382 = lean_array_push(x_2381, x_2376); +x_2383 = l_Lean_Elab_Command_mkSimpleDelab___closed__55; +x_2384 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2384, 0, x_2383); +lean_ctor_set(x_2384, 1, x_2382); +x_2385 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; +x_2386 = l_Array_append___rarg(x_2385, x_505); x_2387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2387, 0, x_2386); -lean_ctor_set(x_2387, 1, x_2385); -x_2388 = lean_array_push(x_2280, x_2387); -x_2389 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2389, 0, x_2282); -lean_ctor_set(x_2389, 1, x_2388); -x_2390 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_2268); -x_2391 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2391, 0, x_2268); -lean_ctor_set(x_2391, 1, x_2390); -x_2392 = lean_array_push(x_2383, x_3); -lean_inc(x_2359); -x_2393 = lean_array_push(x_2392, x_2359); -x_2394 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2394, 0, x_2386); -lean_ctor_set(x_2394, 1, x_2393); -x_2395 = lean_array_push(x_2370, x_2346); -lean_inc(x_2395); -x_2396 = lean_array_push(x_2395, x_2389); +lean_ctor_set(x_2387, 0, x_2308); +lean_ctor_set(x_2387, 1, x_2386); +x_2388 = lean_array_push(x_2310, x_2384); +x_2389 = lean_array_push(x_2388, x_2387); +x_2390 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2390, 0, x_7); +lean_ctor_set(x_2390, 1, x_2389); +x_2391 = lean_array_push(x_2323, x_2354); lean_inc(x_2391); -x_2397 = lean_array_push(x_2396, x_2391); -x_2398 = lean_array_push(x_2397, x_2394); -x_2399 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_2400 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2400, 0, x_2399); -lean_ctor_set(x_2400, 1, x_2398); -x_2401 = lean_array_push(x_2280, x_2357); +x_2392 = lean_array_push(x_2391, x_2390); +lean_inc(x_2365); +x_2393 = lean_array_push(x_2392, x_2365); +x_2394 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; +x_2395 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2395, 0, x_2394); +lean_ctor_set(x_2395, 1, x_2393); +x_2396 = lean_array_push(x_2306, x_2395); +x_2397 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2397, 0, x_2308); +lean_ctor_set(x_2397, 1, x_2396); +x_2398 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; +lean_inc(x_2294); +x_2399 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2399, 0, x_2294); +lean_ctor_set(x_2399, 1, x_2398); +x_2400 = lean_array_push(x_2391, x_3); +lean_inc(x_2365); +x_2401 = lean_array_push(x_2400, x_2365); x_2402 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2402, 0, x_2282); +lean_ctor_set(x_2402, 0, x_2394); lean_ctor_set(x_2402, 1, x_2401); -x_2403 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_2404 = l_Lean_addMacroScope(x_2271, x_2403, x_2270); -x_2405 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_2406 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_2407 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2407, 0, x_2268); -lean_ctor_set(x_2407, 1, x_2405); -lean_ctor_set(x_2407, 2, x_2404); -lean_ctor_set(x_2407, 3, x_2406); -x_2408 = lean_array_push(x_2360, x_2307); -x_2409 = lean_array_push(x_2408, x_2359); -x_2410 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_2411 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2411, 0, x_2410); -lean_ctor_set(x_2411, 1, x_2409); -x_2412 = lean_array_push(x_2280, x_2411); -x_2413 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2413, 0, x_2282); -lean_ctor_set(x_2413, 1, x_2412); -x_2414 = lean_array_push(x_2284, x_2407); -x_2415 = lean_array_push(x_2414, x_2413); -x_2416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2416, 0, x_7); -lean_ctor_set(x_2416, 1, x_2415); -x_2417 = lean_array_push(x_2395, x_2402); -x_2418 = lean_array_push(x_2417, x_2391); -x_2419 = lean_array_push(x_2418, x_2416); -x_2420 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2420, 0, x_2399); -lean_ctor_set(x_2420, 1, x_2419); -x_2421 = lean_array_push(x_2284, x_2400); -x_2422 = lean_array_push(x_2421, x_2420); -x_2423 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2423, 0, x_2282); -lean_ctor_set(x_2423, 1, x_2422); -x_2424 = lean_array_push(x_2280, x_2423); -x_2425 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; -x_2426 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2426, 0, x_2425); -lean_ctor_set(x_2426, 1, x_2424); -x_2427 = lean_array_push(x_2284, x_2344); -x_2428 = lean_array_push(x_2427, x_2426); -x_2429 = l_Lean_Elab_Command_mkSimpleDelab___closed__95; -x_2430 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2430, 0, x_2429); -lean_ctor_set(x_2430, 1, x_2428); -x_2431 = lean_array_push(x_2297, x_2342); -x_2432 = lean_array_push(x_2431, x_2430); -x_2433 = lean_array_push(x_2432, x_2307); -x_2434 = l_Lean_Elab_Command_mkSimpleDelab___closed__92; -x_2435 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2435, 0, x_2434); -lean_ctor_set(x_2435, 1, x_2433); -x_2436 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_2437 = lean_array_push(x_2436, x_2315); -x_2438 = lean_array_push(x_2437, x_2323); -x_2439 = lean_array_push(x_2438, x_2340); -x_2440 = lean_array_push(x_2439, x_2435); -x_2441 = lean_array_push(x_2440, x_2307); -x_2442 = lean_array_push(x_2441, x_2307); -x_2443 = lean_array_push(x_2442, x_2307); -x_2444 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_2445 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2445, 0, x_2444); -lean_ctor_set(x_2445, 1, x_2443); -x_2446 = lean_array_push(x_2284, x_2313); -x_2447 = lean_array_push(x_2446, x_2445); -x_2448 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_2449 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2449, 0, x_2448); -lean_ctor_set(x_2449, 1, x_2447); -if (lean_is_scalar(x_2269)) { - x_2450 = lean_alloc_ctor(1, 1, 0); +x_2403 = lean_array_push(x_2377, x_2352); +lean_inc(x_2403); +x_2404 = lean_array_push(x_2403, x_2397); +lean_inc(x_2399); +x_2405 = lean_array_push(x_2404, x_2399); +x_2406 = lean_array_push(x_2405, x_2402); +x_2407 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; +x_2408 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2408, 0, x_2407); +lean_ctor_set(x_2408, 1, x_2406); +x_2409 = lean_array_push(x_2306, x_2363); +x_2410 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2410, 0, x_2308); +lean_ctor_set(x_2410, 1, x_2409); +x_2411 = l_Lean_Elab_Command_mkSimpleDelab___closed__71; +x_2412 = l_Lean_addMacroScope(x_2297, x_2411, x_2296); +x_2413 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_2414 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; +x_2415 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_2415, 0, x_2294); +lean_ctor_set(x_2415, 1, x_2413); +lean_ctor_set(x_2415, 2, x_2412); +lean_ctor_set(x_2415, 3, x_2414); +x_2416 = lean_array_push(x_2366, x_2379); +x_2417 = lean_array_push(x_2416, x_2365); +x_2418 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_2419 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2419, 0, x_2418); +lean_ctor_set(x_2419, 1, x_2417); +x_2420 = lean_array_push(x_2306, x_2419); +x_2421 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2421, 0, x_2308); +lean_ctor_set(x_2421, 1, x_2420); +x_2422 = lean_array_push(x_2310, x_2415); +x_2423 = lean_array_push(x_2422, x_2421); +x_2424 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2424, 0, x_7); +lean_ctor_set(x_2424, 1, x_2423); +x_2425 = lean_array_push(x_2403, x_2410); +x_2426 = lean_array_push(x_2425, x_2399); +x_2427 = lean_array_push(x_2426, x_2424); +x_2428 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2428, 0, x_2407); +lean_ctor_set(x_2428, 1, x_2427); +x_2429 = lean_array_push(x_2310, x_2408); +x_2430 = lean_array_push(x_2429, x_2428); +x_2431 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2431, 0, x_2308); +lean_ctor_set(x_2431, 1, x_2430); +x_2432 = lean_array_push(x_2306, x_2431); +x_2433 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; +x_2434 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2434, 0, x_2433); +lean_ctor_set(x_2434, 1, x_2432); +x_2435 = lean_array_push(x_2310, x_2350); +x_2436 = lean_array_push(x_2435, x_2434); +x_2437 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; +x_2438 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2438, 0, x_2437); +lean_ctor_set(x_2438, 1, x_2436); +x_2439 = l_Lean_Elab_Command_mkSimpleDelab___closed__80; +x_2440 = lean_array_push(x_2439, x_2330); +x_2441 = lean_array_push(x_2440, x_2332); +x_2442 = lean_array_push(x_2441, x_2339); +x_2443 = lean_array_push(x_2442, x_2341); +x_2444 = lean_array_push(x_2443, x_2346); +x_2445 = lean_array_push(x_2444, x_2348); +x_2446 = lean_array_push(x_2445, x_2438); +x_2447 = l_Lean_Elab_Command_mkSimpleDelab___closed__9; +x_2448 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2448, 0, x_2447); +lean_ctor_set(x_2448, 1, x_2446); +if (lean_is_scalar(x_2295)) { + x_2449 = lean_alloc_ctor(1, 1, 0); } else { - x_2450 = x_2269; + x_2449 = x_2295; +} +lean_ctor_set(x_2449, 0, x_2448); +if (lean_is_scalar(x_2293)) { + x_2450 = lean_alloc_ctor(0, 2, 0); +} else { + x_2450 = x_2293; } lean_ctor_set(x_2450, 0, x_2449); -if (lean_is_scalar(x_2267)) { - x_2451 = lean_alloc_ctor(0, 2, 0); -} else { - x_2451 = x_2267; -} -lean_ctor_set(x_2451, 0, x_2450); -lean_ctor_set(x_2451, 1, x_2266); -return x_2451; +lean_ctor_set(x_2450, 1, x_2292); +return x_2450; } } else { -uint8_t x_2452; -x_2452 = lean_nat_dec_le(x_2259, x_2259); -if (x_2452 == 0) +lean_object* x_2451; lean_object* x_2452; +lean_dec(x_1952); +lean_dec(x_505); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2451 = lean_box(0); +x_2452 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2452, 0, x_2451); +lean_ctor_set(x_2452, 1, x_1951); +return x_2452; +} +} +} +} +} +else { uint8_t x_2453; -lean_dec(x_2259); -x_2453 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_568, x_560); +lean_dec(x_517); +lean_dec(x_515); +lean_dec(x_505); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2453 = !lean_is_exclusive(x_507); if (x_2453 == 0) { lean_object* x_2454; lean_object* x_2455; -lean_dec(x_2258); -lean_dec(x_568); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2454 = lean_box(0); -x_2455 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2455, 0, x_2454); -lean_ctor_set(x_2455, 1, x_2257); -return x_2455; +x_2454 = lean_ctor_get(x_507, 0); +lean_dec(x_2454); +x_2455 = lean_box(0); +lean_ctor_set(x_507, 0, x_2455); +return x_507; } else { -lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; lean_object* x_2492; lean_object* x_2493; lean_object* x_2494; lean_object* x_2495; lean_object* x_2496; lean_object* x_2497; lean_object* x_2498; lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; lean_object* x_2509; lean_object* x_2510; lean_object* x_2511; lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; lean_object* x_2515; lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; lean_object* x_2526; lean_object* x_2527; lean_object* x_2528; lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; lean_object* x_2545; lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; lean_object* x_2562; lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; lean_object* x_2571; lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; lean_object* x_2609; lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; -lean_inc(x_5); -x_2456 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2257); -x_2457 = lean_ctor_get(x_2456, 0); -lean_inc(x_2457); -x_2458 = lean_ctor_get(x_2456, 1); -lean_inc(x_2458); -if (lean_is_exclusive(x_2456)) { - lean_ctor_release(x_2456, 0); - lean_ctor_release(x_2456, 1); - x_2459 = x_2456; -} else { - lean_dec_ref(x_2456); - x_2459 = lean_box(0); +lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; +x_2456 = lean_ctor_get(x_507, 1); +lean_inc(x_2456); +lean_dec(x_507); +x_2457 = lean_box(0); +x_2458 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2458, 0, x_2457); +lean_ctor_set(x_2458, 1, x_2456); +return x_2458; } -x_2460 = lean_ctor_get(x_2457, 0); -lean_inc(x_2460); -if (lean_is_exclusive(x_2457)) { - lean_ctor_release(x_2457, 0); - x_2461 = x_2457; -} else { - lean_dec_ref(x_2457); - x_2461 = lean_box(0); } -x_2462 = lean_ctor_get(x_5, 2); +} +else +{ +uint8_t x_2459; +lean_dec(x_516); +lean_dec(x_515); +lean_dec(x_508); +lean_dec(x_505); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2459 = !lean_is_exclusive(x_507); +if (x_2459 == 0) +{ +lean_object* x_2460; lean_object* x_2461; +x_2460 = lean_ctor_get(x_507, 0); +lean_dec(x_2460); +x_2461 = lean_box(0); +lean_ctor_set(x_507, 0, x_2461); +return x_507; +} +else +{ +lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; +x_2462 = lean_ctor_get(x_507, 1); lean_inc(x_2462); -x_2463 = lean_ctor_get(x_5, 1); -lean_inc(x_2463); -lean_dec(x_5); -x_2464 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_2460); -x_2465 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2465, 0, x_2460); -lean_ctor_set(x_2465, 1, x_2464); -x_2466 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_2462); -lean_inc(x_2463); -x_2467 = l_Lean_addMacroScope(x_2463, x_2466, x_2462); -x_2468 = lean_box(0); -x_2469 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_2460); -x_2470 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2470, 0, x_2460); -lean_ctor_set(x_2470, 1, x_2469); -lean_ctor_set(x_2470, 2, x_2467); -lean_ctor_set(x_2470, 3, x_2468); -x_2471 = lean_mk_syntax_ident(x_2258); -x_2472 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_2473 = lean_array_push(x_2472, x_2471); -x_2474 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_2475 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2475, 0, x_2474); -lean_ctor_set(x_2475, 1, x_2473); -x_2476 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_2477 = lean_array_push(x_2476, x_2470); -x_2478 = lean_array_push(x_2477, x_2475); -x_2479 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; -x_2480 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2480, 0, x_2479); -lean_ctor_set(x_2480, 1, x_2478); -x_2481 = lean_array_push(x_2476, x_1); -x_2482 = lean_array_push(x_2481, x_2480); -x_2483 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -x_2484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2484, 0, x_2483); -lean_ctor_set(x_2484, 1, x_2482); -x_2485 = lean_array_push(x_2472, x_2484); -x_2486 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2486, 0, x_2474); -lean_ctor_set(x_2486, 1, x_2485); -x_2487 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_2460); -x_2488 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2488, 0, x_2460); -lean_ctor_set(x_2488, 1, x_2487); -x_2489 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_2490 = lean_array_push(x_2489, x_2465); -x_2491 = lean_array_push(x_2490, x_2486); -x_2492 = lean_array_push(x_2491, x_2488); -x_2493 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; -x_2494 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2494, 0, x_2493); -lean_ctor_set(x_2494, 1, x_2492); -x_2495 = lean_array_push(x_2472, x_2494); -x_2496 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2496, 0, x_2474); -lean_ctor_set(x_2496, 1, x_2495); -x_2497 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_2498 = lean_array_push(x_2497, x_2496); -x_2499 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_2500 = lean_array_push(x_2498, x_2499); -x_2501 = lean_array_push(x_2500, x_2499); -x_2502 = lean_array_push(x_2501, x_2499); -x_2503 = lean_array_push(x_2502, x_2499); -x_2504 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -x_2505 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2505, 0, x_2504); -lean_ctor_set(x_2505, 1, x_2503); -x_2506 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_2460); -x_2507 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2507, 0, x_2460); -lean_ctor_set(x_2507, 1, x_2506); -x_2508 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_2462); -lean_inc(x_2463); -x_2509 = l_Lean_addMacroScope(x_2463, x_2508, x_2462); -x_2510 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_2460); -x_2511 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2511, 0, x_2460); -lean_ctor_set(x_2511, 1, x_2510); -lean_ctor_set(x_2511, 2, x_2509); -lean_ctor_set(x_2511, 3, x_2468); -x_2512 = lean_array_push(x_2476, x_2511); -x_2513 = lean_array_push(x_2512, x_2499); -x_2514 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; -x_2515 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2515, 0, x_2514); -lean_ctor_set(x_2515, 1, x_2513); -x_2516 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_2460); -x_2517 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2517, 0, x_2460); -lean_ctor_set(x_2517, 1, x_2516); -x_2518 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_2462); -lean_inc(x_2463); -x_2519 = l_Lean_addMacroScope(x_2463, x_2518, x_2462); -x_2520 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_2521 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_2460); -x_2522 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2522, 0, x_2460); -lean_ctor_set(x_2522, 1, x_2520); -lean_ctor_set(x_2522, 2, x_2519); -lean_ctor_set(x_2522, 3, x_2521); -x_2523 = lean_array_push(x_2476, x_2517); -lean_inc(x_2523); -x_2524 = lean_array_push(x_2523, x_2522); -x_2525 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; -x_2526 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2526, 0, x_2525); -lean_ctor_set(x_2526, 1, x_2524); -x_2527 = lean_array_push(x_2472, x_2526); -x_2528 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2528, 0, x_2474); -lean_ctor_set(x_2528, 1, x_2527); -x_2529 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_2530 = lean_array_push(x_2529, x_2528); -x_2531 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_2532 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2532, 0, x_2531); -lean_ctor_set(x_2532, 1, x_2530); -x_2533 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; -lean_inc(x_2460); -x_2534 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2534, 0, x_2460); -lean_ctor_set(x_2534, 1, x_2533); -x_2535 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -lean_inc(x_2460); -x_2536 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2536, 0, x_2460); -lean_ctor_set(x_2536, 1, x_2535); -x_2537 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_2460); -x_2538 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2538, 0, x_2460); -lean_ctor_set(x_2538, 1, x_2537); -x_2539 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_2460); -x_2540 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2540, 0, x_2460); -lean_ctor_set(x_2540, 1, x_2539); -x_2541 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_2460); -x_2542 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2542, 0, x_2460); -lean_ctor_set(x_2542, 1, x_2541); -x_2543 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_2460); -x_2544 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2544, 0, x_2460); -lean_ctor_set(x_2544, 1, x_2543); -x_2545 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_2460); -x_2546 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2546, 0, x_2460); -lean_ctor_set(x_2546, 1, x_2545); -x_2547 = lean_array_push(x_2472, x_2546); -x_2548 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_2549 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2549, 0, x_2548); -lean_ctor_set(x_2549, 1, x_2547); -x_2550 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_2460); -x_2551 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2551, 0, x_2460); -lean_ctor_set(x_2551, 1, x_2550); -x_2552 = lean_array_push(x_2489, x_2544); -lean_inc(x_2549); -lean_inc(x_2552); -x_2553 = lean_array_push(x_2552, x_2549); -lean_inc(x_2551); -x_2554 = lean_array_push(x_2553, x_2551); -x_2555 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_2556 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2556, 0, x_2555); -lean_ctor_set(x_2556, 1, x_2554); -x_2557 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_2460); -x_2558 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2558, 0, x_2460); -lean_ctor_set(x_2558, 1, x_2557); -x_2559 = lean_array_push(x_2523, x_2558); -x_2560 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; -x_2561 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2561, 0, x_2560); -lean_ctor_set(x_2561, 1, x_2559); -x_2562 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_2563 = lean_array_push(x_2562, x_2542); -x_2564 = lean_array_push(x_2563, x_2499); -x_2565 = lean_array_push(x_2564, x_2556); -x_2566 = lean_array_push(x_2565, x_2561); -x_2567 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_2568 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2568, 0, x_2567); -lean_ctor_set(x_2568, 1, x_2566); -x_2569 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_2570 = l_Array_append___rarg(x_2569, x_568); -x_2571 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2571, 0, x_2474); -lean_ctor_set(x_2571, 1, x_2570); -x_2572 = lean_array_push(x_2476, x_2568); -x_2573 = lean_array_push(x_2572, x_2571); -x_2574 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2574, 0, x_7); -lean_ctor_set(x_2574, 1, x_2573); -x_2575 = lean_array_push(x_2489, x_2540); -lean_inc(x_2575); -x_2576 = lean_array_push(x_2575, x_2574); -lean_inc(x_2551); -x_2577 = lean_array_push(x_2576, x_2551); -x_2578 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -x_2579 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2579, 0, x_2578); -lean_ctor_set(x_2579, 1, x_2577); -x_2580 = lean_array_push(x_2472, x_2579); -x_2581 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2581, 0, x_2474); -lean_ctor_set(x_2581, 1, x_2580); -x_2582 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_2460); -x_2583 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2583, 0, x_2460); -lean_ctor_set(x_2583, 1, x_2582); -x_2584 = lean_array_push(x_2575, x_3); -lean_inc(x_2551); -x_2585 = lean_array_push(x_2584, x_2551); -x_2586 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2586, 0, x_2578); -lean_ctor_set(x_2586, 1, x_2585); -x_2587 = lean_array_push(x_2562, x_2538); -lean_inc(x_2587); -x_2588 = lean_array_push(x_2587, x_2581); -lean_inc(x_2583); -x_2589 = lean_array_push(x_2588, x_2583); -x_2590 = lean_array_push(x_2589, x_2586); -x_2591 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_2592 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2592, 0, x_2591); -lean_ctor_set(x_2592, 1, x_2590); -x_2593 = lean_array_push(x_2472, x_2549); -x_2594 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2594, 0, x_2474); -lean_ctor_set(x_2594, 1, x_2593); -x_2595 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_2596 = l_Lean_addMacroScope(x_2463, x_2595, x_2462); -x_2597 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_2598 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_2599 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2599, 0, x_2460); -lean_ctor_set(x_2599, 1, x_2597); -lean_ctor_set(x_2599, 2, x_2596); -lean_ctor_set(x_2599, 3, x_2598); -x_2600 = lean_array_push(x_2552, x_2499); -x_2601 = lean_array_push(x_2600, x_2551); -x_2602 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_2603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2603, 0, x_2602); -lean_ctor_set(x_2603, 1, x_2601); -x_2604 = lean_array_push(x_2472, x_2603); -x_2605 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2605, 0, x_2474); -lean_ctor_set(x_2605, 1, x_2604); -x_2606 = lean_array_push(x_2476, x_2599); -x_2607 = lean_array_push(x_2606, x_2605); -x_2608 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2608, 0, x_7); -lean_ctor_set(x_2608, 1, x_2607); -x_2609 = lean_array_push(x_2587, x_2594); -x_2610 = lean_array_push(x_2609, x_2583); -x_2611 = lean_array_push(x_2610, x_2608); -x_2612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2612, 0, x_2591); -lean_ctor_set(x_2612, 1, x_2611); -x_2613 = lean_array_push(x_2476, x_2592); -x_2614 = lean_array_push(x_2613, x_2612); -x_2615 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2615, 0, x_2474); -lean_ctor_set(x_2615, 1, x_2614); -x_2616 = lean_array_push(x_2472, x_2615); -x_2617 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; -x_2618 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2618, 0, x_2617); -lean_ctor_set(x_2618, 1, x_2616); -x_2619 = lean_array_push(x_2476, x_2536); -x_2620 = lean_array_push(x_2619, x_2618); -x_2621 = l_Lean_Elab_Command_mkSimpleDelab___closed__95; -x_2622 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2622, 0, x_2621); -lean_ctor_set(x_2622, 1, x_2620); -x_2623 = lean_array_push(x_2489, x_2534); -x_2624 = lean_array_push(x_2623, x_2622); -x_2625 = lean_array_push(x_2624, x_2499); -x_2626 = l_Lean_Elab_Command_mkSimpleDelab___closed__92; -x_2627 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2627, 0, x_2626); -lean_ctor_set(x_2627, 1, x_2625); -x_2628 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_2629 = lean_array_push(x_2628, x_2507); -x_2630 = lean_array_push(x_2629, x_2515); -x_2631 = lean_array_push(x_2630, x_2532); -x_2632 = lean_array_push(x_2631, x_2627); -x_2633 = lean_array_push(x_2632, x_2499); -x_2634 = lean_array_push(x_2633, x_2499); -x_2635 = lean_array_push(x_2634, x_2499); -x_2636 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_2637 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2637, 0, x_2636); -lean_ctor_set(x_2637, 1, x_2635); -x_2638 = lean_array_push(x_2476, x_2505); -x_2639 = lean_array_push(x_2638, x_2637); -x_2640 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_2641 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2641, 0, x_2640); -lean_ctor_set(x_2641, 1, x_2639); -if (lean_is_scalar(x_2461)) { - x_2642 = lean_alloc_ctor(1, 1, 0); -} else { - x_2642 = x_2461; +lean_dec(x_507); +x_2463 = lean_box(0); +x_2464 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2464, 0, x_2463); +lean_ctor_set(x_2464, 1, x_2462); +return x_2464; } -lean_ctor_set(x_2642, 0, x_2641); -if (lean_is_scalar(x_2459)) { - x_2643 = lean_alloc_ctor(0, 2, 0); -} else { - x_2643 = x_2459; } -lean_ctor_set(x_2643, 0, x_2642); -lean_ctor_set(x_2643, 1, x_2458); -return x_2643; } } else { -size_t x_2644; size_t x_2645; uint8_t x_2646; -x_2644 = 0; -x_2645 = lean_usize_of_nat(x_2259); -lean_dec(x_2259); -x_2646 = l_Array_anyMUnsafe_any___at_Lean_Elab_Command_mkSimpleDelab___spec__4(x_568, x_2644, x_2645); -if (x_2646 == 0) -{ -uint8_t x_2647; -x_2647 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab___spec__2(x_568, x_560); -if (x_2647 == 0) -{ -lean_object* x_2648; lean_object* x_2649; -lean_dec(x_2258); -lean_dec(x_568); +uint8_t x_2465; +lean_dec(x_505); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_2648 = lean_box(0); -x_2649 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2649, 0, x_2648); -lean_ctor_set(x_2649, 1, x_2257); -return x_2649; +x_2465 = !lean_is_exclusive(x_507); +if (x_2465 == 0) +{ +return x_507; } else { -lean_object* x_2650; lean_object* x_2651; lean_object* x_2652; lean_object* x_2653; lean_object* x_2654; lean_object* x_2655; lean_object* x_2656; lean_object* x_2657; lean_object* x_2658; lean_object* x_2659; lean_object* x_2660; lean_object* x_2661; lean_object* x_2662; lean_object* x_2663; lean_object* x_2664; lean_object* x_2665; lean_object* x_2666; lean_object* x_2667; lean_object* x_2668; lean_object* x_2669; lean_object* x_2670; lean_object* x_2671; lean_object* x_2672; lean_object* x_2673; lean_object* x_2674; lean_object* x_2675; lean_object* x_2676; lean_object* x_2677; lean_object* x_2678; lean_object* x_2679; lean_object* x_2680; lean_object* x_2681; lean_object* x_2682; lean_object* x_2683; lean_object* x_2684; lean_object* x_2685; lean_object* x_2686; lean_object* x_2687; lean_object* x_2688; lean_object* x_2689; lean_object* x_2690; lean_object* x_2691; lean_object* x_2692; lean_object* x_2693; lean_object* x_2694; lean_object* x_2695; lean_object* x_2696; lean_object* x_2697; lean_object* x_2698; lean_object* x_2699; lean_object* x_2700; lean_object* x_2701; lean_object* x_2702; lean_object* x_2703; lean_object* x_2704; lean_object* x_2705; lean_object* x_2706; lean_object* x_2707; lean_object* x_2708; lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; lean_object* x_2715; lean_object* x_2716; lean_object* x_2717; lean_object* x_2718; lean_object* x_2719; lean_object* x_2720; lean_object* x_2721; lean_object* x_2722; lean_object* x_2723; lean_object* x_2724; lean_object* x_2725; lean_object* x_2726; lean_object* x_2727; lean_object* x_2728; lean_object* x_2729; lean_object* x_2730; lean_object* x_2731; lean_object* x_2732; lean_object* x_2733; lean_object* x_2734; lean_object* x_2735; lean_object* x_2736; lean_object* x_2737; lean_object* x_2738; lean_object* x_2739; lean_object* x_2740; lean_object* x_2741; lean_object* x_2742; lean_object* x_2743; lean_object* x_2744; lean_object* x_2745; lean_object* x_2746; lean_object* x_2747; lean_object* x_2748; lean_object* x_2749; lean_object* x_2750; lean_object* x_2751; lean_object* x_2752; lean_object* x_2753; lean_object* x_2754; lean_object* x_2755; lean_object* x_2756; lean_object* x_2757; lean_object* x_2758; lean_object* x_2759; lean_object* x_2760; lean_object* x_2761; lean_object* x_2762; lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; lean_object* x_2766; lean_object* x_2767; lean_object* x_2768; lean_object* x_2769; lean_object* x_2770; lean_object* x_2771; lean_object* x_2772; lean_object* x_2773; lean_object* x_2774; lean_object* x_2775; lean_object* x_2776; lean_object* x_2777; lean_object* x_2778; lean_object* x_2779; lean_object* x_2780; lean_object* x_2781; lean_object* x_2782; lean_object* x_2783; lean_object* x_2784; lean_object* x_2785; lean_object* x_2786; lean_object* x_2787; lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; lean_object* x_2791; lean_object* x_2792; lean_object* x_2793; lean_object* x_2794; lean_object* x_2795; lean_object* x_2796; lean_object* x_2797; lean_object* x_2798; lean_object* x_2799; lean_object* x_2800; lean_object* x_2801; lean_object* x_2802; lean_object* x_2803; lean_object* x_2804; lean_object* x_2805; lean_object* x_2806; lean_object* x_2807; lean_object* x_2808; lean_object* x_2809; lean_object* x_2810; lean_object* x_2811; lean_object* x_2812; lean_object* x_2813; lean_object* x_2814; lean_object* x_2815; lean_object* x_2816; lean_object* x_2817; lean_object* x_2818; lean_object* x_2819; lean_object* x_2820; lean_object* x_2821; lean_object* x_2822; lean_object* x_2823; lean_object* x_2824; lean_object* x_2825; lean_object* x_2826; lean_object* x_2827; lean_object* x_2828; lean_object* x_2829; lean_object* x_2830; lean_object* x_2831; lean_object* x_2832; lean_object* x_2833; lean_object* x_2834; lean_object* x_2835; lean_object* x_2836; lean_object* x_2837; -lean_inc(x_5); -x_2650 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(x_5, x_2257); -x_2651 = lean_ctor_get(x_2650, 0); -lean_inc(x_2651); -x_2652 = lean_ctor_get(x_2650, 1); -lean_inc(x_2652); -if (lean_is_exclusive(x_2650)) { - lean_ctor_release(x_2650, 0); - lean_ctor_release(x_2650, 1); - x_2653 = x_2650; -} else { - lean_dec_ref(x_2650); - x_2653 = lean_box(0); -} -x_2654 = lean_ctor_get(x_2651, 0); -lean_inc(x_2654); -if (lean_is_exclusive(x_2651)) { - lean_ctor_release(x_2651, 0); - x_2655 = x_2651; -} else { - lean_dec_ref(x_2651); - x_2655 = lean_box(0); -} -x_2656 = lean_ctor_get(x_5, 2); -lean_inc(x_2656); -x_2657 = lean_ctor_get(x_5, 1); -lean_inc(x_2657); -lean_dec(x_5); -x_2658 = l_Lean_Elab_Command_mkSimpleDelab___closed__15; -lean_inc(x_2654); -x_2659 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2659, 0, x_2654); -lean_ctor_set(x_2659, 1, x_2658); -x_2660 = l_Lean_Elab_Command_mkSimpleDelab___closed__25; -lean_inc(x_2656); -lean_inc(x_2657); -x_2661 = l_Lean_addMacroScope(x_2657, x_2660, x_2656); -x_2662 = lean_box(0); -x_2663 = l_Lean_Elab_Command_mkSimpleDelab___closed__24; -lean_inc(x_2654); -x_2664 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2664, 0, x_2654); -lean_ctor_set(x_2664, 1, x_2663); -lean_ctor_set(x_2664, 2, x_2661); -lean_ctor_set(x_2664, 3, x_2662); -x_2665 = lean_mk_syntax_ident(x_2258); -x_2666 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; -x_2667 = lean_array_push(x_2666, x_2665); -x_2668 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_2669 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2669, 0, x_2668); -lean_ctor_set(x_2669, 1, x_2667); -x_2670 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__18; -x_2671 = lean_array_push(x_2670, x_2664); -x_2672 = lean_array_push(x_2671, x_2669); -x_2673 = l_Lean_Elab_Command_mkSimpleDelab___closed__21; -x_2674 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2674, 0, x_2673); -lean_ctor_set(x_2674, 1, x_2672); -x_2675 = lean_array_push(x_2670, x_1); -x_2676 = lean_array_push(x_2675, x_2674); -x_2677 = l_Lean_Elab_Command_mkSimpleDelab___closed__17; -x_2678 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2678, 0, x_2677); -lean_ctor_set(x_2678, 1, x_2676); -x_2679 = lean_array_push(x_2666, x_2678); -x_2680 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2680, 0, x_2668); -lean_ctor_set(x_2680, 1, x_2679); -x_2681 = l_Lean_Elab_Command_mkSimpleDelab___closed__26; -lean_inc(x_2654); -x_2682 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2682, 0, x_2654); -lean_ctor_set(x_2682, 1, x_2681); -x_2683 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; -x_2684 = lean_array_push(x_2683, x_2659); -x_2685 = lean_array_push(x_2684, x_2680); -x_2686 = lean_array_push(x_2685, x_2682); -x_2687 = l_Lean_Elab_Command_mkSimpleDelab___closed__14; -x_2688 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2688, 0, x_2687); -lean_ctor_set(x_2688, 1, x_2686); -x_2689 = lean_array_push(x_2666, x_2688); -x_2690 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2690, 0, x_2668); -lean_ctor_set(x_2690, 1, x_2689); -x_2691 = l_Lean_Elab_Command_mkSimpleDelab___closed__29; -x_2692 = lean_array_push(x_2691, x_2690); -x_2693 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; -x_2694 = lean_array_push(x_2692, x_2693); -x_2695 = lean_array_push(x_2694, x_2693); -x_2696 = lean_array_push(x_2695, x_2693); -x_2697 = lean_array_push(x_2696, x_2693); -x_2698 = l_Lean_Elab_Command_mkSimpleDelab___closed__8; -x_2699 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2699, 0, x_2698); -lean_ctor_set(x_2699, 1, x_2697); -x_2700 = l_Lean_Elab_Command_mkSimpleDelab___closed__30; -lean_inc(x_2654); -x_2701 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2701, 0, x_2654); -lean_ctor_set(x_2701, 1, x_2700); -x_2702 = l_Lean_Elab_Command_mkSimpleDelab___closed__37; -lean_inc(x_2656); -lean_inc(x_2657); -x_2703 = l_Lean_addMacroScope(x_2657, x_2702, x_2656); -x_2704 = l_Lean_Elab_Command_mkSimpleDelab___closed__36; -lean_inc(x_2654); -x_2705 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2705, 0, x_2654); -lean_ctor_set(x_2705, 1, x_2704); -lean_ctor_set(x_2705, 2, x_2703); -lean_ctor_set(x_2705, 3, x_2662); -x_2706 = lean_array_push(x_2670, x_2705); -x_2707 = lean_array_push(x_2706, x_2693); -x_2708 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; -x_2709 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2709, 0, x_2708); -lean_ctor_set(x_2709, 1, x_2707); -x_2710 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; -lean_inc(x_2654); -x_2711 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2711, 0, x_2654); -lean_ctor_set(x_2711, 1, x_2710); -x_2712 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; -lean_inc(x_2656); -lean_inc(x_2657); -x_2713 = l_Lean_addMacroScope(x_2657, x_2712, x_2656); -x_2714 = l_Lean_Elab_Command_mkSimpleDelab___closed__45; -x_2715 = l_Lean_Elab_Command_mkSimpleDelab___closed__51; -lean_inc(x_2654); -x_2716 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2716, 0, x_2654); -lean_ctor_set(x_2716, 1, x_2714); -lean_ctor_set(x_2716, 2, x_2713); -lean_ctor_set(x_2716, 3, x_2715); -x_2717 = lean_array_push(x_2670, x_2711); -lean_inc(x_2717); -x_2718 = lean_array_push(x_2717, x_2716); -x_2719 = l_Lean_Elab_Command_mkSimpleDelab___closed__41; -x_2720 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2720, 0, x_2719); -lean_ctor_set(x_2720, 1, x_2718); -x_2721 = lean_array_push(x_2666, x_2720); -x_2722 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2722, 0, x_2668); -lean_ctor_set(x_2722, 1, x_2721); -x_2723 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; -x_2724 = lean_array_push(x_2723, x_2722); -x_2725 = l_Lean_Elab_Command_mkSimpleDelab___closed__39; -x_2726 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2726, 0, x_2725); -lean_ctor_set(x_2726, 1, x_2724); -x_2727 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; -lean_inc(x_2654); -x_2728 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2728, 0, x_2654); -lean_ctor_set(x_2728, 1, x_2727); -x_2729 = l_Lean_Elab_Command_mkSimpleDelab___closed__94; -lean_inc(x_2654); -x_2730 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2730, 0, x_2654); -lean_ctor_set(x_2730, 1, x_2729); -x_2731 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; -lean_inc(x_2654); -x_2732 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2732, 0, x_2654); -lean_ctor_set(x_2732, 1, x_2731); -x_2733 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; -lean_inc(x_2654); -x_2734 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2734, 0, x_2654); -lean_ctor_set(x_2734, 1, x_2733); -x_2735 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; -lean_inc(x_2654); -x_2736 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2736, 0, x_2654); -lean_ctor_set(x_2736, 1, x_2735); -x_2737 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; -lean_inc(x_2654); -x_2738 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2738, 0, x_2654); -lean_ctor_set(x_2738, 1, x_2737); -x_2739 = l_Lean_Elab_Command_mkSimpleDelab___closed__73; -lean_inc(x_2654); -x_2740 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2740, 0, x_2654); -lean_ctor_set(x_2740, 1, x_2739); -x_2741 = lean_array_push(x_2666, x_2740); -x_2742 = l_Lean_Elab_Command_mkSimpleDelab___closed__72; -x_2743 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2743, 0, x_2742); -lean_ctor_set(x_2743, 1, x_2741); -x_2744 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; -lean_inc(x_2654); -x_2745 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2745, 0, x_2654); -lean_ctor_set(x_2745, 1, x_2744); -x_2746 = lean_array_push(x_2683, x_2738); -lean_inc(x_2743); -lean_inc(x_2746); -x_2747 = lean_array_push(x_2746, x_2743); -lean_inc(x_2745); -x_2748 = lean_array_push(x_2747, x_2745); -x_2749 = l_Lean_Elab_Command_mkSimpleDelab___closed__69; -x_2750 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2750, 0, x_2749); -lean_ctor_set(x_2750, 1, x_2748); -x_2751 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1; -lean_inc(x_2654); -x_2752 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2752, 0, x_2654); -lean_ctor_set(x_2752, 1, x_2751); -x_2753 = lean_array_push(x_2717, x_2752); -x_2754 = l_Lean_Elab_Command_mkSimpleDelab___closed__76; -x_2755 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2755, 0, x_2754); -lean_ctor_set(x_2755, 1, x_2753); -x_2756 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; -x_2757 = lean_array_push(x_2756, x_2736); -x_2758 = lean_array_push(x_2757, x_2693); -x_2759 = lean_array_push(x_2758, x_2750); -x_2760 = lean_array_push(x_2759, x_2755); -x_2761 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; -x_2762 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2762, 0, x_2761); -lean_ctor_set(x_2762, 1, x_2760); -x_2763 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; -x_2764 = l_Array_append___rarg(x_2763, x_568); -x_2765 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2765, 0, x_2668); -lean_ctor_set(x_2765, 1, x_2764); -x_2766 = lean_array_push(x_2670, x_2762); -x_2767 = lean_array_push(x_2766, x_2765); -x_2768 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2768, 0, x_7); -lean_ctor_set(x_2768, 1, x_2767); -x_2769 = lean_array_push(x_2683, x_2734); -lean_inc(x_2769); -x_2770 = lean_array_push(x_2769, x_2768); -lean_inc(x_2745); -x_2771 = lean_array_push(x_2770, x_2745); -x_2772 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; -x_2773 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2773, 0, x_2772); -lean_ctor_set(x_2773, 1, x_2771); -x_2774 = lean_array_push(x_2666, x_2773); -x_2775 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2775, 0, x_2668); -lean_ctor_set(x_2775, 1, x_2774); -x_2776 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; -lean_inc(x_2654); -x_2777 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2777, 0, x_2654); -lean_ctor_set(x_2777, 1, x_2776); -x_2778 = lean_array_push(x_2769, x_3); -lean_inc(x_2745); -x_2779 = lean_array_push(x_2778, x_2745); -x_2780 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2780, 0, x_2772); -lean_ctor_set(x_2780, 1, x_2779); -x_2781 = lean_array_push(x_2756, x_2732); -lean_inc(x_2781); -x_2782 = lean_array_push(x_2781, x_2775); -lean_inc(x_2777); -x_2783 = lean_array_push(x_2782, x_2777); -x_2784 = lean_array_push(x_2783, x_2780); -x_2785 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; -x_2786 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2786, 0, x_2785); -lean_ctor_set(x_2786, 1, x_2784); -x_2787 = lean_array_push(x_2666, x_2743); -x_2788 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2788, 0, x_2668); -lean_ctor_set(x_2788, 1, x_2787); -x_2789 = l_Lean_Elab_Command_mkSimpleDelab___closed__82; -x_2790 = l_Lean_addMacroScope(x_2657, x_2789, x_2656); -x_2791 = l_Lean_Elab_Command_mkSimpleDelab___closed__81; -x_2792 = l_Lean_Elab_Command_mkSimpleDelab___closed__87; -x_2793 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_2793, 0, x_2654); -lean_ctor_set(x_2793, 1, x_2791); -lean_ctor_set(x_2793, 2, x_2790); -lean_ctor_set(x_2793, 3, x_2792); -x_2794 = lean_array_push(x_2746, x_2693); -x_2795 = lean_array_push(x_2794, x_2745); -x_2796 = l_Lean_Elab_Command_mkSimpleDelab___closed__89; -x_2797 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2797, 0, x_2796); -lean_ctor_set(x_2797, 1, x_2795); -x_2798 = lean_array_push(x_2666, x_2797); -x_2799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2799, 0, x_2668); -lean_ctor_set(x_2799, 1, x_2798); -x_2800 = lean_array_push(x_2670, x_2793); -x_2801 = lean_array_push(x_2800, x_2799); -x_2802 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2802, 0, x_7); -lean_ctor_set(x_2802, 1, x_2801); -x_2803 = lean_array_push(x_2781, x_2788); -x_2804 = lean_array_push(x_2803, x_2777); -x_2805 = lean_array_push(x_2804, x_2802); -x_2806 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2806, 0, x_2785); -lean_ctor_set(x_2806, 1, x_2805); -x_2807 = lean_array_push(x_2670, x_2786); -x_2808 = lean_array_push(x_2807, x_2806); -x_2809 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2809, 0, x_2668); -lean_ctor_set(x_2809, 1, x_2808); -x_2810 = lean_array_push(x_2666, x_2809); -x_2811 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; -x_2812 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2812, 0, x_2811); -lean_ctor_set(x_2812, 1, x_2810); -x_2813 = lean_array_push(x_2670, x_2730); -x_2814 = lean_array_push(x_2813, x_2812); -x_2815 = l_Lean_Elab_Command_mkSimpleDelab___closed__95; -x_2816 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2816, 0, x_2815); -lean_ctor_set(x_2816, 1, x_2814); -x_2817 = lean_array_push(x_2683, x_2728); -x_2818 = lean_array_push(x_2817, x_2816); -x_2819 = lean_array_push(x_2818, x_2693); -x_2820 = l_Lean_Elab_Command_mkSimpleDelab___closed__92; -x_2821 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2821, 0, x_2820); -lean_ctor_set(x_2821, 1, x_2819); -x_2822 = l_Lean_Elab_Command_mkSimpleDelab___closed__90; -x_2823 = lean_array_push(x_2822, x_2701); -x_2824 = lean_array_push(x_2823, x_2709); -x_2825 = lean_array_push(x_2824, x_2726); -x_2826 = lean_array_push(x_2825, x_2821); -x_2827 = lean_array_push(x_2826, x_2693); -x_2828 = lean_array_push(x_2827, x_2693); -x_2829 = lean_array_push(x_2828, x_2693); -x_2830 = l_Lean_Elab_Command_mkSimpleDelab___closed__31; -x_2831 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2831, 0, x_2830); -lean_ctor_set(x_2831, 1, x_2829); -x_2832 = lean_array_push(x_2670, x_2699); -x_2833 = lean_array_push(x_2832, x_2831); -x_2834 = l_Lean_Elab_Command_mkSimpleDelab___closed__6; -x_2835 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2835, 0, x_2834); -lean_ctor_set(x_2835, 1, x_2833); -if (lean_is_scalar(x_2655)) { - x_2836 = lean_alloc_ctor(1, 1, 0); -} else { - x_2836 = x_2655; -} -lean_ctor_set(x_2836, 0, x_2835); -if (lean_is_scalar(x_2653)) { - x_2837 = lean_alloc_ctor(0, 2, 0); -} else { - x_2837 = x_2653; -} -lean_ctor_set(x_2837, 0, x_2836); -lean_ctor_set(x_2837, 1, x_2652); -return x_2837; -} -} -else -{ -lean_object* x_2838; lean_object* x_2839; -lean_dec(x_2258); -lean_dec(x_568); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2838 = lean_box(0); -x_2839 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2839, 0, x_2838); -lean_ctor_set(x_2839, 1, x_2257); -return x_2839; -} -} -} -} -} -else -{ -uint8_t x_2840; -lean_dec(x_580); -lean_dec(x_578); -lean_dec(x_568); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2840 = !lean_is_exclusive(x_570); -if (x_2840 == 0) -{ -lean_object* x_2841; lean_object* x_2842; -x_2841 = lean_ctor_get(x_570, 0); -lean_dec(x_2841); -x_2842 = lean_box(0); -lean_ctor_set(x_570, 0, x_2842); -return x_570; -} -else -{ -lean_object* x_2843; lean_object* x_2844; lean_object* x_2845; -x_2843 = lean_ctor_get(x_570, 1); -lean_inc(x_2843); -lean_dec(x_570); -x_2844 = lean_box(0); -x_2845 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2845, 0, x_2844); -lean_ctor_set(x_2845, 1, x_2843); -return x_2845; -} -} -} -else -{ -uint8_t x_2846; -lean_dec(x_579); -lean_dec(x_578); -lean_dec(x_571); -lean_dec(x_568); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2846 = !lean_is_exclusive(x_570); -if (x_2846 == 0) -{ -lean_object* x_2847; lean_object* x_2848; -x_2847 = lean_ctor_get(x_570, 0); -lean_dec(x_2847); -x_2848 = lean_box(0); -lean_ctor_set(x_570, 0, x_2848); -return x_570; -} -else -{ -lean_object* x_2849; lean_object* x_2850; lean_object* x_2851; -x_2849 = lean_ctor_get(x_570, 1); -lean_inc(x_2849); -lean_dec(x_570); -x_2850 = lean_box(0); -x_2851 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2851, 0, x_2850); -lean_ctor_set(x_2851, 1, x_2849); -return x_2851; -} -} -} -} -else -{ -uint8_t x_2852; -lean_dec(x_568); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2852 = !lean_is_exclusive(x_570); -if (x_2852 == 0) -{ -return x_570; -} -else -{ -lean_object* x_2853; lean_object* x_2854; lean_object* x_2855; -x_2853 = lean_ctor_get(x_570, 0); -x_2854 = lean_ctor_get(x_570, 1); -lean_inc(x_2854); -lean_inc(x_2853); -lean_dec(x_570); -x_2855 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2855, 0, x_2853); -lean_ctor_set(x_2855, 1, x_2854); -return x_2855; +lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; +x_2466 = lean_ctor_get(x_507, 0); +x_2467 = lean_ctor_get(x_507, 1); +lean_inc(x_2467); +lean_inc(x_2466); +lean_dec(x_507); +x_2468 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2468, 0, x_2466); +lean_ctor_set(x_2468, 1, x_2467); +return x_2468; } } } @@ -7910,8 +7223,8 @@ static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_ex _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; -x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_2 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -8217,7 +7530,7 @@ static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_ex _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; x_2 = l_Array_append___rarg(x_1, x_1); return x_2; } @@ -8226,7 +7539,7 @@ static lean_object* _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_ex _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; x_2 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2___closed__36; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8271,7 +7584,7 @@ if (x_17 == 0) { lean_object* x_214; lean_dec(x_1); -x_214 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_214 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; x_23 = x_214; goto block_213; } @@ -8283,14 +7596,14 @@ lean_dec(x_1); if (x_215 == 0) { lean_object* x_216; -x_216 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_216 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; x_23 = x_216; goto block_213; } else { lean_object* x_217; lean_object* x_218; -x_217 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_217 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; x_218 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__4(x_12, x_3, x_2, x_217); x_23 = x_218; goto block_213; @@ -8331,7 +7644,7 @@ lean_inc(x_131); x_134 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_134, 0, x_131); lean_ctor_set(x_134, 1, x_133); -x_135 = l_Lean_Elab_Command_mkSimpleDelab___closed__70; +x_135 = l_Lean_Elab_Command_mkSimpleDelab___closed__59; lean_inc(x_131); x_136 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_136, 0, x_131); @@ -8341,13 +7654,13 @@ lean_inc(x_131); x_138 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_138, 0, x_131); lean_ctor_set(x_138, 1, x_137); -x_139 = l_Lean_Elab_Command_mkSimpleDelab___closed__93; +x_139 = l_Lean_Elab_Command_mkSimpleDelab___closed__43; lean_inc(x_131); x_140 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_140, 0, x_131); lean_ctor_set(x_140, 1, x_139); x_141 = lean_mk_syntax_ident(x_13); -x_142 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; +x_142 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; lean_inc(x_131); x_143 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_143, 0, x_131); @@ -8367,7 +7680,7 @@ lean_ctor_set(x_151, 0, x_150); lean_ctor_set(x_151, 1, x_149); x_152 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; x_153 = lean_array_push(x_152, x_151); -x_154 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_154 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; x_155 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_155, 0, x_154); lean_ctor_set(x_155, 1, x_153); @@ -8398,12 +7711,12 @@ lean_dec(x_170); x_172 = x_9; x_173 = l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_7135____spec__3(x_171, x_3, x_172); x_174 = x_173; -x_175 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; +x_175 = l_Lean_Elab_Command_mkSimpleDelab___closed__12; x_176 = l_Array_append___rarg(x_175, x_174); x_177 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_177, 0, x_154); lean_ctor_set(x_177, 1, x_176); -x_178 = l_Lean_Elab_Command_mkSimpleDelab___closed__42; +x_178 = l_Lean_Elab_Command_mkSimpleDelab___closed__33; x_179 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_179, 0, x_131); lean_ctor_set(x_179, 1, x_178); @@ -8477,39 +7790,39 @@ lean_inc(x_37); x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_37); lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_Elab_Command_mkSimpleDelab___closed__61; +x_41 = l_Lean_Elab_Command_mkSimpleDelab___closed__50; lean_inc(x_37); x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_37); lean_ctor_set(x_42, 1, x_41); -x_43 = l_Lean_Elab_Command_mkSimpleDelab___closed__64; +x_43 = l_Lean_Elab_Command_mkSimpleDelab___closed__53; lean_inc(x_37); x_44 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_44, 0, x_37); lean_ctor_set(x_44, 1, x_43); -x_45 = l_Lean_Elab_Command_mkSimpleDelab___closed__74; +x_45 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; lean_inc(x_37); x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_37); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Elab_Command_mkSimpleDelab___closed__27; +x_47 = l_Lean_Elab_Command_mkSimpleDelab___closed__28; x_48 = lean_array_push(x_47, x_44); lean_inc(x_33); lean_inc(x_48); x_49 = lean_array_push(x_48, x_33); lean_inc(x_46); x_50 = lean_array_push(x_49, x_46); -x_51 = l_Lean_Elab_Command_mkSimpleDelab___closed__63; +x_51 = l_Lean_Elab_Command_mkSimpleDelab___closed__52; 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_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__13; x_54 = lean_array_push(x_53, x_52); -x_55 = l_Lean_Elab_Command_mkSimpleDelab___closed__10; +x_55 = l_Lean_Elab_Command_mkSimpleDelab___closed__11; 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 = l_Lean_Elab_Command_mkSimpleDelab___closed__78; +x_57 = l_Lean_Elab_Command_mkSimpleDelab___closed__67; lean_inc(x_37); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_37); @@ -8531,12 +7844,12 @@ x_67 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___l x_68 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_68, 0, x_67); lean_ctor_set(x_68, 1, x_66); -x_69 = l_Lean_Elab_Command_mkSimpleDelab___closed__77; +x_69 = l_Lean_Elab_Command_mkSimpleDelab___closed__66; x_70 = lean_array_push(x_69, x_42); x_71 = lean_array_push(x_70, x_56); x_72 = lean_array_push(x_71, x_58); x_73 = lean_array_push(x_72, x_68); -x_74 = l_Lean_Elab_Command_mkSimpleDelab___closed__60; +x_74 = l_Lean_Elab_Command_mkSimpleDelab___closed__49; x_75 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_73); @@ -8545,7 +7858,7 @@ x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_55); lean_ctor_set(x_77, 1, x_76); x_78 = lean_array_push(x_53, x_77); -x_79 = l_Lean_Elab_Command_mkSimpleDelab___closed__58; +x_79 = l_Lean_Elab_Command_mkSimpleDelab___closed__47; x_80 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_78); @@ -9338,7 +8651,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___clos _start: { lean_object* x_1; -x_1 = lean_mk_string("Elab"); +x_1 = lean_mk_string("expandNotation"); return x_1; } } @@ -9346,7 +8659,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__2; +x_1 = l_Lean_Elab_Command_mkSimpleDelab___closed__7; x_2 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -9355,34 +8668,6 @@ return x_3; static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2; -x_2 = l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___closed__5; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("expandNotation"); -return x_1; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3; -x_2 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__4; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__6() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandNotation), 3, 0); return x_1; @@ -9394,14 +8679,15 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Elab_macroAttribute; x_3 = l_Lean_Elab_Command_expandNotation___closed__2; -x_4 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__5; -x_5 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__6; +x_4 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Elab_Syntax(lean_object*); +lean_object* initialize_Lean_Elab_AuxDef(lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_Notation(lean_object* w) { lean_object * res; @@ -9413,6 +8699,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Syntax(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_AuxDef(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__1); l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__2(); @@ -9613,36 +8902,6 @@ l_Lean_Elab_Command_mkSimpleDelab___closed__79 = _init_l_Lean_Elab_Command_mkSim lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__79); l_Lean_Elab_Command_mkSimpleDelab___closed__80 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__80(); lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__80); -l_Lean_Elab_Command_mkSimpleDelab___closed__81 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__81(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__81); -l_Lean_Elab_Command_mkSimpleDelab___closed__82 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__82(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__82); -l_Lean_Elab_Command_mkSimpleDelab___closed__83 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__83(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__83); -l_Lean_Elab_Command_mkSimpleDelab___closed__84 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__84(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__84); -l_Lean_Elab_Command_mkSimpleDelab___closed__85 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__85(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__85); -l_Lean_Elab_Command_mkSimpleDelab___closed__86 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__86(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__86); -l_Lean_Elab_Command_mkSimpleDelab___closed__87 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__87(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__87); -l_Lean_Elab_Command_mkSimpleDelab___closed__88 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__88(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__88); -l_Lean_Elab_Command_mkSimpleDelab___closed__89 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__89(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__89); -l_Lean_Elab_Command_mkSimpleDelab___closed__90 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__90(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__90); -l_Lean_Elab_Command_mkSimpleDelab___closed__91 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__91(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__91); -l_Lean_Elab_Command_mkSimpleDelab___closed__92 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__92(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__92); -l_Lean_Elab_Command_mkSimpleDelab___closed__93 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__93(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__93); -l_Lean_Elab_Command_mkSimpleDelab___closed__94 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__94(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__94); -l_Lean_Elab_Command_mkSimpleDelab___closed__95 = _init_l_Lean_Elab_Command_mkSimpleDelab___closed__95(); -lean_mark_persistent(l_Lean_Elab_Command_mkSimpleDelab___closed__95); l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__1 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__1); l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__2 = _init_l___private_Lean_Elab_Notation_0__Lean_Elab_Command_isLocalAttrKind___closed__2(); @@ -9741,12 +9000,6 @@ l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2 = _init_l___regBuilt lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__2); l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__3); -l___regBuiltin_Lean_Elab_Command_expandNotation___closed__4 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__4); -l___regBuiltin_Lean_Elab_Command_expandNotation___closed__5 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__5); -l___regBuiltin_Lean_Elab_Command_expandNotation___closed__6 = _init_l___regBuiltin_Lean_Elab_Command_expandNotation___closed__6(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_expandNotation___closed__6); res = l___regBuiltin_Lean_Elab_Command_expandNotation(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c index 345d23df55..0c2ac4de16 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/FindRecArg.c @@ -15,12 +15,12 @@ extern "C" { #endif LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadParamDep_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_throwStructuralFailed___rarg___closed__2; lean_object* l_Lean_mkSort(lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__12; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Elab_Structural_findRecArg_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); @@ -29,6 +29,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecA lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_throwStructuralFailed___spec__1___rarg(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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_findRecArg_loop___spec__6___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_throwStructuralFailed___rarg___closed__1; static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__5; lean_object* lean_environment_find(lean_object*, lean_object*); @@ -37,10 +38,11 @@ lean_object* l_Lean_Meta_dependsOn(lean_object*, lean_object*, lean_object*, lea lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__5(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_findRecArg___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__9(lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Structural_findRecArg_loop___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__13; lean_object* lean_array_get_size(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_findRecArg_loop___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Structural_findRecArg_loop___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_findRecArg_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_findRecArg_loop___spec__2___closed__1; @@ -49,10 +51,11 @@ uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_binductionOnSuffix; extern lean_object* l_Lean_levelZero; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_findRecArg_loop___spec__10___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___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_Meta_isInductivePredicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__17; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__4; @@ -62,13 +65,9 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_findRecArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Elab_Structural_findRecArg_loop___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__6(lean_object*); -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_findRecArg_loop___spec__10(lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_findRecArg_loop___spec__9(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_throwStructuralFailed___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__14; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_throwStructuralFailed___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -76,7 +75,9 @@ static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadParamDep_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_throwStructuralFailed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__15; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__10(lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__3; lean_object* l_Nat_repr(lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__1; @@ -93,19 +94,15 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Structural_findRecArg_loop(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__9; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_findRecArg_loop___spec__7(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__6; static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__2; -uint8_t l_Lean_isInductivePredicate_visit(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__11(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mapErrorImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_findRecArg_loop___spec__7___boxed(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__4; lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_findRecArg_loop___spec__9___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_indexOfAux___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -120,38 +117,39 @@ LEAN_EXPORT lean_object* l_Array_indexOfAux___at___private_Lean_Elab_PreDefiniti LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadParamDep_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; uint8_t lean_expr_eqv(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_findRecArg_loop___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_findRecArg_loop___spec__2___closed__3; +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_findRecArg_loop___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_contains___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__9___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__10___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_hasConst___at_Lean_Elab_Structural_findRecArg_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadParamDep_x3f___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_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Structural_findRecArg_loop___spec__4(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_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__7; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_findRecArg_loop___spec__2___closed__4; -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_findRecArg_loop___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__16; lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_findRecArg_loop___spec__6(lean_object*, lean_object*); extern lean_object* l_Lean_brecOnSuffix; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__8(lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__11; lean_object* l_Lean_Meta_setMCtx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27(lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Structural_findRecArg_loop___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__4(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_hasBadIndexDep_x3f___closed__1; uint8_t l_Lean_LocalDecl_isLet(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -1869,127 +1867,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Elab_Structural_findRecArg_loop___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) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_st_ref_get(x_6, x_7); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_environment_find(x_11, x_1); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; lean_object* x_14; -x_13 = 0; -x_14 = lean_box(x_13); -lean_ctor_set(x_8, 0, x_14); -return x_8; -} -else -{ -lean_object* x_15; -x_15 = lean_ctor_get(x_12, 0); -lean_inc(x_15); -lean_dec(x_12); -if (lean_obj_tag(x_15) == 5) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_ctor_get(x_17, 2); -lean_inc(x_18); -lean_dec(x_17); -x_19 = l_Lean_isInductivePredicate_visit(x_18); -lean_dec(x_18); -x_20 = lean_box(x_19); -lean_ctor_set(x_8, 0, x_20); -return x_8; -} -else -{ -uint8_t x_21; lean_object* x_22; -lean_dec(x_15); -x_21 = 0; -x_22 = lean_box(x_21); -lean_ctor_set(x_8, 0, x_22); -return x_8; -} -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_8, 0); -x_24 = lean_ctor_get(x_8, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_8); -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_environment_find(x_25, x_1); -if (lean_obj_tag(x_26) == 0) -{ -uint8_t x_27; lean_object* x_28; lean_object* x_29; -x_27 = 0; -x_28 = lean_box(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_24); -return x_29; -} -else -{ -lean_object* x_30; -x_30 = lean_ctor_get(x_26, 0); -lean_inc(x_30); -lean_dec(x_26); -if (lean_obj_tag(x_30) == 5) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_ctor_get(x_32, 2); -lean_inc(x_33); -lean_dec(x_32); -x_34 = l_Lean_isInductivePredicate_visit(x_33); -lean_dec(x_33); -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_24); -return x_36; -} -else -{ -uint8_t x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_30); -x_37 = 0; -x_38 = lean_box(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_24); -return x_39; -} -} -} -} -} -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Structural_findRecArg_loop___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Structural_findRecArg_loop___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -2040,14 +1918,60 @@ return x_16; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Structural_findRecArg_loop___spec__4(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Structural_findRecArg_loop___spec__3(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Structural_findRecArg_loop___spec__4___rarg), 8, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Structural_findRecArg_loop___spec__3___rarg), 8, 0); return x_3; } } +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_ctor_get(x_5, 3); +x_9 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_3, x_4, x_5, x_6, x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_8); +lean_ctor_set(x_12, 1, x_11); +lean_ctor_set_tag(x_9, 1); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +lean_inc(x_8); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_8); +lean_ctor_set(x_15, 1, x_13); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__4___rarg___boxed), 7, 0); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -2094,53 +2018,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_fin return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_5, 3); -x_9 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_3, x_4, x_5, x_6, x_7); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -lean_inc(x_8); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_8); -lean_ctor_set(x_12, 1, x_11); -lean_ctor_set_tag(x_9, 1); -lean_ctor_set(x_9, 0, x_12); -return x_9; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_9, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_9); -lean_inc(x_8); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_8); -lean_ctor_set(x_15, 1, x_13); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -return x_16; -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__6(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__6___rarg___boxed), 7, 0); -return x_2; -} -} -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_findRecArg_loop___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_findRecArg_loop___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; uint8_t x_6; @@ -2178,7 +2056,7 @@ return x_13; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_findRecArg_loop___spec__7(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_findRecArg_loop___spec__6(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; @@ -2197,7 +2075,7 @@ else lean_object* x_6; uint8_t x_7; x_6 = lean_array_fget(x_1, x_2); lean_inc(x_2); -x_7 = l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_findRecArg_loop___spec__8(x_1, x_6, x_2, lean_box(0)); +x_7 = l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_findRecArg_loop___spec__7(x_1, x_6, x_2, lean_box(0)); lean_dec(x_6); if (x_7 == 0) { @@ -2218,7 +2096,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__8___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -2256,15 +2134,15 @@ return x_16; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__9(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__8(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__9___rarg___boxed), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__8___rarg___boxed), 7, 0); return x_2; } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_findRecArg_loop___spec__10(lean_object* x_1, size_t x_2, size_t x_3) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_findRecArg_loop___spec__9(lean_object* x_1, size_t x_2, size_t x_3) { _start: { uint8_t x_4; @@ -2298,7 +2176,7 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__11___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__10___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -2336,11 +2214,11 @@ return x_16; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__11(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__10(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__11___rarg___boxed), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__10___rarg___boxed), 7, 0); return x_2; } } @@ -2731,43 +2609,43 @@ lean_dec(x_50); x_53 = lean_ctor_get_uint8(x_35, sizeof(void*)*5 + 2); if (x_53 == 0) { -lean_object* x_203; +lean_object* x_207; lean_dec(x_51); -x_203 = lean_box(0); -x_54 = x_203; -goto block_202; +x_207 = lean_box(0); +x_54 = x_207; +goto block_206; } else { -uint8_t x_204; -x_204 = lean_unbox(x_51); +uint8_t x_208; +x_208 = lean_unbox(x_51); lean_dec(x_51); -if (x_204 == 0) +if (x_208 == 0) { -lean_object* x_205; lean_object* x_206; +lean_object* x_209; lean_object* x_210; lean_dec(x_37); lean_dec(x_35); lean_dec(x_25); lean_dec(x_21); lean_dec(x_11); -x_205 = lean_unsigned_to_nat(1u); -x_206 = lean_nat_add(x_4, x_205); +x_209 = lean_unsigned_to_nat(1u); +x_210 = lean_nat_add(x_4, x_209); lean_dec(x_4); -x_4 = x_206; +x_4 = x_210; x_10 = x_52; goto _start; } else { -lean_object* x_208; -x_208 = lean_box(0); -x_54 = x_208; -goto block_202; +lean_object* x_212; +x_212 = lean_box(0); +x_54 = x_212; +goto block_206; } } -block_202: +block_206: { -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_158; lean_object* x_178; uint8_t x_179; +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_162; lean_object* x_182; uint8_t x_183; lean_dec(x_54); x_55 = lean_unsigned_to_nat(0u); x_56 = l_Lean_Expr_getAppNumArgsAux(x_21, x_55); @@ -2787,87 +2665,87 @@ lean_inc(x_61); x_63 = l_Array_extract___rarg(x_61, x_55, x_62); x_64 = lean_array_get_size(x_61); x_65 = l_Array_extract___rarg(x_61, x_62, x_64); -x_178 = lean_array_get_size(x_65); -x_179 = lean_nat_dec_lt(x_55, x_178); -if (x_179 == 0) +x_182 = lean_array_get_size(x_65); +x_183 = lean_nat_dec_lt(x_55, x_182); +if (x_183 == 0) { -lean_object* x_180; -lean_dec(x_178); -x_180 = lean_box(0); -x_158 = x_180; -goto block_177; +lean_object* x_184; +lean_dec(x_182); +x_184 = lean_box(0); +x_162 = x_184; +goto block_181; } else { -uint8_t x_181; -x_181 = lean_nat_dec_le(x_178, x_178); -if (x_181 == 0) -{ -lean_object* x_182; -lean_dec(x_178); -x_182 = lean_box(0); -x_158 = x_182; -goto block_177; -} -else -{ -size_t x_183; size_t x_184; uint8_t x_185; -x_183 = 0; -x_184 = lean_usize_of_nat(x_178); -lean_dec(x_178); -x_185 = l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_findRecArg_loop___spec__10(x_65, x_183, x_184); +uint8_t x_185; +x_185 = lean_nat_dec_le(x_182, x_182); if (x_185 == 0) { lean_object* x_186; +lean_dec(x_182); x_186 = lean_box(0); -x_158 = x_186; -goto block_177; +x_162 = x_186; +goto block_181; } 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; 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; +size_t x_187; size_t x_188; uint8_t x_189; +x_187 = 0; +x_188 = lean_usize_of_nat(x_182); +lean_dec(x_182); +x_189 = l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_findRecArg_loop___spec__9(x_65, x_187, x_188); +if (x_189 == 0) +{ +lean_object* x_190; +x_190 = lean_box(0); +x_162 = x_190; +goto block_181; +} +else +{ +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; 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_dec(x_65); lean_dec(x_63); lean_dec(x_37); lean_dec(x_25); lean_dec(x_11); -x_187 = lean_nat_add(x_4, x_59); +x_191 = lean_nat_add(x_4, x_59); lean_dec(x_4); -lean_inc(x_187); -x_188 = l_Nat_repr(x_187); -x_189 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_189, 0, x_188); -x_190 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_190, 0, x_189); -x_191 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__2; -x_192 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_190); -x_193 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__18; -x_194 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_194, 0, x_192); -lean_ctor_set(x_194, 1, x_193); -x_195 = l_Lean_indentExpr(x_21); +lean_inc(x_191); +x_192 = l_Nat_repr(x_191); +x_193 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_193, 0, x_192); +x_194 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_194, 0, x_193); +x_195 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__2; x_196 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_196, 0, x_194); -lean_ctor_set(x_196, 1, x_195); -x_197 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__18; x_198 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_198, 0, x_196); lean_ctor_set(x_198, 1, x_197); -x_199 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__11___rarg___boxed), 7, 1); -lean_closure_set(x_199, 0, x_198); -x_200 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_findRecArg_loop___rarg), 10, 4); -lean_closure_set(x_200, 0, x_1); -lean_closure_set(x_200, 1, x_2); -lean_closure_set(x_200, 2, x_3); -lean_closure_set(x_200, 3, x_187); -x_201 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg(x_199, x_200, x_5, x_6, x_7, x_8, x_9, x_52); -return x_201; +x_199 = l_Lean_indentExpr(x_21); +x_200 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_200, 0, x_198); +lean_ctor_set(x_200, 1, x_199); +x_201 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_202 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_202, 0, x_200); +lean_ctor_set(x_202, 1, x_201); +x_203 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__10___rarg___boxed), 7, 1); +lean_closure_set(x_203, 0, x_202); +x_204 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_findRecArg_loop___rarg), 10, 4); +lean_closure_set(x_204, 0, x_1); +lean_closure_set(x_204, 1, x_2); +lean_closure_set(x_204, 2, x_3); +lean_closure_set(x_204, 3, x_191); +x_205 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg(x_203, x_204, x_5, x_6, x_7, x_8, x_9, x_52); +return x_205; } } } -block_157: +block_161: { lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_inc(x_66); @@ -2903,7 +2781,7 @@ x_73 = lean_ctor_get(x_72, 0); lean_inc(x_73); if (lean_obj_tag(x_73) == 0) { -lean_object* x_74; lean_object* x_75; size_t x_76; size_t 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; uint8_t 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_74; lean_object* x_75; size_t x_76; size_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_dec(x_21); x_74 = lean_ctor_get(x_72, 1); lean_inc(x_74); @@ -2916,8 +2794,15 @@ lean_inc(x_65); x_78 = x_65; x_79 = l_Array_mapMUnsafe_map___at_Lean_Elab_Structural_findRecArg_loop___spec__2(x_68, x_76, x_77, x_78); x_80 = x_79; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_37); -x_81 = l_Lean_isInductivePredicate___at_Lean_Elab_Structural_findRecArg_loop___spec__3(x_37, x_5, x_6, x_7, x_8, x_9, x_74); +x_81 = l_Lean_Meta_isInductivePredicate(x_37, x_6, x_7, x_8, x_9, x_74); +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; uint8_t 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; x_82 = lean_ctor_get(x_81, 0); lean_inc(x_82); x_83 = lean_ctor_get(x_81, 1); @@ -2948,7 +2833,7 @@ lean_closure_set(x_89, 0, x_3); lean_closure_set(x_89, 1, x_86); lean_closure_set(x_89, 2, x_88); x_90 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__2; -x_91 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Structural_findRecArg_loop___spec__4___rarg), 8, 2); +x_91 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Structural_findRecArg_loop___spec__3___rarg), 8, 2); lean_closure_set(x_91, 0, x_89); lean_closure_set(x_91, 1, x_90); x_92 = lean_nat_add(x_4, x_59); @@ -2963,78 +2848,117 @@ return x_94; } else { -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; +uint8_t x_95; +lean_dec(x_80); lean_dec(x_68); lean_dec(x_67); lean_dec(x_65); lean_dec(x_63); lean_dec(x_37); lean_dec(x_25); -x_95 = lean_ctor_get(x_73, 0); -lean_inc(x_95); -lean_dec(x_73); -x_96 = lean_ctor_get(x_72, 1); -lean_inc(x_96); -lean_dec(x_72); -x_97 = lean_ctor_get(x_95, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_95, 1); -lean_inc(x_98); -lean_dec(x_95); -x_99 = lean_nat_add(x_4, x_59); +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_inc(x_99); -x_100 = l_Nat_repr(x_99); -x_101 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_101, 0, x_100); -x_102 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_102, 0, x_101); -x_103 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__2; -x_104 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_102); -x_105 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__4; -x_106 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -x_107 = l_Lean_indentExpr(x_21); -x_108 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_108, 0, x_106); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__6; -x_110 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lean_indentExpr(x_97); -x_112 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -x_113 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__8; -x_114 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -x_115 = l_Lean_indentExpr(x_98); -x_116 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -x_117 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; -x_118 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -x_119 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__5___rarg___boxed), 7, 1); -lean_closure_set(x_119, 0, x_118); -x_120 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_findRecArg_loop___rarg), 10, 4); -lean_closure_set(x_120, 0, x_1); -lean_closure_set(x_120, 1, x_2); -lean_closure_set(x_120, 2, x_3); -lean_closure_set(x_120, 3, x_99); -x_121 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg(x_119, x_120, x_5, x_6, x_7, x_8, x_9, x_96); -return x_121; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_95 = !lean_is_exclusive(x_81); +if (x_95 == 0) +{ +return x_81; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_81, 0); +x_97 = lean_ctor_get(x_81, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_81); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; +} } } else { -uint8_t x_122; +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_dec(x_68); +lean_dec(x_67); +lean_dec(x_65); +lean_dec(x_63); +lean_dec(x_37); +lean_dec(x_25); +x_99 = lean_ctor_get(x_73, 0); +lean_inc(x_99); +lean_dec(x_73); +x_100 = lean_ctor_get(x_72, 1); +lean_inc(x_100); +lean_dec(x_72); +x_101 = lean_ctor_get(x_99, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_99, 1); +lean_inc(x_102); +lean_dec(x_99); +x_103 = lean_nat_add(x_4, x_59); +lean_dec(x_4); +lean_inc(x_103); +x_104 = l_Nat_repr(x_103); +x_105 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_105, 0, x_104); +x_106 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_106, 0, x_105); +x_107 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__2; +x_108 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_106); +x_109 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__4; +x_110 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +x_111 = l_Lean_indentExpr(x_21); +x_112 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +x_113 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__6; +x_114 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +x_115 = l_Lean_indentExpr(x_101); +x_116 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +x_117 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__8; +x_118 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +x_119 = l_Lean_indentExpr(x_102); +x_120 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +x_121 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_122 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__4___rarg___boxed), 7, 1); +lean_closure_set(x_123, 0, x_122); +x_124 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_findRecArg_loop___rarg), 10, 4); +lean_closure_set(x_124, 0, x_1); +lean_closure_set(x_124, 1, x_2); +lean_closure_set(x_124, 2, x_3); +lean_closure_set(x_124, 3, x_103); +x_125 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg(x_123, x_124, x_5, x_6, x_7, x_8, x_9, x_100); +return x_125; +} +} +else +{ +uint8_t x_126; lean_dec(x_68); lean_dec(x_67); lean_dec(x_65); @@ -3051,100 +2975,100 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_122 = !lean_is_exclusive(x_72); -if (x_122 == 0) +x_126 = !lean_is_exclusive(x_72); +if (x_126 == 0) { return x_72; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_72, 0); -x_124 = lean_ctor_get(x_72, 1); -lean_inc(x_124); -lean_inc(x_123); +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_72, 0); +x_128 = lean_ctor_get(x_72, 1); +lean_inc(x_128); +lean_inc(x_127); lean_dec(x_72); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); +return x_129; } } } else { -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_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_dec(x_68); lean_dec(x_67); lean_dec(x_65); lean_dec(x_63); lean_dec(x_37); lean_dec(x_25); -x_126 = lean_ctor_get(x_70, 0); -lean_inc(x_126); -lean_dec(x_70); -x_127 = lean_ctor_get(x_69, 1); -lean_inc(x_127); -lean_dec(x_69); -x_128 = lean_ctor_get(x_126, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_126, 1); -lean_inc(x_129); -lean_dec(x_126); -x_130 = lean_nat_add(x_4, x_59); -lean_dec(x_4); +x_130 = lean_ctor_get(x_70, 0); lean_inc(x_130); -x_131 = l_Nat_repr(x_130); -x_132 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_132, 0, x_131); -x_133 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_133, 0, x_132); -x_134 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__2; -x_135 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_133); -x_136 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__10; -x_137 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_136); -x_138 = l_Lean_indentExpr(x_21); +lean_dec(x_70); +x_131 = lean_ctor_get(x_69, 1); +lean_inc(x_131); +lean_dec(x_69); +x_132 = lean_ctor_get(x_130, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_130, 1); +lean_inc(x_133); +lean_dec(x_130); +x_134 = lean_nat_add(x_4, x_59); +lean_dec(x_4); +lean_inc(x_134); +x_135 = l_Nat_repr(x_134); +x_136 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_136, 0, x_135); +x_137 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_137, 0, x_136); +x_138 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__2; x_139 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -x_140 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__12; +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_137); +x_140 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__10; x_141 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_141, 0, x_139); lean_ctor_set(x_141, 1, x_140); -x_142 = l_Lean_indentExpr(x_128); +x_142 = l_Lean_indentExpr(x_21); x_143 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_143, 0, x_141); lean_ctor_set(x_143, 1, x_142); -x_144 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__14; +x_144 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__12; x_145 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_145, 0, x_143); lean_ctor_set(x_145, 1, x_144); -x_146 = l_Lean_indentExpr(x_129); +x_146 = l_Lean_indentExpr(x_132); x_147 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_147, 0, x_145); lean_ctor_set(x_147, 1, x_146); -x_148 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_148 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__14; x_149 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_149, 0, x_147); lean_ctor_set(x_149, 1, x_148); -x_150 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__6___rarg___boxed), 7, 1); -lean_closure_set(x_150, 0, x_149); -x_151 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_findRecArg_loop___rarg), 10, 4); -lean_closure_set(x_151, 0, x_1); -lean_closure_set(x_151, 1, x_2); -lean_closure_set(x_151, 2, x_3); -lean_closure_set(x_151, 3, x_130); -x_152 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg(x_150, x_151, x_5, x_6, x_7, x_8, x_9, x_127); -return x_152; +x_150 = l_Lean_indentExpr(x_133); +x_151 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +x_152 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_153 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_153, 0, x_151); +lean_ctor_set(x_153, 1, x_152); +x_154 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__5___rarg___boxed), 7, 1); +lean_closure_set(x_154, 0, x_153); +x_155 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_findRecArg_loop___rarg), 10, 4); +lean_closure_set(x_155, 0, x_1); +lean_closure_set(x_155, 1, x_2); +lean_closure_set(x_155, 2, x_3); +lean_closure_set(x_155, 3, x_134); +x_156 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg(x_154, x_155, x_5, x_6, x_7, x_8, x_9, x_131); +return x_156; } } else { -uint8_t x_153; +uint8_t x_157; lean_dec(x_68); lean_dec(x_67); lean_dec(x_65); @@ -3161,89 +3085,89 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_153 = !lean_is_exclusive(x_69); -if (x_153 == 0) +x_157 = !lean_is_exclusive(x_69); +if (x_157 == 0) { return x_69; } else { -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_69, 0); -x_155 = lean_ctor_get(x_69, 1); -lean_inc(x_155); -lean_inc(x_154); +lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_158 = lean_ctor_get(x_69, 0); +x_159 = lean_ctor_get(x_69, 1); +lean_inc(x_159); +lean_inc(x_158); lean_dec(x_69); -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_154); -lean_ctor_set(x_156, 1, x_155); -return x_156; +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_158); +lean_ctor_set(x_160, 1, x_159); +return x_160; } } } -block_177: +block_181: { -uint8_t x_159; -lean_dec(x_158); -x_159 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_findRecArg_loop___spec__7(x_65, x_55); -if (x_159 == 0) +uint8_t x_163; +lean_dec(x_162); +x_163 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_findRecArg_loop___spec__6(x_65, x_55); +if (x_163 == 0) { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; 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_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_dec(x_65); lean_dec(x_63); lean_dec(x_37); lean_dec(x_25); lean_dec(x_11); -x_160 = lean_nat_add(x_4, x_59); +x_164 = lean_nat_add(x_4, x_59); lean_dec(x_4); -lean_inc(x_160); -x_161 = l_Nat_repr(x_160); -x_162 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_162, 0, x_161); -x_163 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_163, 0, x_162); -x_164 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__2; -x_165 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_163); -x_166 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__16; -x_167 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_167, 0, x_165); -lean_ctor_set(x_167, 1, x_166); -x_168 = l_Lean_indentExpr(x_21); +lean_inc(x_164); +x_165 = l_Nat_repr(x_164); +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_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__2; x_169 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -x_170 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_169, 1, x_167); +x_170 = l_Lean_Elab_Structural_findRecArg_loop___rarg___closed__16; x_171 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_171, 0, x_169); lean_ctor_set(x_171, 1, x_170); -x_172 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__9___rarg___boxed), 7, 1); -lean_closure_set(x_172, 0, x_171); -x_173 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_findRecArg_loop___rarg), 10, 4); -lean_closure_set(x_173, 0, x_1); -lean_closure_set(x_173, 1, x_2); -lean_closure_set(x_173, 2, x_3); -lean_closure_set(x_173, 3, x_160); -x_174 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg(x_172, x_173, x_5, x_6, x_7, x_8, x_9, x_52); -return x_174; +x_172 = l_Lean_indentExpr(x_21); +x_173 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_173, 0, x_171); +lean_ctor_set(x_173, 1, x_172); +x_174 = l_Lean_Elab_Structural_findRecArg_loop___rarg___lambda__1___closed__6; +x_175 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +x_176 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__8___rarg___boxed), 7, 1); +lean_closure_set(x_176, 0, x_175); +x_177 = lean_alloc_closure((void*)(l_Lean_Elab_Structural_findRecArg_loop___rarg), 10, 4); +lean_closure_set(x_177, 0, x_1); +lean_closure_set(x_177, 1, x_2); +lean_closure_set(x_177, 2, x_3); +lean_closure_set(x_177, 3, x_164); +x_178 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_orelse_x27___rarg(x_176, x_177, x_5, x_6, x_7, x_8, x_9, x_52); +return x_178; } else { -lean_object* x_175; uint8_t x_176; -x_175 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos(x_2, x_65); -x_176 = lean_nat_dec_lt(x_175, x_1); -if (x_176 == 0) +lean_object* x_179; uint8_t x_180; +x_179 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_getIndexMinPos(x_2, x_65); +x_180 = lean_nat_dec_lt(x_179, x_1); +if (x_180 == 0) { -lean_dec(x_175); +lean_dec(x_179); lean_inc(x_1); x_66 = x_1; -goto block_157; +goto block_161; } else { -x_66 = x_175; -goto block_157; +x_66 = x_179; +goto block_161; } } } @@ -3252,15 +3176,15 @@ goto block_157; } else { -lean_object* x_209; lean_object* x_210; +lean_object* x_213; lean_object* x_214; lean_dec(x_34); lean_dec(x_25); lean_dec(x_21); lean_dec(x_11); -x_209 = lean_unsigned_to_nat(1u); -x_210 = lean_nat_add(x_4, x_209); +x_213 = lean_unsigned_to_nat(1u); +x_214 = lean_nat_add(x_4, x_213); lean_dec(x_4); -x_4 = x_210; +x_4 = x_214; x_10 = x_28; goto _start; } @@ -3268,21 +3192,21 @@ goto _start; } else { -lean_object* x_212; lean_object* x_213; +lean_object* x_216; lean_object* x_217; lean_dec(x_23); lean_dec(x_21); lean_dec(x_11); -x_212 = lean_unsigned_to_nat(1u); -x_213 = lean_nat_add(x_4, x_212); +x_216 = lean_unsigned_to_nat(1u); +x_217 = lean_nat_add(x_4, x_216); lean_dec(x_4); -x_4 = x_213; +x_4 = x_217; x_10 = x_22; goto _start; } } else { -uint8_t x_215; +uint8_t x_219; lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -3293,29 +3217,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_215 = !lean_is_exclusive(x_20); -if (x_215 == 0) +x_219 = !lean_is_exclusive(x_20); +if (x_219 == 0) { return x_20; } else { -lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_216 = lean_ctor_get(x_20, 0); -x_217 = lean_ctor_get(x_20, 1); -lean_inc(x_217); -lean_inc(x_216); +lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_220 = lean_ctor_get(x_20, 0); +x_221 = lean_ctor_get(x_20, 1); +lean_inc(x_221); +lean_inc(x_220); lean_dec(x_20); -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_216); -lean_ctor_set(x_218, 1, x_217); -return x_218; +x_222 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_222, 0, x_220); +lean_ctor_set(x_222, 1, x_221); +return x_222; } } } else { -lean_object* x_219; +lean_object* x_223; lean_dec(x_16); lean_dec(x_11); lean_dec(x_5); @@ -3323,13 +3247,13 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_219 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_throwStructuralFailed___rarg(x_6, x_7, x_8, x_9, x_17); -return x_219; +x_223 = l___private_Lean_Elab_PreDefinition_Structural_FindRecArg_0__Lean_Elab_Structural_throwStructuralFailed___rarg(x_6, x_7, x_8, x_9, x_17); +return x_223; } } else { -uint8_t x_220; +uint8_t x_224; lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); @@ -3340,23 +3264,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_220 = !lean_is_exclusive(x_15); -if (x_220 == 0) +x_224 = !lean_is_exclusive(x_15); +if (x_224 == 0) { return x_15; } else { -lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_221 = lean_ctor_get(x_15, 0); -x_222 = lean_ctor_get(x_15, 1); -lean_inc(x_222); -lean_inc(x_221); +lean_object* x_225; lean_object* x_226; lean_object* x_227; +x_225 = lean_ctor_get(x_15, 0); +x_226 = lean_ctor_get(x_15, 1); +lean_inc(x_226); +lean_inc(x_225); lean_dec(x_15); -x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_221); -lean_ctor_set(x_223, 1, x_222); -return x_223; +x_227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_227, 0, x_225); +lean_ctor_set(x_227, 1, x_226); +return x_227; } } } @@ -3396,11 +3320,11 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Elab_Structural_findRecArg_loop___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_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_isInductivePredicate___at_Lean_Elab_Structural_findRecArg_loop___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__4___rarg(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); @@ -3422,45 +3346,32 @@ lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__6___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__6___rarg(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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_findRecArg_loop___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_findRecArg_loop___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; lean_object* x_6; -x_5 = l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_findRecArg_loop___spec__8(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Structural_findRecArg_loop___spec__7(x_1, x_2, x_3, x_4); lean_dec(x_2); lean_dec(x_1); x_6 = lean_box(x_5); return x_6; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_findRecArg_loop___spec__7___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_findRecArg_loop___spec__6___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_findRecArg_loop___spec__7(x_1, x_2); +x_3 = l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Structural_findRecArg_loop___spec__6(x_1, x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__9___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__8___rarg(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); @@ -3469,7 +3380,7 @@ lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_findRecArg_loop___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_findRecArg_loop___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; @@ -3477,17 +3388,17 @@ x_4 = lean_unbox_usize(x_2); lean_dec(x_2); x_5 = lean_unbox_usize(x_3); lean_dec(x_3); -x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_findRecArg_loop___spec__10(x_1, x_4, x_5); +x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Structural_findRecArg_loop___spec__9(x_1, x_4, x_5); lean_dec(x_1); x_7 = lean_box(x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__11___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__10___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; -x_8 = l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__11___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_8 = l_Lean_throwError___at_Lean_Elab_Structural_findRecArg_loop___spec__10___rarg(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); diff --git a/stage0/stdlib/Lean/Meta/Basic.c b/stage0/stdlib/Lean/Meta/Basic.c index 462145aa18..dc2b663cf9 100644 --- a/stage0/stdlib/Lean/Meta/Basic.c +++ b/stage0/stdlib/Lean/Meta/Basic.c @@ -22,6 +22,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_resettingSynthInstanceCacheWhen___rarg___bo lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Meta_mkFreshExprMVarAt___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarAtCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_isInductivePredicate___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_instMonadMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -254,6 +255,7 @@ static lean_object* l_Lean_Meta_instAlternativeMetaM___closed__1; LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalContext_setBinderInfo(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Meta_throwUnknownFVar___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_isInductivePredicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getConfig___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassQuickConst_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_throwUnknownFVar___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -492,6 +494,7 @@ uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallBoundedTelescopeImp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__6; +LEAN_EXPORT lean_object* l_Lean_Meta_isInductivePredicate___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaMetaTelescope_process___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -511,6 +514,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_synthPending___boxed(lean_object*, lean_obj LEAN_EXPORT uint8_t l_Lean_Meta_ParamInfo_isExplicit(lean_object*); lean_object* lean_expr_update_proj(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instInhabitedCache___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_isInductivePredicate___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedParamInfo; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaLetTelescope(lean_object*); @@ -771,6 +775,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mapError___rarg(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_Meta_getPostponed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getParamNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewFVar(lean_object*); +uint8_t lean_level_eq(lean_object*, lean_object*); uint32_t lean_uint32_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_setMCtx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getLocalDeclFromUserName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -28958,6 +28963,257 @@ lean_dec(x_3); return x_7; } } +LEAN_EXPORT lean_object* l_Lean_Meta_isInductivePredicate___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; +x_8 = l_Lean_Meta_whnfD(x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 3) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_8); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_8, 0); +lean_dec(x_11); +x_12 = lean_ctor_get(x_9, 0); +lean_inc(x_12); +lean_dec(x_9); +x_13 = l_Lean_levelZero; +x_14 = lean_level_eq(x_12, x_13); +lean_dec(x_12); +x_15 = lean_box(x_14); +lean_ctor_set(x_8, 0, x_15); +return x_8; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_8, 1); +lean_inc(x_16); +lean_dec(x_8); +x_17 = lean_ctor_get(x_9, 0); +lean_inc(x_17); +lean_dec(x_9); +x_18 = l_Lean_levelZero; +x_19 = lean_level_eq(x_17, x_18); +lean_dec(x_17); +x_20 = lean_box(x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_16); +return x_21; +} +} +else +{ +uint8_t x_22; +lean_dec(x_9); +x_22 = !lean_is_exclusive(x_8); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_8, 0); +lean_dec(x_23); +x_24 = 0; +x_25 = lean_box(x_24); +lean_ctor_set(x_8, 0, x_25); +return x_8; +} +else +{ +lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_8, 1); +lean_inc(x_26); +lean_dec(x_8); +x_27 = 0; +x_28 = lean_box(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; +x_30 = !lean_is_exclusive(x_8); +if (x_30 == 0) +{ +return x_8; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_8, 0); +x_32 = lean_ctor_get(x_8, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_8); +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; +} +} +} +} +static lean_object* _init_l_Lean_Meta_isInductivePredicate___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isInductivePredicate___lambda__1___boxed), 7, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_isInductivePredicate(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_environment_find(x_11, x_1); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; lean_object* x_14; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_13 = 0; +x_14 = lean_box(x_13); +lean_ctor_set(x_7, 0, x_14); +return x_7; +} +else +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_12, 0); +lean_inc(x_15); +lean_dec(x_12); +if (lean_obj_tag(x_15) == 5) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_free_object(x_7); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_ctor_get(x_17, 2); +lean_inc(x_18); +lean_dec(x_17); +x_19 = l_Lean_Meta_isInductivePredicate___closed__1; +x_20 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_18, x_19, x_2, x_3, x_4, x_5, x_10); +return x_20; +} +else +{ +uint8_t x_21; lean_object* x_22; +lean_dec(x_15); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_21 = 0; +x_22 = lean_box(x_21); +lean_ctor_set(x_7, 0, x_22); +return x_7; +} +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_7, 0); +x_24 = lean_ctor_get(x_7, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_7); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_environment_find(x_25, x_1); +if (lean_obj_tag(x_26) == 0) +{ +uint8_t x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_27 = 0; +x_28 = lean_box(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_24); +return x_29; +} +else +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_26, 0); +lean_inc(x_30); +lean_dec(x_26); +if (lean_obj_tag(x_30) == 5) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +lean_dec(x_31); +x_33 = lean_ctor_get(x_32, 2); +lean_inc(x_33); +lean_dec(x_32); +x_34 = l_Lean_Meta_isInductivePredicate___closed__1; +x_35 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_33, x_34, x_2, x_3, x_4, x_5, x_24); +return x_35; +} +else +{ +uint8_t x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_30); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_36 = 0; +x_37 = lean_box(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_24); +return x_38; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_isInductivePredicate___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_Meta_isInductivePredicate___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} lean_object* initialize_Init(lean_object*); lean_object* initialize_Lean_Data_LOption(lean_object*); lean_object* initialize_Lean_Environment(lean_object*); @@ -29323,6 +29579,8 @@ l_Lean_Meta_instAlternativeMetaM___closed__3 = _init_l_Lean_Meta_instAlternative lean_mark_persistent(l_Lean_Meta_instAlternativeMetaM___closed__3); l_Lean_Meta_instAlternativeMetaM = _init_l_Lean_Meta_instAlternativeMetaM(); lean_mark_persistent(l_Lean_Meta_instAlternativeMetaM); +l_Lean_Meta_isInductivePredicate___closed__1 = _init_l_Lean_Meta_isInductivePredicate___closed__1(); +lean_mark_persistent(l_Lean_Meta_isInductivePredicate___closed__1); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/IndPredBelow.c b/stage0/stdlib/Lean/Meta/IndPredBelow.c index 5691c24f9a..45bb649d2b 100644 --- a/stage0/stdlib/Lean/Meta/IndPredBelow.c +++ b/stage0/stdlib/Lean/Meta/IndPredBelow.c @@ -31,7 +31,6 @@ static lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Meta_IndPredBelow_ static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__14; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_IndPredBelow_mkConstructor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___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*); @@ -51,9 +50,7 @@ uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_instInhabitedVariables___closed__4; uint8_t lean_usize_dec_eq(size_t, size_t); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__3; lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -79,16 +76,16 @@ extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowDecl___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_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_get___at_Lean_initFn____x40_Lean_Util_PPExt___hyg_245____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(lean_object*, lean_object*, size_t, size_t, 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_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); -lean_object* lean_environment_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveName___closed__1; @@ -96,6 +93,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveName___boxed(l lean_object* lean_mk_cases_on(lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__2___closed__7; lean_object* l_instInhabitedDepArrow___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -128,8 +126,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_instInhabitedVariables; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_mkMotiveBinder___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkContext_mkHeader___spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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_Lean_throwError___at_Lean_Meta_Split_applyMatchSplitter___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_proveBrecOn_applyIH___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_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -168,9 +166,8 @@ static lean_object* l_Lean_Meta_IndPredBelow_mkBelow___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_copyVarName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkType___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_mkAppN(lean_object*, lean_object*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___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_Meta_isInductivePredicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMap_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___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*); @@ -178,7 +175,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCo lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___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*); -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__2; static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_replaceTempVars(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -196,6 +192,7 @@ static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorTyp lean_object* l_Lean_Meta_getMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at_Lean_Meta_IndPredBelow_mkContext_mkHeader___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_proveBrecOn_applyCtors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH___closed__3; @@ -203,6 +200,7 @@ lean_object* l_Lean_Meta_Match_Pattern_toMessageData(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_mkMotiveBinder(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_modifyBinders___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___closed__1; LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkCtorType_addHeaderVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -210,6 +208,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH(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_Match_Pattern_toExpr_visit(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___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*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__3; lean_object* l_Lean_Expr_constLevels_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_zip___rarg___lambda__1(lean_object*, lean_object*); @@ -278,8 +277,8 @@ extern lean_object* l_Lean_instInhabitedExpr; static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__2___closed__2; lean_object* l_List_mapTRAux___at_Lean_Meta_Match_Alt_toMessageData___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___lambda__1___boxed(lean_object*, lean_object*); -uint8_t l_Lean_isInductivePredicate_visit(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__5; static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__11; @@ -297,6 +296,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkContext_mkHeader(lean_object LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkContext___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_addHeaderVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__9___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at_Lean_Meta_IndPredBelow_proveBrecOn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkFVar(lean_object*); @@ -310,7 +310,6 @@ size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkContext_mkIndValConst(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11___boxed__const__1; static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__3; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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*); static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn___closed__1; uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_734____at_Lean_IR_IRType_beq___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM___at_Lean_Meta_IndPredBelow_mkInductiveType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -323,7 +322,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveType___lambda_ lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_MatcherApp_addArg___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__13; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_addMotives___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__1___closed__2; @@ -353,7 +351,7 @@ extern lean_object* l_Lean_Meta_Match_instInhabitedPattern; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_addBelowPattern___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___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*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__6; -LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_6770_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_6783_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7_(lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; lean_object* l_Lean_Meta_getLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -379,11 +377,11 @@ LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkConte lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelow___closed__1; -static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__4; static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelow___lambda__1(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_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_findBelowIdx___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*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___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*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -401,6 +399,7 @@ static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___clos LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_addBelowPattern___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_Meta_isExprMVarAssigned(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -418,6 +417,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Meta_IndPredB static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_toInaccessible(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_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_proveBrecOn_applyIH___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_rebuild(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -444,6 +444,7 @@ LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelow LEAN_EXPORT lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___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_Meta_instantiateMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_Meta_withExistingLocalDecls___at_Lean_Meta_Match_Alt_toMessageData___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -467,15 +468,12 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCt LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_replaceTempVars___spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_proveBrecOn_applyCtors___spec__4(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_withIncRecDepth___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_findBelowIdx___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*); static lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_findBelowIdx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___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* l_List_lengthTRAux___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__2___closed__1; static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__2___closed__4; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedInductiveVal; static lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_IndPredBelow_mkConstructor___spec__1___closed__2; lean_object* l_List_mapTRAux___at_Lean_Meta_substCore___spec__7(lean_object*, lean_object*); @@ -491,7 +489,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCo static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__2___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_applyCtors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_IndPredBelow_mkConstructor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(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_Std_HashMapImp_find_x3f___at_Lean_MetavarContext_instantiateExprMVars___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkContext_mkHeader___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -517,13 +514,13 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_getBelowIndices___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constName_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDecl___at_Lean_Meta_mkAuxDefinition___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__1___closed__4; static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___spec__1___closed__1; lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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*); static lean_object* l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___closed__1; static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -838,7 +835,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_18 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_5, x_17, x_6, x_7, x_8, x_9, x_10); +x_18 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_5, x_17, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; @@ -920,7 +917,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_18 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_5, x_17, x_6, x_7, x_8, x_9, x_10); +x_18 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_5, x_17, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_object* x_20; @@ -1246,7 +1243,7 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_12 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_10, x_11, x_4, x_5, x_6, x_7, x_8); +x_12 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_10, x_11, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -1349,7 +1346,7 @@ lean_inc(x_8); lean_dec(x_7); x_9 = lean_alloc_closure((void*)(l_Lean_Meta_IndPredBelow_mkContext_motiveType___lambda__1___boxed), 8, 1); lean_closure_set(x_9, 0, x_1); -x_10 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_8, x_9, x_2, x_3, x_4, x_5, x_6); +x_10 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_8, x_9, x_2, x_3, x_4, x_5, x_6); return x_10; } } @@ -2493,7 +2490,7 @@ lean_closure_set(x_13, 1, x_2); lean_closure_set(x_13, 2, x_3); lean_closure_set(x_13, 3, x_4); lean_closure_set(x_13, 4, x_7); -x_14 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_5, x_13, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_5, x_13, x_8, x_9, x_10, x_11, x_12); return x_14; } } @@ -2889,7 +2886,7 @@ lean_closure_set(x_12, 0, x_1); lean_closure_set(x_12, 1, x_2); lean_closure_set(x_12, 2, x_3); lean_closure_set(x_12, 3, x_6); -x_13 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_4, x_12, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_4, x_12, x_7, x_8, x_9, x_10, x_11); return x_13; } } @@ -5290,13 +5287,13 @@ 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; +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_dec(x_17); x_20 = lean_st_ref_get(x_7, x_8); x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = lean_st_ref_get(x_3, x_21); +x_22 = lean_st_ref_take(x_3, x_21); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); @@ -5305,19 +5302,13 @@ lean_dec(x_22); x_25 = lean_unsigned_to_nat(1u); x_26 = lean_nat_add(x_23, x_25); lean_dec(x_23); -x_27 = lean_st_ref_get(x_7, x_24); +x_27 = lean_st_ref_set(x_3, x_26, x_24); x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = lean_st_ref_set(x_3, x_26, x_28); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__1(x_2, x_30, x_3, x_4, x_5, x_6, x_7, x_31); -lean_dec(x_30); -return x_32; +x_29 = lean_box(0); +x_30 = l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__1(x_2, x_29, x_3, x_4, x_5, x_6, x_7, x_28); +return x_30; } } } @@ -6691,7 +6682,7 @@ x_11 = lean_alloc_closure((void*)(l_Lean_Meta_IndPredBelow_mkCtorType___lambda__ lean_closure_set(x_11, 0, x_1); lean_closure_set(x_11, 1, x_2); lean_closure_set(x_11, 2, x_3); -x_12 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_10, x_11, x_4, x_5, x_6, x_7, x_8); +x_12 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_10, x_11, x_4, x_5, x_6, x_7, x_8); return x_12; } } @@ -9652,7 +9643,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_25 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_22, x_24, x_10, x_11, x_12, x_13, x_23); +x_25 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_22, x_24, x_10, x_11, x_12, x_13, x_23); if (lean_obj_tag(x_25) == 0) { lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; @@ -11433,7 +11424,7 @@ lean_closure_set(x_12, 0, x_1); lean_closure_set(x_12, 1, x_2); lean_closure_set(x_12, 2, x_3); lean_closure_set(x_12, 3, x_4); -x_13 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_5, x_12, x_7, x_8, x_9, x_10, x_11); +x_13 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_5, x_12, x_7, x_8, x_9, x_10, x_11); return x_13; } } @@ -11827,7 +11818,7 @@ lean_dec(x_8); x_11 = lean_alloc_closure((void*)(l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkType___lambda__2___boxed), 9, 2); lean_closure_set(x_11, 0, x_1); lean_closure_set(x_11, 1, x_2); -x_12 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_10, x_11, x_3, x_4, x_5, x_6, x_7); +x_12 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_10, x_11, x_3, x_4, x_5, x_6, x_7); return x_12; } } @@ -12375,7 +12366,7 @@ lean_inc(x_21); lean_dec(x_20); x_22 = lean_alloc_closure((void*)(l_Lean_Meta_IndPredBelow_getBelowIndices___lambda__1___boxed), 8, 1); lean_closure_set(x_22, 0, x_15); -x_23 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_21, x_22, x_2, x_3, x_4, x_5, x_19); +x_23 = l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(x_21, x_22, x_2, x_3, x_4, x_5, x_19); return x_23; } else @@ -17265,127 +17256,7 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_st_ref_get(x_5, x_6); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_environment_find(x_10, x_1); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; lean_object* x_13; -x_12 = 0; -x_13 = lean_box(x_12); -lean_ctor_set(x_7, 0, x_13); -return x_7; -} -else -{ -lean_object* x_14; -x_14 = lean_ctor_get(x_11, 0); -lean_inc(x_14); -lean_dec(x_11); -if (lean_obj_tag(x_14) == 5) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 2); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Lean_isInductivePredicate_visit(x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -lean_ctor_set(x_7, 0, x_19); -return x_7; -} -else -{ -uint8_t x_20; lean_object* x_21; -lean_dec(x_14); -x_20 = 0; -x_21 = lean_box(x_20); -lean_ctor_set(x_7, 0, x_21); -return x_7; -} -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_7, 0); -x_23 = lean_ctor_get(x_7, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_7); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_environment_find(x_24, x_1); -if (lean_obj_tag(x_25) == 0) -{ -uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_26 = 0; -x_27 = lean_box(x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_23); -return x_28; -} -else -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_25, 0); -lean_inc(x_29); -lean_dec(x_25); -if (lean_obj_tag(x_29) == 5) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -lean_dec(x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_ctor_get(x_31, 2); -lean_inc(x_32); -lean_dec(x_31); -x_33 = l_Lean_isInductivePredicate_visit(x_32); -lean_dec(x_32); -x_34 = lean_box(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_23); -return x_35; -} -else -{ -uint8_t x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_29); -x_36 = 0; -x_37 = lean_box(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_23); -return x_38; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___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* x_9) { _start: { uint8_t x_10; @@ -17498,7 +17369,7 @@ return x_33; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -17554,7 +17425,7 @@ x_21 = 0; x_22 = lean_usize_of_nat(x_11); lean_dec(x_11); lean_inc(x_2); -x_23 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_2, x_1, x_21, x_22, x_6, x_7, x_8, x_9, x_10); +x_23 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_2, x_1, x_21, x_22, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_23) == 0) { lean_object* x_24; uint8_t x_25; @@ -17653,7 +17524,7 @@ return x_41; } } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__1() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -17661,16 +17532,16 @@ x_1 = lean_mk_string("could not find below term in the local context"); return x_1; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__2() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__1; +x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__3() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__3() { _start: { lean_object* x_1; @@ -17678,16 +17549,16 @@ x_1 = lean_mk_string("Found below term in the local context: "); return x_1; } } -static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__4() { +static lean_object* _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__3; +x_1 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -17783,7 +17654,7 @@ else { lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_dec(x_18); -x_22 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__2; +x_22 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__2; x_23 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_3, x_22, x_7, x_8, x_9, x_10, x_20); lean_dec(x_10); lean_dec(x_9); @@ -17863,7 +17734,7 @@ if (x_41 == 0) lean_object* x_43; lean_object* x_44; lean_dec(x_3); x_43 = lean_box(0); -x_44 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__1(x_4, x_1, x_5, x_2, x_43, x_7, x_8, x_9, x_10, x_42); +x_44 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__1(x_4, x_1, x_5, x_2, x_43, x_7, x_8, x_9, x_10, x_42); lean_dec(x_4); return x_44; } @@ -17873,7 +17744,7 @@ lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean lean_inc(x_1); x_45 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_45, 0, x_1); -x_46 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__4; +x_46 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__4; x_47 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); @@ -17887,7 +17758,7 @@ lean_inc(x_51); x_52 = lean_ctor_get(x_50, 1); lean_inc(x_52); lean_dec(x_50); -x_53 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__1(x_4, x_1, x_5, x_2, x_51, x_7, x_8, x_9, x_10, x_52); +x_53 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__1(x_4, x_1, x_5, x_2, x_51, x_7, x_8, x_9, x_10, x_52); lean_dec(x_51); lean_dec(x_4); return x_53; @@ -17928,7 +17799,7 @@ return x_69; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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, lean_object* x_12) { _start: { switch (lean_obj_tag(x_5)) { @@ -17978,11 +17849,18 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_17, 0); lean_inc(x_19); lean_dec(x_17); -x_20 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_15, x_8, x_9, x_10, x_11, x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_20 = l_Lean_Meta_isInductivePredicate(x_15, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; uint8_t x_22; x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); x_22 = lean_unbox(x_21); @@ -18095,7 +17973,7 @@ if (x_37 == 0) lean_object* x_39; lean_object* x_40; x_39 = lean_box(0); lean_inc(x_3); -x_40 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_34, x_3, x_36, x_1, x_19, x_39, x_8, x_9, x_10, x_11, x_38); +x_40 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_34, x_3, x_36, x_1, x_19, x_39, x_8, x_9, x_10, x_11, x_38); if (lean_obj_tag(x_40) == 0) { lean_dec(x_3); @@ -18160,7 +18038,7 @@ x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); lean_dec(x_53); lean_inc(x_3); -x_56 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_34, x_3, x_36, x_1, x_19, x_54, x_8, x_9, x_10, x_11, x_55); +x_56 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_34, x_3, x_36, x_1, x_19, x_54, x_8, x_9, x_10, x_11, x_55); if (lean_obj_tag(x_56) == 0) { lean_dec(x_3); @@ -18258,41 +18136,49 @@ return x_80; } } } -} -} -case 1: +else { -lean_object* x_81; -lean_dec(x_7); -lean_dec(x_6); -x_81 = l_Lean_Expr_constName_x3f(x_5); -lean_dec(x_5); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; +uint8_t x_81; +lean_dec(x_19); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_3); -lean_ctor_set(x_82, 1, x_12); -return x_82; +x_81 = !lean_is_exclusive(x_20); +if (x_81 == 0) +{ +return x_20; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_81, 0); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_20, 0); +x_83 = lean_ctor_get(x_20, 1); lean_inc(x_83); -lean_dec(x_81); -x_84 = lean_unsigned_to_nat(0u); -x_85 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_84); +lean_inc(x_82); +lean_dec(x_20); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +} +} +case 1: +{ +lean_object* x_85; +lean_dec(x_7); +lean_dec(x_6); +x_85 = l_Lean_Expr_constName_x3f(x_5); +lean_dec(x_5); if (lean_obj_tag(x_85) == 0) { lean_object* x_86; -lean_dec(x_83); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -18306,18 +18192,15 @@ return x_86; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; +lean_object* x_87; lean_object* x_88; lean_object* x_89; x_87 = lean_ctor_get(x_85, 0); lean_inc(x_87); lean_dec(x_85); -x_88 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_83, x_8, x_9, x_10, x_11, x_12); -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_unbox(x_89); -lean_dec(x_89); -if (x_90 == 0) +x_88 = lean_unsigned_to_nat(0u); +x_89 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_88); +if (lean_obj_tag(x_89) == 0) { -uint8_t x_91; +lean_object* x_90; lean_dec(x_87); lean_dec(x_11); lean_dec(x_10); @@ -18325,227 +18208,227 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_91 = !lean_is_exclusive(x_88); -if (x_91 == 0) -{ -lean_object* x_92; -x_92 = lean_ctor_get(x_88, 0); -lean_dec(x_92); -lean_ctor_set(x_88, 0, x_3); -return x_88; +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_3); +lean_ctor_set(x_90, 1, x_12); +return x_90; } else { -lean_object* x_93; lean_object* x_94; -x_93 = lean_ctor_get(x_88, 1); +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_89, 0); +lean_inc(x_91); +lean_dec(x_89); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_92 = l_Lean_Meta_isInductivePredicate(x_87, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; uint8_t x_94; +x_93 = lean_ctor_get(x_92, 0); lean_inc(x_93); -lean_dec(x_88); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_3); -lean_ctor_set(x_94, 1, x_93); -return x_94; -} -} -else +x_94 = lean_unbox(x_93); +lean_dec(x_93); +if (x_94 == 0) { -lean_object* x_95; lean_object* x_96; -x_95 = lean_ctor_get(x_88, 1); -lean_inc(x_95); -lean_dec(x_88); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_87); -lean_inc(x_1); -x_96 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_87, x_8, x_9, x_10, x_11, x_95); -if (lean_obj_tag(x_96) == 0) -{ -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; lean_object* x_106; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_ctor_get(x_97, 1); -lean_inc(x_99); -lean_dec(x_97); -x_100 = lean_box(0); -lean_inc(x_8); -x_101 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_99, x_100, x_8, x_9, x_10, x_11, x_98); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); -x_104 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_134 = lean_st_ref_get(x_11, x_103); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_135, 3); -lean_inc(x_136); -lean_dec(x_135); -x_137 = lean_ctor_get_uint8(x_136, sizeof(void*)*1); -lean_dec(x_136); -if (x_137 == 0) -{ -lean_object* x_138; uint8_t x_139; -x_138 = lean_ctor_get(x_134, 1); -lean_inc(x_138); -lean_dec(x_134); -x_139 = 0; -x_105 = x_139; -x_106 = x_138; -goto block_133; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; -x_140 = lean_ctor_get(x_134, 1); -lean_inc(x_140); -lean_dec(x_134); -x_141 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_104, x_8, x_9, x_10, x_11, x_140); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -lean_dec(x_141); -x_144 = lean_unbox(x_142); -lean_dec(x_142); -x_105 = x_144; -x_106 = x_143; -goto block_133; -} -block_133: -{ -if (x_105 == 0) -{ -lean_object* x_107; lean_object* x_108; -x_107 = lean_box(0); -lean_inc(x_3); -x_108 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_102, x_3, x_104, x_1, x_87, x_107, x_8, x_9, x_10, x_11, x_106); -if (lean_obj_tag(x_108) == 0) -{ -lean_dec(x_3); -return x_108; -} -else -{ -uint8_t x_109; -x_109 = !lean_is_exclusive(x_108); -if (x_109 == 0) -{ -lean_object* x_110; -x_110 = lean_ctor_get(x_108, 0); -lean_dec(x_110); -lean_ctor_set_tag(x_108, 0); -lean_ctor_set(x_108, 0, x_3); -return x_108; -} -else -{ -lean_object* x_111; lean_object* x_112; -x_111 = lean_ctor_get(x_108, 1); -lean_inc(x_111); -lean_dec(x_108); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_3); -lean_ctor_set(x_112, 1, x_111); -return x_112; -} -} -} -else -{ -lean_object* x_113; lean_object* x_114; -x_113 = l_Lean_Expr_mvarId_x21(x_102); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_114 = l_Lean_Meta_ppGoal(x_113, x_8, x_9, x_10, x_11, x_106); -if (lean_obj_tag(x_114) == 0) -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -lean_dec(x_114); -x_117 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_117, 0, x_115); -x_118 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_119 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_117); -x_120 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_120, 0, x_119); -lean_ctor_set(x_120, 1, x_118); -x_121 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_104, x_120, x_8, x_9, x_10, x_11, x_116); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -lean_inc(x_3); -x_124 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_102, x_3, x_104, x_1, x_87, x_122, x_8, x_9, x_10, x_11, x_123); -if (lean_obj_tag(x_124) == 0) -{ -lean_dec(x_3); -return x_124; -} -else -{ -uint8_t x_125; -x_125 = !lean_is_exclusive(x_124); -if (x_125 == 0) -{ -lean_object* x_126; -x_126 = lean_ctor_get(x_124, 0); -lean_dec(x_126); -lean_ctor_set_tag(x_124, 0); -lean_ctor_set(x_124, 0, x_3); -return x_124; -} -else -{ -lean_object* x_127; lean_object* x_128; -x_127 = lean_ctor_get(x_124, 1); -lean_inc(x_127); -lean_dec(x_124); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_3); -lean_ctor_set(x_128, 1, x_127); -return x_128; -} -} -} -else -{ -uint8_t x_129; -lean_dec(x_102); -lean_dec(x_87); +uint8_t x_95; +lean_dec(x_91); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_2); lean_dec(x_1); -x_129 = !lean_is_exclusive(x_114); +x_95 = !lean_is_exclusive(x_92); +if (x_95 == 0) +{ +lean_object* x_96; +x_96 = lean_ctor_get(x_92, 0); +lean_dec(x_96); +lean_ctor_set(x_92, 0, x_3); +return x_92; +} +else +{ +lean_object* x_97; lean_object* x_98; +x_97 = lean_ctor_get(x_92, 1); +lean_inc(x_97); +lean_dec(x_92); +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_3); +lean_ctor_set(x_98, 1, x_97); +return x_98; +} +} +else +{ +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_92, 1); +lean_inc(x_99); +lean_dec(x_92); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_91); +lean_inc(x_1); +x_100 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_91, x_8, x_9, x_10, x_11, x_99); +if (lean_obj_tag(x_100) == 0) +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; lean_object* x_110; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_100, 1); +lean_inc(x_102); +lean_dec(x_100); +x_103 = lean_ctor_get(x_101, 1); +lean_inc(x_103); +lean_dec(x_101); +x_104 = lean_box(0); +lean_inc(x_8); +x_105 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_103, x_104, x_8, x_9, x_10, x_11, x_102); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_138 = lean_st_ref_get(x_11, x_107); +x_139 = lean_ctor_get(x_138, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_139, 3); +lean_inc(x_140); +lean_dec(x_139); +x_141 = lean_ctor_get_uint8(x_140, sizeof(void*)*1); +lean_dec(x_140); +if (x_141 == 0) +{ +lean_object* x_142; uint8_t x_143; +x_142 = lean_ctor_get(x_138, 1); +lean_inc(x_142); +lean_dec(x_138); +x_143 = 0; +x_109 = x_143; +x_110 = x_142; +goto block_137; +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; +x_144 = lean_ctor_get(x_138, 1); +lean_inc(x_144); +lean_dec(x_138); +x_145 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_108, x_8, x_9, x_10, x_11, x_144); +x_146 = lean_ctor_get(x_145, 0); +lean_inc(x_146); +x_147 = lean_ctor_get(x_145, 1); +lean_inc(x_147); +lean_dec(x_145); +x_148 = lean_unbox(x_146); +lean_dec(x_146); +x_109 = x_148; +x_110 = x_147; +goto block_137; +} +block_137: +{ +if (x_109 == 0) +{ +lean_object* x_111; lean_object* x_112; +x_111 = lean_box(0); +lean_inc(x_3); +x_112 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_106, x_3, x_108, x_1, x_91, x_111, x_8, x_9, x_10, x_11, x_110); +if (lean_obj_tag(x_112) == 0) +{ +lean_dec(x_3); +return x_112; +} +else +{ +uint8_t x_113; +x_113 = !lean_is_exclusive(x_112); +if (x_113 == 0) +{ +lean_object* x_114; +x_114 = lean_ctor_get(x_112, 0); +lean_dec(x_114); +lean_ctor_set_tag(x_112, 0); +lean_ctor_set(x_112, 0, x_3); +return x_112; +} +else +{ +lean_object* x_115; lean_object* x_116; +x_115 = lean_ctor_get(x_112, 1); +lean_inc(x_115); +lean_dec(x_112); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_3); +lean_ctor_set(x_116, 1, x_115); +return x_116; +} +} +} +else +{ +lean_object* x_117; lean_object* x_118; +x_117 = l_Lean_Expr_mvarId_x21(x_106); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_118 = l_Lean_Meta_ppGoal(x_117, x_8, x_9, x_10, x_11, x_110); +if (lean_obj_tag(x_118) == 0) +{ +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; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); +lean_dec(x_118); +x_121 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_121, 0, x_119); +x_122 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_123 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_121); +x_124 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +x_125 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_108, x_124, x_8, x_9, x_10, x_11, x_120); +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +lean_inc(x_3); +x_128 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_106, x_3, x_108, x_1, x_91, x_126, x_8, x_9, x_10, x_11, x_127); +if (lean_obj_tag(x_128) == 0) +{ +lean_dec(x_3); +return x_128; +} +else +{ +uint8_t x_129; +x_129 = !lean_is_exclusive(x_128); if (x_129 == 0) { lean_object* x_130; -x_130 = lean_ctor_get(x_114, 0); +x_130 = lean_ctor_get(x_128, 0); lean_dec(x_130); -lean_ctor_set_tag(x_114, 0); -lean_ctor_set(x_114, 0, x_3); -return x_114; +lean_ctor_set_tag(x_128, 0); +lean_ctor_set(x_128, 0, x_3); +return x_128; } else { lean_object* x_131; lean_object* x_132; -x_131 = lean_ctor_get(x_114, 1); +x_131 = lean_ctor_get(x_128, 1); lean_inc(x_131); -lean_dec(x_114); +lean_dec(x_128); x_132 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_132, 0, x_3); lean_ctor_set(x_132, 1, x_131); @@ -18553,364 +18436,466 @@ return x_132; } } } +else +{ +uint8_t x_133; +lean_dec(x_106); +lean_dec(x_91); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_133 = !lean_is_exclusive(x_118); +if (x_133 == 0) +{ +lean_object* x_134; +x_134 = lean_ctor_get(x_118, 0); +lean_dec(x_134); +lean_ctor_set_tag(x_118, 0); +lean_ctor_set(x_118, 0, x_3); +return x_118; +} +else +{ +lean_object* x_135; lean_object* x_136; +x_135 = lean_ctor_get(x_118, 1); +lean_inc(x_135); +lean_dec(x_118); +x_136 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_136, 0, x_3); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +} +} } } else { -uint8_t x_145; -lean_dec(x_87); +uint8_t x_149; +lean_dec(x_91); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_145 = !lean_is_exclusive(x_96); -if (x_145 == 0) +x_149 = !lean_is_exclusive(x_100); +if (x_149 == 0) { -return x_96; +return x_100; } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_96, 0); -x_147 = lean_ctor_get(x_96, 1); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_96); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -return x_148; +lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_150 = lean_ctor_get(x_100, 0); +x_151 = lean_ctor_get(x_100, 1); +lean_inc(x_151); +lean_inc(x_150); +lean_dec(x_100); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_150); +lean_ctor_set(x_152, 1, x_151); +return x_152; } } } } +else +{ +uint8_t x_153; +lean_dec(x_91); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_153 = !lean_is_exclusive(x_92); +if (x_153 == 0) +{ +return x_92; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_92, 0); +x_155 = lean_ctor_get(x_92, 1); +lean_inc(x_155); +lean_inc(x_154); +lean_dec(x_92); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_154); +lean_ctor_set(x_156, 1, x_155); +return x_156; +} +} +} } } case 2: { -lean_object* x_149; +lean_object* x_157; lean_dec(x_7); lean_dec(x_6); -x_149 = l_Lean_Expr_constName_x3f(x_5); +x_157 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_149) == 0) +if (lean_obj_tag(x_157) == 0) { -lean_object* x_150; +lean_object* x_158; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_3); -lean_ctor_set(x_150, 1, x_12); -return x_150; +x_158 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_158, 0, x_3); +lean_ctor_set(x_158, 1, x_12); +return x_158; } else { -lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_151 = lean_ctor_get(x_149, 0); -lean_inc(x_151); -lean_dec(x_149); -x_152 = lean_unsigned_to_nat(0u); -x_153 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_152); -if (lean_obj_tag(x_153) == 0) -{ -lean_object* x_154; -lean_dec(x_151); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_154 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_154, 0, x_3); -lean_ctor_set(x_154, 1, x_12); -return x_154; -} -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_155 = lean_ctor_get(x_153, 0); -lean_inc(x_155); -lean_dec(x_153); -x_156 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_151, x_8, x_9, x_10, x_11, x_12); -x_157 = lean_ctor_get(x_156, 0); -lean_inc(x_157); -x_158 = lean_unbox(x_157); +lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_159 = lean_ctor_get(x_157, 0); +lean_inc(x_159); lean_dec(x_157); -if (x_158 == 0) +x_160 = lean_unsigned_to_nat(0u); +x_161 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_160); +if (lean_obj_tag(x_161) == 0) { -uint8_t x_159; -lean_dec(x_155); +lean_object* x_162; +lean_dec(x_159); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_159 = !lean_is_exclusive(x_156); -if (x_159 == 0) -{ -lean_object* x_160; -x_160 = lean_ctor_get(x_156, 0); -lean_dec(x_160); -lean_ctor_set(x_156, 0, x_3); -return x_156; -} -else -{ -lean_object* x_161; lean_object* x_162; -x_161 = lean_ctor_get(x_156, 1); -lean_inc(x_161); -lean_dec(x_156); x_162 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_162, 0, x_3); -lean_ctor_set(x_162, 1, x_161); +lean_ctor_set(x_162, 1, x_12); return x_162; } -} else { lean_object* x_163; lean_object* x_164; -x_163 = lean_ctor_get(x_156, 1); +x_163 = lean_ctor_get(x_161, 0); lean_inc(x_163); -lean_dec(x_156); +lean_dec(x_161); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_155); -lean_inc(x_1); -x_164 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_155, x_8, x_9, x_10, x_11, x_163); +x_164 = l_Lean_Meta_isInductivePredicate(x_159, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_164) == 0) { -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; uint8_t x_173; lean_object* x_174; lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +lean_object* x_165; uint8_t x_166; x_165 = lean_ctor_get(x_164, 0); lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); -lean_dec(x_164); -x_167 = lean_ctor_get(x_165, 1); -lean_inc(x_167); +x_166 = lean_unbox(x_165); lean_dec(x_165); -x_168 = lean_box(0); -lean_inc(x_8); -x_169 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_167, x_168, x_8, x_9, x_10, x_11, x_166); -x_170 = lean_ctor_get(x_169, 0); -lean_inc(x_170); -x_171 = lean_ctor_get(x_169, 1); +if (x_166 == 0) +{ +uint8_t x_167; +lean_dec(x_163); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_167 = !lean_is_exclusive(x_164); +if (x_167 == 0) +{ +lean_object* x_168; +x_168 = lean_ctor_get(x_164, 0); +lean_dec(x_168); +lean_ctor_set(x_164, 0, x_3); +return x_164; +} +else +{ +lean_object* x_169; lean_object* x_170; +x_169 = lean_ctor_get(x_164, 1); +lean_inc(x_169); +lean_dec(x_164); +x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_170, 0, x_3); +lean_ctor_set(x_170, 1, x_169); +return x_170; +} +} +else +{ +lean_object* x_171; lean_object* x_172; +x_171 = lean_ctor_get(x_164, 1); lean_inc(x_171); -lean_dec(x_169); -x_172 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_202 = lean_st_ref_get(x_11, x_171); -x_203 = lean_ctor_get(x_202, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_203, 3); -lean_inc(x_204); -lean_dec(x_203); -x_205 = lean_ctor_get_uint8(x_204, sizeof(void*)*1); -lean_dec(x_204); -if (x_205 == 0) -{ -lean_object* x_206; uint8_t x_207; -x_206 = lean_ctor_get(x_202, 1); -lean_inc(x_206); -lean_dec(x_202); -x_207 = 0; -x_173 = x_207; -x_174 = x_206; -goto block_201; -} -else -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; -x_208 = lean_ctor_get(x_202, 1); -lean_inc(x_208); -lean_dec(x_202); -x_209 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_172, x_8, x_9, x_10, x_11, x_208); -x_210 = lean_ctor_get(x_209, 0); -lean_inc(x_210); -x_211 = lean_ctor_get(x_209, 1); -lean_inc(x_211); -lean_dec(x_209); -x_212 = lean_unbox(x_210); -lean_dec(x_210); -x_173 = x_212; -x_174 = x_211; -goto block_201; -} -block_201: -{ -if (x_173 == 0) -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_box(0); -lean_inc(x_3); -x_176 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_170, x_3, x_172, x_1, x_155, x_175, x_8, x_9, x_10, x_11, x_174); -if (lean_obj_tag(x_176) == 0) -{ -lean_dec(x_3); -return x_176; -} -else -{ -uint8_t x_177; -x_177 = !lean_is_exclusive(x_176); -if (x_177 == 0) -{ -lean_object* x_178; -x_178 = lean_ctor_get(x_176, 0); -lean_dec(x_178); -lean_ctor_set_tag(x_176, 0); -lean_ctor_set(x_176, 0, x_3); -return x_176; -} -else -{ -lean_object* x_179; lean_object* x_180; -x_179 = lean_ctor_get(x_176, 1); -lean_inc(x_179); -lean_dec(x_176); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_3); -lean_ctor_set(x_180, 1, x_179); -return x_180; -} -} -} -else -{ -lean_object* x_181; lean_object* x_182; -x_181 = l_Lean_Expr_mvarId_x21(x_170); +lean_dec(x_164); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_182 = l_Lean_Meta_ppGoal(x_181, x_8, x_9, x_10, x_11, x_174); -if (lean_obj_tag(x_182) == 0) +lean_inc(x_163); +lean_inc(x_1); +x_172 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_163, x_8, x_9, x_10, x_11, x_171); +if (lean_obj_tag(x_172) == 0) { -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; -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_182, 1); -lean_inc(x_184); -lean_dec(x_182); -x_185 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_185, 0, x_183); -x_186 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_187 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_185); -x_188 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_186); -x_189 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_172, x_188, x_8, x_9, x_10, x_11, x_184); -x_190 = lean_ctor_get(x_189, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_189, 1); -lean_inc(x_191); -lean_dec(x_189); +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; uint8_t x_181; lean_object* x_182; lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213; +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); +lean_dec(x_172); +x_175 = lean_ctor_get(x_173, 1); +lean_inc(x_175); +lean_dec(x_173); +x_176 = lean_box(0); +lean_inc(x_8); +x_177 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_175, x_176, x_8, x_9, x_10, x_11, x_174); +x_178 = lean_ctor_get(x_177, 0); +lean_inc(x_178); +x_179 = lean_ctor_get(x_177, 1); +lean_inc(x_179); +lean_dec(x_177); +x_180 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_210 = lean_st_ref_get(x_11, x_179); +x_211 = lean_ctor_get(x_210, 0); +lean_inc(x_211); +x_212 = lean_ctor_get(x_211, 3); +lean_inc(x_212); +lean_dec(x_211); +x_213 = lean_ctor_get_uint8(x_212, sizeof(void*)*1); +lean_dec(x_212); +if (x_213 == 0) +{ +lean_object* x_214; uint8_t x_215; +x_214 = lean_ctor_get(x_210, 1); +lean_inc(x_214); +lean_dec(x_210); +x_215 = 0; +x_181 = x_215; +x_182 = x_214; +goto block_209; +} +else +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; +x_216 = lean_ctor_get(x_210, 1); +lean_inc(x_216); +lean_dec(x_210); +x_217 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_180, x_8, x_9, x_10, x_11, x_216); +x_218 = lean_ctor_get(x_217, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_217, 1); +lean_inc(x_219); +lean_dec(x_217); +x_220 = lean_unbox(x_218); +lean_dec(x_218); +x_181 = x_220; +x_182 = x_219; +goto block_209; +} +block_209: +{ +if (x_181 == 0) +{ +lean_object* x_183; lean_object* x_184; +x_183 = lean_box(0); lean_inc(x_3); -x_192 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_170, x_3, x_172, x_1, x_155, x_190, x_8, x_9, x_10, x_11, x_191); -if (lean_obj_tag(x_192) == 0) +x_184 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_178, x_3, x_180, x_1, x_163, x_183, x_8, x_9, x_10, x_11, x_182); +if (lean_obj_tag(x_184) == 0) { lean_dec(x_3); -return x_192; +return x_184; } else { -uint8_t x_193; -x_193 = !lean_is_exclusive(x_192); -if (x_193 == 0) +uint8_t x_185; +x_185 = !lean_is_exclusive(x_184); +if (x_185 == 0) { -lean_object* x_194; -x_194 = lean_ctor_get(x_192, 0); -lean_dec(x_194); -lean_ctor_set_tag(x_192, 0); -lean_ctor_set(x_192, 0, x_3); -return x_192; +lean_object* x_186; +x_186 = lean_ctor_get(x_184, 0); +lean_dec(x_186); +lean_ctor_set_tag(x_184, 0); +lean_ctor_set(x_184, 0, x_3); +return x_184; } else { -lean_object* x_195; lean_object* x_196; -x_195 = lean_ctor_get(x_192, 1); -lean_inc(x_195); -lean_dec(x_192); -x_196 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_196, 0, x_3); -lean_ctor_set(x_196, 1, x_195); -return x_196; +lean_object* x_187; lean_object* x_188; +x_187 = lean_ctor_get(x_184, 1); +lean_inc(x_187); +lean_dec(x_184); +x_188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_188, 0, x_3); +lean_ctor_set(x_188, 1, x_187); +return x_188; } } } else { -uint8_t x_197; -lean_dec(x_170); -lean_dec(x_155); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_197 = !lean_is_exclusive(x_182); -if (x_197 == 0) +lean_object* x_189; lean_object* x_190; +x_189 = l_Lean_Expr_mvarId_x21(x_178); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_190 = l_Lean_Meta_ppGoal(x_189, x_8, x_9, x_10, x_11, x_182); +if (lean_obj_tag(x_190) == 0) { -lean_object* x_198; -x_198 = lean_ctor_get(x_182, 0); -lean_dec(x_198); -lean_ctor_set_tag(x_182, 0); -lean_ctor_set(x_182, 0, x_3); -return x_182; -} -else -{ -lean_object* x_199; lean_object* x_200; -x_199 = lean_ctor_get(x_182, 1); +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; +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +x_192 = lean_ctor_get(x_190, 1); +lean_inc(x_192); +lean_dec(x_190); +x_193 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_193, 0, x_191); +x_194 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_195 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_193); +x_196 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set(x_196, 1, x_194); +x_197 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_180, x_196, x_8, x_9, x_10, x_11, x_192); +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_182); -x_200 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_200, 0, x_3); -lean_ctor_set(x_200, 1, x_199); +lean_dec(x_197); +lean_inc(x_3); +x_200 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_178, x_3, x_180, x_1, x_163, x_198, x_8, x_9, x_10, x_11, x_199); +if (lean_obj_tag(x_200) == 0) +{ +lean_dec(x_3); return x_200; } +else +{ +uint8_t x_201; +x_201 = !lean_is_exclusive(x_200); +if (x_201 == 0) +{ +lean_object* x_202; +x_202 = lean_ctor_get(x_200, 0); +lean_dec(x_202); +lean_ctor_set_tag(x_200, 0); +lean_ctor_set(x_200, 0, x_3); +return x_200; +} +else +{ +lean_object* x_203; lean_object* x_204; +x_203 = lean_ctor_get(x_200, 1); +lean_inc(x_203); +lean_dec(x_200); +x_204 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_204, 0, x_3); +lean_ctor_set(x_204, 1, x_203); +return x_204; +} +} +} +else +{ +uint8_t x_205; +lean_dec(x_178); +lean_dec(x_163); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_205 = !lean_is_exclusive(x_190); +if (x_205 == 0) +{ +lean_object* x_206; +x_206 = lean_ctor_get(x_190, 0); +lean_dec(x_206); +lean_ctor_set_tag(x_190, 0); +lean_ctor_set(x_190, 0, x_3); +return x_190; +} +else +{ +lean_object* x_207; lean_object* x_208; +x_207 = lean_ctor_get(x_190, 1); +lean_inc(x_207); +lean_dec(x_190); +x_208 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_208, 0, x_3); +lean_ctor_set(x_208, 1, x_207); +return x_208; +} } } } } else { -uint8_t x_213; -lean_dec(x_155); +uint8_t x_221; +lean_dec(x_163); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_213 = !lean_is_exclusive(x_164); -if (x_213 == 0) +x_221 = !lean_is_exclusive(x_172); +if (x_221 == 0) +{ +return x_172; +} +else +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; +x_222 = lean_ctor_get(x_172, 0); +x_223 = lean_ctor_get(x_172, 1); +lean_inc(x_223); +lean_inc(x_222); +lean_dec(x_172); +x_224 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_224, 0, x_222); +lean_ctor_set(x_224, 1, x_223); +return x_224; +} +} +} +} +else +{ +uint8_t x_225; +lean_dec(x_163); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_225 = !lean_is_exclusive(x_164); +if (x_225 == 0) { return x_164; } else { -lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_214 = lean_ctor_get(x_164, 0); -x_215 = lean_ctor_get(x_164, 1); -lean_inc(x_215); -lean_inc(x_214); +lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_226 = lean_ctor_get(x_164, 0); +x_227 = lean_ctor_get(x_164, 1); +lean_inc(x_227); +lean_inc(x_226); lean_dec(x_164); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_214); -lean_ctor_set(x_216, 1, x_215); -return x_216; -} +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; } } } @@ -18918,327 +18903,365 @@ return x_216; } case 3: { -lean_object* x_217; +lean_object* x_229; lean_dec(x_7); lean_dec(x_6); -x_217 = l_Lean_Expr_constName_x3f(x_5); +x_229 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_217) == 0) +if (lean_obj_tag(x_229) == 0) { -lean_object* x_218; +lean_object* x_230; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_3); -lean_ctor_set(x_218, 1, x_12); -return x_218; -} -else -{ -lean_object* x_219; lean_object* x_220; lean_object* x_221; -x_219 = lean_ctor_get(x_217, 0); -lean_inc(x_219); -lean_dec(x_217); -x_220 = lean_unsigned_to_nat(0u); -x_221 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_220); -if (lean_obj_tag(x_221) == 0) -{ -lean_object* x_222; -lean_dec(x_219); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_222 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_222, 0, x_3); -lean_ctor_set(x_222, 1, x_12); -return x_222; -} -else -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; -x_223 = lean_ctor_get(x_221, 0); -lean_inc(x_223); -lean_dec(x_221); -x_224 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_219, x_8, x_9, x_10, x_11, x_12); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -x_226 = lean_unbox(x_225); -lean_dec(x_225); -if (x_226 == 0) -{ -uint8_t x_227; -lean_dec(x_223); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_227 = !lean_is_exclusive(x_224); -if (x_227 == 0) -{ -lean_object* x_228; -x_228 = lean_ctor_get(x_224, 0); -lean_dec(x_228); -lean_ctor_set(x_224, 0, x_3); -return x_224; -} -else -{ -lean_object* x_229; lean_object* x_230; -x_229 = lean_ctor_get(x_224, 1); -lean_inc(x_229); -lean_dec(x_224); x_230 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_230, 0, x_3); -lean_ctor_set(x_230, 1, x_229); +lean_ctor_set(x_230, 1, x_12); return x_230; } +else +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; +x_231 = lean_ctor_get(x_229, 0); +lean_inc(x_231); +lean_dec(x_229); +x_232 = lean_unsigned_to_nat(0u); +x_233 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_232); +if (lean_obj_tag(x_233) == 0) +{ +lean_object* x_234; +lean_dec(x_231); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_234 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_234, 0, x_3); +lean_ctor_set(x_234, 1, x_12); +return x_234; } else { -lean_object* x_231; lean_object* x_232; -x_231 = lean_ctor_get(x_224, 1); -lean_inc(x_231); -lean_dec(x_224); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_223); -lean_inc(x_1); -x_232 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_223, x_8, x_9, x_10, x_11, x_231); -if (lean_obj_tag(x_232) == 0) -{ -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; uint8_t x_241; lean_object* x_242; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; -x_233 = lean_ctor_get(x_232, 0); -lean_inc(x_233); -x_234 = lean_ctor_get(x_232, 1); -lean_inc(x_234); -lean_dec(x_232); -x_235 = lean_ctor_get(x_233, 1); +lean_object* x_235; lean_object* x_236; +x_235 = lean_ctor_get(x_233, 0); lean_inc(x_235); lean_dec(x_233); -x_236 = lean_box(0); -lean_inc(x_8); -x_237 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_235, x_236, x_8, x_9, x_10, x_11, x_234); -x_238 = lean_ctor_get(x_237, 0); -lean_inc(x_238); -x_239 = lean_ctor_get(x_237, 1); -lean_inc(x_239); -lean_dec(x_237); -x_240 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_270 = lean_st_ref_get(x_11, x_239); -x_271 = lean_ctor_get(x_270, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_271, 3); -lean_inc(x_272); -lean_dec(x_271); -x_273 = lean_ctor_get_uint8(x_272, sizeof(void*)*1); -lean_dec(x_272); -if (x_273 == 0) -{ -lean_object* x_274; uint8_t x_275; -x_274 = lean_ctor_get(x_270, 1); -lean_inc(x_274); -lean_dec(x_270); -x_275 = 0; -x_241 = x_275; -x_242 = x_274; -goto block_269; -} -else -{ -lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; uint8_t x_280; -x_276 = lean_ctor_get(x_270, 1); -lean_inc(x_276); -lean_dec(x_270); -x_277 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_240, x_8, x_9, x_10, x_11, x_276); -x_278 = lean_ctor_get(x_277, 0); -lean_inc(x_278); -x_279 = lean_ctor_get(x_277, 1); -lean_inc(x_279); -lean_dec(x_277); -x_280 = lean_unbox(x_278); -lean_dec(x_278); -x_241 = x_280; -x_242 = x_279; -goto block_269; -} -block_269: -{ -if (x_241 == 0) -{ -lean_object* x_243; lean_object* x_244; -x_243 = lean_box(0); -lean_inc(x_3); -x_244 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_238, x_3, x_240, x_1, x_223, x_243, x_8, x_9, x_10, x_11, x_242); -if (lean_obj_tag(x_244) == 0) -{ -lean_dec(x_3); -return x_244; -} -else -{ -uint8_t x_245; -x_245 = !lean_is_exclusive(x_244); -if (x_245 == 0) -{ -lean_object* x_246; -x_246 = lean_ctor_get(x_244, 0); -lean_dec(x_246); -lean_ctor_set_tag(x_244, 0); -lean_ctor_set(x_244, 0, x_3); -return x_244; -} -else -{ -lean_object* x_247; lean_object* x_248; -x_247 = lean_ctor_get(x_244, 1); -lean_inc(x_247); -lean_dec(x_244); -x_248 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_248, 0, x_3); -lean_ctor_set(x_248, 1, x_247); -return x_248; -} -} -} -else -{ -lean_object* x_249; lean_object* x_250; -x_249 = l_Lean_Expr_mvarId_x21(x_238); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_250 = l_Lean_Meta_ppGoal(x_249, x_8, x_9, x_10, x_11, x_242); -if (lean_obj_tag(x_250) == 0) +x_236 = l_Lean_Meta_isInductivePredicate(x_231, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_236) == 0) { -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; -x_251 = lean_ctor_get(x_250, 0); +lean_object* x_237; uint8_t x_238; +x_237 = lean_ctor_get(x_236, 0); +lean_inc(x_237); +x_238 = lean_unbox(x_237); +lean_dec(x_237); +if (x_238 == 0) +{ +uint8_t x_239; +lean_dec(x_235); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_239 = !lean_is_exclusive(x_236); +if (x_239 == 0) +{ +lean_object* x_240; +x_240 = lean_ctor_get(x_236, 0); +lean_dec(x_240); +lean_ctor_set(x_236, 0, x_3); +return x_236; +} +else +{ +lean_object* x_241; lean_object* x_242; +x_241 = lean_ctor_get(x_236, 1); +lean_inc(x_241); +lean_dec(x_236); +x_242 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_242, 0, x_3); +lean_ctor_set(x_242, 1, x_241); +return x_242; +} +} +else +{ +lean_object* x_243; lean_object* x_244; +x_243 = lean_ctor_get(x_236, 1); +lean_inc(x_243); +lean_dec(x_236); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_235); +lean_inc(x_1); +x_244 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_235, x_8, x_9, x_10, x_11, x_243); +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; lean_object* x_250; lean_object* x_251; lean_object* x_252; uint8_t x_253; lean_object* x_254; lean_object* x_282; lean_object* x_283; lean_object* x_284; uint8_t x_285; +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_ctor_get(x_245, 1); +lean_inc(x_247); +lean_dec(x_245); +x_248 = lean_box(0); +lean_inc(x_8); +x_249 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_247, x_248, x_8, x_9, x_10, x_11, x_246); +x_250 = lean_ctor_get(x_249, 0); +lean_inc(x_250); +x_251 = lean_ctor_get(x_249, 1); lean_inc(x_251); -x_252 = lean_ctor_get(x_250, 1); -lean_inc(x_252); -lean_dec(x_250); -x_253 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_253, 0, x_251); -x_254 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_255 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_255, 0, x_254); -lean_ctor_set(x_255, 1, x_253); -x_256 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_256, 0, x_255); -lean_ctor_set(x_256, 1, x_254); -x_257 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_240, x_256, x_8, x_9, x_10, x_11, x_252); -x_258 = lean_ctor_get(x_257, 0); -lean_inc(x_258); -x_259 = lean_ctor_get(x_257, 1); -lean_inc(x_259); -lean_dec(x_257); -lean_inc(x_3); -x_260 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_238, x_3, x_240, x_1, x_223, x_258, x_8, x_9, x_10, x_11, x_259); -if (lean_obj_tag(x_260) == 0) -{ -lean_dec(x_3); -return x_260; -} -else -{ -uint8_t x_261; -x_261 = !lean_is_exclusive(x_260); -if (x_261 == 0) -{ -lean_object* x_262; -x_262 = lean_ctor_get(x_260, 0); -lean_dec(x_262); -lean_ctor_set_tag(x_260, 0); -lean_ctor_set(x_260, 0, x_3); -return x_260; -} -else -{ -lean_object* x_263; lean_object* x_264; -x_263 = lean_ctor_get(x_260, 1); -lean_inc(x_263); -lean_dec(x_260); -x_264 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_264, 0, x_3); -lean_ctor_set(x_264, 1, x_263); -return x_264; -} -} -} -else -{ -uint8_t x_265; -lean_dec(x_238); -lean_dec(x_223); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_265 = !lean_is_exclusive(x_250); -if (x_265 == 0) -{ -lean_object* x_266; -x_266 = lean_ctor_get(x_250, 0); -lean_dec(x_266); -lean_ctor_set_tag(x_250, 0); -lean_ctor_set(x_250, 0, x_3); -return x_250; -} -else -{ -lean_object* x_267; lean_object* x_268; -x_267 = lean_ctor_get(x_250, 1); -lean_inc(x_267); -lean_dec(x_250); -x_268 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_268, 0, x_3); -lean_ctor_set(x_268, 1, x_267); -return x_268; -} -} -} -} -} -else -{ -uint8_t x_281; -lean_dec(x_223); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_1); -x_281 = !lean_is_exclusive(x_232); -if (x_281 == 0) -{ -return x_232; -} -else -{ -lean_object* x_282; lean_object* x_283; lean_object* x_284; -x_282 = lean_ctor_get(x_232, 0); -x_283 = lean_ctor_get(x_232, 1); +lean_dec(x_249); +x_252 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_282 = lean_st_ref_get(x_11, x_251); +x_283 = lean_ctor_get(x_282, 0); lean_inc(x_283); -lean_inc(x_282); -lean_dec(x_232); -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_282); -lean_ctor_set(x_284, 1, x_283); -return x_284; +x_284 = lean_ctor_get(x_283, 3); +lean_inc(x_284); +lean_dec(x_283); +x_285 = lean_ctor_get_uint8(x_284, sizeof(void*)*1); +lean_dec(x_284); +if (x_285 == 0) +{ +lean_object* x_286; uint8_t x_287; +x_286 = lean_ctor_get(x_282, 1); +lean_inc(x_286); +lean_dec(x_282); +x_287 = 0; +x_253 = x_287; +x_254 = x_286; +goto block_281; } +else +{ +lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; uint8_t x_292; +x_288 = lean_ctor_get(x_282, 1); +lean_inc(x_288); +lean_dec(x_282); +x_289 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_252, x_8, x_9, x_10, x_11, x_288); +x_290 = lean_ctor_get(x_289, 0); +lean_inc(x_290); +x_291 = lean_ctor_get(x_289, 1); +lean_inc(x_291); +lean_dec(x_289); +x_292 = lean_unbox(x_290); +lean_dec(x_290); +x_253 = x_292; +x_254 = x_291; +goto block_281; +} +block_281: +{ +if (x_253 == 0) +{ +lean_object* x_255; lean_object* x_256; +x_255 = lean_box(0); +lean_inc(x_3); +x_256 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_250, x_3, x_252, x_1, x_235, x_255, x_8, x_9, x_10, x_11, x_254); +if (lean_obj_tag(x_256) == 0) +{ +lean_dec(x_3); +return x_256; +} +else +{ +uint8_t x_257; +x_257 = !lean_is_exclusive(x_256); +if (x_257 == 0) +{ +lean_object* x_258; +x_258 = lean_ctor_get(x_256, 0); +lean_dec(x_258); +lean_ctor_set_tag(x_256, 0); +lean_ctor_set(x_256, 0, x_3); +return x_256; +} +else +{ +lean_object* x_259; lean_object* x_260; +x_259 = lean_ctor_get(x_256, 1); +lean_inc(x_259); +lean_dec(x_256); +x_260 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_260, 0, x_3); +lean_ctor_set(x_260, 1, x_259); +return x_260; +} +} +} +else +{ +lean_object* x_261; lean_object* x_262; +x_261 = l_Lean_Expr_mvarId_x21(x_250); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_262 = l_Lean_Meta_ppGoal(x_261, x_8, x_9, x_10, x_11, x_254); +if (lean_obj_tag(x_262) == 0) +{ +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; +x_263 = lean_ctor_get(x_262, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_262, 1); +lean_inc(x_264); +lean_dec(x_262); +x_265 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_265, 0, x_263); +x_266 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_267 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_267, 0, x_266); +lean_ctor_set(x_267, 1, x_265); +x_268 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_268, 0, x_267); +lean_ctor_set(x_268, 1, x_266); +x_269 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_252, x_268, x_8, x_9, x_10, x_11, x_264); +x_270 = lean_ctor_get(x_269, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_269, 1); +lean_inc(x_271); +lean_dec(x_269); +lean_inc(x_3); +x_272 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_250, x_3, x_252, x_1, x_235, x_270, x_8, x_9, x_10, x_11, x_271); +if (lean_obj_tag(x_272) == 0) +{ +lean_dec(x_3); +return x_272; +} +else +{ +uint8_t x_273; +x_273 = !lean_is_exclusive(x_272); +if (x_273 == 0) +{ +lean_object* x_274; +x_274 = lean_ctor_get(x_272, 0); +lean_dec(x_274); +lean_ctor_set_tag(x_272, 0); +lean_ctor_set(x_272, 0, x_3); +return x_272; +} +else +{ +lean_object* x_275; lean_object* x_276; +x_275 = lean_ctor_get(x_272, 1); +lean_inc(x_275); +lean_dec(x_272); +x_276 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_276, 0, x_3); +lean_ctor_set(x_276, 1, x_275); +return x_276; +} +} +} +else +{ +uint8_t x_277; +lean_dec(x_250); +lean_dec(x_235); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_277 = !lean_is_exclusive(x_262); +if (x_277 == 0) +{ +lean_object* x_278; +x_278 = lean_ctor_get(x_262, 0); +lean_dec(x_278); +lean_ctor_set_tag(x_262, 0); +lean_ctor_set(x_262, 0, x_3); +return x_262; +} +else +{ +lean_object* x_279; lean_object* x_280; +x_279 = lean_ctor_get(x_262, 1); +lean_inc(x_279); +lean_dec(x_262); +x_280 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_280, 0, x_3); +lean_ctor_set(x_280, 1, x_279); +return x_280; +} +} +} +} +} +else +{ +uint8_t x_293; +lean_dec(x_235); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_1); +x_293 = !lean_is_exclusive(x_244); +if (x_293 == 0) +{ +return x_244; +} +else +{ +lean_object* x_294; lean_object* x_295; lean_object* x_296; +x_294 = lean_ctor_get(x_244, 0); +x_295 = lean_ctor_get(x_244, 1); +lean_inc(x_295); +lean_inc(x_294); +lean_dec(x_244); +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_294); +lean_ctor_set(x_296, 1, x_295); +return x_296; +} +} +} +} +else +{ +uint8_t x_297; +lean_dec(x_235); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_297 = !lean_is_exclusive(x_236); +if (x_297 == 0) +{ +return x_236; +} +else +{ +lean_object* x_298; lean_object* x_299; lean_object* x_300; +x_298 = lean_ctor_get(x_236, 0); +x_299 = lean_ctor_get(x_236, 1); +lean_inc(x_299); +lean_inc(x_298); +lean_dec(x_236); +x_300 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_300, 0, x_298); +lean_ctor_set(x_300, 1, x_299); +return x_300; } } } @@ -19246,233 +19269,175 @@ return x_284; } case 4: { -lean_object* x_285; +lean_object* x_301; lean_dec(x_7); lean_dec(x_6); -x_285 = l_Lean_Expr_constName_x3f(x_5); +x_301 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_285) == 0) +if (lean_obj_tag(x_301) == 0) { -lean_object* x_286; +lean_object* x_302; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_286 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_286, 0, x_3); -lean_ctor_set(x_286, 1, x_12); -return x_286; +x_302 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_302, 0, x_3); +lean_ctor_set(x_302, 1, x_12); +return x_302; } else { -lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_287 = lean_ctor_get(x_285, 0); -lean_inc(x_287); -lean_dec(x_285); -x_288 = lean_unsigned_to_nat(0u); -x_289 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_288); -if (lean_obj_tag(x_289) == 0) +lean_object* x_303; lean_object* x_304; lean_object* x_305; +x_303 = lean_ctor_get(x_301, 0); +lean_inc(x_303); +lean_dec(x_301); +x_304 = lean_unsigned_to_nat(0u); +x_305 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_304); +if (lean_obj_tag(x_305) == 0) { -lean_object* x_290; -lean_dec(x_287); +lean_object* x_306; +lean_dec(x_303); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_290 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_290, 0, x_3); -lean_ctor_set(x_290, 1, x_12); -return x_290; +x_306 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_306, 0, x_3); +lean_ctor_set(x_306, 1, x_12); +return x_306; } else { -lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; -x_291 = lean_ctor_get(x_289, 0); -lean_inc(x_291); -lean_dec(x_289); -x_292 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_287, x_8, x_9, x_10, x_11, x_12); -x_293 = lean_ctor_get(x_292, 0); -lean_inc(x_293); -x_294 = lean_unbox(x_293); -lean_dec(x_293); -if (x_294 == 0) -{ -uint8_t x_295; -lean_dec(x_291); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_295 = !lean_is_exclusive(x_292); -if (x_295 == 0) -{ -lean_object* x_296; -x_296 = lean_ctor_get(x_292, 0); -lean_dec(x_296); -lean_ctor_set(x_292, 0, x_3); -return x_292; -} -else -{ -lean_object* x_297; lean_object* x_298; -x_297 = lean_ctor_get(x_292, 1); -lean_inc(x_297); -lean_dec(x_292); -x_298 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_298, 0, x_3); -lean_ctor_set(x_298, 1, x_297); -return x_298; -} -} -else -{ -lean_object* x_299; lean_object* x_300; -x_299 = lean_ctor_get(x_292, 1); -lean_inc(x_299); -lean_dec(x_292); +lean_object* x_307; lean_object* x_308; +x_307 = lean_ctor_get(x_305, 0); +lean_inc(x_307); +lean_dec(x_305); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_291); -lean_inc(x_1); -x_300 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_291, x_8, x_9, x_10, x_11, x_299); -if (lean_obj_tag(x_300) == 0) +x_308 = l_Lean_Meta_isInductivePredicate(x_303, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_308) == 0) { -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; uint8_t x_309; lean_object* x_310; lean_object* x_338; lean_object* x_339; lean_object* x_340; uint8_t x_341; -x_301 = lean_ctor_get(x_300, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_300, 1); -lean_inc(x_302); -lean_dec(x_300); -x_303 = lean_ctor_get(x_301, 1); -lean_inc(x_303); -lean_dec(x_301); -x_304 = lean_box(0); -lean_inc(x_8); -x_305 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_303, x_304, x_8, x_9, x_10, x_11, x_302); -x_306 = lean_ctor_get(x_305, 0); -lean_inc(x_306); -x_307 = lean_ctor_get(x_305, 1); -lean_inc(x_307); -lean_dec(x_305); -x_308 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_338 = lean_st_ref_get(x_11, x_307); -x_339 = lean_ctor_get(x_338, 0); -lean_inc(x_339); -x_340 = lean_ctor_get(x_339, 3); -lean_inc(x_340); -lean_dec(x_339); -x_341 = lean_ctor_get_uint8(x_340, sizeof(void*)*1); -lean_dec(x_340); -if (x_341 == 0) +lean_object* x_309; uint8_t x_310; +x_309 = lean_ctor_get(x_308, 0); +lean_inc(x_309); +x_310 = lean_unbox(x_309); +lean_dec(x_309); +if (x_310 == 0) { -lean_object* x_342; uint8_t x_343; -x_342 = lean_ctor_get(x_338, 1); -lean_inc(x_342); -lean_dec(x_338); -x_343 = 0; -x_309 = x_343; -x_310 = x_342; -goto block_337; +uint8_t x_311; +lean_dec(x_307); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_311 = !lean_is_exclusive(x_308); +if (x_311 == 0) +{ +lean_object* x_312; +x_312 = lean_ctor_get(x_308, 0); +lean_dec(x_312); +lean_ctor_set(x_308, 0, x_3); +return x_308; } else { -lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; uint8_t x_348; -x_344 = lean_ctor_get(x_338, 1); -lean_inc(x_344); -lean_dec(x_338); -x_345 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_308, x_8, x_9, x_10, x_11, x_344); -x_346 = lean_ctor_get(x_345, 0); -lean_inc(x_346); -x_347 = lean_ctor_get(x_345, 1); -lean_inc(x_347); -lean_dec(x_345); -x_348 = lean_unbox(x_346); -lean_dec(x_346); -x_309 = x_348; -x_310 = x_347; -goto block_337; +lean_object* x_313; lean_object* x_314; +x_313 = lean_ctor_get(x_308, 1); +lean_inc(x_313); +lean_dec(x_308); +x_314 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_314, 0, x_3); +lean_ctor_set(x_314, 1, x_313); +return x_314; } -block_337: -{ -if (x_309 == 0) -{ -lean_object* x_311; lean_object* x_312; -x_311 = lean_box(0); -lean_inc(x_3); -x_312 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_306, x_3, x_308, x_1, x_291, x_311, x_8, x_9, x_10, x_11, x_310); -if (lean_obj_tag(x_312) == 0) -{ -lean_dec(x_3); -return x_312; -} -else -{ -uint8_t x_313; -x_313 = !lean_is_exclusive(x_312); -if (x_313 == 0) -{ -lean_object* x_314; -x_314 = lean_ctor_get(x_312, 0); -lean_dec(x_314); -lean_ctor_set_tag(x_312, 0); -lean_ctor_set(x_312, 0, x_3); -return x_312; } else { lean_object* x_315; lean_object* x_316; -x_315 = lean_ctor_get(x_312, 1); +x_315 = lean_ctor_get(x_308, 1); lean_inc(x_315); -lean_dec(x_312); -x_316 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_316, 0, x_3); -lean_ctor_set(x_316, 1, x_315); -return x_316; -} -} -} -else -{ -lean_object* x_317; lean_object* x_318; -x_317 = l_Lean_Expr_mvarId_x21(x_306); +lean_dec(x_308); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_318 = l_Lean_Meta_ppGoal(x_317, x_8, x_9, x_10, x_11, x_310); -if (lean_obj_tag(x_318) == 0) +lean_inc(x_307); +lean_inc(x_1); +x_316 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_307, x_8, x_9, x_10, x_11, x_315); +if (lean_obj_tag(x_316) == 0) { -lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; -x_319 = lean_ctor_get(x_318, 0); +lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; uint8_t x_325; lean_object* x_326; lean_object* x_354; lean_object* x_355; lean_object* x_356; uint8_t x_357; +x_317 = lean_ctor_get(x_316, 0); +lean_inc(x_317); +x_318 = lean_ctor_get(x_316, 1); +lean_inc(x_318); +lean_dec(x_316); +x_319 = lean_ctor_get(x_317, 1); lean_inc(x_319); -x_320 = lean_ctor_get(x_318, 1); -lean_inc(x_320); -lean_dec(x_318); -x_321 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_321, 0, x_319); -x_322 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_323 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_323, 0, x_322); -lean_ctor_set(x_323, 1, x_321); -x_324 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_324, 0, x_323); -lean_ctor_set(x_324, 1, x_322); -x_325 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_308, x_324, x_8, x_9, x_10, x_11, x_320); -x_326 = lean_ctor_get(x_325, 0); -lean_inc(x_326); -x_327 = lean_ctor_get(x_325, 1); -lean_inc(x_327); -lean_dec(x_325); +lean_dec(x_317); +x_320 = lean_box(0); +lean_inc(x_8); +x_321 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_319, x_320, x_8, x_9, x_10, x_11, x_318); +x_322 = lean_ctor_get(x_321, 0); +lean_inc(x_322); +x_323 = lean_ctor_get(x_321, 1); +lean_inc(x_323); +lean_dec(x_321); +x_324 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_354 = lean_st_ref_get(x_11, x_323); +x_355 = lean_ctor_get(x_354, 0); +lean_inc(x_355); +x_356 = lean_ctor_get(x_355, 3); +lean_inc(x_356); +lean_dec(x_355); +x_357 = lean_ctor_get_uint8(x_356, sizeof(void*)*1); +lean_dec(x_356); +if (x_357 == 0) +{ +lean_object* x_358; uint8_t x_359; +x_358 = lean_ctor_get(x_354, 1); +lean_inc(x_358); +lean_dec(x_354); +x_359 = 0; +x_325 = x_359; +x_326 = x_358; +goto block_353; +} +else +{ +lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; uint8_t x_364; +x_360 = lean_ctor_get(x_354, 1); +lean_inc(x_360); +lean_dec(x_354); +x_361 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_324, x_8, x_9, x_10, x_11, x_360); +x_362 = lean_ctor_get(x_361, 0); +lean_inc(x_362); +x_363 = lean_ctor_get(x_361, 1); +lean_inc(x_363); +lean_dec(x_361); +x_364 = lean_unbox(x_362); +lean_dec(x_362); +x_325 = x_364; +x_326 = x_363; +goto block_353; +} +block_353: +{ +if (x_325 == 0) +{ +lean_object* x_327; lean_object* x_328; +x_327 = lean_box(0); lean_inc(x_3); -x_328 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_306, x_3, x_308, x_1, x_291, x_326, x_8, x_9, x_10, x_11, x_327); +x_328 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_322, x_3, x_324, x_1, x_307, x_327, x_8, x_9, x_10, x_11, x_326); if (lean_obj_tag(x_328) == 0) { lean_dec(x_3); @@ -19506,64 +19471,97 @@ return x_332; } else { -uint8_t x_333; -lean_dec(x_306); -lean_dec(x_291); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_333 = !lean_is_exclusive(x_318); -if (x_333 == 0) +lean_object* x_333; lean_object* x_334; +x_333 = l_Lean_Expr_mvarId_x21(x_322); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_334 = l_Lean_Meta_ppGoal(x_333, x_8, x_9, x_10, x_11, x_326); +if (lean_obj_tag(x_334) == 0) { -lean_object* x_334; -x_334 = lean_ctor_get(x_318, 0); +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; +x_335 = lean_ctor_get(x_334, 0); +lean_inc(x_335); +x_336 = lean_ctor_get(x_334, 1); +lean_inc(x_336); lean_dec(x_334); -lean_ctor_set_tag(x_318, 0); -lean_ctor_set(x_318, 0, x_3); -return x_318; +x_337 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_337, 0, x_335); +x_338 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_339 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_339, 0, x_338); +lean_ctor_set(x_339, 1, x_337); +x_340 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_340, 0, x_339); +lean_ctor_set(x_340, 1, x_338); +x_341 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_324, x_340, x_8, x_9, x_10, x_11, x_336); +x_342 = lean_ctor_get(x_341, 0); +lean_inc(x_342); +x_343 = lean_ctor_get(x_341, 1); +lean_inc(x_343); +lean_dec(x_341); +lean_inc(x_3); +x_344 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_322, x_3, x_324, x_1, x_307, x_342, x_8, x_9, x_10, x_11, x_343); +if (lean_obj_tag(x_344) == 0) +{ +lean_dec(x_3); +return x_344; } else { -lean_object* x_335; lean_object* x_336; -x_335 = lean_ctor_get(x_318, 1); -lean_inc(x_335); -lean_dec(x_318); -x_336 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_336, 0, x_3); -lean_ctor_set(x_336, 1, x_335); -return x_336; -} +uint8_t x_345; +x_345 = !lean_is_exclusive(x_344); +if (x_345 == 0) +{ +lean_object* x_346; +x_346 = lean_ctor_get(x_344, 0); +lean_dec(x_346); +lean_ctor_set_tag(x_344, 0); +lean_ctor_set(x_344, 0, x_3); +return x_344; } +else +{ +lean_object* x_347; lean_object* x_348; +x_347 = lean_ctor_get(x_344, 1); +lean_inc(x_347); +lean_dec(x_344); +x_348 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_348, 0, x_3); +lean_ctor_set(x_348, 1, x_347); +return x_348; } } } else { uint8_t x_349; -lean_dec(x_291); +lean_dec(x_322); +lean_dec(x_307); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_3); lean_dec(x_1); -x_349 = !lean_is_exclusive(x_300); +x_349 = !lean_is_exclusive(x_334); if (x_349 == 0) { -return x_300; +lean_object* x_350; +x_350 = lean_ctor_get(x_334, 0); +lean_dec(x_350); +lean_ctor_set_tag(x_334, 0); +lean_ctor_set(x_334, 0, x_3); +return x_334; } else { -lean_object* x_350; lean_object* x_351; lean_object* x_352; -x_350 = lean_ctor_get(x_300, 0); -x_351 = lean_ctor_get(x_300, 1); +lean_object* x_351; lean_object* x_352; +x_351 = lean_ctor_get(x_334, 1); lean_inc(x_351); -lean_inc(x_350); -lean_dec(x_300); -x_352 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_352, 0, x_350); +lean_dec(x_334); +x_352 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_352, 0, x_3); lean_ctor_set(x_352, 1, x_351); return x_352; } @@ -19571,310 +19569,282 @@ return x_352; } } } -} -case 5: +else { -lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; -x_353 = lean_ctor_get(x_5, 0); -lean_inc(x_353); -x_354 = lean_ctor_get(x_5, 1); -lean_inc(x_354); -lean_dec(x_5); -x_355 = lean_array_set(x_6, x_7, x_354); -x_356 = lean_unsigned_to_nat(1u); -x_357 = lean_nat_sub(x_7, x_356); -lean_dec(x_7); -x_5 = x_353; -x_6 = x_355; -x_7 = x_357; -goto _start; -} -case 6: -{ -lean_object* x_359; -lean_dec(x_7); -lean_dec(x_6); -x_359 = l_Lean_Expr_constName_x3f(x_5); -lean_dec(x_5); -if (lean_obj_tag(x_359) == 0) -{ -lean_object* x_360; +uint8_t x_365; +lean_dec(x_307); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_2); +lean_dec(x_3); lean_dec(x_1); -x_360 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_360, 0, x_3); -lean_ctor_set(x_360, 1, x_12); -return x_360; +x_365 = !lean_is_exclusive(x_316); +if (x_365 == 0) +{ +return x_316; } else { -lean_object* x_361; lean_object* x_362; lean_object* x_363; -x_361 = lean_ctor_get(x_359, 0); -lean_inc(x_361); -lean_dec(x_359); -x_362 = lean_unsigned_to_nat(0u); -x_363 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_362); -if (lean_obj_tag(x_363) == 0) -{ -lean_object* x_364; -lean_dec(x_361); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_364 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_364, 0, x_3); -lean_ctor_set(x_364, 1, x_12); -return x_364; -} -else -{ -lean_object* x_365; lean_object* x_366; lean_object* x_367; uint8_t x_368; -x_365 = lean_ctor_get(x_363, 0); -lean_inc(x_365); -lean_dec(x_363); -x_366 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_361, x_8, x_9, x_10, x_11, x_12); -x_367 = lean_ctor_get(x_366, 0); +lean_object* x_366; lean_object* x_367; lean_object* x_368; +x_366 = lean_ctor_get(x_316, 0); +x_367 = lean_ctor_get(x_316, 1); lean_inc(x_367); -x_368 = lean_unbox(x_367); -lean_dec(x_367); -if (x_368 == 0) +lean_inc(x_366); +lean_dec(x_316); +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; +} +} +} +} +else { uint8_t x_369; -lean_dec(x_365); +lean_dec(x_307); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_369 = !lean_is_exclusive(x_366); +x_369 = !lean_is_exclusive(x_308); if (x_369 == 0) { -lean_object* x_370; -x_370 = lean_ctor_get(x_366, 0); -lean_dec(x_370); -lean_ctor_set(x_366, 0, x_3); -return x_366; +return x_308; } else { -lean_object* x_371; lean_object* x_372; -x_371 = lean_ctor_get(x_366, 1); +lean_object* x_370; lean_object* x_371; lean_object* x_372; +x_370 = lean_ctor_get(x_308, 0); +x_371 = lean_ctor_get(x_308, 1); lean_inc(x_371); -lean_dec(x_366); -x_372 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_372, 0, x_3); +lean_inc(x_370); +lean_dec(x_308); +x_372 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_372, 0, x_370); lean_ctor_set(x_372, 1, x_371); return x_372; } } +} +} +} +case 5: +{ +lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; +x_373 = lean_ctor_get(x_5, 0); +lean_inc(x_373); +x_374 = lean_ctor_get(x_5, 1); +lean_inc(x_374); +lean_dec(x_5); +x_375 = lean_array_set(x_6, x_7, x_374); +x_376 = lean_unsigned_to_nat(1u); +x_377 = lean_nat_sub(x_7, x_376); +lean_dec(x_7); +x_5 = x_373; +x_6 = x_375; +x_7 = x_377; +goto _start; +} +case 6: +{ +lean_object* x_379; +lean_dec(x_7); +lean_dec(x_6); +x_379 = l_Lean_Expr_constName_x3f(x_5); +lean_dec(x_5); +if (lean_obj_tag(x_379) == 0) +{ +lean_object* x_380; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_380 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_380, 0, x_3); +lean_ctor_set(x_380, 1, x_12); +return x_380; +} else { -lean_object* x_373; lean_object* x_374; -x_373 = lean_ctor_get(x_366, 1); -lean_inc(x_373); -lean_dec(x_366); +lean_object* x_381; lean_object* x_382; lean_object* x_383; +x_381 = lean_ctor_get(x_379, 0); +lean_inc(x_381); +lean_dec(x_379); +x_382 = lean_unsigned_to_nat(0u); +x_383 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_382); +if (lean_obj_tag(x_383) == 0) +{ +lean_object* x_384; +lean_dec(x_381); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_384 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_384, 0, x_3); +lean_ctor_set(x_384, 1, x_12); +return x_384; +} +else +{ +lean_object* x_385; lean_object* x_386; +x_385 = lean_ctor_get(x_383, 0); +lean_inc(x_385); +lean_dec(x_383); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_365); -lean_inc(x_1); -x_374 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_365, x_8, x_9, x_10, x_11, x_373); -if (lean_obj_tag(x_374) == 0) -{ -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; uint8_t x_383; lean_object* x_384; lean_object* x_412; lean_object* x_413; lean_object* x_414; uint8_t x_415; -x_375 = lean_ctor_get(x_374, 0); -lean_inc(x_375); -x_376 = lean_ctor_get(x_374, 1); -lean_inc(x_376); -lean_dec(x_374); -x_377 = lean_ctor_get(x_375, 1); -lean_inc(x_377); -lean_dec(x_375); -x_378 = lean_box(0); -lean_inc(x_8); -x_379 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_377, x_378, x_8, x_9, x_10, x_11, x_376); -x_380 = lean_ctor_get(x_379, 0); -lean_inc(x_380); -x_381 = lean_ctor_get(x_379, 1); -lean_inc(x_381); -lean_dec(x_379); -x_382 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_412 = lean_st_ref_get(x_11, x_381); -x_413 = lean_ctor_get(x_412, 0); -lean_inc(x_413); -x_414 = lean_ctor_get(x_413, 3); -lean_inc(x_414); -lean_dec(x_413); -x_415 = lean_ctor_get_uint8(x_414, sizeof(void*)*1); -lean_dec(x_414); -if (x_415 == 0) -{ -lean_object* x_416; uint8_t x_417; -x_416 = lean_ctor_get(x_412, 1); -lean_inc(x_416); -lean_dec(x_412); -x_417 = 0; -x_383 = x_417; -x_384 = x_416; -goto block_411; -} -else -{ -lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; uint8_t x_422; -x_418 = lean_ctor_get(x_412, 1); -lean_inc(x_418); -lean_dec(x_412); -x_419 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_382, x_8, x_9, x_10, x_11, x_418); -x_420 = lean_ctor_get(x_419, 0); -lean_inc(x_420); -x_421 = lean_ctor_get(x_419, 1); -lean_inc(x_421); -lean_dec(x_419); -x_422 = lean_unbox(x_420); -lean_dec(x_420); -x_383 = x_422; -x_384 = x_421; -goto block_411; -} -block_411: -{ -if (x_383 == 0) -{ -lean_object* x_385; lean_object* x_386; -x_385 = lean_box(0); -lean_inc(x_3); -x_386 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_380, x_3, x_382, x_1, x_365, x_385, x_8, x_9, x_10, x_11, x_384); +x_386 = l_Lean_Meta_isInductivePredicate(x_381, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_386) == 0) { -lean_dec(x_3); -return x_386; -} -else +lean_object* x_387; uint8_t x_388; +x_387 = lean_ctor_get(x_386, 0); +lean_inc(x_387); +x_388 = lean_unbox(x_387); +lean_dec(x_387); +if (x_388 == 0) { -uint8_t x_387; -x_387 = !lean_is_exclusive(x_386); -if (x_387 == 0) +uint8_t x_389; +lean_dec(x_385); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_389 = !lean_is_exclusive(x_386); +if (x_389 == 0) { -lean_object* x_388; -x_388 = lean_ctor_get(x_386, 0); -lean_dec(x_388); -lean_ctor_set_tag(x_386, 0); +lean_object* x_390; +x_390 = lean_ctor_get(x_386, 0); +lean_dec(x_390); lean_ctor_set(x_386, 0, x_3); return x_386; } else { -lean_object* x_389; lean_object* x_390; -x_389 = lean_ctor_get(x_386, 1); -lean_inc(x_389); +lean_object* x_391; lean_object* x_392; +x_391 = lean_ctor_get(x_386, 1); +lean_inc(x_391); lean_dec(x_386); -x_390 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_390, 0, x_3); -lean_ctor_set(x_390, 1, x_389); -return x_390; -} +x_392 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_392, 0, x_3); +lean_ctor_set(x_392, 1, x_391); +return x_392; } } else { -lean_object* x_391; lean_object* x_392; -x_391 = l_Lean_Expr_mvarId_x21(x_380); +lean_object* x_393; lean_object* x_394; +x_393 = lean_ctor_get(x_386, 1); +lean_inc(x_393); +lean_dec(x_386); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_392 = l_Lean_Meta_ppGoal(x_391, x_8, x_9, x_10, x_11, x_384); -if (lean_obj_tag(x_392) == 0) +lean_inc(x_385); +lean_inc(x_1); +x_394 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_385, x_8, x_9, x_10, x_11, x_393); +if (lean_obj_tag(x_394) == 0) { -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; -x_393 = lean_ctor_get(x_392, 0); -lean_inc(x_393); -x_394 = lean_ctor_get(x_392, 1); -lean_inc(x_394); -lean_dec(x_392); -x_395 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_395, 0, x_393); -x_396 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_397 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_397, 0, x_396); -lean_ctor_set(x_397, 1, x_395); -x_398 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_398, 0, x_397); -lean_ctor_set(x_398, 1, x_396); -x_399 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_382, x_398, x_8, x_9, x_10, x_11, 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; uint8_t x_403; lean_object* x_404; lean_object* x_432; lean_object* x_433; lean_object* x_434; uint8_t x_435; +x_395 = lean_ctor_get(x_394, 0); +lean_inc(x_395); +x_396 = lean_ctor_get(x_394, 1); +lean_inc(x_396); +lean_dec(x_394); +x_397 = lean_ctor_get(x_395, 1); +lean_inc(x_397); +lean_dec(x_395); +x_398 = lean_box(0); +lean_inc(x_8); +x_399 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_397, x_398, x_8, x_9, x_10, x_11, x_396); x_400 = lean_ctor_get(x_399, 0); lean_inc(x_400); x_401 = lean_ctor_get(x_399, 1); lean_inc(x_401); lean_dec(x_399); -lean_inc(x_3); -x_402 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_380, x_3, x_382, x_1, x_365, x_400, x_8, x_9, x_10, x_11, x_401); -if (lean_obj_tag(x_402) == 0) +x_402 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_432 = lean_st_ref_get(x_11, x_401); +x_433 = lean_ctor_get(x_432, 0); +lean_inc(x_433); +x_434 = lean_ctor_get(x_433, 3); +lean_inc(x_434); +lean_dec(x_433); +x_435 = lean_ctor_get_uint8(x_434, sizeof(void*)*1); +lean_dec(x_434); +if (x_435 == 0) { -lean_dec(x_3); -return x_402; +lean_object* x_436; uint8_t x_437; +x_436 = lean_ctor_get(x_432, 1); +lean_inc(x_436); +lean_dec(x_432); +x_437 = 0; +x_403 = x_437; +x_404 = x_436; +goto block_431; } else { -uint8_t x_403; -x_403 = !lean_is_exclusive(x_402); +lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; uint8_t x_442; +x_438 = lean_ctor_get(x_432, 1); +lean_inc(x_438); +lean_dec(x_432); +x_439 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_402, x_8, x_9, x_10, x_11, x_438); +x_440 = lean_ctor_get(x_439, 0); +lean_inc(x_440); +x_441 = lean_ctor_get(x_439, 1); +lean_inc(x_441); +lean_dec(x_439); +x_442 = lean_unbox(x_440); +lean_dec(x_440); +x_403 = x_442; +x_404 = x_441; +goto block_431; +} +block_431: +{ if (x_403 == 0) { -lean_object* x_404; -x_404 = lean_ctor_get(x_402, 0); -lean_dec(x_404); -lean_ctor_set_tag(x_402, 0); -lean_ctor_set(x_402, 0, x_3); -return x_402; -} -else -{ lean_object* x_405; lean_object* x_406; -x_405 = lean_ctor_get(x_402, 1); -lean_inc(x_405); -lean_dec(x_402); -x_406 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_406, 0, x_3); -lean_ctor_set(x_406, 1, x_405); +x_405 = lean_box(0); +lean_inc(x_3); +x_406 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_400, x_3, x_402, x_1, x_385, x_405, x_8, x_9, x_10, x_11, x_404); +if (lean_obj_tag(x_406) == 0) +{ +lean_dec(x_3); return x_406; } -} -} else { uint8_t x_407; -lean_dec(x_380); -lean_dec(x_365); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_407 = !lean_is_exclusive(x_392); +x_407 = !lean_is_exclusive(x_406); if (x_407 == 0) { lean_object* x_408; -x_408 = lean_ctor_get(x_392, 0); +x_408 = lean_ctor_get(x_406, 0); lean_dec(x_408); -lean_ctor_set_tag(x_392, 0); -lean_ctor_set(x_392, 0, x_3); -return x_392; +lean_ctor_set_tag(x_406, 0); +lean_ctor_set(x_406, 0, x_3); +return x_406; } else { lean_object* x_409; lean_object* x_410; -x_409 = lean_ctor_get(x_392, 1); +x_409 = lean_ctor_get(x_406, 1); lean_inc(x_409); -lean_dec(x_392); +lean_dec(x_406); x_410 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_410, 0, x_3); lean_ctor_set(x_410, 1, x_409); @@ -19882,659 +19852,833 @@ return x_410; } } } -} +else +{ +lean_object* x_411; lean_object* x_412; +x_411 = l_Lean_Expr_mvarId_x21(x_400); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_412 = l_Lean_Meta_ppGoal(x_411, x_8, x_9, x_10, x_11, x_404); +if (lean_obj_tag(x_412) == 0) +{ +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; +x_413 = lean_ctor_get(x_412, 0); +lean_inc(x_413); +x_414 = lean_ctor_get(x_412, 1); +lean_inc(x_414); +lean_dec(x_412); +x_415 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_415, 0, x_413); +x_416 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_417 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_417, 0, x_416); +lean_ctor_set(x_417, 1, x_415); +x_418 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_418, 0, x_417); +lean_ctor_set(x_418, 1, x_416); +x_419 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_402, x_418, x_8, x_9, x_10, x_11, x_414); +x_420 = lean_ctor_get(x_419, 0); +lean_inc(x_420); +x_421 = lean_ctor_get(x_419, 1); +lean_inc(x_421); +lean_dec(x_419); +lean_inc(x_3); +x_422 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_400, x_3, x_402, x_1, x_385, x_420, x_8, x_9, x_10, x_11, x_421); +if (lean_obj_tag(x_422) == 0) +{ +lean_dec(x_3); +return x_422; } else { uint8_t x_423; -lean_dec(x_365); +x_423 = !lean_is_exclusive(x_422); +if (x_423 == 0) +{ +lean_object* x_424; +x_424 = lean_ctor_get(x_422, 0); +lean_dec(x_424); +lean_ctor_set_tag(x_422, 0); +lean_ctor_set(x_422, 0, x_3); +return x_422; +} +else +{ +lean_object* x_425; lean_object* x_426; +x_425 = lean_ctor_get(x_422, 1); +lean_inc(x_425); +lean_dec(x_422); +x_426 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_426, 0, x_3); +lean_ctor_set(x_426, 1, x_425); +return x_426; +} +} +} +else +{ +uint8_t x_427; +lean_dec(x_400); +lean_dec(x_385); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_427 = !lean_is_exclusive(x_412); +if (x_427 == 0) +{ +lean_object* x_428; +x_428 = lean_ctor_get(x_412, 0); +lean_dec(x_428); +lean_ctor_set_tag(x_412, 0); +lean_ctor_set(x_412, 0, x_3); +return x_412; +} +else +{ +lean_object* x_429; lean_object* x_430; +x_429 = lean_ctor_get(x_412, 1); +lean_inc(x_429); +lean_dec(x_412); +x_430 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_430, 0, x_3); +lean_ctor_set(x_430, 1, x_429); +return x_430; +} +} +} +} +} +else +{ +uint8_t x_443; +lean_dec(x_385); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_423 = !lean_is_exclusive(x_374); -if (x_423 == 0) +x_443 = !lean_is_exclusive(x_394); +if (x_443 == 0) { -return x_374; +return x_394; } else { -lean_object* x_424; lean_object* x_425; lean_object* x_426; -x_424 = lean_ctor_get(x_374, 0); -x_425 = lean_ctor_get(x_374, 1); -lean_inc(x_425); -lean_inc(x_424); -lean_dec(x_374); -x_426 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_426, 0, x_424); -lean_ctor_set(x_426, 1, x_425); -return x_426; +lean_object* x_444; lean_object* x_445; lean_object* x_446; +x_444 = lean_ctor_get(x_394, 0); +x_445 = lean_ctor_get(x_394, 1); +lean_inc(x_445); +lean_inc(x_444); +lean_dec(x_394); +x_446 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_446, 0, x_444); +lean_ctor_set(x_446, 1, x_445); +return x_446; } } } } +else +{ +uint8_t x_447; +lean_dec(x_385); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_447 = !lean_is_exclusive(x_386); +if (x_447 == 0) +{ +return x_386; +} +else +{ +lean_object* x_448; lean_object* x_449; lean_object* x_450; +x_448 = lean_ctor_get(x_386, 0); +x_449 = lean_ctor_get(x_386, 1); +lean_inc(x_449); +lean_inc(x_448); +lean_dec(x_386); +x_450 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_450, 0, x_448); +lean_ctor_set(x_450, 1, x_449); +return x_450; +} +} +} } } case 7: { -lean_object* x_427; +lean_object* x_451; lean_dec(x_7); lean_dec(x_6); -x_427 = l_Lean_Expr_constName_x3f(x_5); +x_451 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_427) == 0) +if (lean_obj_tag(x_451) == 0) { -lean_object* x_428; +lean_object* x_452; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_428 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_428, 0, x_3); -lean_ctor_set(x_428, 1, x_12); -return x_428; +x_452 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_452, 0, x_3); +lean_ctor_set(x_452, 1, x_12); +return x_452; } else { -lean_object* x_429; lean_object* x_430; lean_object* x_431; -x_429 = lean_ctor_get(x_427, 0); -lean_inc(x_429); -lean_dec(x_427); -x_430 = lean_unsigned_to_nat(0u); -x_431 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_430); -if (lean_obj_tag(x_431) == 0) -{ -lean_object* x_432; -lean_dec(x_429); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_432 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_432, 0, x_3); -lean_ctor_set(x_432, 1, x_12); -return x_432; -} -else -{ -lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; -x_433 = lean_ctor_get(x_431, 0); -lean_inc(x_433); -lean_dec(x_431); -x_434 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_429, x_8, x_9, x_10, x_11, x_12); -x_435 = lean_ctor_get(x_434, 0); -lean_inc(x_435); -x_436 = lean_unbox(x_435); -lean_dec(x_435); -if (x_436 == 0) -{ -uint8_t x_437; -lean_dec(x_433); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_437 = !lean_is_exclusive(x_434); -if (x_437 == 0) -{ -lean_object* x_438; -x_438 = lean_ctor_get(x_434, 0); -lean_dec(x_438); -lean_ctor_set(x_434, 0, x_3); -return x_434; -} -else -{ -lean_object* x_439; lean_object* x_440; -x_439 = lean_ctor_get(x_434, 1); -lean_inc(x_439); -lean_dec(x_434); -x_440 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_440, 0, x_3); -lean_ctor_set(x_440, 1, x_439); -return x_440; -} -} -else -{ -lean_object* x_441; lean_object* x_442; -x_441 = lean_ctor_get(x_434, 1); -lean_inc(x_441); -lean_dec(x_434); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_433); -lean_inc(x_1); -x_442 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_433, x_8, x_9, x_10, x_11, x_441); -if (lean_obj_tag(x_442) == 0) -{ -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; uint8_t x_451; lean_object* x_452; lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; -x_443 = lean_ctor_get(x_442, 0); -lean_inc(x_443); -x_444 = lean_ctor_get(x_442, 1); -lean_inc(x_444); -lean_dec(x_442); -x_445 = lean_ctor_get(x_443, 1); -lean_inc(x_445); -lean_dec(x_443); -x_446 = lean_box(0); -lean_inc(x_8); -x_447 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_445, x_446, x_8, x_9, x_10, x_11, x_444); -x_448 = lean_ctor_get(x_447, 0); -lean_inc(x_448); -x_449 = lean_ctor_get(x_447, 1); -lean_inc(x_449); -lean_dec(x_447); -x_450 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_480 = lean_st_ref_get(x_11, x_449); -x_481 = lean_ctor_get(x_480, 0); -lean_inc(x_481); -x_482 = lean_ctor_get(x_481, 3); -lean_inc(x_482); -lean_dec(x_481); -x_483 = lean_ctor_get_uint8(x_482, sizeof(void*)*1); -lean_dec(x_482); -if (x_483 == 0) -{ -lean_object* x_484; uint8_t x_485; -x_484 = lean_ctor_get(x_480, 1); -lean_inc(x_484); -lean_dec(x_480); -x_485 = 0; -x_451 = x_485; -x_452 = x_484; -goto block_479; -} -else -{ -lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; uint8_t x_490; -x_486 = lean_ctor_get(x_480, 1); -lean_inc(x_486); -lean_dec(x_480); -x_487 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_450, x_8, x_9, x_10, x_11, x_486); -x_488 = lean_ctor_get(x_487, 0); -lean_inc(x_488); -x_489 = lean_ctor_get(x_487, 1); -lean_inc(x_489); -lean_dec(x_487); -x_490 = lean_unbox(x_488); -lean_dec(x_488); -x_451 = x_490; -x_452 = x_489; -goto block_479; -} -block_479: -{ -if (x_451 == 0) -{ -lean_object* x_453; lean_object* x_454; -x_453 = lean_box(0); -lean_inc(x_3); -x_454 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_448, x_3, x_450, x_1, x_433, x_453, x_8, x_9, x_10, x_11, x_452); -if (lean_obj_tag(x_454) == 0) -{ -lean_dec(x_3); -return x_454; -} -else -{ -uint8_t x_455; -x_455 = !lean_is_exclusive(x_454); -if (x_455 == 0) +lean_object* x_453; lean_object* x_454; lean_object* x_455; +x_453 = lean_ctor_get(x_451, 0); +lean_inc(x_453); +lean_dec(x_451); +x_454 = lean_unsigned_to_nat(0u); +x_455 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_454); +if (lean_obj_tag(x_455) == 0) { lean_object* x_456; -x_456 = lean_ctor_get(x_454, 0); -lean_dec(x_456); -lean_ctor_set_tag(x_454, 0); -lean_ctor_set(x_454, 0, x_3); -return x_454; +lean_dec(x_453); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_456 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_456, 0, x_3); +lean_ctor_set(x_456, 1, x_12); +return x_456; } else { lean_object* x_457; lean_object* x_458; -x_457 = lean_ctor_get(x_454, 1); +x_457 = lean_ctor_get(x_455, 0); lean_inc(x_457); -lean_dec(x_454); -x_458 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_458, 0, x_3); -lean_ctor_set(x_458, 1, x_457); -return x_458; -} -} -} -else -{ -lean_object* x_459; lean_object* x_460; -x_459 = l_Lean_Expr_mvarId_x21(x_448); +lean_dec(x_455); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_460 = l_Lean_Meta_ppGoal(x_459, x_8, x_9, x_10, x_11, x_452); -if (lean_obj_tag(x_460) == 0) +x_458 = l_Lean_Meta_isInductivePredicate(x_453, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_458) == 0) { -lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; -x_461 = lean_ctor_get(x_460, 0); -lean_inc(x_461); -x_462 = lean_ctor_get(x_460, 1); -lean_inc(x_462); -lean_dec(x_460); -x_463 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_463, 0, x_461); -x_464 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_465 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_465, 0, x_464); -lean_ctor_set(x_465, 1, x_463); -x_466 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_466, 0, x_465); -lean_ctor_set(x_466, 1, x_464); -x_467 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_450, x_466, x_8, x_9, x_10, x_11, x_462); -x_468 = lean_ctor_get(x_467, 0); +lean_object* x_459; uint8_t x_460; +x_459 = lean_ctor_get(x_458, 0); +lean_inc(x_459); +x_460 = lean_unbox(x_459); +lean_dec(x_459); +if (x_460 == 0) +{ +uint8_t x_461; +lean_dec(x_457); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_461 = !lean_is_exclusive(x_458); +if (x_461 == 0) +{ +lean_object* x_462; +x_462 = lean_ctor_get(x_458, 0); +lean_dec(x_462); +lean_ctor_set(x_458, 0, x_3); +return x_458; +} +else +{ +lean_object* x_463; lean_object* x_464; +x_463 = lean_ctor_get(x_458, 1); +lean_inc(x_463); +lean_dec(x_458); +x_464 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_464, 0, x_3); +lean_ctor_set(x_464, 1, x_463); +return x_464; +} +} +else +{ +lean_object* x_465; lean_object* x_466; +x_465 = lean_ctor_get(x_458, 1); +lean_inc(x_465); +lean_dec(x_458); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_457); +lean_inc(x_1); +x_466 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_457, x_8, x_9, x_10, x_11, x_465); +if (lean_obj_tag(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; uint8_t x_475; lean_object* x_476; lean_object* x_504; lean_object* x_505; lean_object* x_506; uint8_t x_507; +x_467 = lean_ctor_get(x_466, 0); +lean_inc(x_467); +x_468 = lean_ctor_get(x_466, 1); lean_inc(x_468); +lean_dec(x_466); x_469 = lean_ctor_get(x_467, 1); lean_inc(x_469); lean_dec(x_467); -lean_inc(x_3); -x_470 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_448, x_3, x_450, x_1, x_433, x_468, x_8, x_9, x_10, x_11, x_469); -if (lean_obj_tag(x_470) == 0) -{ -lean_dec(x_3); -return x_470; -} -else -{ -uint8_t x_471; -x_471 = !lean_is_exclusive(x_470); -if (x_471 == 0) -{ -lean_object* x_472; -x_472 = lean_ctor_get(x_470, 0); -lean_dec(x_472); -lean_ctor_set_tag(x_470, 0); -lean_ctor_set(x_470, 0, x_3); -return x_470; -} -else -{ -lean_object* x_473; lean_object* x_474; -x_473 = lean_ctor_get(x_470, 1); +x_470 = lean_box(0); +lean_inc(x_8); +x_471 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_469, x_470, x_8, x_9, x_10, x_11, x_468); +x_472 = lean_ctor_get(x_471, 0); +lean_inc(x_472); +x_473 = lean_ctor_get(x_471, 1); lean_inc(x_473); -lean_dec(x_470); -x_474 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_474, 0, x_3); -lean_ctor_set(x_474, 1, x_473); -return x_474; -} -} +lean_dec(x_471); +x_474 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_504 = lean_st_ref_get(x_11, x_473); +x_505 = lean_ctor_get(x_504, 0); +lean_inc(x_505); +x_506 = lean_ctor_get(x_505, 3); +lean_inc(x_506); +lean_dec(x_505); +x_507 = lean_ctor_get_uint8(x_506, sizeof(void*)*1); +lean_dec(x_506); +if (x_507 == 0) +{ +lean_object* x_508; uint8_t x_509; +x_508 = lean_ctor_get(x_504, 1); +lean_inc(x_508); +lean_dec(x_504); +x_509 = 0; +x_475 = x_509; +x_476 = x_508; +goto block_503; } else { -uint8_t x_475; -lean_dec(x_448); -lean_dec(x_433); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_475 = !lean_is_exclusive(x_460); +lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; uint8_t x_514; +x_510 = lean_ctor_get(x_504, 1); +lean_inc(x_510); +lean_dec(x_504); +x_511 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_474, x_8, x_9, x_10, x_11, x_510); +x_512 = lean_ctor_get(x_511, 0); +lean_inc(x_512); +x_513 = lean_ctor_get(x_511, 1); +lean_inc(x_513); +lean_dec(x_511); +x_514 = lean_unbox(x_512); +lean_dec(x_512); +x_475 = x_514; +x_476 = x_513; +goto block_503; +} +block_503: +{ if (x_475 == 0) { -lean_object* x_476; -x_476 = lean_ctor_get(x_460, 0); -lean_dec(x_476); -lean_ctor_set_tag(x_460, 0); -lean_ctor_set(x_460, 0, x_3); -return x_460; -} -else -{ lean_object* x_477; lean_object* x_478; -x_477 = lean_ctor_get(x_460, 1); -lean_inc(x_477); -lean_dec(x_460); -x_478 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_478, 0, x_3); -lean_ctor_set(x_478, 1, x_477); +x_477 = lean_box(0); +lean_inc(x_3); +x_478 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_472, x_3, x_474, x_1, x_457, x_477, x_8, x_9, x_10, x_11, x_476); +if (lean_obj_tag(x_478) == 0) +{ +lean_dec(x_3); return x_478; } +else +{ +uint8_t x_479; +x_479 = !lean_is_exclusive(x_478); +if (x_479 == 0) +{ +lean_object* x_480; +x_480 = lean_ctor_get(x_478, 0); +lean_dec(x_480); +lean_ctor_set_tag(x_478, 0); +lean_ctor_set(x_478, 0, x_3); +return x_478; +} +else +{ +lean_object* x_481; lean_object* x_482; +x_481 = lean_ctor_get(x_478, 1); +lean_inc(x_481); +lean_dec(x_478); +x_482 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_482, 0, x_3); +lean_ctor_set(x_482, 1, x_481); +return x_482; +} +} +} +else +{ +lean_object* x_483; lean_object* x_484; +x_483 = l_Lean_Expr_mvarId_x21(x_472); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_484 = l_Lean_Meta_ppGoal(x_483, x_8, x_9, x_10, x_11, x_476); +if (lean_obj_tag(x_484) == 0) +{ +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; +x_485 = lean_ctor_get(x_484, 0); +lean_inc(x_485); +x_486 = lean_ctor_get(x_484, 1); +lean_inc(x_486); +lean_dec(x_484); +x_487 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_487, 0, x_485); +x_488 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_489 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_489, 0, x_488); +lean_ctor_set(x_489, 1, x_487); +x_490 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_490, 0, x_489); +lean_ctor_set(x_490, 1, x_488); +x_491 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_474, x_490, x_8, x_9, x_10, x_11, x_486); +x_492 = lean_ctor_get(x_491, 0); +lean_inc(x_492); +x_493 = lean_ctor_get(x_491, 1); +lean_inc(x_493); +lean_dec(x_491); +lean_inc(x_3); +x_494 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_472, x_3, x_474, x_1, x_457, x_492, x_8, x_9, x_10, x_11, x_493); +if (lean_obj_tag(x_494) == 0) +{ +lean_dec(x_3); +return x_494; +} +else +{ +uint8_t x_495; +x_495 = !lean_is_exclusive(x_494); +if (x_495 == 0) +{ +lean_object* x_496; +x_496 = lean_ctor_get(x_494, 0); +lean_dec(x_496); +lean_ctor_set_tag(x_494, 0); +lean_ctor_set(x_494, 0, x_3); +return x_494; +} +else +{ +lean_object* x_497; lean_object* x_498; +x_497 = lean_ctor_get(x_494, 1); +lean_inc(x_497); +lean_dec(x_494); +x_498 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_498, 0, x_3); +lean_ctor_set(x_498, 1, x_497); +return x_498; +} +} +} +else +{ +uint8_t x_499; +lean_dec(x_472); +lean_dec(x_457); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_499 = !lean_is_exclusive(x_484); +if (x_499 == 0) +{ +lean_object* x_500; +x_500 = lean_ctor_get(x_484, 0); +lean_dec(x_500); +lean_ctor_set_tag(x_484, 0); +lean_ctor_set(x_484, 0, x_3); +return x_484; +} +else +{ +lean_object* x_501; lean_object* x_502; +x_501 = lean_ctor_get(x_484, 1); +lean_inc(x_501); +lean_dec(x_484); +x_502 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_502, 0, x_3); +lean_ctor_set(x_502, 1, x_501); +return x_502; +} } } } } else { -uint8_t x_491; -lean_dec(x_433); +uint8_t x_515; +lean_dec(x_457); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_491 = !lean_is_exclusive(x_442); -if (x_491 == 0) +x_515 = !lean_is_exclusive(x_466); +if (x_515 == 0) { -return x_442; +return x_466; } else { -lean_object* x_492; lean_object* x_493; lean_object* x_494; -x_492 = lean_ctor_get(x_442, 0); -x_493 = lean_ctor_get(x_442, 1); -lean_inc(x_493); -lean_inc(x_492); -lean_dec(x_442); -x_494 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_494, 0, x_492); -lean_ctor_set(x_494, 1, x_493); -return x_494; +lean_object* x_516; lean_object* x_517; lean_object* x_518; +x_516 = lean_ctor_get(x_466, 0); +x_517 = lean_ctor_get(x_466, 1); +lean_inc(x_517); +lean_inc(x_516); +lean_dec(x_466); +x_518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_518, 0, x_516); +lean_ctor_set(x_518, 1, x_517); +return x_518; } } } } +else +{ +uint8_t x_519; +lean_dec(x_457); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_519 = !lean_is_exclusive(x_458); +if (x_519 == 0) +{ +return x_458; +} +else +{ +lean_object* x_520; lean_object* x_521; lean_object* x_522; +x_520 = lean_ctor_get(x_458, 0); +x_521 = lean_ctor_get(x_458, 1); +lean_inc(x_521); +lean_inc(x_520); +lean_dec(x_458); +x_522 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_522, 0, x_520); +lean_ctor_set(x_522, 1, x_521); +return x_522; +} +} +} } } case 8: { -lean_object* x_495; +lean_object* x_523; lean_dec(x_7); lean_dec(x_6); -x_495 = l_Lean_Expr_constName_x3f(x_5); +x_523 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_495) == 0) -{ -lean_object* x_496; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_496 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_496, 0, x_3); -lean_ctor_set(x_496, 1, x_12); -return x_496; -} -else -{ -lean_object* x_497; lean_object* x_498; lean_object* x_499; -x_497 = lean_ctor_get(x_495, 0); -lean_inc(x_497); -lean_dec(x_495); -x_498 = lean_unsigned_to_nat(0u); -x_499 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_498); -if (lean_obj_tag(x_499) == 0) -{ -lean_object* x_500; -lean_dec(x_497); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_500 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_500, 0, x_3); -lean_ctor_set(x_500, 1, x_12); -return x_500; -} -else -{ -lean_object* x_501; lean_object* x_502; lean_object* x_503; uint8_t x_504; -x_501 = lean_ctor_get(x_499, 0); -lean_inc(x_501); -lean_dec(x_499); -x_502 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_497, x_8, x_9, x_10, x_11, x_12); -x_503 = lean_ctor_get(x_502, 0); -lean_inc(x_503); -x_504 = lean_unbox(x_503); -lean_dec(x_503); -if (x_504 == 0) -{ -uint8_t x_505; -lean_dec(x_501); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_505 = !lean_is_exclusive(x_502); -if (x_505 == 0) -{ -lean_object* x_506; -x_506 = lean_ctor_get(x_502, 0); -lean_dec(x_506); -lean_ctor_set(x_502, 0, x_3); -return x_502; -} -else -{ -lean_object* x_507; lean_object* x_508; -x_507 = lean_ctor_get(x_502, 1); -lean_inc(x_507); -lean_dec(x_502); -x_508 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_508, 0, x_3); -lean_ctor_set(x_508, 1, x_507); -return x_508; -} -} -else -{ -lean_object* x_509; lean_object* x_510; -x_509 = lean_ctor_get(x_502, 1); -lean_inc(x_509); -lean_dec(x_502); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_501); -lean_inc(x_1); -x_510 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_501, x_8, x_9, x_10, x_11, x_509); -if (lean_obj_tag(x_510) == 0) -{ -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; uint8_t x_519; lean_object* x_520; lean_object* x_548; lean_object* x_549; lean_object* x_550; uint8_t x_551; -x_511 = lean_ctor_get(x_510, 0); -lean_inc(x_511); -x_512 = lean_ctor_get(x_510, 1); -lean_inc(x_512); -lean_dec(x_510); -x_513 = lean_ctor_get(x_511, 1); -lean_inc(x_513); -lean_dec(x_511); -x_514 = lean_box(0); -lean_inc(x_8); -x_515 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_513, x_514, x_8, x_9, x_10, x_11, x_512); -x_516 = lean_ctor_get(x_515, 0); -lean_inc(x_516); -x_517 = lean_ctor_get(x_515, 1); -lean_inc(x_517); -lean_dec(x_515); -x_518 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_548 = lean_st_ref_get(x_11, x_517); -x_549 = lean_ctor_get(x_548, 0); -lean_inc(x_549); -x_550 = lean_ctor_get(x_549, 3); -lean_inc(x_550); -lean_dec(x_549); -x_551 = lean_ctor_get_uint8(x_550, sizeof(void*)*1); -lean_dec(x_550); -if (x_551 == 0) -{ -lean_object* x_552; uint8_t x_553; -x_552 = lean_ctor_get(x_548, 1); -lean_inc(x_552); -lean_dec(x_548); -x_553 = 0; -x_519 = x_553; -x_520 = x_552; -goto block_547; -} -else -{ -lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; uint8_t x_558; -x_554 = lean_ctor_get(x_548, 1); -lean_inc(x_554); -lean_dec(x_548); -x_555 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_518, x_8, x_9, x_10, x_11, x_554); -x_556 = lean_ctor_get(x_555, 0); -lean_inc(x_556); -x_557 = lean_ctor_get(x_555, 1); -lean_inc(x_557); -lean_dec(x_555); -x_558 = lean_unbox(x_556); -lean_dec(x_556); -x_519 = x_558; -x_520 = x_557; -goto block_547; -} -block_547: -{ -if (x_519 == 0) -{ -lean_object* x_521; lean_object* x_522; -x_521 = lean_box(0); -lean_inc(x_3); -x_522 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_516, x_3, x_518, x_1, x_501, x_521, x_8, x_9, x_10, x_11, x_520); -if (lean_obj_tag(x_522) == 0) -{ -lean_dec(x_3); -return x_522; -} -else -{ -uint8_t x_523; -x_523 = !lean_is_exclusive(x_522); -if (x_523 == 0) +if (lean_obj_tag(x_523) == 0) { lean_object* x_524; -x_524 = lean_ctor_get(x_522, 0); -lean_dec(x_524); -lean_ctor_set_tag(x_522, 0); -lean_ctor_set(x_522, 0, x_3); -return x_522; -} -else -{ -lean_object* x_525; lean_object* x_526; -x_525 = lean_ctor_get(x_522, 1); -lean_inc(x_525); -lean_dec(x_522); -x_526 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_526, 0, x_3); -lean_ctor_set(x_526, 1, x_525); -return x_526; -} -} -} -else -{ -lean_object* x_527; lean_object* x_528; -x_527 = l_Lean_Expr_mvarId_x21(x_516); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_528 = l_Lean_Meta_ppGoal(x_527, x_8, x_9, x_10, x_11, x_520); -if (lean_obj_tag(x_528) == 0) -{ -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; -x_529 = lean_ctor_get(x_528, 0); -lean_inc(x_529); -x_530 = lean_ctor_get(x_528, 1); -lean_inc(x_530); -lean_dec(x_528); -x_531 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_531, 0, x_529); -x_532 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_533 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_533, 0, x_532); -lean_ctor_set(x_533, 1, x_531); -x_534 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_534, 0, x_533); -lean_ctor_set(x_534, 1, x_532); -x_535 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_518, x_534, x_8, x_9, x_10, x_11, x_530); -x_536 = lean_ctor_get(x_535, 0); -lean_inc(x_536); -x_537 = lean_ctor_get(x_535, 1); -lean_inc(x_537); -lean_dec(x_535); -lean_inc(x_3); -x_538 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_516, x_3, x_518, x_1, x_501, x_536, x_8, x_9, x_10, x_11, x_537); -if (lean_obj_tag(x_538) == 0) -{ -lean_dec(x_3); -return x_538; -} -else -{ -uint8_t x_539; -x_539 = !lean_is_exclusive(x_538); -if (x_539 == 0) -{ -lean_object* x_540; -x_540 = lean_ctor_get(x_538, 0); -lean_dec(x_540); -lean_ctor_set_tag(x_538, 0); -lean_ctor_set(x_538, 0, x_3); -return x_538; -} -else -{ -lean_object* x_541; lean_object* x_542; -x_541 = lean_ctor_get(x_538, 1); -lean_inc(x_541); -lean_dec(x_538); -x_542 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_542, 0, x_3); -lean_ctor_set(x_542, 1, x_541); -return x_542; -} -} -} -else -{ -uint8_t x_543; -lean_dec(x_516); -lean_dec(x_501); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_2); lean_dec(x_1); -x_543 = !lean_is_exclusive(x_528); -if (x_543 == 0) +x_524 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_524, 0, x_3); +lean_ctor_set(x_524, 1, x_12); +return x_524; +} +else { -lean_object* x_544; -x_544 = lean_ctor_get(x_528, 0); -lean_dec(x_544); -lean_ctor_set_tag(x_528, 0); +lean_object* x_525; lean_object* x_526; lean_object* x_527; +x_525 = lean_ctor_get(x_523, 0); +lean_inc(x_525); +lean_dec(x_523); +x_526 = lean_unsigned_to_nat(0u); +x_527 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_526); +if (lean_obj_tag(x_527) == 0) +{ +lean_object* x_528; +lean_dec(x_525); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_528 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_528, 0, x_3); +lean_ctor_set(x_528, 1, x_12); return x_528; } else { -lean_object* x_545; lean_object* x_546; -x_545 = lean_ctor_get(x_528, 1); +lean_object* x_529; lean_object* x_530; +x_529 = lean_ctor_get(x_527, 0); +lean_inc(x_529); +lean_dec(x_527); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_530 = l_Lean_Meta_isInductivePredicate(x_525, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_530) == 0) +{ +lean_object* x_531; uint8_t x_532; +x_531 = lean_ctor_get(x_530, 0); +lean_inc(x_531); +x_532 = lean_unbox(x_531); +lean_dec(x_531); +if (x_532 == 0) +{ +uint8_t x_533; +lean_dec(x_529); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_533 = !lean_is_exclusive(x_530); +if (x_533 == 0) +{ +lean_object* x_534; +x_534 = lean_ctor_get(x_530, 0); +lean_dec(x_534); +lean_ctor_set(x_530, 0, x_3); +return x_530; +} +else +{ +lean_object* x_535; lean_object* x_536; +x_535 = lean_ctor_get(x_530, 1); +lean_inc(x_535); +lean_dec(x_530); +x_536 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_536, 0, x_3); +lean_ctor_set(x_536, 1, x_535); +return x_536; +} +} +else +{ +lean_object* x_537; lean_object* x_538; +x_537 = lean_ctor_get(x_530, 1); +lean_inc(x_537); +lean_dec(x_530); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_529); +lean_inc(x_1); +x_538 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_529, x_8, x_9, x_10, x_11, x_537); +if (lean_obj_tag(x_538) == 0) +{ +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; uint8_t x_547; lean_object* x_548; lean_object* x_576; lean_object* x_577; lean_object* x_578; uint8_t x_579; +x_539 = lean_ctor_get(x_538, 0); +lean_inc(x_539); +x_540 = lean_ctor_get(x_538, 1); +lean_inc(x_540); +lean_dec(x_538); +x_541 = lean_ctor_get(x_539, 1); +lean_inc(x_541); +lean_dec(x_539); +x_542 = lean_box(0); +lean_inc(x_8); +x_543 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_541, x_542, x_8, x_9, x_10, x_11, x_540); +x_544 = lean_ctor_get(x_543, 0); +lean_inc(x_544); +x_545 = lean_ctor_get(x_543, 1); lean_inc(x_545); -lean_dec(x_528); -x_546 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_546, 0, x_3); -lean_ctor_set(x_546, 1, x_545); -return x_546; +lean_dec(x_543); +x_546 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_576 = lean_st_ref_get(x_11, x_545); +x_577 = lean_ctor_get(x_576, 0); +lean_inc(x_577); +x_578 = lean_ctor_get(x_577, 3); +lean_inc(x_578); +lean_dec(x_577); +x_579 = lean_ctor_get_uint8(x_578, sizeof(void*)*1); +lean_dec(x_578); +if (x_579 == 0) +{ +lean_object* x_580; uint8_t x_581; +x_580 = lean_ctor_get(x_576, 1); +lean_inc(x_580); +lean_dec(x_576); +x_581 = 0; +x_547 = x_581; +x_548 = x_580; +goto block_575; +} +else +{ +lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; uint8_t x_586; +x_582 = lean_ctor_get(x_576, 1); +lean_inc(x_582); +lean_dec(x_576); +x_583 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_546, x_8, x_9, x_10, x_11, x_582); +x_584 = lean_ctor_get(x_583, 0); +lean_inc(x_584); +x_585 = lean_ctor_get(x_583, 1); +lean_inc(x_585); +lean_dec(x_583); +x_586 = lean_unbox(x_584); +lean_dec(x_584); +x_547 = x_586; +x_548 = x_585; +goto block_575; +} +block_575: +{ +if (x_547 == 0) +{ +lean_object* x_549; lean_object* x_550; +x_549 = lean_box(0); +lean_inc(x_3); +x_550 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_544, x_3, x_546, x_1, x_529, x_549, x_8, x_9, x_10, x_11, x_548); +if (lean_obj_tag(x_550) == 0) +{ +lean_dec(x_3); +return x_550; +} +else +{ +uint8_t x_551; +x_551 = !lean_is_exclusive(x_550); +if (x_551 == 0) +{ +lean_object* x_552; +x_552 = lean_ctor_get(x_550, 0); +lean_dec(x_552); +lean_ctor_set_tag(x_550, 0); +lean_ctor_set(x_550, 0, x_3); +return x_550; +} +else +{ +lean_object* x_553; lean_object* x_554; +x_553 = lean_ctor_get(x_550, 1); +lean_inc(x_553); +lean_dec(x_550); +x_554 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_554, 0, x_3); +lean_ctor_set(x_554, 1, x_553); +return x_554; +} +} +} +else +{ +lean_object* x_555; lean_object* x_556; +x_555 = l_Lean_Expr_mvarId_x21(x_544); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_556 = l_Lean_Meta_ppGoal(x_555, x_8, x_9, x_10, x_11, x_548); +if (lean_obj_tag(x_556) == 0) +{ +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; +x_557 = lean_ctor_get(x_556, 0); +lean_inc(x_557); +x_558 = lean_ctor_get(x_556, 1); +lean_inc(x_558); +lean_dec(x_556); +x_559 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_559, 0, x_557); +x_560 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_561 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_561, 0, x_560); +lean_ctor_set(x_561, 1, x_559); +x_562 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_562, 0, x_561); +lean_ctor_set(x_562, 1, x_560); +x_563 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_546, x_562, x_8, x_9, x_10, x_11, x_558); +x_564 = lean_ctor_get(x_563, 0); +lean_inc(x_564); +x_565 = lean_ctor_get(x_563, 1); +lean_inc(x_565); +lean_dec(x_563); +lean_inc(x_3); +x_566 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_544, x_3, x_546, x_1, x_529, x_564, x_8, x_9, x_10, x_11, x_565); +if (lean_obj_tag(x_566) == 0) +{ +lean_dec(x_3); +return x_566; +} +else +{ +uint8_t x_567; +x_567 = !lean_is_exclusive(x_566); +if (x_567 == 0) +{ +lean_object* x_568; +x_568 = lean_ctor_get(x_566, 0); +lean_dec(x_568); +lean_ctor_set_tag(x_566, 0); +lean_ctor_set(x_566, 0, x_3); +return x_566; +} +else +{ +lean_object* x_569; lean_object* x_570; +x_569 = lean_ctor_get(x_566, 1); +lean_inc(x_569); +lean_dec(x_566); +x_570 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_570, 0, x_3); +lean_ctor_set(x_570, 1, x_569); +return x_570; +} +} +} +else +{ +uint8_t x_571; +lean_dec(x_544); +lean_dec(x_529); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_571 = !lean_is_exclusive(x_556); +if (x_571 == 0) +{ +lean_object* x_572; +x_572 = lean_ctor_get(x_556, 0); +lean_dec(x_572); +lean_ctor_set_tag(x_556, 0); +lean_ctor_set(x_556, 0, x_3); +return x_556; +} +else +{ +lean_object* x_573; lean_object* x_574; +x_573 = lean_ctor_get(x_556, 1); +lean_inc(x_573); +lean_dec(x_556); +x_574 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_574, 0, x_3); +lean_ctor_set(x_574, 1, x_573); +return x_574; } } } @@ -20542,327 +20686,365 @@ return x_546; } else { -uint8_t x_559; -lean_dec(x_501); +uint8_t x_587; +lean_dec(x_529); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_559 = !lean_is_exclusive(x_510); -if (x_559 == 0) +x_587 = !lean_is_exclusive(x_538); +if (x_587 == 0) { -return x_510; +return x_538; } else { -lean_object* x_560; lean_object* x_561; lean_object* x_562; -x_560 = lean_ctor_get(x_510, 0); -x_561 = lean_ctor_get(x_510, 1); -lean_inc(x_561); -lean_inc(x_560); -lean_dec(x_510); -x_562 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_562, 0, x_560); -lean_ctor_set(x_562, 1, x_561); -return x_562; +lean_object* x_588; lean_object* x_589; lean_object* x_590; +x_588 = lean_ctor_get(x_538, 0); +x_589 = lean_ctor_get(x_538, 1); +lean_inc(x_589); +lean_inc(x_588); +lean_dec(x_538); +x_590 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_590, 0, x_588); +lean_ctor_set(x_590, 1, x_589); +return x_590; } } } } +else +{ +uint8_t x_591; +lean_dec(x_529); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_591 = !lean_is_exclusive(x_530); +if (x_591 == 0) +{ +return x_530; +} +else +{ +lean_object* x_592; lean_object* x_593; lean_object* x_594; +x_592 = lean_ctor_get(x_530, 0); +x_593 = lean_ctor_get(x_530, 1); +lean_inc(x_593); +lean_inc(x_592); +lean_dec(x_530); +x_594 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_594, 0, x_592); +lean_ctor_set(x_594, 1, x_593); +return x_594; +} +} +} } } case 9: { -lean_object* x_563; +lean_object* x_595; lean_dec(x_7); lean_dec(x_6); -x_563 = l_Lean_Expr_constName_x3f(x_5); +x_595 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_563) == 0) +if (lean_obj_tag(x_595) == 0) { -lean_object* x_564; +lean_object* x_596; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_564 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_564, 0, x_3); -lean_ctor_set(x_564, 1, x_12); -return x_564; -} -else -{ -lean_object* x_565; lean_object* x_566; lean_object* x_567; -x_565 = lean_ctor_get(x_563, 0); -lean_inc(x_565); -lean_dec(x_563); -x_566 = lean_unsigned_to_nat(0u); -x_567 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_566); -if (lean_obj_tag(x_567) == 0) -{ -lean_object* x_568; -lean_dec(x_565); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_568 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_568, 0, x_3); -lean_ctor_set(x_568, 1, x_12); -return x_568; -} -else -{ -lean_object* x_569; lean_object* x_570; lean_object* x_571; uint8_t x_572; -x_569 = lean_ctor_get(x_567, 0); -lean_inc(x_569); -lean_dec(x_567); -x_570 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_565, x_8, x_9, x_10, x_11, x_12); -x_571 = lean_ctor_get(x_570, 0); -lean_inc(x_571); -x_572 = lean_unbox(x_571); -lean_dec(x_571); -if (x_572 == 0) -{ -uint8_t x_573; -lean_dec(x_569); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_573 = !lean_is_exclusive(x_570); -if (x_573 == 0) -{ -lean_object* x_574; -x_574 = lean_ctor_get(x_570, 0); -lean_dec(x_574); -lean_ctor_set(x_570, 0, x_3); -return x_570; -} -else -{ -lean_object* x_575; lean_object* x_576; -x_575 = lean_ctor_get(x_570, 1); -lean_inc(x_575); -lean_dec(x_570); -x_576 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_576, 0, x_3); -lean_ctor_set(x_576, 1, x_575); -return x_576; -} -} -else -{ -lean_object* x_577; lean_object* x_578; -x_577 = lean_ctor_get(x_570, 1); -lean_inc(x_577); -lean_dec(x_570); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_569); -lean_inc(x_1); -x_578 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_569, x_8, x_9, x_10, x_11, x_577); -if (lean_obj_tag(x_578) == 0) -{ -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; uint8_t x_587; lean_object* x_588; lean_object* x_616; lean_object* x_617; lean_object* x_618; uint8_t x_619; -x_579 = lean_ctor_get(x_578, 0); -lean_inc(x_579); -x_580 = lean_ctor_get(x_578, 1); -lean_inc(x_580); -lean_dec(x_578); -x_581 = lean_ctor_get(x_579, 1); -lean_inc(x_581); -lean_dec(x_579); -x_582 = lean_box(0); -lean_inc(x_8); -x_583 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_581, x_582, x_8, x_9, x_10, x_11, x_580); -x_584 = lean_ctor_get(x_583, 0); -lean_inc(x_584); -x_585 = lean_ctor_get(x_583, 1); -lean_inc(x_585); -lean_dec(x_583); -x_586 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_616 = lean_st_ref_get(x_11, x_585); -x_617 = lean_ctor_get(x_616, 0); -lean_inc(x_617); -x_618 = lean_ctor_get(x_617, 3); -lean_inc(x_618); -lean_dec(x_617); -x_619 = lean_ctor_get_uint8(x_618, sizeof(void*)*1); -lean_dec(x_618); -if (x_619 == 0) -{ -lean_object* x_620; uint8_t x_621; -x_620 = lean_ctor_get(x_616, 1); -lean_inc(x_620); -lean_dec(x_616); -x_621 = 0; -x_587 = x_621; -x_588 = x_620; -goto block_615; -} -else -{ -lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; uint8_t x_626; -x_622 = lean_ctor_get(x_616, 1); -lean_inc(x_622); -lean_dec(x_616); -x_623 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_586, x_8, x_9, x_10, x_11, x_622); -x_624 = lean_ctor_get(x_623, 0); -lean_inc(x_624); -x_625 = lean_ctor_get(x_623, 1); -lean_inc(x_625); -lean_dec(x_623); -x_626 = lean_unbox(x_624); -lean_dec(x_624); -x_587 = x_626; -x_588 = x_625; -goto block_615; -} -block_615: -{ -if (x_587 == 0) -{ -lean_object* x_589; lean_object* x_590; -x_589 = lean_box(0); -lean_inc(x_3); -x_590 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_584, x_3, x_586, x_1, x_569, x_589, x_8, x_9, x_10, x_11, x_588); -if (lean_obj_tag(x_590) == 0) -{ -lean_dec(x_3); -return x_590; -} -else -{ -uint8_t x_591; -x_591 = !lean_is_exclusive(x_590); -if (x_591 == 0) -{ -lean_object* x_592; -x_592 = lean_ctor_get(x_590, 0); -lean_dec(x_592); -lean_ctor_set_tag(x_590, 0); -lean_ctor_set(x_590, 0, x_3); -return x_590; -} -else -{ -lean_object* x_593; lean_object* x_594; -x_593 = lean_ctor_get(x_590, 1); -lean_inc(x_593); -lean_dec(x_590); -x_594 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_594, 0, x_3); -lean_ctor_set(x_594, 1, x_593); -return x_594; -} -} -} -else -{ -lean_object* x_595; lean_object* x_596; -x_595 = l_Lean_Expr_mvarId_x21(x_584); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_596 = l_Lean_Meta_ppGoal(x_595, x_8, x_9, x_10, x_11, x_588); -if (lean_obj_tag(x_596) == 0) -{ -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; -x_597 = lean_ctor_get(x_596, 0); -lean_inc(x_597); -x_598 = lean_ctor_get(x_596, 1); -lean_inc(x_598); -lean_dec(x_596); -x_599 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_599, 0, x_597); -x_600 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_601 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_599); -x_602 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_602, 0, x_601); -lean_ctor_set(x_602, 1, x_600); -x_603 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_586, x_602, x_8, x_9, x_10, x_11, x_598); -x_604 = lean_ctor_get(x_603, 0); -lean_inc(x_604); -x_605 = lean_ctor_get(x_603, 1); -lean_inc(x_605); -lean_dec(x_603); -lean_inc(x_3); -x_606 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_584, x_3, x_586, x_1, x_569, x_604, x_8, x_9, x_10, x_11, x_605); -if (lean_obj_tag(x_606) == 0) -{ -lean_dec(x_3); -return x_606; -} -else -{ -uint8_t x_607; -x_607 = !lean_is_exclusive(x_606); -if (x_607 == 0) -{ -lean_object* x_608; -x_608 = lean_ctor_get(x_606, 0); -lean_dec(x_608); -lean_ctor_set_tag(x_606, 0); -lean_ctor_set(x_606, 0, x_3); -return x_606; -} -else -{ -lean_object* x_609; lean_object* x_610; -x_609 = lean_ctor_get(x_606, 1); -lean_inc(x_609); -lean_dec(x_606); -x_610 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_610, 0, x_3); -lean_ctor_set(x_610, 1, x_609); -return x_610; -} -} -} -else -{ -uint8_t x_611; -lean_dec(x_584); -lean_dec(x_569); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_611 = !lean_is_exclusive(x_596); -if (x_611 == 0) -{ -lean_object* x_612; -x_612 = lean_ctor_get(x_596, 0); -lean_dec(x_612); -lean_ctor_set_tag(x_596, 0); +x_596 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_596, 0, x_3); +lean_ctor_set(x_596, 1, x_12); return x_596; } else { -lean_object* x_613; lean_object* x_614; -x_613 = lean_ctor_get(x_596, 1); +lean_object* x_597; lean_object* x_598; lean_object* x_599; +x_597 = lean_ctor_get(x_595, 0); +lean_inc(x_597); +lean_dec(x_595); +x_598 = lean_unsigned_to_nat(0u); +x_599 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_598); +if (lean_obj_tag(x_599) == 0) +{ +lean_object* x_600; +lean_dec(x_597); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_600 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_600, 0, x_3); +lean_ctor_set(x_600, 1, x_12); +return x_600; +} +else +{ +lean_object* x_601; lean_object* x_602; +x_601 = lean_ctor_get(x_599, 0); +lean_inc(x_601); +lean_dec(x_599); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_602 = l_Lean_Meta_isInductivePredicate(x_597, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_602) == 0) +{ +lean_object* x_603; uint8_t x_604; +x_603 = lean_ctor_get(x_602, 0); +lean_inc(x_603); +x_604 = lean_unbox(x_603); +lean_dec(x_603); +if (x_604 == 0) +{ +uint8_t x_605; +lean_dec(x_601); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_605 = !lean_is_exclusive(x_602); +if (x_605 == 0) +{ +lean_object* x_606; +x_606 = lean_ctor_get(x_602, 0); +lean_dec(x_606); +lean_ctor_set(x_602, 0, x_3); +return x_602; +} +else +{ +lean_object* x_607; lean_object* x_608; +x_607 = lean_ctor_get(x_602, 1); +lean_inc(x_607); +lean_dec(x_602); +x_608 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_608, 0, x_3); +lean_ctor_set(x_608, 1, x_607); +return x_608; +} +} +else +{ +lean_object* x_609; lean_object* x_610; +x_609 = lean_ctor_get(x_602, 1); +lean_inc(x_609); +lean_dec(x_602); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_601); +lean_inc(x_1); +x_610 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_601, x_8, x_9, x_10, x_11, x_609); +if (lean_obj_tag(x_610) == 0) +{ +lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; uint8_t x_619; lean_object* x_620; lean_object* x_648; lean_object* x_649; lean_object* x_650; uint8_t x_651; +x_611 = lean_ctor_get(x_610, 0); +lean_inc(x_611); +x_612 = lean_ctor_get(x_610, 1); +lean_inc(x_612); +lean_dec(x_610); +x_613 = lean_ctor_get(x_611, 1); lean_inc(x_613); -lean_dec(x_596); -x_614 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_614, 0, x_3); -lean_ctor_set(x_614, 1, x_613); -return x_614; +lean_dec(x_611); +x_614 = lean_box(0); +lean_inc(x_8); +x_615 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_613, x_614, x_8, x_9, x_10, x_11, x_612); +x_616 = lean_ctor_get(x_615, 0); +lean_inc(x_616); +x_617 = lean_ctor_get(x_615, 1); +lean_inc(x_617); +lean_dec(x_615); +x_618 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_648 = lean_st_ref_get(x_11, x_617); +x_649 = lean_ctor_get(x_648, 0); +lean_inc(x_649); +x_650 = lean_ctor_get(x_649, 3); +lean_inc(x_650); +lean_dec(x_649); +x_651 = lean_ctor_get_uint8(x_650, sizeof(void*)*1); +lean_dec(x_650); +if (x_651 == 0) +{ +lean_object* x_652; uint8_t x_653; +x_652 = lean_ctor_get(x_648, 1); +lean_inc(x_652); +lean_dec(x_648); +x_653 = 0; +x_619 = x_653; +x_620 = x_652; +goto block_647; +} +else +{ +lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; uint8_t x_658; +x_654 = lean_ctor_get(x_648, 1); +lean_inc(x_654); +lean_dec(x_648); +x_655 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_618, x_8, x_9, x_10, x_11, x_654); +x_656 = lean_ctor_get(x_655, 0); +lean_inc(x_656); +x_657 = lean_ctor_get(x_655, 1); +lean_inc(x_657); +lean_dec(x_655); +x_658 = lean_unbox(x_656); +lean_dec(x_656); +x_619 = x_658; +x_620 = x_657; +goto block_647; +} +block_647: +{ +if (x_619 == 0) +{ +lean_object* x_621; lean_object* x_622; +x_621 = lean_box(0); +lean_inc(x_3); +x_622 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_616, x_3, x_618, x_1, x_601, x_621, x_8, x_9, x_10, x_11, x_620); +if (lean_obj_tag(x_622) == 0) +{ +lean_dec(x_3); +return x_622; +} +else +{ +uint8_t x_623; +x_623 = !lean_is_exclusive(x_622); +if (x_623 == 0) +{ +lean_object* x_624; +x_624 = lean_ctor_get(x_622, 0); +lean_dec(x_624); +lean_ctor_set_tag(x_622, 0); +lean_ctor_set(x_622, 0, x_3); +return x_622; +} +else +{ +lean_object* x_625; lean_object* x_626; +x_625 = lean_ctor_get(x_622, 1); +lean_inc(x_625); +lean_dec(x_622); +x_626 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_626, 0, x_3); +lean_ctor_set(x_626, 1, x_625); +return x_626; +} +} +} +else +{ +lean_object* x_627; lean_object* x_628; +x_627 = l_Lean_Expr_mvarId_x21(x_616); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_628 = l_Lean_Meta_ppGoal(x_627, x_8, x_9, x_10, x_11, x_620); +if (lean_obj_tag(x_628) == 0) +{ +lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; +x_629 = lean_ctor_get(x_628, 0); +lean_inc(x_629); +x_630 = lean_ctor_get(x_628, 1); +lean_inc(x_630); +lean_dec(x_628); +x_631 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_631, 0, x_629); +x_632 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_633 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_633, 0, x_632); +lean_ctor_set(x_633, 1, x_631); +x_634 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_634, 0, x_633); +lean_ctor_set(x_634, 1, x_632); +x_635 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_618, x_634, x_8, x_9, x_10, x_11, x_630); +x_636 = lean_ctor_get(x_635, 0); +lean_inc(x_636); +x_637 = lean_ctor_get(x_635, 1); +lean_inc(x_637); +lean_dec(x_635); +lean_inc(x_3); +x_638 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_616, x_3, x_618, x_1, x_601, x_636, x_8, x_9, x_10, x_11, x_637); +if (lean_obj_tag(x_638) == 0) +{ +lean_dec(x_3); +return x_638; +} +else +{ +uint8_t x_639; +x_639 = !lean_is_exclusive(x_638); +if (x_639 == 0) +{ +lean_object* x_640; +x_640 = lean_ctor_get(x_638, 0); +lean_dec(x_640); +lean_ctor_set_tag(x_638, 0); +lean_ctor_set(x_638, 0, x_3); +return x_638; +} +else +{ +lean_object* x_641; lean_object* x_642; +x_641 = lean_ctor_get(x_638, 1); +lean_inc(x_641); +lean_dec(x_638); +x_642 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_642, 0, x_3); +lean_ctor_set(x_642, 1, x_641); +return x_642; +} +} +} +else +{ +uint8_t x_643; +lean_dec(x_616); +lean_dec(x_601); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_643 = !lean_is_exclusive(x_628); +if (x_643 == 0) +{ +lean_object* x_644; +x_644 = lean_ctor_get(x_628, 0); +lean_dec(x_644); +lean_ctor_set_tag(x_628, 0); +lean_ctor_set(x_628, 0, x_3); +return x_628; +} +else +{ +lean_object* x_645; lean_object* x_646; +x_645 = lean_ctor_get(x_628, 1); +lean_inc(x_645); +lean_dec(x_628); +x_646 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_646, 0, x_3); +lean_ctor_set(x_646, 1, x_645); +return x_646; } } } @@ -20870,327 +21052,365 @@ return x_614; } else { -uint8_t x_627; -lean_dec(x_569); +uint8_t x_659; +lean_dec(x_601); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_627 = !lean_is_exclusive(x_578); -if (x_627 == 0) +x_659 = !lean_is_exclusive(x_610); +if (x_659 == 0) { -return x_578; +return x_610; } else { -lean_object* x_628; lean_object* x_629; lean_object* x_630; -x_628 = lean_ctor_get(x_578, 0); -x_629 = lean_ctor_get(x_578, 1); -lean_inc(x_629); -lean_inc(x_628); -lean_dec(x_578); -x_630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_630, 0, x_628); -lean_ctor_set(x_630, 1, x_629); -return x_630; +lean_object* x_660; lean_object* x_661; lean_object* x_662; +x_660 = lean_ctor_get(x_610, 0); +x_661 = lean_ctor_get(x_610, 1); +lean_inc(x_661); +lean_inc(x_660); +lean_dec(x_610); +x_662 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_662, 0, x_660); +lean_ctor_set(x_662, 1, x_661); +return x_662; } } } } +else +{ +uint8_t x_663; +lean_dec(x_601); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_663 = !lean_is_exclusive(x_602); +if (x_663 == 0) +{ +return x_602; +} +else +{ +lean_object* x_664; lean_object* x_665; lean_object* x_666; +x_664 = lean_ctor_get(x_602, 0); +x_665 = lean_ctor_get(x_602, 1); +lean_inc(x_665); +lean_inc(x_664); +lean_dec(x_602); +x_666 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_666, 0, x_664); +lean_ctor_set(x_666, 1, x_665); +return x_666; +} +} +} } } case 10: { -lean_object* x_631; +lean_object* x_667; lean_dec(x_7); lean_dec(x_6); -x_631 = l_Lean_Expr_constName_x3f(x_5); +x_667 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_631) == 0) +if (lean_obj_tag(x_667) == 0) { -lean_object* x_632; +lean_object* x_668; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_632 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_632, 0, x_3); -lean_ctor_set(x_632, 1, x_12); -return x_632; +x_668 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_668, 0, x_3); +lean_ctor_set(x_668, 1, x_12); +return x_668; } else { -lean_object* x_633; lean_object* x_634; lean_object* x_635; -x_633 = lean_ctor_get(x_631, 0); -lean_inc(x_633); -lean_dec(x_631); -x_634 = lean_unsigned_to_nat(0u); -x_635 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_634); -if (lean_obj_tag(x_635) == 0) +lean_object* x_669; lean_object* x_670; lean_object* x_671; +x_669 = lean_ctor_get(x_667, 0); +lean_inc(x_669); +lean_dec(x_667); +x_670 = lean_unsigned_to_nat(0u); +x_671 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_670); +if (lean_obj_tag(x_671) == 0) { -lean_object* x_636; -lean_dec(x_633); +lean_object* x_672; +lean_dec(x_669); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_636 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_636, 0, x_3); -lean_ctor_set(x_636, 1, x_12); -return x_636; +x_672 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_672, 0, x_3); +lean_ctor_set(x_672, 1, x_12); +return x_672; } else { -lean_object* x_637; lean_object* x_638; lean_object* x_639; uint8_t x_640; -x_637 = lean_ctor_get(x_635, 0); -lean_inc(x_637); -lean_dec(x_635); -x_638 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_633, x_8, x_9, x_10, x_11, x_12); -x_639 = lean_ctor_get(x_638, 0); -lean_inc(x_639); -x_640 = lean_unbox(x_639); -lean_dec(x_639); -if (x_640 == 0) -{ -uint8_t x_641; -lean_dec(x_637); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_641 = !lean_is_exclusive(x_638); -if (x_641 == 0) -{ -lean_object* x_642; -x_642 = lean_ctor_get(x_638, 0); -lean_dec(x_642); -lean_ctor_set(x_638, 0, x_3); -return x_638; -} -else -{ -lean_object* x_643; lean_object* x_644; -x_643 = lean_ctor_get(x_638, 1); -lean_inc(x_643); -lean_dec(x_638); -x_644 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_644, 0, x_3); -lean_ctor_set(x_644, 1, x_643); -return x_644; -} -} -else -{ -lean_object* x_645; lean_object* x_646; -x_645 = lean_ctor_get(x_638, 1); -lean_inc(x_645); -lean_dec(x_638); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_637); -lean_inc(x_1); -x_646 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_637, x_8, x_9, x_10, x_11, x_645); -if (lean_obj_tag(x_646) == 0) -{ -lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; uint8_t x_655; lean_object* x_656; lean_object* x_684; lean_object* x_685; lean_object* x_686; uint8_t x_687; -x_647 = lean_ctor_get(x_646, 0); -lean_inc(x_647); -x_648 = lean_ctor_get(x_646, 1); -lean_inc(x_648); -lean_dec(x_646); -x_649 = lean_ctor_get(x_647, 1); -lean_inc(x_649); -lean_dec(x_647); -x_650 = lean_box(0); -lean_inc(x_8); -x_651 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_649, x_650, x_8, x_9, x_10, x_11, x_648); -x_652 = lean_ctor_get(x_651, 0); -lean_inc(x_652); -x_653 = lean_ctor_get(x_651, 1); -lean_inc(x_653); -lean_dec(x_651); -x_654 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_684 = lean_st_ref_get(x_11, x_653); -x_685 = lean_ctor_get(x_684, 0); -lean_inc(x_685); -x_686 = lean_ctor_get(x_685, 3); -lean_inc(x_686); -lean_dec(x_685); -x_687 = lean_ctor_get_uint8(x_686, sizeof(void*)*1); -lean_dec(x_686); -if (x_687 == 0) -{ -lean_object* x_688; uint8_t x_689; -x_688 = lean_ctor_get(x_684, 1); -lean_inc(x_688); -lean_dec(x_684); -x_689 = 0; -x_655 = x_689; -x_656 = x_688; -goto block_683; -} -else -{ -lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; uint8_t x_694; -x_690 = lean_ctor_get(x_684, 1); -lean_inc(x_690); -lean_dec(x_684); -x_691 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_654, x_8, x_9, x_10, x_11, x_690); -x_692 = lean_ctor_get(x_691, 0); -lean_inc(x_692); -x_693 = lean_ctor_get(x_691, 1); -lean_inc(x_693); -lean_dec(x_691); -x_694 = lean_unbox(x_692); -lean_dec(x_692); -x_655 = x_694; -x_656 = x_693; -goto block_683; -} -block_683: -{ -if (x_655 == 0) -{ -lean_object* x_657; lean_object* x_658; -x_657 = lean_box(0); -lean_inc(x_3); -x_658 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_652, x_3, x_654, x_1, x_637, x_657, x_8, x_9, x_10, x_11, x_656); -if (lean_obj_tag(x_658) == 0) -{ -lean_dec(x_3); -return x_658; -} -else -{ -uint8_t x_659; -x_659 = !lean_is_exclusive(x_658); -if (x_659 == 0) -{ -lean_object* x_660; -x_660 = lean_ctor_get(x_658, 0); -lean_dec(x_660); -lean_ctor_set_tag(x_658, 0); -lean_ctor_set(x_658, 0, x_3); -return x_658; -} -else -{ -lean_object* x_661; lean_object* x_662; -x_661 = lean_ctor_get(x_658, 1); -lean_inc(x_661); -lean_dec(x_658); -x_662 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_662, 0, x_3); -lean_ctor_set(x_662, 1, x_661); -return x_662; -} -} -} -else -{ -lean_object* x_663; lean_object* x_664; -x_663 = l_Lean_Expr_mvarId_x21(x_652); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_664 = l_Lean_Meta_ppGoal(x_663, x_8, x_9, x_10, x_11, x_656); -if (lean_obj_tag(x_664) == 0) -{ -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; -x_665 = lean_ctor_get(x_664, 0); -lean_inc(x_665); -x_666 = lean_ctor_get(x_664, 1); -lean_inc(x_666); -lean_dec(x_664); -x_667 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_667, 0, x_665); -x_668 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_669 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_669, 0, x_668); -lean_ctor_set(x_669, 1, x_667); -x_670 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_670, 0, x_669); -lean_ctor_set(x_670, 1, x_668); -x_671 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_654, x_670, x_8, x_9, x_10, x_11, x_666); -x_672 = lean_ctor_get(x_671, 0); -lean_inc(x_672); -x_673 = lean_ctor_get(x_671, 1); +lean_object* x_673; lean_object* x_674; +x_673 = lean_ctor_get(x_671, 0); lean_inc(x_673); lean_dec(x_671); -lean_inc(x_3); -x_674 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_652, x_3, x_654, x_1, x_637, x_672, x_8, x_9, x_10, x_11, x_673); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_674 = l_Lean_Meta_isInductivePredicate(x_669, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_674) == 0) { -lean_dec(x_3); -return x_674; -} -else +lean_object* x_675; uint8_t x_676; +x_675 = lean_ctor_get(x_674, 0); +lean_inc(x_675); +x_676 = lean_unbox(x_675); +lean_dec(x_675); +if (x_676 == 0) { -uint8_t x_675; -x_675 = !lean_is_exclusive(x_674); -if (x_675 == 0) +uint8_t x_677; +lean_dec(x_673); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_677 = !lean_is_exclusive(x_674); +if (x_677 == 0) { -lean_object* x_676; -x_676 = lean_ctor_get(x_674, 0); -lean_dec(x_676); -lean_ctor_set_tag(x_674, 0); +lean_object* x_678; +x_678 = lean_ctor_get(x_674, 0); +lean_dec(x_678); lean_ctor_set(x_674, 0, x_3); return x_674; } else { -lean_object* x_677; lean_object* x_678; -x_677 = lean_ctor_get(x_674, 1); -lean_inc(x_677); +lean_object* x_679; lean_object* x_680; +x_679 = lean_ctor_get(x_674, 1); +lean_inc(x_679); lean_dec(x_674); -x_678 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_678, 0, x_3); -lean_ctor_set(x_678, 1, x_677); -return x_678; +x_680 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_680, 0, x_3); +lean_ctor_set(x_680, 1, x_679); +return x_680; +} +} +else +{ +lean_object* x_681; lean_object* x_682; +x_681 = lean_ctor_get(x_674, 1); +lean_inc(x_681); +lean_dec(x_674); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_673); +lean_inc(x_1); +x_682 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_673, x_8, x_9, x_10, x_11, x_681); +if (lean_obj_tag(x_682) == 0) +{ +lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; uint8_t x_691; lean_object* x_692; lean_object* x_720; lean_object* x_721; lean_object* x_722; uint8_t x_723; +x_683 = lean_ctor_get(x_682, 0); +lean_inc(x_683); +x_684 = lean_ctor_get(x_682, 1); +lean_inc(x_684); +lean_dec(x_682); +x_685 = lean_ctor_get(x_683, 1); +lean_inc(x_685); +lean_dec(x_683); +x_686 = lean_box(0); +lean_inc(x_8); +x_687 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_685, x_686, x_8, x_9, x_10, x_11, x_684); +x_688 = lean_ctor_get(x_687, 0); +lean_inc(x_688); +x_689 = lean_ctor_get(x_687, 1); +lean_inc(x_689); +lean_dec(x_687); +x_690 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_720 = lean_st_ref_get(x_11, x_689); +x_721 = lean_ctor_get(x_720, 0); +lean_inc(x_721); +x_722 = lean_ctor_get(x_721, 3); +lean_inc(x_722); +lean_dec(x_721); +x_723 = lean_ctor_get_uint8(x_722, sizeof(void*)*1); +lean_dec(x_722); +if (x_723 == 0) +{ +lean_object* x_724; uint8_t x_725; +x_724 = lean_ctor_get(x_720, 1); +lean_inc(x_724); +lean_dec(x_720); +x_725 = 0; +x_691 = x_725; +x_692 = x_724; +goto block_719; +} +else +{ +lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; uint8_t x_730; +x_726 = lean_ctor_get(x_720, 1); +lean_inc(x_726); +lean_dec(x_720); +x_727 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_690, x_8, x_9, x_10, x_11, x_726); +x_728 = lean_ctor_get(x_727, 0); +lean_inc(x_728); +x_729 = lean_ctor_get(x_727, 1); +lean_inc(x_729); +lean_dec(x_727); +x_730 = lean_unbox(x_728); +lean_dec(x_728); +x_691 = x_730; +x_692 = x_729; +goto block_719; +} +block_719: +{ +if (x_691 == 0) +{ +lean_object* x_693; lean_object* x_694; +x_693 = lean_box(0); +lean_inc(x_3); +x_694 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_688, x_3, x_690, x_1, x_673, x_693, x_8, x_9, x_10, x_11, x_692); +if (lean_obj_tag(x_694) == 0) +{ +lean_dec(x_3); +return x_694; +} +else +{ +uint8_t x_695; +x_695 = !lean_is_exclusive(x_694); +if (x_695 == 0) +{ +lean_object* x_696; +x_696 = lean_ctor_get(x_694, 0); +lean_dec(x_696); +lean_ctor_set_tag(x_694, 0); +lean_ctor_set(x_694, 0, x_3); +return x_694; +} +else +{ +lean_object* x_697; lean_object* x_698; +x_697 = lean_ctor_get(x_694, 1); +lean_inc(x_697); +lean_dec(x_694); +x_698 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_698, 0, x_3); +lean_ctor_set(x_698, 1, x_697); +return x_698; } } } else { -uint8_t x_679; -lean_dec(x_652); -lean_dec(x_637); +lean_object* x_699; lean_object* x_700; +x_699 = l_Lean_Expr_mvarId_x21(x_688); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_700 = l_Lean_Meta_ppGoal(x_699, x_8, x_9, x_10, x_11, x_692); +if (lean_obj_tag(x_700) == 0) +{ +lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; +x_701 = lean_ctor_get(x_700, 0); +lean_inc(x_701); +x_702 = lean_ctor_get(x_700, 1); +lean_inc(x_702); +lean_dec(x_700); +x_703 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_703, 0, x_701); +x_704 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_705 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_705, 0, x_704); +lean_ctor_set(x_705, 1, x_703); +x_706 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_706, 0, x_705); +lean_ctor_set(x_706, 1, x_704); +x_707 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_690, x_706, x_8, x_9, x_10, x_11, x_702); +x_708 = lean_ctor_get(x_707, 0); +lean_inc(x_708); +x_709 = lean_ctor_get(x_707, 1); +lean_inc(x_709); +lean_dec(x_707); +lean_inc(x_3); +x_710 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_688, x_3, x_690, x_1, x_673, x_708, x_8, x_9, x_10, x_11, x_709); +if (lean_obj_tag(x_710) == 0) +{ +lean_dec(x_3); +return x_710; +} +else +{ +uint8_t x_711; +x_711 = !lean_is_exclusive(x_710); +if (x_711 == 0) +{ +lean_object* x_712; +x_712 = lean_ctor_get(x_710, 0); +lean_dec(x_712); +lean_ctor_set_tag(x_710, 0); +lean_ctor_set(x_710, 0, x_3); +return x_710; +} +else +{ +lean_object* x_713; lean_object* x_714; +x_713 = lean_ctor_get(x_710, 1); +lean_inc(x_713); +lean_dec(x_710); +x_714 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_714, 0, x_3); +lean_ctor_set(x_714, 1, x_713); +return x_714; +} +} +} +else +{ +uint8_t x_715; +lean_dec(x_688); +lean_dec(x_673); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_1); -x_679 = !lean_is_exclusive(x_664); -if (x_679 == 0) +x_715 = !lean_is_exclusive(x_700); +if (x_715 == 0) { -lean_object* x_680; -x_680 = lean_ctor_get(x_664, 0); -lean_dec(x_680); -lean_ctor_set_tag(x_664, 0); -lean_ctor_set(x_664, 0, x_3); -return x_664; +lean_object* x_716; +x_716 = lean_ctor_get(x_700, 0); +lean_dec(x_716); +lean_ctor_set_tag(x_700, 0); +lean_ctor_set(x_700, 0, x_3); +return x_700; } else { -lean_object* x_681; lean_object* x_682; -x_681 = lean_ctor_get(x_664, 1); -lean_inc(x_681); -lean_dec(x_664); -x_682 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_682, 0, x_3); -lean_ctor_set(x_682, 1, x_681); -return x_682; +lean_object* x_717; lean_object* x_718; +x_717 = lean_ctor_get(x_700, 1); +lean_inc(x_717); +lean_dec(x_700); +x_718 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_718, 0, x_3); +lean_ctor_set(x_718, 1, x_717); +return x_718; } } } @@ -21198,359 +21418,429 @@ return x_682; } else { -uint8_t x_695; -lean_dec(x_637); +uint8_t x_731; +lean_dec(x_673); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); lean_dec(x_1); -x_695 = !lean_is_exclusive(x_646); -if (x_695 == 0) +x_731 = !lean_is_exclusive(x_682); +if (x_731 == 0) { -return x_646; +return x_682; } else { -lean_object* x_696; lean_object* x_697; lean_object* x_698; -x_696 = lean_ctor_get(x_646, 0); -x_697 = lean_ctor_get(x_646, 1); -lean_inc(x_697); -lean_inc(x_696); -lean_dec(x_646); -x_698 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_698, 0, x_696); -lean_ctor_set(x_698, 1, x_697); -return x_698; +lean_object* x_732; lean_object* x_733; lean_object* x_734; +x_732 = lean_ctor_get(x_682, 0); +x_733 = lean_ctor_get(x_682, 1); +lean_inc(x_733); +lean_inc(x_732); +lean_dec(x_682); +x_734 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_734, 0, x_732); +lean_ctor_set(x_734, 1, x_733); +return x_734; } } } } +else +{ +uint8_t x_735; +lean_dec(x_673); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_735 = !lean_is_exclusive(x_674); +if (x_735 == 0) +{ +return x_674; +} +else +{ +lean_object* x_736; lean_object* x_737; lean_object* x_738; +x_736 = lean_ctor_get(x_674, 0); +x_737 = lean_ctor_get(x_674, 1); +lean_inc(x_737); +lean_inc(x_736); +lean_dec(x_674); +x_738 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_738, 0, x_736); +lean_ctor_set(x_738, 1, x_737); +return x_738; +} +} +} } } default: { -lean_object* x_699; +lean_object* x_739; lean_dec(x_7); lean_dec(x_6); -x_699 = l_Lean_Expr_constName_x3f(x_5); +x_739 = l_Lean_Expr_constName_x3f(x_5); lean_dec(x_5); -if (lean_obj_tag(x_699) == 0) +if (lean_obj_tag(x_739) == 0) { -lean_object* x_700; +lean_object* x_740; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_700 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_700, 0, x_3); -lean_ctor_set(x_700, 1, x_12); -return x_700; +x_740 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_740, 0, x_3); +lean_ctor_set(x_740, 1, x_12); +return x_740; } else { -lean_object* x_701; lean_object* x_702; lean_object* x_703; -x_701 = lean_ctor_get(x_699, 0); -lean_inc(x_701); -lean_dec(x_699); -x_702 = lean_unsigned_to_nat(0u); -x_703 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_702); -if (lean_obj_tag(x_703) == 0) +lean_object* x_741; lean_object* x_742; lean_object* x_743; +x_741 = lean_ctor_get(x_739, 0); +lean_inc(x_741); +lean_dec(x_739); +x_742 = lean_unsigned_to_nat(0u); +x_743 = l_Array_indexOfAux___at_Lean_Meta_getElimInfo___spec__1(x_1, x_4, x_742); +if (lean_obj_tag(x_743) == 0) { -lean_object* x_704; -lean_dec(x_701); +lean_object* x_744; +lean_dec(x_741); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); lean_dec(x_1); -x_704 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_704, 0, x_3); -lean_ctor_set(x_704, 1, x_12); -return x_704; +x_744 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_744, 0, x_3); +lean_ctor_set(x_744, 1, x_12); +return x_744; } else { -lean_object* x_705; lean_object* x_706; lean_object* x_707; uint8_t x_708; -x_705 = lean_ctor_get(x_703, 0); -lean_inc(x_705); -lean_dec(x_703); -x_706 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_701, x_8, x_9, x_10, x_11, x_12); -x_707 = lean_ctor_get(x_706, 0); -lean_inc(x_707); -x_708 = lean_unbox(x_707); -lean_dec(x_707); -if (x_708 == 0) -{ -uint8_t x_709; -lean_dec(x_705); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_709 = !lean_is_exclusive(x_706); -if (x_709 == 0) -{ -lean_object* x_710; -x_710 = lean_ctor_get(x_706, 0); -lean_dec(x_710); -lean_ctor_set(x_706, 0, x_3); -return x_706; -} -else -{ -lean_object* x_711; lean_object* x_712; -x_711 = lean_ctor_get(x_706, 1); -lean_inc(x_711); -lean_dec(x_706); -x_712 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_712, 0, x_3); -lean_ctor_set(x_712, 1, x_711); -return x_712; -} -} -else -{ -lean_object* x_713; lean_object* x_714; -x_713 = lean_ctor_get(x_706, 1); -lean_inc(x_713); -lean_dec(x_706); +lean_object* x_745; lean_object* x_746; +x_745 = lean_ctor_get(x_743, 0); +lean_inc(x_745); +lean_dec(x_743); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_705); -lean_inc(x_1); -x_714 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_705, x_8, x_9, x_10, x_11, x_713); -if (lean_obj_tag(x_714) == 0) +x_746 = l_Lean_Meta_isInductivePredicate(x_741, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_746) == 0) { -lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; uint8_t x_723; lean_object* x_724; lean_object* x_752; lean_object* x_753; lean_object* x_754; uint8_t x_755; -x_715 = lean_ctor_get(x_714, 0); -lean_inc(x_715); -x_716 = lean_ctor_get(x_714, 1); -lean_inc(x_716); -lean_dec(x_714); -x_717 = lean_ctor_get(x_715, 1); -lean_inc(x_717); -lean_dec(x_715); -x_718 = lean_box(0); -lean_inc(x_8); -x_719 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_717, x_718, x_8, x_9, x_10, x_11, x_716); -x_720 = lean_ctor_get(x_719, 0); -lean_inc(x_720); -x_721 = lean_ctor_get(x_719, 1); -lean_inc(x_721); -lean_dec(x_719); -x_722 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; -x_752 = lean_st_ref_get(x_11, x_721); -x_753 = lean_ctor_get(x_752, 0); -lean_inc(x_753); -x_754 = lean_ctor_get(x_753, 3); -lean_inc(x_754); -lean_dec(x_753); -x_755 = lean_ctor_get_uint8(x_754, sizeof(void*)*1); -lean_dec(x_754); -if (x_755 == 0) +lean_object* x_747; uint8_t x_748; +x_747 = lean_ctor_get(x_746, 0); +lean_inc(x_747); +x_748 = lean_unbox(x_747); +lean_dec(x_747); +if (x_748 == 0) { -lean_object* x_756; uint8_t x_757; -x_756 = lean_ctor_get(x_752, 1); -lean_inc(x_756); -lean_dec(x_752); -x_757 = 0; -x_723 = x_757; -x_724 = x_756; -goto block_751; +uint8_t x_749; +lean_dec(x_745); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_749 = !lean_is_exclusive(x_746); +if (x_749 == 0) +{ +lean_object* x_750; +x_750 = lean_ctor_get(x_746, 0); +lean_dec(x_750); +lean_ctor_set(x_746, 0, x_3); +return x_746; } else { -lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; uint8_t x_762; -x_758 = lean_ctor_get(x_752, 1); -lean_inc(x_758); -lean_dec(x_752); -x_759 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_722, x_8, x_9, x_10, x_11, x_758); +lean_object* x_751; lean_object* x_752; +x_751 = lean_ctor_get(x_746, 1); +lean_inc(x_751); +lean_dec(x_746); +x_752 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_752, 0, x_3); +lean_ctor_set(x_752, 1, x_751); +return x_752; +} +} +else +{ +lean_object* x_753; lean_object* x_754; +x_753 = lean_ctor_get(x_746, 1); +lean_inc(x_753); +lean_dec(x_746); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_745); +lean_inc(x_1); +x_754 = l___private_Lean_Meta_IndPredBelow_0__Lean_Meta_IndPredBelow_belowType(x_2, x_1, x_745, x_8, x_9, x_10, x_11, x_753); +if (lean_obj_tag(x_754) == 0) +{ +lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; uint8_t x_763; lean_object* x_764; lean_object* x_792; lean_object* x_793; lean_object* x_794; uint8_t x_795; +x_755 = lean_ctor_get(x_754, 0); +lean_inc(x_755); +x_756 = lean_ctor_get(x_754, 1); +lean_inc(x_756); +lean_dec(x_754); +x_757 = lean_ctor_get(x_755, 1); +lean_inc(x_757); +lean_dec(x_755); +x_758 = lean_box(0); +lean_inc(x_8); +x_759 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_757, x_758, x_8, x_9, x_10, x_11, x_756); x_760 = lean_ctor_get(x_759, 0); lean_inc(x_760); x_761 = lean_ctor_get(x_759, 1); lean_inc(x_761); lean_dec(x_759); -x_762 = lean_unbox(x_760); -lean_dec(x_760); -x_723 = x_762; -x_724 = x_761; -goto block_751; +x_762 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; +x_792 = lean_st_ref_get(x_11, x_761); +x_793 = lean_ctor_get(x_792, 0); +lean_inc(x_793); +x_794 = lean_ctor_get(x_793, 3); +lean_inc(x_794); +lean_dec(x_793); +x_795 = lean_ctor_get_uint8(x_794, sizeof(void*)*1); +lean_dec(x_794); +if (x_795 == 0) +{ +lean_object* x_796; uint8_t x_797; +x_796 = lean_ctor_get(x_792, 1); +lean_inc(x_796); +lean_dec(x_792); +x_797 = 0; +x_763 = x_797; +x_764 = x_796; +goto block_791; } -block_751: +else { -if (x_723 == 0) +lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; uint8_t x_802; +x_798 = lean_ctor_get(x_792, 1); +lean_inc(x_798); +lean_dec(x_792); +x_799 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_mkCongrLemma___spec__10(x_762, x_8, x_9, x_10, x_11, x_798); +x_800 = lean_ctor_get(x_799, 0); +lean_inc(x_800); +x_801 = lean_ctor_get(x_799, 1); +lean_inc(x_801); +lean_dec(x_799); +x_802 = lean_unbox(x_800); +lean_dec(x_800); +x_763 = x_802; +x_764 = x_801; +goto block_791; +} +block_791: { -lean_object* x_725; lean_object* x_726; -x_725 = lean_box(0); +if (x_763 == 0) +{ +lean_object* x_765; lean_object* x_766; +x_765 = lean_box(0); lean_inc(x_3); -x_726 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_720, x_3, x_722, x_1, x_705, x_725, x_8, x_9, x_10, x_11, x_724); -if (lean_obj_tag(x_726) == 0) +x_766 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_760, x_3, x_762, x_1, x_745, x_765, x_8, x_9, x_10, x_11, x_764); +if (lean_obj_tag(x_766) == 0) { lean_dec(x_3); -return x_726; +return x_766; } else { -uint8_t x_727; -x_727 = !lean_is_exclusive(x_726); -if (x_727 == 0) +uint8_t x_767; +x_767 = !lean_is_exclusive(x_766); +if (x_767 == 0) { -lean_object* x_728; -x_728 = lean_ctor_get(x_726, 0); -lean_dec(x_728); -lean_ctor_set_tag(x_726, 0); -lean_ctor_set(x_726, 0, x_3); -return x_726; +lean_object* x_768; +x_768 = lean_ctor_get(x_766, 0); +lean_dec(x_768); +lean_ctor_set_tag(x_766, 0); +lean_ctor_set(x_766, 0, x_3); +return x_766; } else { -lean_object* x_729; lean_object* x_730; -x_729 = lean_ctor_get(x_726, 1); -lean_inc(x_729); -lean_dec(x_726); -x_730 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_730, 0, x_3); -lean_ctor_set(x_730, 1, x_729); -return x_730; +lean_object* x_769; lean_object* x_770; +x_769 = lean_ctor_get(x_766, 1); +lean_inc(x_769); +lean_dec(x_766); +x_770 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_770, 0, x_3); +lean_ctor_set(x_770, 1, x_769); +return x_770; } } } else { -lean_object* x_731; lean_object* x_732; -x_731 = l_Lean_Expr_mvarId_x21(x_720); +lean_object* x_771; lean_object* x_772; +x_771 = l_Lean_Expr_mvarId_x21(x_760); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_732 = l_Lean_Meta_ppGoal(x_731, x_8, x_9, x_10, x_11, x_724); -if (lean_obj_tag(x_732) == 0) +x_772 = l_Lean_Meta_ppGoal(x_771, x_8, x_9, x_10, x_11, x_764); +if (lean_obj_tag(x_772) == 0) { -lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; -x_733 = lean_ctor_get(x_732, 0); -lean_inc(x_733); -x_734 = lean_ctor_get(x_732, 1); -lean_inc(x_734); -lean_dec(x_732); -x_735 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_735, 0, x_733); -x_736 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -x_737 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_737, 0, x_736); -lean_ctor_set(x_737, 1, x_735); -x_738 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_738, 0, x_737); -lean_ctor_set(x_738, 1, x_736); -x_739 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_722, x_738, x_8, x_9, x_10, x_11, x_734); -x_740 = lean_ctor_get(x_739, 0); -lean_inc(x_740); -x_741 = lean_ctor_get(x_739, 1); -lean_inc(x_741); -lean_dec(x_739); +lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; +x_773 = lean_ctor_get(x_772, 0); +lean_inc(x_773); +x_774 = lean_ctor_get(x_772, 1); +lean_inc(x_774); +lean_dec(x_772); +x_775 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_775, 0, x_773); +x_776 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; +x_777 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_777, 0, x_776); +lean_ctor_set(x_777, 1, x_775); +x_778 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_778, 0, x_777); +lean_ctor_set(x_778, 1, x_776); +x_779 = l_Lean_addTrace___at_Lean_Meta_mkCongrLemma___spec__9(x_762, x_778, x_8, x_9, x_10, x_11, x_774); +x_780 = lean_ctor_get(x_779, 0); +lean_inc(x_780); +x_781 = lean_ctor_get(x_779, 1); +lean_inc(x_781); +lean_dec(x_779); lean_inc(x_3); -x_742 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2(x_720, x_3, x_722, x_1, x_705, x_740, x_8, x_9, x_10, x_11, x_741); -if (lean_obj_tag(x_742) == 0) +x_782 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(x_760, x_3, x_762, x_1, x_745, x_780, x_8, x_9, x_10, x_11, x_781); +if (lean_obj_tag(x_782) == 0) { lean_dec(x_3); -return x_742; +return x_782; } else { -uint8_t x_743; -x_743 = !lean_is_exclusive(x_742); -if (x_743 == 0) +uint8_t x_783; +x_783 = !lean_is_exclusive(x_782); +if (x_783 == 0) { -lean_object* x_744; -x_744 = lean_ctor_get(x_742, 0); -lean_dec(x_744); -lean_ctor_set_tag(x_742, 0); -lean_ctor_set(x_742, 0, x_3); -return x_742; +lean_object* x_784; +x_784 = lean_ctor_get(x_782, 0); +lean_dec(x_784); +lean_ctor_set_tag(x_782, 0); +lean_ctor_set(x_782, 0, x_3); +return x_782; } else { -lean_object* x_745; lean_object* x_746; -x_745 = lean_ctor_get(x_742, 1); -lean_inc(x_745); -lean_dec(x_742); -x_746 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_746, 0, x_3); -lean_ctor_set(x_746, 1, x_745); +lean_object* x_785; lean_object* x_786; +x_785 = lean_ctor_get(x_782, 1); +lean_inc(x_785); +lean_dec(x_782); +x_786 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_786, 0, x_3); +lean_ctor_set(x_786, 1, x_785); +return x_786; +} +} +} +else +{ +uint8_t x_787; +lean_dec(x_760); +lean_dec(x_745); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_787 = !lean_is_exclusive(x_772); +if (x_787 == 0) +{ +lean_object* x_788; +x_788 = lean_ctor_get(x_772, 0); +lean_dec(x_788); +lean_ctor_set_tag(x_772, 0); +lean_ctor_set(x_772, 0, x_3); +return x_772; +} +else +{ +lean_object* x_789; lean_object* x_790; +x_789 = lean_ctor_get(x_772, 1); +lean_inc(x_789); +lean_dec(x_772); +x_790 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_790, 0, x_3); +lean_ctor_set(x_790, 1, x_789); +return x_790; +} +} +} +} +} +else +{ +uint8_t x_803; +lean_dec(x_745); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_1); +x_803 = !lean_is_exclusive(x_754); +if (x_803 == 0) +{ +return x_754; +} +else +{ +lean_object* x_804; lean_object* x_805; lean_object* x_806; +x_804 = lean_ctor_get(x_754, 0); +x_805 = lean_ctor_get(x_754, 1); +lean_inc(x_805); +lean_inc(x_804); +lean_dec(x_754); +x_806 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_806, 0, x_804); +lean_ctor_set(x_806, 1, x_805); +return x_806; +} +} +} +} +else +{ +uint8_t x_807; +lean_dec(x_745); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_807 = !lean_is_exclusive(x_746); +if (x_807 == 0) +{ return x_746; } -} -} else { -uint8_t x_747; -lean_dec(x_720); -lean_dec(x_705); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_1); -x_747 = !lean_is_exclusive(x_732); -if (x_747 == 0) -{ -lean_object* x_748; -x_748 = lean_ctor_get(x_732, 0); -lean_dec(x_748); -lean_ctor_set_tag(x_732, 0); -lean_ctor_set(x_732, 0, x_3); -return x_732; -} -else -{ -lean_object* x_749; lean_object* x_750; -x_749 = lean_ctor_get(x_732, 1); -lean_inc(x_749); -lean_dec(x_732); -x_750 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_750, 0, x_3); -lean_ctor_set(x_750, 1, x_749); -return x_750; -} -} -} -} -} -else -{ -uint8_t x_763; -lean_dec(x_705); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_1); -x_763 = !lean_is_exclusive(x_714); -if (x_763 == 0) -{ -return x_714; -} -else -{ -lean_object* x_764; lean_object* x_765; lean_object* x_766; -x_764 = lean_ctor_get(x_714, 0); -x_765 = lean_ctor_get(x_714, 1); -lean_inc(x_765); -lean_inc(x_764); -lean_dec(x_714); -x_766 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_766, 0, x_764); -lean_ctor_set(x_766, 1, x_765); -return x_766; +lean_object* x_808; lean_object* x_809; lean_object* x_810; +x_808 = lean_ctor_get(x_746, 0); +x_809 = lean_ctor_get(x_746, 1); +lean_inc(x_809); +lean_inc(x_808); +lean_dec(x_746); +x_810 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_810, 0, x_808); +lean_ctor_set(x_810, 1, x_809); +return x_810; } } } @@ -21559,8 +21849,7 @@ return x_766; } } } -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -21615,7 +21904,7 @@ lean_inc(x_9); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_26 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3(x_1, x_2, x_3, x_16, x_18, x_23, x_25, x_9, x_10, x_11, x_12, x_19); +x_26 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_1, x_2, x_3, x_16, x_18, x_23, x_25, x_9, x_10, x_11, x_12, x_19); lean_dec(x_16); if (lean_obj_tag(x_26) == 0) { @@ -21793,7 +22082,7 @@ lean_dec(x_9); x_11 = 0; x_12 = l_Lean_Meta_IndPredBelow_proveBrecOn_applyIH___closed__3; lean_inc(x_1); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__4(x_1, x_2, x_8, x_12, x_1, x_10, x_11, x_12, x_3, x_4, x_5, x_6, x_7); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3(x_1, x_2, x_8, x_12, x_1, x_10, x_11, x_12, x_3, x_4, x_5, x_6, x_7); lean_dec(x_1); if (lean_obj_tag(x_13) == 0) { @@ -21906,19 +22195,7 @@ return x_33; } } } -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(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_2); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___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_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { size_t x_10; size_t x_11; lean_object* x_12; @@ -21926,31 +22203,31 @@ x_10 = lean_unbox_usize(x_3); lean_dec(x_3); x_11 = lean_unbox_usize(x_4); lean_dec(x_4); -x_12 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8, x_9); lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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) { _start: { lean_object* x_11; -x_11 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___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_5); lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___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, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__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 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__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_4); return x_13; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_findBelowIdx___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, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_findBelowIdx___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, 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; @@ -21958,7 +22235,7 @@ x_14 = lean_unbox_usize(x_6); lean_dec(x_6); x_15 = lean_unbox_usize(x_7); lean_dec(x_7); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__4(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_5); return x_16; } @@ -22543,9 +22820,16 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelow(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; uint8_t x_9; +lean_object* x_7; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); lean_inc(x_1); -x_7 = l_Lean_isInductivePredicate___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Meta_isInductivePredicate(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; uint8_t x_9; x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); x_9 = lean_unbox(x_8); @@ -22984,6 +23268,34 @@ return x_114; } } } +else +{ +uint8_t x_115; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_115 = !lean_is_exclusive(x_7); +if (x_115 == 0) +{ +return x_7; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_7, 0); +x_117 = lean_ctor_get(x_7, 1); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_7); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; +} +} +} } LEAN_EXPORT lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: @@ -23032,7 +23344,7 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_6770_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_6783_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -23295,14 +23607,14 @@ l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambd lean_mark_persistent(l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__2___closed__8); l_Lean_Meta_IndPredBelow_mkBelowMatcher___closed__1 = _init_l_Lean_Meta_IndPredBelow_mkBelowMatcher___closed__1(); lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelowMatcher___closed__1); -l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__1); -l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__2 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__2); -l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__3 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__3); -l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__4 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__3___lambda__2___closed__4); +l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__1 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__1); +l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__2 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__2); +l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__3 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__3); +l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__4 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2___closed__4); l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__1 = _init_l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__1(); lean_mark_persistent(l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__1); l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__2 = _init_l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__2(); @@ -23323,7 +23635,7 @@ l_Lean_Meta_IndPredBelow_mkBelow___closed__5 = _init_l_Lean_Meta_IndPredBelow_mk lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelow___closed__5); l_Lean_Meta_IndPredBelow_mkBelow___closed__6 = _init_l_Lean_Meta_IndPredBelow_mkBelow___closed__6(); lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelow___closed__6); -res = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_6770_(lean_io_mk_world()); +res = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_6783_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Injective.c b/stage0/stdlib/Lean/Meta/Injective.c index 26f363acda..c53b349216 100644 --- a/stage0/stdlib/Lean/Meta/Injective.c +++ b/stage0/stdlib/Lean/Meta/Injective.c @@ -33,7 +33,6 @@ lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___ LEAN_EXPORT lean_object* l_Lean_Meta_elimOptParam___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_injTheoremFailureHeader___closed__3; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_Injective_0__Lean_Meta_mkAnd_x3f___spec__1___closed__1; -lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_elimOptParam___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_Injective_0__Lean_Meta_mkAnd_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -48,7 +47,6 @@ 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*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremValue___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkInjectiveTheorems___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_casesAnd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1681____closed__2; static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_injTheoremFailureHeader___closed__1; @@ -71,6 +69,7 @@ lean_object* l_Lean_Meta_apply(lean_object*, lean_object*, lean_object*, lean_ob LEAN_EXPORT lean_object* l_Lean_Meta_elimOptParam___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_Injective_0__Lean_Meta_mkAnd_x3f___spec__1___closed__2; +lean_object* l_Lean_Meta_isInductivePredicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Injective_0__Lean_Meta_throwInjectiveTheoremFailure___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -84,15 +83,17 @@ static lean_object* l_Lean_Meta_mkInjectiveTheoremNameFor___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_mkInjectiveEqTheoremNameFor(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkInjectiveEqTheoremNameFor___boxed(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkAnd_x3f(lean_object*); extern lean_object* l_Lean_Meta_simpExtension; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Injective___hyg_1681____closed__3; lean_object* l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hyg_54____spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkInjectiveTheorems___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___closed__1; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f_mkArgs2(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*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__1___closed__5; static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f_mkArgs2___closed__3; static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__1___closed__6; @@ -108,8 +109,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Injective_0_ LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___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*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_isInductivePredicate_visit(lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkInjectiveTheorems___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); @@ -120,19 +119,18 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_injTheorem lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_throwInjectiveTheoremFailure(lean_object*); lean_object* l_Lean_Meta_saturate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__1; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___spec__2(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkInjectiveTheorems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__2; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_Injective_0__Lean_Meta_mkAnd_x3f___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkInjectiveTheoremNameFor(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkInjectiveTheorems___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_substEqs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Lean_Meta_assumptionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -144,7 +142,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkInjectiveTheoremNameFor___boxed(lean_obje LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveEqTheoremValue___lambda__1___closed__7; lean_object* l_Lean_Name_append(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); @@ -160,6 +157,7 @@ lean_object* l_Lean_Meta_instantiateMVars(lean_object*, lean_object*, lean_objec static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_solveEqOfCtorEq___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_genInjectivity; static lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f_mkArgs2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f_mkArgs2___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*); @@ -173,12 +171,11 @@ lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_elimOptParam___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremType_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_occurs(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_mkInjectiveTheorems___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDecl___at_Lean_Meta_mkAuxLemma___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_mkInjectiveTheorems___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkInjectiveTheorems___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_solveSelfMax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x3f___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*); @@ -4749,127 +4746,7 @@ lean_ctor_set(x_4, 1, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_mkInjectiveTheorems___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_st_ref_get(x_5, x_6); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_environment_find(x_10, x_1); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; lean_object* x_13; -x_12 = 0; -x_13 = lean_box(x_12); -lean_ctor_set(x_7, 0, x_13); -return x_7; -} -else -{ -lean_object* x_14; -x_14 = lean_ctor_get(x_11, 0); -lean_inc(x_14); -lean_dec(x_11); -if (lean_obj_tag(x_14) == 5) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 2); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Lean_isInductivePredicate_visit(x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -lean_ctor_set(x_7, 0, x_19); -return x_7; -} -else -{ -uint8_t x_20; lean_object* x_21; -lean_dec(x_14); -x_20 = 0; -x_21 = lean_box(x_20); -lean_ctor_set(x_7, 0, x_21); -return x_7; -} -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_7, 0); -x_23 = lean_ctor_get(x_7, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_7); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_environment_find(x_24, x_1); -if (lean_obj_tag(x_25) == 0) -{ -uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_26 = 0; -x_27 = lean_box(x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_23); -return x_28; -} -else -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_25, 0); -lean_inc(x_29); -lean_dec(x_25); -if (lean_obj_tag(x_29) == 5) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -lean_dec(x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_ctor_get(x_31, 2); -lean_inc(x_32); -lean_dec(x_31); -x_33 = l_Lean_isInductivePredicate_visit(x_32); -lean_dec(x_32); -x_34 = lean_box(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_23); -return x_35; -} -else -{ -uint8_t x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_29); -x_36 = 0; -x_37 = lean_box(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_23); -return x_38; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkInjectiveTheorems___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_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkInjectiveTheorems___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -4907,7 +4784,7 @@ return x_15; } } } -static lean_object* _init_l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__1() { +static lean_object* _init_l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___closed__1() { _start: { lean_object* x_1; @@ -4915,16 +4792,16 @@ x_1 = lean_mk_string("' is not a constructor"); return x_1; } } -static lean_object* _init_l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__2() { +static lean_object* _init_l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__1; +x_1 = l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___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_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; @@ -4981,11 +4858,11 @@ x_19 = l___private_Lean_Meta_Injective_0__Lean_Meta_mkInjectiveTheoremTypeCore_x 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_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__2; +x_21 = l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___closed__2; x_22 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_22, 0, x_20); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_throwError___at_Lean_Meta_mkInjectiveTheorems___spec__3(x_22, x_2, x_3, x_4, x_5, x_15); +x_23 = l_Lean_throwError___at_Lean_Meta_mkInjectiveTheorems___spec__2(x_22, x_2, x_3, x_4, x_5, x_15); return x_23; } } @@ -5014,7 +4891,7 @@ return x_27; } } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkInjectiveTheorems___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_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkInjectiveTheorems___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) { _start: { if (lean_obj_tag(x_1) == 0) @@ -5038,7 +4915,7 @@ lean_inc(x_9); x_10 = lean_ctor_get(x_1, 1); lean_inc(x_10); lean_dec(x_1); -x_11 = l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2(x_9, x_3, x_4, x_5, x_6, x_7); +x_11 = l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1(x_9, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -5185,7 +5062,7 @@ return x_36; LEAN_EXPORT lean_object* l_Lean_Meta_mkInjectiveTheorems(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; lean_object* x_11; lean_object* x_12; uint8_t x_13; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); @@ -5197,8 +5074,15 @@ lean_inc(x_10); lean_dec(x_8); x_11 = lean_ctor_get(x_4, 0); lean_inc(x_11); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); lean_inc(x_1); -x_12 = l_Lean_isInductivePredicate___at_Lean_Meta_mkInjectiveTheorems___spec__1(x_1, x_2, x_3, x_4, x_5, x_9); +x_12 = l_Lean_Meta_isInductivePredicate(x_1, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -5266,7 +5150,7 @@ x_27 = lean_ctor_get(x_24, 4); lean_inc(x_27); lean_dec(x_24); x_28 = lean_box(0); -x_29 = l_List_forIn_loop___at_Lean_Meta_mkInjectiveTheorems___spec__4(x_27, x_28, x_2, x_3, x_4, x_5, x_26); +x_29 = l_List_forIn_loop___at_Lean_Meta_mkInjectiveTheorems___spec__3(x_27, x_28, x_2, x_3, x_4, x_5, x_26); if (lean_obj_tag(x_29) == 0) { uint8_t x_30; @@ -5460,7 +5344,7 @@ x_64 = lean_ctor_get(x_61, 4); lean_inc(x_64); lean_dec(x_61); x_65 = lean_box(0); -x_66 = l_List_forIn_loop___at_Lean_Meta_mkInjectiveTheorems___spec__4(x_64, x_65, x_2, x_3, x_4, x_5, x_63); +x_66 = l_List_forIn_loop___at_Lean_Meta_mkInjectiveTheorems___spec__3(x_64, x_65, x_2, x_3, x_4, x_5, x_63); if (lean_obj_tag(x_66) == 0) { lean_object* x_67; lean_object* x_68; lean_object* x_69; @@ -5584,12 +5468,42 @@ return x_83; } } } +else +{ +uint8_t x_84; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_84 = !lean_is_exclusive(x_12); +if (x_84 == 0) +{ +return x_12; } -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_mkInjectiveTheorems___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) { +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_12, 0); +x_86 = lean_ctor_get(x_12, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_12); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkInjectiveTheorems___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) { _start: { lean_object* x_7; -x_7 = l_Lean_isInductivePredicate___at_Lean_Meta_mkInjectiveTheorems___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwError___at_Lean_Meta_mkInjectiveTheorems___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -5597,23 +5511,11 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkInjectiveTheorems___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_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_throwError___at_Lean_Meta_mkInjectiveTheorems___spec__3(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_2); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -5741,10 +5643,10 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Meta_genInjectivity = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_genInjectivity); lean_dec_ref(res); -l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__1 = _init_l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__1(); -lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__1); -l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__2 = _init_l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__2(); -lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__2___closed__2); +l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___closed__1 = _init_l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___closed__1(); +lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___closed__1); +l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___closed__2 = _init_l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___closed__2(); +lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Meta_mkInjectiveTheorems___spec__1___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/SizeOf.c b/stage0/stdlib/Lean/Meta/SizeOf.c index 0f489e3bf0..0d07b7c063 100644 --- a/stage0/stdlib/Lean/Meta/SizeOf.c +++ b/stage0/stdlib/Lean/Meta/SizeOf.c @@ -53,13 +53,13 @@ lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___ LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___spec__1(lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfFns___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__2___closed__1; 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*); static lean_object* l_Lean_Meta_mkSizeOfFn___lambda__2___closed__2; static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__3___closed__2; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_addTrace_addTraceOptions(lean_object*); @@ -129,18 +129,17 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinor static lean_object* l_List_head_x21___at_Lean_Meta_mkSizeOfFns___spec__3___closed__2; static lean_object* l_Lean_Meta_mkSizeOfSpecLemmaInstance___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_mkSizeOfFn___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__2; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_mkSizeOfFns___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_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*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___closed__1; LEAN_EXPORT lean_object* l_Lean_throwKernelException___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_isInductivePredicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_postponeIsLevelDefEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at_Lean_Meta_mkSizeOfFns___spec__1(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*); LEAN_EXPORT lean_object* l_Lean_Meta_genSizeOfSpec; -static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_mkSizeOfSpecLemmaInstance___spec__1(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__3; lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*); @@ -170,7 +169,6 @@ lean_object* l_Lean_Meta_mkEqSymm(lean_object*, lean_object*, lean_object*, lean LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Meta_SizeOf_0__Lean_Meta_isInductiveHypothesis_x3f___spec__2(lean_object*, lean_object*, size_t, size_t); lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkSizeOfSpecLemmaInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -198,6 +196,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotiv static lean_object* l_panic___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___spec__1___rarg___closed__1; 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*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__6(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_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_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_isRecField_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -221,15 +220,11 @@ static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_r uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___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_instInhabitedExpr; -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___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_EXPORT lean_object* l_Lean_Meta_mkSizeOfFn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__2; -static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___boxed(lean_object**); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___rarg___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof_mkSizeOf___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*); -uint8_t l_Lean_isInductivePredicate_visit(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_RBNode_find___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Meta_SizeOf_0__Lean_Meta_isInductiveHypothesis_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -239,11 +234,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstan static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__2___closed__2; static lean_object* l_List_head_x21___at_Lean_Meta_mkSizeOfFns___spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_mkSizeOfSpecLemmaInstance___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_mkSizeOfSpecLemmaName___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___lambda__2___boxed__const__1; -static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___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*); uint8_t l_Lean_Expr_isForall(lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -253,14 +248,15 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeO static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___rarg___lambda__1___closed__2; static lean_object* l_Lean_Meta_mkSizeOfFn___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_recToSizeOf___closed__1; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop(lean_object*); static lean_object* l_Lean_Meta_SizeOfSpecNested_throwFailed___rarg___closed__1; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___boxed(lean_object**); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProofStep___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_mkSizeOfFn___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_genSizeOf___closed__1; @@ -282,8 +278,6 @@ static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_m lean_object* lean_name_append_after(lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkMinorProof___lambda__1___closed__6; -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_mkSizeOfInstances___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwKernelException___at_Lean_Meta_mkSizeOfFn___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__1___closed__3; static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__5; @@ -344,6 +338,7 @@ static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_lo static lean_object* l_Lean_Meta_SizeOfSpecNested_throwUnexpected___rarg___closed__4; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -375,8 +370,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_6348_( LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_5807_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_5784_(lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___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*); -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_mkSizeOfInstances___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_SizeOfSpecNested_throwFailed___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_getConstInfoRec___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemmaProof___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors_loop___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkSizeOfFn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -394,8 +389,8 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNes static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorems___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*); extern lean_object* l_Lean_levelOne; -static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__3; lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__3; lean_object* l_Lean_indentExpr(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMotives_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfMinors___rarg___closed__4; @@ -413,13 +408,16 @@ static lean_object* l_Lean_addTrace___at___private_Lean_Meta_SizeOf_0__Lean_Meta LEAN_EXPORT lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___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*); static lean_object* l_Lean_Meta_mkSizeOfSpecLemmaName___closed__1; LEAN_EXPORT lean_object* l_Lean_addDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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*); static lean_object* l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfoRec___at_Lean_Meta_mkSizeOfFn___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_mkSizeOfFns___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__2; lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAdd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkSizeOfSpecLemmaInstance___closed__2; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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_Meta_mkNumeral(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_SizeOf_0__Lean_Meta_SizeOfSpecNested_mkSizeOfAuxLemma___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkSizeOfSpecTheorem___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -14304,127 +14302,7 @@ x_4 = l_Lean_Option_register___at_Std_Format_initFn____x40_Lean_Data_Format___hy return x_4; } } -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_mkSizeOfInstances___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_st_ref_get(x_5, x_6); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_environment_find(x_10, x_1); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; lean_object* x_13; -x_12 = 0; -x_13 = lean_box(x_12); -lean_ctor_set(x_7, 0, x_13); -return x_7; -} -else -{ -lean_object* x_14; -x_14 = lean_ctor_get(x_11, 0); -lean_inc(x_14); -lean_dec(x_11); -if (lean_obj_tag(x_14) == 5) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 2); -lean_inc(x_17); -lean_dec(x_16); -x_18 = l_Lean_isInductivePredicate_visit(x_17); -lean_dec(x_17); -x_19 = lean_box(x_18); -lean_ctor_set(x_7, 0, x_19); -return x_7; -} -else -{ -uint8_t x_20; lean_object* x_21; -lean_dec(x_14); -x_20 = 0; -x_21 = lean_box(x_20); -lean_ctor_set(x_7, 0, x_21); -return x_7; -} -} -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_7, 0); -x_23 = lean_ctor_get(x_7, 1); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_7); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_environment_find(x_24, x_1); -if (lean_obj_tag(x_25) == 0) -{ -uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_26 = 0; -x_27 = lean_box(x_26); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_23); -return x_28; -} -else -{ -lean_object* x_29; -x_29 = lean_ctor_get(x_25, 0); -lean_inc(x_29); -lean_dec(x_25); -if (lean_obj_tag(x_29) == 5) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -lean_dec(x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -lean_dec(x_30); -x_32 = lean_ctor_get(x_31, 2); -lean_inc(x_32); -lean_dec(x_31); -x_33 = l_Lean_isInductivePredicate_visit(x_32); -lean_dec(x_32); -x_34 = lean_box(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_23); -return x_35; -} -else -{ -uint8_t x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_29); -x_36 = 0; -x_37 = lean_box(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_23); -return x_38; -} -} -} -} -} -static lean_object* _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__1() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -14432,7 +14310,7 @@ x_1 = lean_mk_string("mk"); return x_1; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__2() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__2() { _start: { lean_object* x_1; @@ -14440,17 +14318,17 @@ x_1 = lean_mk_string("_sizeOf_inst"); return x_1; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__3() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__2; +x_2 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; @@ -14476,7 +14354,7 @@ lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__1; +x_30 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__1; x_31 = lean_name_mk_string(x_7, x_30); x_32 = lean_array_push(x_1, x_28); lean_inc(x_16); @@ -14492,7 +14370,7 @@ lean_inc(x_34); x_35 = lean_ctor_get(x_33, 1); lean_inc(x_35); lean_dec(x_33); -x_36 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__3; +x_36 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__3; x_37 = l_Lean_Name_append(x_8, x_36); x_38 = l_Array_append___rarg(x_9, x_5); lean_inc(x_13); @@ -14697,7 +14575,7 @@ return x_74; } } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__1() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -14705,17 +14583,17 @@ x_1 = lean_mk_string("m"); return x_1; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__2() { +static lean_object* _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__1; +x_2 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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; 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; @@ -14747,7 +14625,7 @@ lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); -x_24 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___boxed), 17, 11); +x_24 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___boxed), 17, 11); lean_closure_set(x_24, 0, x_19); lean_closure_set(x_24, 1, x_5); lean_closure_set(x_24, 2, x_16); @@ -14759,7 +14637,7 @@ lean_closure_set(x_24, 7, x_2); lean_closure_set(x_24, 8, x_3); lean_closure_set(x_24, 9, x_22); lean_closure_set(x_24, 10, x_14); -x_25 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__2; +x_25 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2___closed__2; x_26 = 0; x_27 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances_loop___spec__1___rarg(x_25, x_26, x_18, x_24, x_9, x_10, x_11, x_12, x_23); return x_27; @@ -14802,7 +14680,7 @@ return x_31; } } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___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_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; @@ -14818,7 +14696,7 @@ lean_inc(x_6); x_17 = l_Array_toSubarray___rarg(x_6, x_13, x_16); x_18 = l_Array_ofSubarray___rarg(x_15); lean_inc(x_18); -x_19 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2), 13, 7); +x_19 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2), 13, 7); lean_closure_set(x_19, 0, x_2); lean_closure_set(x_19, 1, x_3); lean_closure_set(x_19, 2, x_6); @@ -14830,7 +14708,7 @@ x_20 = l___private_Lean_Meta_SizeOf_0__Lean_Meta_mkLocalInstances___rarg(x_18, x return x_20; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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: { if (lean_obj_tag(x_2) == 0) @@ -14912,7 +14790,7 @@ lean_dec(x_24); x_28 = lean_ctor_get(x_26, 2); lean_inc(x_28); lean_inc(x_1); -x_29 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__3___boxed), 12, 5); +x_29 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__3___boxed), 12, 5); lean_closure_set(x_29, 0, x_25); lean_closure_set(x_29, 1, x_26); lean_closure_set(x_29, 2, x_10); @@ -15022,7 +14900,7 @@ lean_dec(x_45); x_49 = lean_ctor_get(x_47, 2); lean_inc(x_49); lean_inc(x_1); -x_50 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__3___boxed), 12, 5); +x_50 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__3___boxed), 12, 5); lean_closure_set(x_50, 0, x_46); lean_closure_set(x_50, 1, x_47); lean_closure_set(x_50, 2, x_10); @@ -15117,7 +14995,7 @@ return x_61; LEAN_EXPORT lean_object* l_Lean_Meta_mkSizeOfInstances(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; lean_object* x_11; lean_object* x_12; uint8_t x_13; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); @@ -15129,8 +15007,15 @@ lean_inc(x_10); lean_dec(x_8); x_11 = lean_ctor_get(x_4, 0); lean_inc(x_11); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); lean_inc(x_1); -x_12 = l_Lean_isInductivePredicate___at_Lean_Meta_mkSizeOfInstances___spec__1(x_1, x_2, x_3, x_4, x_5, x_9); +x_12 = l_Lean_Meta_isInductivePredicate(x_1, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { @@ -15225,7 +15110,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_35); -x_36 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2(x_16, x_35, x_34, x_2, x_3, x_4, x_5, x_29); +x_36 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1(x_16, x_35, x_34, x_2, x_3, x_4, x_5, x_29); if (lean_obj_tag(x_36) == 0) { uint8_t x_37; @@ -15542,7 +15427,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_98); -x_99 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2(x_77, x_98, x_97, x_2, x_3, x_4, x_5, x_92); +x_99 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1(x_77, x_98, x_97, x_2, x_3, x_4, x_5, x_92); if (lean_obj_tag(x_99) == 0) { lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; @@ -15737,20 +15622,38 @@ return x_127; } } } -} -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___at_Lean_Meta_mkSizeOfInstances___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +else { -lean_object* x_7; -x_7 = l_Lean_isInductivePredicate___at_Lean_Meta_mkSizeOfInstances___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +uint8_t x_128; +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_7; +lean_dec(x_1); +x_128 = !lean_is_exclusive(x_12); +if (x_128 == 0) +{ +return x_12; +} +else +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_ctor_get(x_12, 0); +x_130 = lean_ctor_get(x_12, 1); +lean_inc(x_130); +lean_inc(x_129); +lean_dec(x_12); +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_129); +lean_ctor_set(x_131, 1, x_130); +return x_131; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___boxed(lean_object** _args) { +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -15771,16 +15674,16 @@ lean_object* x_17 = _args[16]; _start: { lean_object* x_18; -x_18 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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, x_13, x_14, x_15, x_16, x_17); +x_18 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_8); return x_18; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___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_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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) { _start: { lean_object* x_13; -x_13 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___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 = l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___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); lean_dec(x_7); return x_13; } @@ -16039,16 +15942,16 @@ if (lean_io_result_is_error(res)) return res; l_Lean_Meta_genSizeOfSpec = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Meta_genSizeOfSpec); lean_dec_ref(res); -l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__1 = _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__1(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__1); -l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__2 = _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__2(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__2); -l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__3 = _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__3(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__1___closed__3); -l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__1 = _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__1(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__1); -l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__2 = _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__2(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__2___lambda__2___closed__2); +l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__1 = _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__1); +l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__2 = _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__2(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__2); +l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__3 = _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__3(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__1___closed__3); +l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2___closed__1 = _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2___closed__1); +l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2___closed__2 = _init_l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2___closed__2(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Meta_mkSizeOfInstances___spec__1___lambda__2___closed__2); res = l_Lean_Meta_initFn____x40_Lean_Meta_SizeOf___hyg_6348_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/MonadEnv.c b/stage0/stdlib/Lean/MonadEnv.c index 33d0570626..517629bb61 100644 --- a/stage0/stdlib/Lean/MonadEnv.c +++ b/stage0/stdlib/Lean/MonadEnv.c @@ -74,7 +74,6 @@ LEAN_EXPORT lean_object* l_List_foldlM___at___private_Lean_MonadEnv_0__Lean_chec LEAN_EXPORT lean_object* l_Lean_addAndCompile___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__10; static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__32; -extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___rarg___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -126,7 +125,6 @@ static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___close LEAN_EXPORT lean_object* l_Lean_matchConstInduct(lean_object*, lean_object*); static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__26; LEAN_EXPORT lean_object* l_List_foldlM___at___private_Lean_MonadEnv_0__Lean_checkUnsupported___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_isInductivePredicate_visit(lean_object*); LEAN_EXPORT lean_object* l_Lean_findModuleOf_x3f___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo(lean_object*); static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__19; @@ -152,7 +150,6 @@ LEAN_EXPORT lean_object* l_Lean_addDecl___rarg___lambda__1___boxed(lean_object*, static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__12; LEAN_EXPORT lean_object* l_Lean_withoutModifyingEnv___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkAuxName___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at___private_Lean_MonadEnv_0__Lean_checkUnsupported___spec__1___rarg___boxed__const__1; LEAN_EXPORT lean_object* l_Lean_mkAuxName___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_evalConstCheck___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -178,7 +175,6 @@ lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoCtor___rarg___lambda__1___closed__2; static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__33; static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__13; -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate_visit___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Declaration_foldExprM___at___private_Lean_MonadEnv_0__Lean_checkUnsupported___spec__1___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_matchConstInduct___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_compileDecl___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -191,7 +187,6 @@ LEAN_EXPORT lean_object* l___private_Lean_MonadEnv_0__Lean_mkAuxNameAux(lean_obj static lean_object* l_Lean_getConstInfoRec___rarg___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_evalConstCheck___spec__1(lean_object*); LEAN_EXPORT lean_object* l_List_allM___at_Lean_isEnumType___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_matchConstStruct(lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoRec___rarg___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_findModuleOf_x3f___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -208,14 +203,12 @@ uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Lean_mkLevelParam(lean_object*); LEAN_EXPORT lean_object* l_List_allM___at_Lean_isEnumType___spec__1___rarg___lambda__1(lean_object*, lean_object*); static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__17; -uint8_t lean_level_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MonadEnv_0__Lean_checkUnsupported___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__27; LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor(lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at___private_Lean_MonadEnv_0__Lean_checkUnsupported___spec__2___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_matchConstCtor(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate(lean_object*); static lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors___closed__9; LEAN_EXPORT lean_object* l___private_Lean_MonadEnv_0__Lean_supportedRecursors; LEAN_EXPORT lean_object* l_Lean_matchConstCtor___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -348,135 +341,6 @@ x_2 = lean_alloc_closure((void*)(l_Lean_isInductive___rarg), 3, 0); return x_2; } } -LEAN_EXPORT uint8_t l_Lean_isInductivePredicate_visit(lean_object* x_1) { -_start: -{ -switch (lean_obj_tag(x_1)) { -case 3: -{ -lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = lean_ctor_get(x_1, 0); -x_3 = l_Lean_levelZero; -x_4 = lean_level_eq(x_2, x_3); -return x_4; -} -case 7: -{ -lean_object* x_5; -x_5 = lean_ctor_get(x_1, 2); -x_1 = x_5; -goto _start; -} -default: -{ -uint8_t x_7; -x_7 = 0; -return x_7; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate_visit___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_isInductivePredicate_visit(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_environment_find(x_3, x_1); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; -x_5 = lean_ctor_get(x_2, 0); -lean_inc(x_5); -lean_dec(x_2); -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -lean_dec(x_5); -x_7 = 0; -x_8 = lean_box(x_7); -x_9 = lean_apply_2(x_6, lean_box(0), x_8); -return x_9; -} -else -{ -lean_object* x_10; -x_10 = lean_ctor_get(x_4, 0); -lean_inc(x_10); -lean_dec(x_4); -if (lean_obj_tag(x_10) == 5) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_ctor_get(x_12, 2); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_ctor_get(x_2, 0); -lean_inc(x_14); -lean_dec(x_2); -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -x_16 = l_Lean_isInductivePredicate_visit(x_13); -lean_dec(x_13); -x_17 = lean_box(x_16); -x_18 = lean_apply_2(x_15, lean_box(0), x_17); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_10); -x_19 = lean_ctor_get(x_2, 0); -lean_inc(x_19); -lean_dec(x_2); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = 0; -x_22 = lean_box(x_21); -x_23 = lean_apply_2(x_20, lean_box(0), x_22); -return x_23; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -x_5 = lean_ctor_get(x_2, 0); -lean_inc(x_5); -lean_dec(x_2); -x_6 = lean_alloc_closure((void*)(l_Lean_isInductivePredicate___rarg___lambda__1), 3, 2); -lean_closure_set(x_6, 0, x_3); -lean_closure_set(x_6, 1, x_1); -x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_isInductivePredicate(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_isInductivePredicate___rarg), 3, 0); -return x_2; -} -} LEAN_EXPORT uint8_t l_Lean_isRecCore(lean_object* x_1, lean_object* x_2) { _start: {